ts-glitter 21.5.7 → 21.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/glitterBundle/html-component/editor.ts +5 -5
- package/lib/glitterBundle/html-component/widget.ts +1 -1
- package/lib/glitterBundle/plugins/add_item_dia.ts +3 -3
- package/lib/glitterBundle/plugins/dialog-style-editor.ts +4 -4
- package/lib/glitterBundle/plugins/editor-elem.ts +8 -8
- package/lib/glitterBundle/plugins/editor.ts +3 -3
- package/lowcode/Entry.js +1 -1
- package/lowcode/Entry.ts +1 -1
- package/lowcode/backend-manager/bg-customer-message.js +4 -4
- package/lowcode/backend-manager/bg-customer-message.ts +4 -4
- package/lowcode/backend-manager/bg-global-event.js +1 -1
- package/lowcode/backend-manager/bg-global-event.ts +1 -1
- package/lowcode/backend-manager/bg-guide.js +21 -21
- package/lowcode/backend-manager/bg-guide.ts +22 -22
- package/lowcode/backend-manager/bg-mobile-guide.js +4 -4
- package/lowcode/backend-manager/bg-mobile-guide.ts +4 -4
- package/lowcode/backend-manager/bg-seo.js +1 -1
- package/lowcode/backend-manager/bg-seo.ts +1 -1
- package/lowcode/backend-manager/bg-shopping.js +6 -6
- package/lowcode/backend-manager/bg-shopping.ts +6 -6
- package/lowcode/backend-manager/bg-wallet.js +3 -3
- package/lowcode/backend-manager/bg-wallet.ts +3 -3
- package/lowcode/backend-manager/bg-widget.js +6 -0
- package/lowcode/backend-manager/bg-widget.ts +7 -0
- package/lowcode/cms-plugin/POS-setting.js +1 -1
- package/lowcode/cms-plugin/POS-setting.ts +1 -1
- package/lowcode/cms-plugin/ai-generator/member-ai.js +2 -2
- package/lowcode/cms-plugin/ai-generator/member-ai.ts +2 -2
- package/lowcode/cms-plugin/ai-generator/product-ai.js +2 -2
- package/lowcode/cms-plugin/ai-generator/product-ai.ts +2 -2
- package/lowcode/cms-plugin/ai-message.js +2 -2
- package/lowcode/cms-plugin/ai-message.ts +2 -2
- package/lowcode/cms-plugin/ai-points-list.js +2 -2
- package/lowcode/cms-plugin/ai-points-list.ts +2 -2
- package/lowcode/cms-plugin/app-design.js +3 -3
- package/lowcode/cms-plugin/app-design.ts +3 -3
- package/lowcode/cms-plugin/app-release.js +2 -2
- package/lowcode/cms-plugin/app-release.ts +2 -2
- package/lowcode/cms-plugin/customer-message-user.js +5 -5
- package/lowcode/cms-plugin/customer-message-user.ts +5 -5
- package/lowcode/cms-plugin/data-analyze-module.js +3 -3
- package/lowcode/cms-plugin/data-analyze-module.ts +3 -3
- package/lowcode/cms-plugin/domain-setting.js +2 -2
- package/lowcode/cms-plugin/domain-setting.ts +2 -2
- package/lowcode/cms-plugin/live_capture.js +17 -17
- package/lowcode/cms-plugin/live_capture.ts +17 -17
- package/lowcode/cms-plugin/member-type-list.js +4 -4
- package/lowcode/cms-plugin/member-type-list.ts +4 -4
- package/lowcode/cms-plugin/module/form-module.js +1 -1
- package/lowcode/cms-plugin/module/form-module.ts +1 -1
- package/lowcode/cms-plugin/permission-setting.js +5 -5
- package/lowcode/cms-plugin/permission-setting.ts +5 -5
- package/lowcode/cms-plugin/pos-basic-setting.js +1 -1
- package/lowcode/cms-plugin/pos-basic-setting.ts +2 -2
- package/lowcode/cms-plugin/pos-checkout-setting.js +3 -3
- package/lowcode/cms-plugin/pos-checkout-setting.ts +4 -4
- package/lowcode/cms-plugin/pos-pages/payment-page.js +449 -232
- package/lowcode/cms-plugin/pos-pages/payment-page.ts +501 -278
- package/lowcode/cms-plugin/pos-pages/pos-function.js +3 -2
- package/lowcode/cms-plugin/pos-pages/pos-function.ts +4 -3
- package/lowcode/cms-plugin/pos-pages/pos-home-page.js +9 -9
- package/lowcode/cms-plugin/pos-pages/pos-home-page.ts +9 -9
- package/lowcode/cms-plugin/pos-pages/pos-summary.js +2 -2
- package/lowcode/cms-plugin/pos-pages/pos-summary.ts +2 -2
- package/lowcode/cms-plugin/pos-pages/products-page.js +6 -180
- package/lowcode/cms-plugin/pos-pages/products-page.ts +6 -185
- package/lowcode/cms-plugin/product-service.js +4 -4
- package/lowcode/cms-plugin/product-service.ts +4 -5
- package/lowcode/cms-plugin/reconciliation-area.js +24 -24
- package/lowcode/cms-plugin/reconciliation-area.ts +24 -24
- package/lowcode/cms-plugin/seo-blog.js +2 -2
- package/lowcode/cms-plugin/seo-blog.ts +2 -2
- package/lowcode/cms-plugin/seo-setting-v2.js +5 -5
- package/lowcode/cms-plugin/seo-setting-v2.ts +5 -5
- package/lowcode/cms-plugin/shopping-allowance-manager.js +4 -4
- package/lowcode/cms-plugin/shopping-allowance-manager.ts +4 -4
- package/lowcode/cms-plugin/shopping-collections.js +6 -6
- package/lowcode/cms-plugin/shopping-collections.ts +6 -6
- package/lowcode/cms-plugin/shopping-invoice-manager.js +11 -11
- package/lowcode/cms-plugin/shopping-invoice-manager.ts +11 -11
- package/lowcode/cms-plugin/shopping-order-manager.js +21 -13
- package/lowcode/cms-plugin/shopping-order-manager.ts +21 -13
- package/lowcode/cms-plugin/shopping-product-setting.js +1 -1
- package/lowcode/cms-plugin/shopping-product-setting.ts +1 -1
- package/lowcode/cms-plugin/shopping-product-text.js +5 -5
- package/lowcode/cms-plugin/shopping-product-text.ts +5 -5
- package/lowcode/cms-plugin/shopping-setting-basic.js +5 -6
- package/lowcode/cms-plugin/shopping-setting-basic.ts +5 -6
- package/lowcode/cms-plugin/shopping-shipment-setting.js +2 -2
- package/lowcode/cms-plugin/shopping-shipment-setting.ts +2 -2
- package/lowcode/cms-plugin/stock-history.js +7 -7
- package/lowcode/cms-plugin/stock-history.ts +7 -7
- package/lowcode/cms-plugin/stock-stores.js +2 -2
- package/lowcode/cms-plugin/stock-stores.ts +2 -2
- package/lowcode/cms-plugin/stock-vendors.js +2 -2
- package/lowcode/cms-plugin/stock-vendors.ts +2 -2
- package/lowcode/cms-plugin/third-party-google.js +1 -1
- package/lowcode/cms-plugin/third-party-google.ts +1 -1
- package/lowcode/cms-plugin/user-list.js +6 -2
- package/lowcode/cms-plugin/user-list.ts +7 -2
- package/lowcode/cms-plugin/user-login-setting.js +1 -1
- package/lowcode/cms-plugin/user-login-setting.ts +1 -1
- package/lowcode/cms-plugin/wallet-list.js +3 -3
- package/lowcode/cms-plugin/wallet-list.ts +3 -3
- package/lowcode/dialog/addTemplate.js +9 -9
- package/lowcode/dialog/addTemplate.ts +9 -9
- package/lowcode/dialog/dialog.js +1 -1
- package/lowcode/dialog/dialog.ts +1 -1
- package/lowcode/dialog/dialog_setting.js +1 -1
- package/lowcode/dialog/dialog_setting.ts +1 -1
- package/lowcode/dialog/image-preview.js +2 -2
- package/lowcode/dialog/image-preview.ts +2 -2
- package/lowcode/editor/add-component.js +4 -4
- package/lowcode/editor/add-component.ts +9 -9
- package/lowcode/editor/add-page.js +1 -1
- package/lowcode/editor/add-page.ts +1 -1
- package/lowcode/editor/normal-page-editor.js +2 -2
- package/lowcode/editor/normal-page-editor.ts +2 -2
- package/lowcode/editor/page-code-setting.js +1 -1
- package/lowcode/editor/page-code-setting.ts +1 -1
- package/lowcode/editor/page-editor.js +15 -15
- package/lowcode/editor/page-editor.ts +15 -15
- package/lowcode/editor/page-setting-view.js +6 -6
- package/lowcode/editor/page-setting-view.ts +6 -6
- package/lowcode/editor/preview-app.js +1 -1
- package/lowcode/editor/preview-app.ts +1 -1
- package/lowcode/editor/search-idea.js +2 -2
- package/lowcode/editor/search-idea.ts +2 -2
- package/lowcode/editor/set-global-value.js +9 -9
- package/lowcode/editor/set-global-value.ts +9 -9
- package/lowcode/editor-bridge/trigger-event.js +1 -1
- package/lowcode/editor-bridge/trigger-event.ts +1 -1
- package/lowcode/editor-components/global-widget/global-widget.js +1 -1
- package/lowcode/editor-components/global-widget/global-widget.ts +1 -1
- package/lowcode/editor-config.js +1 -1
- package/lowcode/editor-config.ts +1 -1
- package/lowcode/form-view/e-commerce/path-select.js +1 -1
- package/lowcode/form-view/e-commerce/path-select.ts +1 -1
- package/lowcode/form-view/e-commerce/product-select.js +1 -1
- package/lowcode/form-view/e-commerce/product-select.ts +1 -1
- package/lowcode/form-view/editor/color-theme-selector.js +2 -2
- package/lowcode/form-view/editor/color-theme-selector.ts +2 -2
- package/lowcode/form-view/editor/image-selector.js +5 -5
- package/lowcode/form-view/editor/image-selector.ts +5 -5
- package/lowcode/glitterBundle/html-component/custom-style.js +6 -6
- package/lowcode/glitterBundle/html-component/custom-style.ts +6 -6
- package/lowcode/glitterBundle/html-component/global-widget.js +2 -2
- package/lowcode/glitterBundle/html-component/global-widget.ts +2 -2
- package/lowcode/glitterBundle/html-component/widget.js +1 -1
- package/lowcode/glitterBundle/html-component/widget.ts +1 -1
- package/lowcode/glitterBundle/module/html-generate.js +2 -2
- package/lowcode/glitterBundle/module/html-generate.ts +2 -2
- package/lowcode/glitterBundle/plugins/add_item_dia.js +7 -7
- package/lowcode/glitterBundle/plugins/add_item_dia.ts +7 -7
- package/lowcode/glitterBundle/plugins/editor-elem.js +4 -6
- package/lowcode/glitterBundle/plugins/editor-elem.ts +4 -6
- package/lowcode/glitterBundle/plugins/editor.js +3 -3
- package/lowcode/glitterBundle/plugins/editor.ts +3 -3
- package/lowcode/glitterBundle/plugins/style-editor.js +5 -5
- package/lowcode/glitterBundle/plugins/style-editor.ts +5 -5
- package/lowcode/jspage/editor.js +3 -3
- package/lowcode/jspage/editor.ts +3 -3
- package/lowcode/jspage/function-page/main_editor.js +6 -6
- package/lowcode/jspage/function-page/main_editor.ts +6 -6
- package/lowcode/jspage/function-page/page_editor.js +4 -4
- package/lowcode/jspage/function-page/page_editor.ts +4 -4
- package/lowcode/jspage/function-page/server-editor/router/domain-manager.js +3 -3
- package/lowcode/jspage/function-page/server-editor/router/domain-manager.ts +3 -3
- package/lowcode/jspage/function-page/tool-setting.js +2 -2
- package/lowcode/jspage/function-page/tool-setting.ts +2 -2
- package/lowcode/landing-page/about-us.js +5 -5
- package/lowcode/landing-page/about-us.ts +5 -5
- package/lowcode/modules/file-system.js +2 -2
- package/lowcode/modules/file-system.ts +2 -2
- package/lowcode/modules/image-library-clone.js +4 -4
- package/lowcode/modules/image-library-clone.ts +4 -4
- package/lowcode/modules/image-library.js +2 -2
- package/lowcode/modules/image-library.ts +2 -2
- package/lowcode/official_view_component/official/component.js +1 -1
- package/lowcode/official_view_component/official/component.ts +1 -1
- package/lowcode/official_view_component/official/widget.js +1 -1
- package/lowcode/official_view_component/official/widget.ts +1 -1
- package/lowcode/public-components/banner/first-banner.js +1 -1
- package/lowcode/public-components/banner/first-banner.ts +1 -1
- package/lowcode/public-components/blogs/list.js +1 -1
- package/lowcode/public-components/blogs/list.ts +1 -1
- package/lowcode/public-components/headers/sy-02.js +4 -4
- package/lowcode/public-components/headers/sy-02.ts +4 -4
- package/lowcode/public-components/headers/sy-03.js +1 -1
- package/lowcode/public-components/headers/sy-03.ts +1 -1
- package/lowcode/public-components/headers/sy-04.js +2 -2
- package/lowcode/public-components/headers/sy-04.ts +2 -2
- package/lowcode/public-components/headers/sy-05.js +1 -1
- package/lowcode/public-components/headers/sy-05.ts +1 -1
- package/lowcode/public-components/user-manager/um-order.js +2 -2
- package/lowcode/public-components/user-manager/um-order.ts +2 -2
- package/lowcode/setting/appSetting.js +4 -4
- package/lowcode/setting/appSetting.ts +4 -4
- package/lowcode/setting/initialStyle.js +2 -2
- package/lowcode/setting/initialStyle.ts +2 -2
- package/lowcode/setting/pageManager.js +6 -6
- package/lowcode/setting/pageManager.ts +6 -6
- package/lowcode/view-model/saas-view-model.js +2 -2
- package/lowcode/view-model/saas-view-model.ts +2 -2
- package/package.json +1 -1
- package/src/index.js +7 -17
- package/src/index.js.map +1 -1
- package/src/index.ts +1 -0
- package/src/modules/database.js +2 -1
- package/src/modules/database.js.map +1 -1
- package/src/modules/database.ts +2 -1
- package/src/seo-config.js +0 -1
- package/src/seo-config.js.map +1 -1
- package/src/seo-config.ts +0 -1
- package/src/services/system-schedule.js +1 -2
- package/src/services/system-schedule.js.map +1 -1
- package/src/services/system-schedule.ts +4 -4
|
@@ -96,7 +96,7 @@ ${gvc.bindView(() => {
|
|
|
96
96
|
};
|
|
97
97
|
})}
|
|
98
98
|
</div>
|
|
99
|
-
<div
|
|
99
|
+
<div style="${document.body.clientWidth < 768 ? `width: calc(100%)` : `width: calc(100% - 200px)`};">
|
|
100
100
|
${(() => {
|
|
101
101
|
if (obg.type === 'idea') {
|
|
102
102
|
return `<div class="bgf6 p-3 w-100 border-bottom">${BgWidget.title('點擊喜愛的區塊進行複製', 'font-size:16px;')}</div>`;
|
|
@@ -127,7 +127,7 @@ ${gvc.bindView(() => {
|
|
|
127
127
|
</div>`;
|
|
128
128
|
}
|
|
129
129
|
return [
|
|
130
|
-
`<iframe
|
|
130
|
+
`<iframe style="height: calc(2.5 * (100vh - 125px)) !important;
|
|
131
131
|
width: calc(250%);
|
|
132
132
|
transform: scale(0.4) translateX(-75%) translateY(-75%);
|
|
133
133
|
position: absolute;
|
|
@@ -107,7 +107,7 @@ ${gvc.bindView(() => {
|
|
|
107
107
|
};
|
|
108
108
|
})}
|
|
109
109
|
</div>
|
|
110
|
-
<div
|
|
110
|
+
<div style="${document.body.clientWidth < 768 ? `width: calc(100%)` : `width: calc(100% - 200px)`};">
|
|
111
111
|
${(()=>{
|
|
112
112
|
if(obg.type==='idea'){
|
|
113
113
|
return `<div class="bgf6 p-3 w-100 border-bottom">${BgWidget.title('點擊喜愛的區塊進行複製', 'font-size:16px;')}</div>`
|
|
@@ -137,7 +137,7 @@ ${gvc.bindView(() => {
|
|
|
137
137
|
</div>`;
|
|
138
138
|
}
|
|
139
139
|
return [
|
|
140
|
-
`<iframe
|
|
140
|
+
`<iframe style="height: calc(2.5 * (100vh - 125px)) !important;
|
|
141
141
|
width: calc(250%);
|
|
142
142
|
transform: scale(0.4) translateX(-75%) translateY(-75%);
|
|
143
143
|
position: absolute;
|
|
@@ -29,7 +29,7 @@ export class SetGlobalValue {
|
|
|
29
29
|
view: () => {
|
|
30
30
|
return [
|
|
31
31
|
` <div class="w-100 d-flex align-items-center p-3 border-bottom">
|
|
32
|
-
<h5 class=" offcanvas-title "
|
|
32
|
+
<h5 class=" offcanvas-title " >
|
|
33
33
|
全域設定</h5>
|
|
34
34
|
<div class="flex-fill"></div>
|
|
35
35
|
<div class="fs-5 text-black" style="cursor: pointer;" onclick="${gvc.event(() => {
|
|
@@ -593,7 +593,7 @@ ${(() => {
|
|
|
593
593
|
<div class="position-relative bgf6 d-flex align-items-center justify-content-between px-2 py-3 border-bottom shadow">
|
|
594
594
|
<span class="fs-6 fw-bold " style="color:black;">網域設定</span>
|
|
595
595
|
</div>
|
|
596
|
-
<div class="d-flex "
|
|
596
|
+
<div class="d-flex " >
|
|
597
597
|
<div>
|
|
598
598
|
${gvc.bindView(() => {
|
|
599
599
|
return {
|
|
@@ -613,7 +613,7 @@ ${(() => {
|
|
|
613
613
|
gvc.notifyDataChange([contentVM.leftID, contentVM.rightID]);
|
|
614
614
|
});
|
|
615
615
|
return html ` <div class="d-flex">
|
|
616
|
-
<div
|
|
616
|
+
<div class="border-end w-100">
|
|
617
617
|
${gvc.bindView(() => {
|
|
618
618
|
return {
|
|
619
619
|
bind: contentVM.leftID,
|
|
@@ -658,8 +658,8 @@ ${(() => {
|
|
|
658
658
|
select: Storage.select_global_editor_tab,
|
|
659
659
|
};
|
|
660
660
|
return html `
|
|
661
|
-
<div class="bg-white rounded"
|
|
662
|
-
<div class="d-flex "
|
|
661
|
+
<div class="bg-white rounded" >
|
|
662
|
+
<div class="d-flex " >
|
|
663
663
|
<div>
|
|
664
664
|
${gvc.bindView(() => {
|
|
665
665
|
return {
|
|
@@ -728,7 +728,7 @@ ${(() => {
|
|
|
728
728
|
bind: id,
|
|
729
729
|
view: () => {
|
|
730
730
|
return `<div class="fw-500 me-2 pb-1 " style="font-size:15px;color:#151515;">開發者模式</div>
|
|
731
|
-
<div class="form-check form-switch mode-switch"
|
|
731
|
+
<div class="form-check form-switch mode-switch" data-bs-toggle="mode"
|
|
732
732
|
onchange="${gvc.event(() => {
|
|
733
733
|
Storage.develop_mode = Storage.develop_mode === 'false' ? 'true' : 'false';
|
|
734
734
|
gvc.notifyDataChange(['showView', id]);
|
|
@@ -899,7 +899,7 @@ ${EditorElem.arrayItem({
|
|
|
899
899
|
if (!dd) {
|
|
900
900
|
return html `
|
|
901
901
|
<div class="d-flex ps-2 hi fw-bold d-flex align-items-center border-bottom py-2 bgf6" style="color:#151515;font-size:16px;gap:0px;height:48px;">插件說明</div>
|
|
902
|
-
<div class="d-flex flex-column w-100 align-items-center justify-content-center"
|
|
902
|
+
<div class="d-flex flex-column w-100 align-items-center justify-content-center" >
|
|
903
903
|
<div class="alert alert-info m-2 p-2 fw-500" style="white-space: normal;word-break: break-all;font-size:14px;">
|
|
904
904
|
頁面模塊決定您能夠在網站上使用哪些設計模塊。<br /><br />您可以從官方或第三方資源中獲取連結,或自行開發插件上傳以供使用。<br /><br />
|
|
905
905
|
啟用開發者模式來切換路徑進行工程開發。<br />
|
|
@@ -1048,7 +1048,7 @@ ${EditorElem.arrayItem({
|
|
|
1048
1048
|
插件說明
|
|
1049
1049
|
<div class="flex-fill"></div>
|
|
1050
1050
|
</div>
|
|
1051
|
-
<div class="d-flex flex-column w-100 align-items-center justify-content-center"
|
|
1051
|
+
<div class="d-flex flex-column w-100 align-items-center justify-content-center" >
|
|
1052
1052
|
<div class="alert alert-info m-2 p-2 fw-500" style="white-space: normal;word-break: break-all;font-size:14px;">
|
|
1053
1053
|
為您的元件添加各樣的觸發事件,包含連結跳轉/內容取得/資料儲存/頁面渲染/動畫事件/內容發布....等,都能透過事件來完成。<br /><br />您可以從官方或第三方資源中獲取連結,或自行開發插件上傳以供使用。<br /><br />
|
|
1054
1054
|
啟用開發者模式來切換路徑進行工程開發。<br />
|
|
@@ -1194,7 +1194,7 @@ ${EditorElem.arrayItem({
|
|
|
1194
1194
|
if (!dd) {
|
|
1195
1195
|
return html `
|
|
1196
1196
|
<div class="d-flex ps-2 hi fw-bold d-flex align-items-center border-bottom py-2 bgf6" style="color:#151515;font-size:16px;gap:0px;height:48px;">路徑説明</div>
|
|
1197
|
-
<div class="d-flex flex-column w-100 align-items-center justify-content-center"
|
|
1197
|
+
<div class="d-flex flex-column w-100 align-items-center justify-content-center" >
|
|
1198
1198
|
<div class="alert alert-info m-2 p-2 fw-500" style="white-space: normal;word-break: break-all;font-size:14px;">
|
|
1199
1199
|
設定資源相對路徑,來決定頁面與事件模塊所載入的路徑位置。<br /><br />
|
|
1200
1200
|
使用$字符設定相對路徑。<br />範例 : $router/sample.js
|
|
@@ -34,7 +34,7 @@ export class SetGlobalValue {
|
|
|
34
34
|
view: () => {
|
|
35
35
|
return [
|
|
36
36
|
` <div class="w-100 d-flex align-items-center p-3 border-bottom">
|
|
37
|
-
<h5 class=" offcanvas-title "
|
|
37
|
+
<h5 class=" offcanvas-title " >
|
|
38
38
|
全域設定</h5>
|
|
39
39
|
<div class="flex-fill"></div>
|
|
40
40
|
<div class="fs-5 text-black" style="cursor: pointer;" onclick="${gvc.event(() => {
|
|
@@ -609,7 +609,7 @@ ${(() => {
|
|
|
609
609
|
<div class="position-relative bgf6 d-flex align-items-center justify-content-between px-2 py-3 border-bottom shadow">
|
|
610
610
|
<span class="fs-6 fw-bold " style="color:black;">網域設定</span>
|
|
611
611
|
</div>
|
|
612
|
-
<div class="d-flex "
|
|
612
|
+
<div class="d-flex " >
|
|
613
613
|
<div>
|
|
614
614
|
${gvc.bindView(() => {
|
|
615
615
|
return {
|
|
@@ -636,7 +636,7 @@ ${(() => {
|
|
|
636
636
|
});
|
|
637
637
|
|
|
638
638
|
return html` <div class="d-flex">
|
|
639
|
-
<div
|
|
639
|
+
<div class="border-end w-100">
|
|
640
640
|
${gvc.bindView(() => {
|
|
641
641
|
return {
|
|
642
642
|
bind: contentVM.leftID,
|
|
@@ -684,8 +684,8 @@ ${(() => {
|
|
|
684
684
|
select: Storage.select_global_editor_tab,
|
|
685
685
|
};
|
|
686
686
|
return html`
|
|
687
|
-
<div class="bg-white rounded"
|
|
688
|
-
<div class="d-flex "
|
|
687
|
+
<div class="bg-white rounded" >
|
|
688
|
+
<div class="d-flex " >
|
|
689
689
|
<div>
|
|
690
690
|
${gvc.bindView(() => {
|
|
691
691
|
return {
|
|
@@ -761,7 +761,7 @@ ${(() => {
|
|
|
761
761
|
bind: id,
|
|
762
762
|
view: () => {
|
|
763
763
|
return `<div class="fw-500 me-2 pb-1 " style="font-size:15px;color:#151515;">開發者模式</div>
|
|
764
|
-
<div class="form-check form-switch mode-switch"
|
|
764
|
+
<div class="form-check form-switch mode-switch" data-bs-toggle="mode"
|
|
765
765
|
onchange="${gvc.event(() => {
|
|
766
766
|
Storage.develop_mode = Storage.develop_mode === 'false' ? 'true' : 'false';
|
|
767
767
|
gvc.notifyDataChange(['showView', id]);
|
|
@@ -937,7 +937,7 @@ ${EditorElem.arrayItem({
|
|
|
937
937
|
if (!dd) {
|
|
938
938
|
return html`
|
|
939
939
|
<div class="d-flex ps-2 hi fw-bold d-flex align-items-center border-bottom py-2 bgf6" style="color:#151515;font-size:16px;gap:0px;height:48px;">插件說明</div>
|
|
940
|
-
<div class="d-flex flex-column w-100 align-items-center justify-content-center"
|
|
940
|
+
<div class="d-flex flex-column w-100 align-items-center justify-content-center" >
|
|
941
941
|
<div class="alert alert-info m-2 p-2 fw-500" style="white-space: normal;word-break: break-all;font-size:14px;">
|
|
942
942
|
頁面模塊決定您能夠在網站上使用哪些設計模塊。<br /><br />您可以從官方或第三方資源中獲取連結,或自行開發插件上傳以供使用。<br /><br />
|
|
943
943
|
啟用開發者模式來切換路徑進行工程開發。<br />
|
|
@@ -1086,7 +1086,7 @@ ${EditorElem.arrayItem({
|
|
|
1086
1086
|
插件說明
|
|
1087
1087
|
<div class="flex-fill"></div>
|
|
1088
1088
|
</div>
|
|
1089
|
-
<div class="d-flex flex-column w-100 align-items-center justify-content-center"
|
|
1089
|
+
<div class="d-flex flex-column w-100 align-items-center justify-content-center" >
|
|
1090
1090
|
<div class="alert alert-info m-2 p-2 fw-500" style="white-space: normal;word-break: break-all;font-size:14px;">
|
|
1091
1091
|
為您的元件添加各樣的觸發事件,包含連結跳轉/內容取得/資料儲存/頁面渲染/動畫事件/內容發布....等,都能透過事件來完成。<br /><br />您可以從官方或第三方資源中獲取連結,或自行開發插件上傳以供使用。<br /><br />
|
|
1092
1092
|
啟用開發者模式來切換路徑進行工程開發。<br />
|
|
@@ -1232,7 +1232,7 @@ ${EditorElem.arrayItem({
|
|
|
1232
1232
|
if (!dd) {
|
|
1233
1233
|
return html`
|
|
1234
1234
|
<div class="d-flex ps-2 hi fw-bold d-flex align-items-center border-bottom py-2 bgf6" style="color:#151515;font-size:16px;gap:0px;height:48px;">路徑説明</div>
|
|
1235
|
-
<div class="d-flex flex-column w-100 align-items-center justify-content-center"
|
|
1235
|
+
<div class="d-flex flex-column w-100 align-items-center justify-content-center" >
|
|
1236
1236
|
<div class="alert alert-info m-2 p-2 fw-500" style="white-space: normal;word-break: break-all;font-size:14px;">
|
|
1237
1237
|
設定資源相對路徑,來決定頁面與事件模塊所載入的路徑位置。<br /><br />
|
|
1238
1238
|
使用$字符設定相對路徑。<br />範例 : $router/sample.js
|
|
@@ -277,7 +277,7 @@ function questionText(title, data) {
|
|
|
277
277
|
<h3 class="accordion-header">
|
|
278
278
|
<button class="accordion-button shadow-none rounded-3 ${(index === 0) ? '' : 'collapsed'}" type="button" data-bs-toggle="collapse" data-bs-target="#q-${index}" aria-expanded="false" aria-controls="q-1">${dd.title}</button>
|
|
279
279
|
</h3>
|
|
280
|
-
<div class="accordion-collapse collapse ${(index === 0) ? 'show' : ''}" id="q-${index}" data-bs-parent="#faq"
|
|
280
|
+
<div class="accordion-collapse collapse ${(index === 0) ? 'show' : ''}" id="q-${index}" data-bs-parent="#faq" >
|
|
281
281
|
<div class="accordion-body fs-sm pt-0">
|
|
282
282
|
${dd.content}
|
|
283
283
|
</div>
|
|
@@ -282,7 +282,7 @@ function questionText(title: string, data: { title: string, content: string }[])
|
|
|
282
282
|
<h3 class="accordion-header">
|
|
283
283
|
<button class="accordion-button shadow-none rounded-3 ${(index === 0) ? '' : 'collapsed'}" type="button" data-bs-toggle="collapse" data-bs-target="#q-${index}" aria-expanded="false" aria-controls="q-1">${dd.title}</button>
|
|
284
284
|
</h3>
|
|
285
|
-
<div class="accordion-collapse collapse ${(index === 0) ? 'show' : ''}" id="q-${index}" data-bs-parent="#faq"
|
|
285
|
+
<div class="accordion-collapse collapse ${(index === 0) ? 'show' : ''}" id="q-${index}" data-bs-parent="#faq" >
|
|
286
286
|
<div class="accordion-body fs-sm pt-0">
|
|
287
287
|
${dd.content}
|
|
288
288
|
</div>
|
|
@@ -88,7 +88,7 @@ export class GlobalWidget {
|
|
|
88
88
|
};
|
|
89
89
|
})}
|
|
90
90
|
</div>
|
|
91
|
-
<div
|
|
91
|
+
<div style="${document.body.clientWidth < 768 ? `width: calc(100%)` : `width: calc(100% - 200px)`};">
|
|
92
92
|
${gvc.bindView(() => {
|
|
93
93
|
return {
|
|
94
94
|
bind: vm.right_id,
|
|
@@ -111,7 +111,7 @@ export class GlobalWidget {
|
|
|
111
111
|
};
|
|
112
112
|
})}
|
|
113
113
|
</div>
|
|
114
|
-
<div
|
|
114
|
+
<div style="${document.body.clientWidth < 768 ? `width: calc(100%)` : `width: calc(100% - 200px)`};">
|
|
115
115
|
${gvc.bindView(() => {
|
|
116
116
|
return {
|
|
117
117
|
bind: vm.right_id,
|
package/lowcode/editor-config.js
CHANGED
|
@@ -28,7 +28,7 @@ export class EditorConfig {
|
|
|
28
28
|
bg_color = '#FEAD20';
|
|
29
29
|
const plan = EditorConfig.getPaymentStatus();
|
|
30
30
|
let text = '';
|
|
31
|
-
let paymentBtn = `<span style="color: white; font-size: 16px; font-family: Noto Sans; font-weight: 700; text-decoration: underline; word-wrap: break-word;cursor: pointer;"
|
|
31
|
+
let paymentBtn = `<span style="color: white; font-size: 16px; font-family: Noto Sans; font-weight: 700; text-decoration: underline; word-wrap: break-word;cursor: pointer;" onclick="${gvc.event(() => {
|
|
32
32
|
gvc.glitter.setUrlParameter('tab', 'member_plan');
|
|
33
33
|
gvc.recreateView();
|
|
34
34
|
})}">前往續約</span>`;
|
package/lowcode/editor-config.ts
CHANGED
|
@@ -105,7 +105,7 @@ export class EditorConfig {
|
|
|
105
105
|
bg_color = '#FEAD20'
|
|
106
106
|
const plan = EditorConfig.getPaymentStatus();
|
|
107
107
|
let text = '';
|
|
108
|
-
let paymentBtn = `<span style="color: white; font-size: 16px; font-family: Noto Sans; font-weight: 700; text-decoration: underline; word-wrap: break-word;cursor: pointer;"
|
|
108
|
+
let paymentBtn = `<span style="color: white; font-size: 16px; font-family: Noto Sans; font-weight: 700; text-decoration: underline; word-wrap: break-word;cursor: pointer;" onclick="${gvc.event(
|
|
109
109
|
() => {
|
|
110
110
|
gvc.glitter.setUrlParameter('tab', 'member_plan');
|
|
111
111
|
gvc.recreateView();
|
|
@@ -124,7 +124,7 @@ export class ProductSelect {
|
|
|
124
124
|
return [];
|
|
125
125
|
}
|
|
126
126
|
}))();
|
|
127
|
-
resolve(html ` <div class="d-flex flex-column py-2"
|
|
127
|
+
resolve(html ` <div class="d-flex flex-column py-2" >
|
|
128
128
|
<div class="mx-n3 border-top" ></div>
|
|
129
129
|
<div
|
|
130
130
|
class="d-flex align-items-center pb-2"
|
|
@@ -127,7 +127,7 @@ export class ProductSelect {
|
|
|
127
127
|
}
|
|
128
128
|
})();
|
|
129
129
|
resolve(
|
|
130
|
-
html` <div class="d-flex flex-column py-2"
|
|
130
|
+
html` <div class="d-flex flex-column py-2" >
|
|
131
131
|
<div class="mx-n3 border-top" ></div>
|
|
132
132
|
<div
|
|
133
133
|
class="d-flex align-items-center pb-2"
|
|
@@ -23,7 +23,7 @@ export class ColorThemeSelector {
|
|
|
23
23
|
${[
|
|
24
24
|
{
|
|
25
25
|
title: html `全站統一配色`,
|
|
26
|
-
hint: ` <span
|
|
26
|
+
hint: ` <span
|
|
27
27
|
style="color:#8D8D8D;font-size: 13px;white-space: normal;word-break: break-all;line-height: 16px;">選擇一個配色,若是進行了修改,全站所有應用此配色的元件將自動更新,方便未來統一管理。</span>`,
|
|
28
28
|
value: 'global',
|
|
29
29
|
},
|
|
@@ -64,7 +64,7 @@ export class ColorThemeSelector {
|
|
|
64
64
|
${dd.title} ${(`${select.id}`.split('-')[0] === 'custom' ? `custom` : `global`) === dd.value ? dd.hint : ``}
|
|
65
65
|
</div>
|
|
66
66
|
</div>`,
|
|
67
|
-
html ` <div class="d-flex position-relative mt-2"
|
|
67
|
+
html ` <div class="d-flex position-relative mt-2" >
|
|
68
68
|
<div class="ms-0 border-end position-absolute h-100" style="left: 5px;"></div>
|
|
69
69
|
<div class="flex-fill " style="margin-left:20px;max-width: 100%;">
|
|
70
70
|
${(() => {
|
|
@@ -28,7 +28,7 @@ export class ColorThemeSelector {
|
|
|
28
28
|
${[
|
|
29
29
|
{
|
|
30
30
|
title: html`全站統一配色`,
|
|
31
|
-
hint: ` <span
|
|
31
|
+
hint: ` <span
|
|
32
32
|
style="color:#8D8D8D;font-size: 13px;white-space: normal;word-break: break-all;line-height: 16px;">選擇一個配色,若是進行了修改,全站所有應用此配色的元件將自動更新,方便未來統一管理。</span>`,
|
|
33
33
|
value: 'global',
|
|
34
34
|
},
|
|
@@ -68,7 +68,7 @@ export class ColorThemeSelector {
|
|
|
68
68
|
${dd.title} ${(`${select.id}`.split('-')[0] === 'custom' ? `custom` : `global`) === dd.value ? dd.hint : ``}
|
|
69
69
|
</div>
|
|
70
70
|
</div>`,
|
|
71
|
-
html` <div class="d-flex position-relative mt-2"
|
|
71
|
+
html` <div class="d-flex position-relative mt-2" >
|
|
72
72
|
<div class="ms-0 border-end position-absolute h-100" style="left: 5px;"></div>
|
|
73
73
|
<div class="flex-fill " style="margin-left:20px;max-width: 100%;">
|
|
74
74
|
${(() => {
|
|
@@ -37,13 +37,13 @@ export class ImageSelector {
|
|
|
37
37
|
${widget.bundle.form_title}
|
|
38
38
|
<button
|
|
39
39
|
class="btn-size-sm btn-gray "
|
|
40
|
-
|
|
40
|
+
|
|
41
41
|
type="button"
|
|
42
42
|
onclick="${gvc.event(() => {
|
|
43
43
|
selectImage();
|
|
44
44
|
})}"
|
|
45
45
|
>
|
|
46
|
-
<span class="tx_700"
|
|
46
|
+
<span class="tx_700" >替換</span>
|
|
47
47
|
</button>
|
|
48
48
|
</div>
|
|
49
49
|
<div
|
|
@@ -106,7 +106,7 @@ background-image: url('${src ||
|
|
|
106
106
|
}));
|
|
107
107
|
})}"
|
|
108
108
|
>
|
|
109
|
-
<span class="tx_700"
|
|
109
|
+
<span class="tx_700" >ALT</span>
|
|
110
110
|
</button>
|
|
111
111
|
<i
|
|
112
112
|
class="fa-regular fa-eye"
|
|
@@ -125,13 +125,13 @@ background-image: url('${src ||
|
|
|
125
125
|
: `
|
|
126
126
|
<button
|
|
127
127
|
class="btn-size-sm btn-gray "
|
|
128
|
-
|
|
128
|
+
|
|
129
129
|
type="button"
|
|
130
130
|
onclick="${gvc.event(() => {
|
|
131
131
|
selectImage();
|
|
132
132
|
})}"
|
|
133
133
|
>
|
|
134
|
-
<span class="tx_700"
|
|
134
|
+
<span class="tx_700" >選擇圖片</span>
|
|
135
135
|
</button>
|
|
136
136
|
`}
|
|
137
137
|
</div>
|
|
@@ -38,13 +38,13 @@ export class ImageSelector {
|
|
|
38
38
|
${widget.bundle.form_title}
|
|
39
39
|
<button
|
|
40
40
|
class="btn-size-sm btn-gray "
|
|
41
|
-
|
|
41
|
+
|
|
42
42
|
type="button"
|
|
43
43
|
onclick="${gvc.event(() => {
|
|
44
44
|
selectImage();
|
|
45
45
|
})}"
|
|
46
46
|
>
|
|
47
|
-
<span class="tx_700"
|
|
47
|
+
<span class="tx_700" >替換</span>
|
|
48
48
|
</button>
|
|
49
49
|
</div>
|
|
50
50
|
<div
|
|
@@ -114,7 +114,7 @@ background-image: url('${src ||
|
|
|
114
114
|
);
|
|
115
115
|
})}"
|
|
116
116
|
>
|
|
117
|
-
<span class="tx_700"
|
|
117
|
+
<span class="tx_700" >ALT</span>
|
|
118
118
|
</button>
|
|
119
119
|
<i
|
|
120
120
|
class="fa-regular fa-eye"
|
|
@@ -138,13 +138,13 @@ background-image: url('${src ||
|
|
|
138
138
|
: `
|
|
139
139
|
<button
|
|
140
140
|
class="btn-size-sm btn-gray "
|
|
141
|
-
|
|
141
|
+
|
|
142
142
|
type="button"
|
|
143
143
|
onclick="${gvc.event(() => {
|
|
144
144
|
selectImage();
|
|
145
145
|
})}"
|
|
146
146
|
>
|
|
147
|
-
<span class="tx_700"
|
|
147
|
+
<span class="tx_700" >選擇圖片</span>
|
|
148
148
|
</button>
|
|
149
149
|
`}
|
|
150
150
|
</div>
|
|
@@ -6,7 +6,7 @@ const html = String.raw;
|
|
|
6
6
|
export class CustomStyle {
|
|
7
7
|
static renderThemeEditor(gvc, widget, callback) {
|
|
8
8
|
RenderValue.custom_style.initialWidget(widget);
|
|
9
|
-
return `<div
|
|
9
|
+
return `<div style="margin-top:-20px;">
|
|
10
10
|
${[
|
|
11
11
|
EditorElem.editeInput({
|
|
12
12
|
gvc: gvc,
|
|
@@ -436,7 +436,7 @@ ${[
|
|
|
436
436
|
return [
|
|
437
437
|
{
|
|
438
438
|
title: html `套用統一容器`,
|
|
439
|
-
hint: `<span
|
|
439
|
+
hint: `<span
|
|
440
440
|
style="color:#8D8D8D;font-size: 13px;white-space: normal;word-break: break-all;line-height: 16px;">選擇一個全站容器,若是進行了修改,全站所有應用此容器的元件將自動更新,方便未來統一管理。</span>`,
|
|
441
441
|
value: 'global',
|
|
442
442
|
},
|
|
@@ -474,7 +474,7 @@ ${[
|
|
|
474
474
|
${dd.title} ${widget.data._style_refer === dd.value ? dd.hint : ``}
|
|
475
475
|
</div>
|
|
476
476
|
</div>`,
|
|
477
|
-
html ` <div class="d-flex position-relative mt-2"
|
|
477
|
+
html ` <div class="d-flex position-relative mt-2" >
|
|
478
478
|
<div class="ms-0 border-end position-absolute h-100" style="left: 5px;"></div>
|
|
479
479
|
<div class="flex-fill " style="margin-left:20px;max-width: 100%;">
|
|
480
480
|
${(() => {
|
|
@@ -538,7 +538,7 @@ ${[
|
|
|
538
538
|
return [
|
|
539
539
|
{
|
|
540
540
|
title: html `預設背景`,
|
|
541
|
-
hint: `<span
|
|
541
|
+
hint: `<span style="color:#8D8D8D;font-size: 13px;white-space: normal;word-break: break-all;line-height: 16px;">將依據父層的背景樣式,進行顯示。</span>`,
|
|
542
542
|
value: 'none',
|
|
543
543
|
},
|
|
544
544
|
{
|
|
@@ -579,7 +579,7 @@ ${[
|
|
|
579
579
|
${dd.title} ${widget.data._background_setting.type === dd.value ? dd.hint : ``}
|
|
580
580
|
</div>
|
|
581
581
|
</div>`,
|
|
582
|
-
html ` <div class="d-flex position-relative mt-2"
|
|
582
|
+
html ` <div class="d-flex position-relative mt-2" >
|
|
583
583
|
<div class="ms-0 border-end position-absolute h-100" style="left: 5px;"></div>
|
|
584
584
|
<div class="flex-fill ${widget.data._background_setting.type !== dd.value ? `d-none` : ``} mt-n2" style="margin-left:20px;max-width: 100%;">
|
|
585
585
|
${(() => {
|
|
@@ -888,7 +888,7 @@ ${[
|
|
|
888
888
|
const gvc = obj.gvc;
|
|
889
889
|
const globalValue = gvc.glitter.share.editorViewModel.appConfig;
|
|
890
890
|
return html `
|
|
891
|
-
<div
|
|
891
|
+
<div >
|
|
892
892
|
<div
|
|
893
893
|
class="${obj.hide_title ? `d-none` : ``} px-3 border-bottom pb-3 fw-bold mt-2 pt-2"
|
|
894
894
|
style="cursor: pointer;color:#393939;"
|
|
@@ -10,7 +10,7 @@ const html = String.raw;
|
|
|
10
10
|
export class CustomStyle {
|
|
11
11
|
public static renderThemeEditor(gvc: GVC, widget: any, callback?: () => void) {
|
|
12
12
|
RenderValue.custom_style.initialWidget(widget);
|
|
13
|
-
return `<div
|
|
13
|
+
return `<div style="margin-top:-20px;">
|
|
14
14
|
${[
|
|
15
15
|
EditorElem.editeInput({
|
|
16
16
|
gvc: gvc,
|
|
@@ -441,7 +441,7 @@ ${[
|
|
|
441
441
|
return [
|
|
442
442
|
{
|
|
443
443
|
title: html`套用統一容器`,
|
|
444
|
-
hint: `<span
|
|
444
|
+
hint: `<span
|
|
445
445
|
style="color:#8D8D8D;font-size: 13px;white-space: normal;word-break: break-all;line-height: 16px;">選擇一個全站容器,若是進行了修改,全站所有應用此容器的元件將自動更新,方便未來統一管理。</span>`,
|
|
446
446
|
value: 'global',
|
|
447
447
|
},
|
|
@@ -479,7 +479,7 @@ ${[
|
|
|
479
479
|
${dd.title} ${widget.data._style_refer === dd.value ? dd.hint : ``}
|
|
480
480
|
</div>
|
|
481
481
|
</div>`,
|
|
482
|
-
html` <div class="d-flex position-relative mt-2"
|
|
482
|
+
html` <div class="d-flex position-relative mt-2" >
|
|
483
483
|
<div class="ms-0 border-end position-absolute h-100" style="left: 5px;"></div>
|
|
484
484
|
<div class="flex-fill " style="margin-left:20px;max-width: 100%;">
|
|
485
485
|
${(() => {
|
|
@@ -549,7 +549,7 @@ ${[
|
|
|
549
549
|
return [
|
|
550
550
|
{
|
|
551
551
|
title: html`預設背景`,
|
|
552
|
-
hint: `<span
|
|
552
|
+
hint: `<span style="color:#8D8D8D;font-size: 13px;white-space: normal;word-break: break-all;line-height: 16px;">將依據父層的背景樣式,進行顯示。</span>`,
|
|
553
553
|
value: 'none',
|
|
554
554
|
},
|
|
555
555
|
{
|
|
@@ -590,7 +590,7 @@ ${[
|
|
|
590
590
|
${dd.title} ${widget.data._background_setting.type === dd.value ? dd.hint : ``}
|
|
591
591
|
</div>
|
|
592
592
|
</div>`,
|
|
593
|
-
html` <div class="d-flex position-relative mt-2"
|
|
593
|
+
html` <div class="d-flex position-relative mt-2" >
|
|
594
594
|
<div class="ms-0 border-end position-absolute h-100" style="left: 5px;"></div>
|
|
595
595
|
<div class="flex-fill ${widget.data._background_setting.type !== dd.value ? `d-none` : ``} mt-n2" style="margin-left:20px;max-width: 100%;">
|
|
596
596
|
${(() => {
|
|
@@ -906,7 +906,7 @@ ${[
|
|
|
906
906
|
const gvc = obj.gvc;
|
|
907
907
|
const globalValue = gvc.glitter.share.editorViewModel.appConfig;
|
|
908
908
|
return html`
|
|
909
|
-
<div
|
|
909
|
+
<div >
|
|
910
910
|
<div
|
|
911
911
|
class="${obj.hide_title ? `d-none` : ``} px-3 border-bottom pb-3 fw-bold mt-2 pt-2"
|
|
912
912
|
style="cursor: pointer;color:#393939;"
|
|
@@ -365,7 +365,7 @@ export class GlobalWidget {
|
|
|
365
365
|
return ``;
|
|
366
366
|
}
|
|
367
367
|
return `<div class="d-flex align-items-center shadow border-bottom mt-n2"
|
|
368
|
-
|
|
368
|
+
>
|
|
369
369
|
${(() => {
|
|
370
370
|
const list = [
|
|
371
371
|
{
|
|
@@ -410,7 +410,7 @@ export class GlobalWidget {
|
|
|
410
410
|
if (obj.hide_selector) {
|
|
411
411
|
return ``;
|
|
412
412
|
}
|
|
413
|
-
return html ` <div class=" mx-n2"
|
|
413
|
+
return html ` <div class=" mx-n2" >
|
|
414
414
|
${[
|
|
415
415
|
...(() => {
|
|
416
416
|
if (obj.hide_ai) {
|
|
@@ -414,7 +414,7 @@ export class GlobalWidget {
|
|
|
414
414
|
return ``;
|
|
415
415
|
}
|
|
416
416
|
return `<div class="d-flex align-items-center shadow border-bottom mt-n2"
|
|
417
|
-
|
|
417
|
+
>
|
|
418
418
|
${(() => {
|
|
419
419
|
const list = [
|
|
420
420
|
{
|
|
@@ -461,7 +461,7 @@ export class GlobalWidget {
|
|
|
461
461
|
if (obj.hide_selector) {
|
|
462
462
|
return ``;
|
|
463
463
|
}
|
|
464
|
-
return html` <div class=" mx-n2"
|
|
464
|
+
return html` <div class=" mx-n2" >
|
|
465
465
|
${[
|
|
466
466
|
...(() => {
|
|
467
467
|
if (obj.hide_ai) {
|
|
@@ -436,7 +436,7 @@ export const widgetComponent = {
|
|
|
436
436
|
if (dd.visible === 'invisible' && (dd.value !== formData[widget.data.key])) {
|
|
437
437
|
return ``;
|
|
438
438
|
}
|
|
439
|
-
return glitter.html `<option
|
|
439
|
+
return glitter.html `<option value="${dd.value}" ${`${dd.value}` === `${formData[widget.data.key]}` ? `selected` : ``}>
|
|
440
440
|
${dd.key}
|
|
441
441
|
</option>`;
|
|
442
442
|
}).join('') + `<option value="" ${formData[widget.data.key] === '' ? `selected` : ``}>
|
|
@@ -443,7 +443,7 @@ export const widgetComponent = {
|
|
|
443
443
|
if (dd.visible === 'invisible' && (dd.value !== formData[widget.data.key])) {
|
|
444
444
|
return ``
|
|
445
445
|
}
|
|
446
|
-
return glitter.html`<option
|
|
446
|
+
return glitter.html`<option value="${dd.value}" ${`${dd.value}` === `${formData[widget.data.key]}` ? `selected` : ``}>
|
|
447
447
|
${dd.key}
|
|
448
448
|
</option>`;
|
|
449
449
|
}).join('') + `<option value="" ${formData[widget.data.key] === '' ? `selected` : ``}>
|
|
@@ -689,7 +689,7 @@ onclick="${gvc.event(() => {
|
|
|
689
689
|
return {
|
|
690
690
|
bind: selectID,
|
|
691
691
|
view: () => {
|
|
692
|
-
return html ` <div class="w-100 "
|
|
692
|
+
return html ` <div class="w-100 " >
|
|
693
693
|
<div class="d-flex align-items-center justify-content-around w-100 p-2">
|
|
694
694
|
${[
|
|
695
695
|
{
|
|
@@ -1973,7 +1973,7 @@ background: white;
|
|
|
1973
1973
|
const detID = cf.gvc.glitter.getUUID();
|
|
1974
1974
|
const plusID = cf.gvc.glitter.getUUID();
|
|
1975
1975
|
let block_close = false;
|
|
1976
|
-
return html ` <div
|
|
1976
|
+
return html ` <div style="z-index:9999;min-height: 20px;max-height: 20px;width: 100%;" onmouseout="${cf.gvc.event(() => { })}">
|
|
1977
1977
|
<div
|
|
1978
1978
|
id="${detID}"
|
|
1979
1979
|
class="d-none"
|
|
@@ -1388,7 +1388,7 @@ onclick="${gvc.event(() => {
|
|
|
1388
1388
|
return {
|
|
1389
1389
|
bind: selectID,
|
|
1390
1390
|
view: () => {
|
|
1391
|
-
return html` <div class="w-100 "
|
|
1391
|
+
return html` <div class="w-100 " >
|
|
1392
1392
|
<div class="d-flex align-items-center justify-content-around w-100 p-2">
|
|
1393
1393
|
${[
|
|
1394
1394
|
{
|
|
@@ -2452,7 +2452,7 @@ background: white;
|
|
|
2452
2452
|
const detID = cf.gvc.glitter.getUUID();
|
|
2453
2453
|
const plusID = cf.gvc.glitter.getUUID();
|
|
2454
2454
|
let block_close = false;
|
|
2455
|
-
return html` <div
|
|
2455
|
+
return html` <div style="z-index:9999;min-height: 20px;max-height: 20px;width: 100%;" onmouseout="${cf.gvc.event(() => {})}">
|
|
2456
2456
|
<div
|
|
2457
2457
|
id="${detID}"
|
|
2458
2458
|
class="d-none"
|