Skip to content

Commit c134d61

Browse files
author
Aqib Mirza
committed
init commit
1 parent d5d61b3 commit c134d61

File tree

9,241 files changed

+1500290
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,241 files changed

+1500290
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-env", "@babel/preset-react"]
3+
}

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
# sdk-based-app-embedding
22
The code to use Lowcoder Apps on any Web Project
3+
4+
STEPS to use
5+
6+
1) Update the lowcoder-sdk to latest version
7+
2) build the project with `npm run build`
8+
3) host `dist` folder on server
9+
4) add `bundle.js` as an external script on the HTML page where you want to include the app
10+
5) Add the apps as given in demo under `/dist/index_test.html`

dist/.DS_Store

6 KB
Binary file not shown.

dist/119.bundle.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/140.bundle.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/140.bundle.js.LICENSE.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */
2+
3+
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */

dist/157.bundle.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"use strict";(self.webpackChunkwebflow_openblocks=self.webpackChunkwebflow_openblocks||[]).push([[157],{157:(e,o,t)=>{t.r(o),t.d(o,{DateMobileUIView:()=>l,DateRangeMobileUIView:()=>d});var n=t(62);t(294),t(935);const a=async e=>{const o=(await Promise.all([t.e(782),t.e(608)]).then(t.bind(t,608))).default,a=(0,n.h)(e.minDate,n.l),s=(0,n.h)(e.maxDate,n.l),{disabledHours:i,disabledMinutes:l,disabledSeconds:d}=e.disabledTime();o.prompt({getContainer:()=>document.querySelector(`#${n.C}`)||document.body,mouseWheel:!0,destroyOnClose:!0,closeOnMaskClick:!0,min:a.isValid()?a.toDate():void 0,max:s.isValid()?s.toDate():void 0,precision:e.showTime?"second":"day",defaultValue:e.value?e.value.toDate():void 0,filter:{hour:e=>!i().includes(e),minute:(e,{date:o})=>!l(o.getHours()).includes(e),second:(e,{date:o})=>!d(o.getHours(),o.getMinutes()).includes(e)},onConfirm:o=>{const t=(0,n.h)(o);e.onChange(t)},onClose:e.onBlur}),e.onFocus()},s=n.s.div`
2+
height: 32px;
3+
display: flex;
4+
align-items: center;
5+
justify-content: space-between;
6+
padding: 4px 8px;
7+
background-color: #ffffff;
8+
cursor: pointer;
9+
border-radius: 4px;
10+
border: 1px solid #d7d9e0;
11+
${e=>e.$style&&(0,n.e)(e.$style)}
12+
`,i=n.s.div`
13+
overflow: hidden;
14+
white-space: nowrap;
15+
flex-grow: 1;
16+
display: flex;
17+
justify-content: center;
18+
`,l=e=>(0,n.a)(s,{ref:e.viewRef,$style:e.$style,onClick:()=>a(e),children:[(0,n.j)(i,{children:e.value?e.value.format(e.format||(e.showTime?n.D:n.f)):(0,n.t)("date.placeholder")}),e.suffixIcon]}),d=e=>(0,n.a)(s,{ref:e.viewRef,$style:e.$style,children:[(0,n.j)(i,{onClick:()=>a({...e,value:e.start,onChange:o=>e.onChange(o,e.end)}),children:e.start?e.start.format(e.format||(e.showTime?n.D:n.f)):(0,n.t)("date.startDate")}),(0,n.j)(n.S,{}),(0,n.j)(i,{onClick:()=>a({...e,value:e.end,onChange:o=>e.onChange(e.start,o)}),children:e.end?e.end.format(e.format||(e.showTime?n.D:n.f)):(0,n.t)("date.endDate")}),e.suffixIcon]})}}]);

dist/169.bundle.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/172.bundle.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/172.bundle.js.LICENSE.txt

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*!
2+
* Signature Pad v2.3.2
3+
* https://github.com/szimek/signature_pad
4+
*
5+
* Copyright 2017 Szymon Nowak
6+
* Released under the MIT license
7+
*
8+
* The main idea and some parts of the code (e.g. drawing variable width Bézier curve) are taken from:
9+
* http://corner.squareup.com/2012/07/smoother-signatures.html
10+
*
11+
* Implementation of interpolation using cubic Bézier curves is taken from:
12+
* http://benknowscode.wordpress.com/2012/09/14/path-interpolation-using-cubic-bezier-and-control-point-estimation-in-javascript
13+
*
14+
* Algorithm for approximated length of a Bézier curve is taken from:
15+
* http://www.lemoda.net/maths/bezier-length/index.html
16+
*
17+
*/

dist/221.bundle.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/232.bundle.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/331.bundle.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/399.bundle.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"use strict";(self.webpackChunkwebflow_openblocks=self.webpackChunkwebflow_openblocks||[]).push([[399],{399:(e,o,t)=>{t.r(o),t.d(o,{DateMobileUIView:()=>l,DateRangeMobileUIView:()=>d});var n=t(854);t(294),t(935);const a=async e=>{const o=(await Promise.all([t.e(895),t.e(497)]).then(t.bind(t,497))).default,a=(0,n.h)(e.minDate,n.l),s=(0,n.h)(e.maxDate,n.l),{disabledHours:i,disabledMinutes:l,disabledSeconds:d}=e.disabledTime();o.prompt({getContainer:()=>document.querySelector(`#${n.C}`)||document.body,mouseWheel:!0,destroyOnClose:!0,closeOnMaskClick:!0,min:a.isValid()?a.toDate():void 0,max:s.isValid()?s.toDate():void 0,precision:e.showTime?"second":"day",defaultValue:e.value?e.value.toDate():void 0,filter:{hour:e=>!i().includes(e),minute:(e,{date:o})=>!l(o.getHours()).includes(e),second:(e,{date:o})=>!d(o.getHours(),o.getMinutes()).includes(e)},onConfirm:o=>{const t=(0,n.h)(o);e.onChange(t)},onClose:e.onBlur}),e.onFocus()},s=n.s.div`
2+
height: 32px;
3+
display: flex;
4+
align-items: center;
5+
justify-content: space-between;
6+
padding: 4px 8px;
7+
background-color: #ffffff;
8+
cursor: pointer;
9+
border-radius: 4px;
10+
border: 1px solid #d7d9e0;
11+
${e=>e.$style&&(0,n.e)(e.$style)}
12+
`,i=n.s.div`
13+
overflow: hidden;
14+
white-space: nowrap;
15+
flex-grow: 1;
16+
display: flex;
17+
justify-content: center;
18+
`,l=e=>(0,n.a)(s,{ref:e.viewRef,$style:e.$style,onClick:()=>a(e),children:[(0,n.j)(i,{children:e.value?e.value.format(e.format||(e.showTime?n.D:n.f)):(0,n.t)("date.placeholder")}),e.suffixIcon]}),d=e=>(0,n.a)(s,{ref:e.viewRef,$style:e.$style,children:[(0,n.j)(i,{onClick:()=>a({...e,value:e.start,onChange:o=>e.onChange(o,e.end)}),children:e.start?e.start.format(e.format||(e.showTime?n.D:n.f)):(0,n.t)("date.startDate")}),(0,n.j)(n.S,{}),(0,n.j)(i,{onClick:()=>a({...e,value:e.end,onChange:o=>e.onChange(e.start,o)}),children:e.end?e.end.format(e.format||(e.showTime?n.D:n.f)):(0,n.t)("date.endDate")}),e.suffixIcon]})}}]);

dist/421.bundle.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/427.bundle.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/452.bundle.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/452.bundle.js.LICENSE.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */
2+
3+
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */

0 commit comments

Comments
 (0)