ts-glitter 13.4.7 → 13.5.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.
Files changed (198) hide show
  1. package/lowcode/Entry.js +1 -1
  2. package/lowcode/Entry.ts +1 -2
  3. package/lowcode/backend-manager/bg-blog.js +573 -590
  4. package/lowcode/backend-manager/bg-blog.ts +884 -915
  5. package/lowcode/backend-manager/bg-graph-api.js +3 -3
  6. package/lowcode/backend-manager/bg-graph-api.ts +3 -5
  7. package/lowcode/backend-manager/bg-guide.js +69 -24
  8. package/lowcode/backend-manager/bg-guide.ts +82 -27
  9. package/lowcode/backend-manager/bg-line.js +18 -18
  10. package/lowcode/backend-manager/bg-line.ts +18 -35
  11. package/lowcode/backend-manager/bg-notify.js +18 -18
  12. package/lowcode/backend-manager/bg-notify.ts +18 -34
  13. package/lowcode/backend-manager/bg-project.js +11 -11
  14. package/lowcode/backend-manager/bg-project.ts +11 -20
  15. package/lowcode/backend-manager/bg-recommend.js +656 -652
  16. package/lowcode/backend-manager/bg-recommend.ts +31 -40
  17. package/lowcode/backend-manager/bg-seo.js +25 -20
  18. package/lowcode/backend-manager/bg-seo.ts +121 -105
  19. package/lowcode/backend-manager/bg-shopping.js +14 -14
  20. package/lowcode/backend-manager/bg-shopping.ts +14 -25
  21. package/lowcode/backend-manager/bg-sns.js +18 -18
  22. package/lowcode/backend-manager/bg-sns.ts +18 -34
  23. package/lowcode/backend-manager/bg-wallet.js +5 -5
  24. package/lowcode/backend-manager/bg-wallet.ts +5 -7
  25. package/lowcode/backend-manager/bg-widget.js +25 -14
  26. package/lowcode/backend-manager/bg-widget.ts +43 -17
  27. package/lowcode/cms-plugin/ai-points-list.js +54 -57
  28. package/lowcode/cms-plugin/ai-points-list.ts +55 -63
  29. package/lowcode/cms-plugin/ai-points.js +2 -2
  30. package/lowcode/cms-plugin/ai-points.ts +2 -4
  31. package/lowcode/cms-plugin/app-release.js +45 -46
  32. package/lowcode/cms-plugin/app-release.ts +221 -209
  33. package/lowcode/cms-plugin/auto-reply.js +3 -3
  34. package/lowcode/cms-plugin/auto-reply.ts +3 -5
  35. package/lowcode/cms-plugin/form-setting.js +6 -6
  36. package/lowcode/cms-plugin/form-setting.ts +6 -10
  37. package/lowcode/cms-plugin/line-auto-reply.js +3 -3
  38. package/lowcode/cms-plugin/line-auto-reply.ts +3 -5
  39. package/lowcode/cms-plugin/member-group-list.js +2 -2
  40. package/lowcode/cms-plugin/member-group-list.ts +2 -3
  41. package/lowcode/cms-plugin/member-setting.js +75 -88
  42. package/lowcode/cms-plugin/member-setting.ts +143 -157
  43. package/lowcode/cms-plugin/member-type-list.js +243 -240
  44. package/lowcode/cms-plugin/member-type-list.ts +14 -19
  45. package/lowcode/cms-plugin/menus-setting.js +2 -2
  46. package/lowcode/cms-plugin/menus-setting.ts +2 -4
  47. package/lowcode/cms-plugin/permission-setting.js +17 -18
  48. package/lowcode/cms-plugin/permission-setting.ts +145 -147
  49. package/lowcode/cms-plugin/pos-checkout-setting.js +7 -10
  50. package/lowcode/cms-plugin/pos-checkout-setting.ts +174 -179
  51. package/lowcode/cms-plugin/shopping-collections.js +224 -218
  52. package/lowcode/cms-plugin/shopping-collections.ts +152 -153
  53. package/lowcode/cms-plugin/shopping-discount-setting.js +855 -852
  54. package/lowcode/cms-plugin/shopping-discount-setting.ts +14 -18
  55. package/lowcode/cms-plugin/shopping-finance-setting.js +259 -265
  56. package/lowcode/cms-plugin/shopping-finance-setting.ts +273 -284
  57. package/lowcode/cms-plugin/shopping-order-manager.js +520 -497
  58. package/lowcode/cms-plugin/shopping-order-manager.ts +347 -325
  59. package/lowcode/cms-plugin/shopping-order-return.js +10 -9
  60. package/lowcode/cms-plugin/shopping-order-return.ts +23 -27
  61. package/lowcode/cms-plugin/shopping-product-setting.js +1079 -1055
  62. package/lowcode/cms-plugin/shopping-product-setting.ts +348 -337
  63. package/lowcode/cms-plugin/shopping-product-stock.js +2 -2
  64. package/lowcode/cms-plugin/shopping-product-stock.ts +2 -3
  65. package/lowcode/cms-plugin/shopping-product-text.js +32 -36
  66. package/lowcode/cms-plugin/shopping-product-text.ts +78 -81
  67. package/lowcode/cms-plugin/shopping-rebate-setting.js +321 -316
  68. package/lowcode/cms-plugin/shopping-rebate-setting.ts +15 -17
  69. package/lowcode/cms-plugin/shopping-rebate.js +102 -59
  70. package/lowcode/cms-plugin/shopping-rebate.ts +110 -71
  71. package/lowcode/cms-plugin/shopping-shipment-setting.js +382 -426
  72. package/lowcode/cms-plugin/shopping-shipment-setting.ts +489 -531
  73. package/lowcode/cms-plugin/sms-points.js +2 -2
  74. package/lowcode/cms-plugin/sms-points.ts +2 -4
  75. package/lowcode/cms-plugin/sns-auto-reply.js +3 -3
  76. package/lowcode/cms-plugin/sns-auto-reply.ts +3 -5
  77. package/lowcode/cms-plugin/third-party-apple.js +22 -28
  78. package/lowcode/cms-plugin/third-party-apple.ts +189 -191
  79. package/lowcode/cms-plugin/third-party-facebook.js +31 -32
  80. package/lowcode/cms-plugin/third-party-facebook.ts +240 -234
  81. package/lowcode/cms-plugin/third-party-google.js +33 -29
  82. package/lowcode/cms-plugin/third-party-google.ts +216 -202
  83. package/lowcode/cms-plugin/third-party-line.js +19 -22
  84. package/lowcode/cms-plugin/third-party-line.ts +166 -162
  85. package/lowcode/cms-plugin/user-list.js +449 -441
  86. package/lowcode/cms-plugin/user-list.ts +63 -65
  87. package/lowcode/cms-plugin/user-login-setting.js +2 -2
  88. package/lowcode/cms-plugin/user-login-setting.ts +2 -5
  89. package/lowcode/cms-plugin/wallet-list.js +5 -5
  90. package/lowcode/cms-plugin/wallet-list.ts +5 -7
  91. package/lowcode/cms-plugin/web-config-setting.js +5 -5
  92. package/lowcode/cms-plugin/web-config-setting.ts +5 -8
  93. package/lowcode/cms-plugin/widget-manager.js +1 -1
  94. package/lowcode/cms-plugin/widget-manager.ts +1 -2
  95. package/lowcode/css/editor.css +12 -1
  96. package/lowcode/form-view/editor/array-items.js +1 -1
  97. package/lowcode/form-view/editor/array-items.ts +1 -1
  98. package/lowcode/form-view/editor/color-selector.ts +1 -1
  99. package/lowcode/glitter-base/route/shopping.js +17 -0
  100. package/lowcode/glitter-base/route/shopping.ts +17 -0
  101. package/lowcode/glitter-base/route/user.js +2 -2
  102. package/lowcode/glitter-base/route/user.ts +26 -27
  103. package/lowcode/glitterBundle/Glitter.js +10 -3
  104. package/lowcode/glitterBundle/Glitter.ts +10 -3
  105. package/lowcode/jspage/editor.js +16 -10
  106. package/lowcode/jspage/editor.ts +17 -11
  107. package/lowcode/jspage/function-page/server-editor/router/api-manager.js +4 -4
  108. package/lowcode/jspage/function-page/server-editor/router/api-manager.ts +4 -6
  109. package/lowcode/jspage/function-page/server-editor/router/database.js +8 -8
  110. package/lowcode/jspage/function-page/server-editor/router/database.ts +53 -48
  111. package/lowcode/jspage/function-page/server-editor/router/domain-manager.js +2 -2
  112. package/lowcode/jspage/function-page/server-editor/router/domain-manager.ts +2 -3
  113. package/lowcode/jspage/function-page/server-editor/router/server-status.js +50 -38
  114. package/lowcode/jspage/function-page/server-editor/router/server-status.ts +93 -76
  115. package/lowcode/jspage/main.js +61 -29
  116. package/lowcode/jspage/main.ts +99 -56
  117. package/lowcode/official_view_component/official/form.js +110 -78
  118. package/lowcode/official_view_component/official/form.ts +238 -192
  119. package/lowcode/view-model/saas-view-model.js +454 -285
  120. package/lowcode/view-model/saas-view-model.ts +917 -722
  121. package/package.json +1 -1
  122. package/src/api-public/controllers/ai-points.js.map +1 -1
  123. package/src/api-public/controllers/article.js +3 -0
  124. package/src/api-public/controllers/article.js.map +1 -1
  125. package/src/api-public/controllers/article.ts +3 -0
  126. package/src/api-public/controllers/chat.js.map +1 -1
  127. package/src/api-public/controllers/delivery.js.map +1 -1
  128. package/src/api-public/controllers/fb-message.js.map +1 -1
  129. package/src/api-public/controllers/index.js.map +1 -1
  130. package/src/api-public/controllers/invoice.js.map +1 -1
  131. package/src/api-public/controllers/line-message.js.map +1 -1
  132. package/src/api-public/controllers/oauth.js.map +1 -1
  133. package/src/api-public/controllers/rebate.js.map +1 -1
  134. package/src/api-public/controllers/recommend.js.map +1 -1
  135. package/src/api-public/controllers/sms-points.js.map +1 -1
  136. package/src/api-public/controllers/wallet.js.map +1 -1
  137. package/src/api-public/services/EcInvoice.js.map +1 -1
  138. package/src/api-public/services/ai-pointes.js.map +1 -1
  139. package/src/api-public/services/article.js.map +1 -1
  140. package/src/api-public/services/auto-send-email.js.map +1 -1
  141. package/src/api-public/services/delivery.js.map +1 -1
  142. package/src/api-public/services/ezpay/tool.d.ts +0 -1
  143. package/src/api-public/services/ezpay/tool.js.map +1 -1
  144. package/src/api-public/services/fake-data-model/fake-product.js.map +1 -1
  145. package/src/api-public/services/fb-message.js.map +1 -5
  146. package/src/api-public/services/filter-protect-data.js.map +1 -1
  147. package/src/api-public/services/financial-service.js.map +1 -1
  148. package/src/api-public/services/graph-api.js.map +1 -1
  149. package/src/api-public/services/invoice.js.map +1 -1
  150. package/src/api-public/services/monitor.d.ts +0 -1
  151. package/src/api-public/services/monitor.js.map +1 -1
  152. package/src/api-public/services/public-table-check.js.map +1 -1
  153. package/src/api-public/services/rebate.js.map +1 -1
  154. package/src/api-public/services/recommend.js.map +1 -1
  155. package/src/api-public/services/share-permission.js.map +1 -1
  156. package/src/api-public/services/shopping.d.ts +1 -1
  157. package/src/api-public/services/shopping.js +44 -36
  158. package/src/api-public/services/shopping.js.map +1 -1
  159. package/src/api-public/services/shopping.ts +184 -183
  160. package/src/api-public/services/sms-pointes.js.map +1 -1
  161. package/src/api-public/services/sms.js.map +1 -1
  162. package/src/api-public/services/wallet.js.map +1 -1
  163. package/src/api-public/services/workers.d.ts +1 -1
  164. package/src/api-public/utils/ut-database.js.map +1 -1
  165. package/src/app-project/serverless/src/controllers/index.js.map +1 -1
  166. package/src/app-project/serverless/src/controllers/sample.js.map +1 -1
  167. package/src/app-project/serverless/src/modules/database.d.ts +1 -2
  168. package/src/app-project/serverless/src/modules/database.js.map +1 -1
  169. package/src/app-project/serverless/src/modules/exception.js.map +1 -1
  170. package/src/app-project/serverless/src/modules/hooks.js.map +1 -1
  171. package/src/app-project/serverless/src/modules/logger.js.map +1 -1
  172. package/src/app-project/serverless/src/modules/redis.d.ts +1 -1
  173. package/src/app-project/serverless/src/modules/redis.js.map +1 -1
  174. package/src/app-project/serverless/src/modules/response.js.map +1 -1
  175. package/src/app-project/serverless/src/modules/ssh.js.map +1 -1
  176. package/src/config.js.map +1 -5
  177. package/src/controllers/ai.js.map +1 -1
  178. package/src/controllers/global-event.js.map +1 -1
  179. package/src/controllers/page.js.map +1 -1
  180. package/src/controllers/private_config.js.map +1 -1
  181. package/src/export/export-test.js.map +1 -1
  182. package/src/firebase/message.js +1 -2
  183. package/src/firebase/message.js.map +1 -1
  184. package/src/helper/app_creater.js +1 -2
  185. package/src/helper/app_creater.js.map +1 -1
  186. package/src/helper/glitter-util.d.ts +0 -1
  187. package/src/helper/glitter-util.js.map +1 -1
  188. package/src/lambda/interface.d.ts +1 -1
  189. package/src/lambda/interface.js +2 -2
  190. package/src/lambda/interface.js.map +1 -1
  191. package/src/modules/exception.js.map +1 -1
  192. package/src/modules/hooks.js.map +1 -1
  193. package/src/modules/response.js.map +1 -1
  194. package/src/modules/ssh.js.map +1 -1
  195. package/src/services/ses.js +1 -2
  196. package/src/services/ses.js.map +1 -1
  197. package/src/services/system-schedule.js.map +1 -1
  198. package/g1b90plcfb.csv +0 -1289
@@ -128,7 +128,7 @@ export class BgLine {
128
128
  },
129
129
  ],
130
130
  }),
131
- ].join('')), type === 'select' ? 850 : BgWidget.getContainerWidth(), 'padding: 0;');
131
+ ].join('')));
132
132
  },
133
133
  };
134
134
  });
@@ -230,7 +230,7 @@ export class BgLine {
230
230
  }),
231
231
  ].join('')))}
232
232
  ${BgWidget.mbContainer(120)}
233
- `, BgWidget.getContainerWidth());
233
+ `);
234
234
  }
235
235
  else if (vm.type == 'replace') {
236
236
  return this.emailEditor({
@@ -416,7 +416,7 @@ export class BgLine {
416
416
  }),
417
417
  ].join('')))}
418
418
  ${BgWidget.mbContainer(120)}
419
- `, BgWidget.getContainerWidth());
419
+ `);
420
420
  }
421
421
  return this.emailEditor({
422
422
  vm: vm,
@@ -440,7 +440,7 @@ export class BgLine {
440
440
  };
441
441
  let pointCount = 1;
442
442
  return BgWidget.container(html `
443
- <div class="d-flex w-100 align-items-center">
443
+ <div class="title-container">
444
444
  ${BgWidget.goBack(gvc.event(() => {
445
445
  vm.type = 'list';
446
446
  }))}
@@ -557,7 +557,7 @@ export class BgLine {
557
557
  },
558
558
  divCreate: {},
559
559
  };
560
- }), BgWidget.getContainerWidth(), 'padding: 0 !important; margin: 0 !important;')}
560
+ }))}
561
561
  ${BgWidget.mbContainer(240)}
562
562
  <div class="update-bar-container">
563
563
  ${obj.type === 'replace' && !obj.readonly
@@ -644,7 +644,7 @@ export class BgLine {
644
644
  }
645
645
  }))}
646
646
  </div>
647
- `, BgWidget.getContainerWidth());
647
+ `);
648
648
  }
649
649
  static lineSender(gvc) {
650
650
  const glitter = gvc.glitter;
@@ -1379,7 +1379,7 @@ export class BgLine {
1379
1379
  },
1380
1380
  divCreate: {},
1381
1381
  };
1382
- }), BgWidget.getContainerWidth(), 'padding: 0 !important; margin: 0 !important;')}
1382
+ }))}
1383
1383
  ${BgWidget.mbContainer(240)}
1384
1384
  <div class="update-bar-container">
1385
1385
  ${BgWidget.save(gvc.event(() => {
@@ -1415,7 +1415,7 @@ export class BgLine {
1415
1415
  });
1416
1416
  }), '送出')}
1417
1417
  </div>
1418
- `, BgWidget.getContainerWidth());
1418
+ `);
1419
1419
  }
1420
1420
  static fcmEditor(obj) {
1421
1421
  var _a;
@@ -1430,7 +1430,7 @@ export class BgLine {
1430
1430
  name: '',
1431
1431
  };
1432
1432
  return BgWidget.container(html `
1433
- <div class="d-flex w-100 align-items-center">
1433
+ <div class="title-container">
1434
1434
  ${BgWidget.goBack(gvc.event(() => {
1435
1435
  vm.type = 'list';
1436
1436
  }))}
@@ -1550,7 +1550,7 @@ export class BgLine {
1550
1550
  }
1551
1551
  }))}
1552
1552
  </div>`)}
1553
- `, BgWidget.getContainerWidth({ rate: { web: 0.68 } }));
1553
+ `);
1554
1554
  }
1555
1555
  static fcmDevice(gvc, type = 'list', callback = () => { }) {
1556
1556
  const vm = {
@@ -1668,7 +1668,7 @@ export class BgLine {
1668
1668
  ],
1669
1669
  }),
1670
1670
  ].join('')))}
1671
- `, BgWidget.getContainerWidth());
1671
+ `);
1672
1672
  },
1673
1673
  divCreate: {
1674
1674
  class: type === 'select' ? `m-n4` : ``,
@@ -1740,7 +1740,7 @@ export class BgLine {
1740
1740
  <div style="max-height: calc(100vh - 100px);overflow-y: auto;">
1741
1741
  ${BgWidget.container(BgWidget.card([
1742
1742
  html `
1743
- <div class="d-flex w-100 align-items-center mb-3 ">
1743
+ <div class="title-container">
1744
1744
  ${BgWidget.goBack(gvc.event(() => {
1745
1745
  gvc.closeDialog();
1746
1746
  }))}
@@ -1802,7 +1802,7 @@ export class BgLine {
1802
1802
  BgLine.fcmDevice(gvc, 'select', (data) => {
1803
1803
  dataList = data;
1804
1804
  }),
1805
- ].join('')), 900)}
1805
+ ].join('')))}
1806
1806
  <div></div>
1807
1807
  </div>
1808
1808
  `;
@@ -1857,7 +1857,7 @@ export class BgLine {
1857
1857
  ],
1858
1858
  }),
1859
1859
  ].join('')))}
1860
- `, BgWidget.getContainerWidth());
1860
+ `);
1861
1861
  }
1862
1862
  else if (vm.type == 'replace') {
1863
1863
  return this.fcmEditor({
@@ -1927,7 +1927,7 @@ export class BgLine {
1927
1927
  }
1928
1928
  if (vm.type === 'replace') {
1929
1929
  return BgWidget.container(html `
1930
- <div class="d-flex w-100 align-items-center mb-3 ">
1930
+ <div class="title-container">
1931
1931
  ${BgWidget.goBack(gvc.event(() => {
1932
1932
  vm.type = 'list';
1933
1933
  gvc.notifyDataChange(id);
@@ -2039,7 +2039,7 @@ export class BgLine {
2039
2039
  refresh: () => { },
2040
2040
  formData: vm.data.content,
2041
2041
  })}`)}
2042
- `, 800);
2042
+ `);
2043
2043
  }
2044
2044
  return BgWidget.container(html `
2045
2045
  <div class="d-flex w-100 align-items-center mb-3 ${type === 'select' ? `d-none` : ``}">
@@ -2170,7 +2170,7 @@ export class BgLine {
2170
2170
  }
2171
2171
  if (vm.type === 'replace') {
2172
2172
  return BgWidget.container(html `
2173
- <div class="d-flex w-100 align-items-center mb-3 ">
2173
+ <div class="title-container">
2174
2174
  ${BgWidget.goBack(gvc.event(() => {
2175
2175
  vm.type = 'list';
2176
2176
  gvc.notifyDataChange(id);
@@ -2282,7 +2282,7 @@ export class BgLine {
2282
2282
  refresh: () => { },
2283
2283
  formData: vm.data.content,
2284
2284
  })}`)}
2285
- `, 800);
2285
+ `);
2286
2286
  }
2287
2287
  return BgWidget.container(html `
2288
2288
  <div class="d-flex w-100 align-items-center mb-3 ${type === 'select' ? `d-none` : ``}">
@@ -11,7 +11,6 @@ import { FilterOptions } from '../cms-plugin/filter-options.js';
11
11
  import { ShoppingDiscountSetting } from '../cms-plugin/shopping-discount-setting.js';
12
12
  import { BgListComponent } from './bg-list-component.js';
13
13
  import { Tool } from '../modules/tool.js';
14
- import { ApiWallet } from '../glitter-base/route/wallet.js';
15
14
  import { ApiLineMessage } from '../glitter-base/route/line.js';
16
15
 
17
16
  const html = String.raw;
@@ -167,9 +166,7 @@ export class BgLine {
167
166
  ],
168
167
  }),
169
168
  ].join('')
170
- ),
171
- type === 'select' ? 850 : BgWidget.getContainerWidth(),
172
- 'padding: 0;'
169
+ )
173
170
  );
174
171
  },
175
172
  };
@@ -290,8 +287,7 @@ export class BgLine {
290
287
  )
291
288
  )}
292
289
  ${BgWidget.mbContainer(120)}
293
- `,
294
- BgWidget.getContainerWidth()
290
+ `
295
291
  );
296
292
  } else if (vm.type == 'replace') {
297
293
  return this.emailEditor({
@@ -499,8 +495,7 @@ export class BgLine {
499
495
  )
500
496
  )}
501
497
  ${BgWidget.mbContainer(120)}
502
- `,
503
- BgWidget.getContainerWidth()
498
+ `
504
499
  );
505
500
  }
506
501
  return this.emailEditor({
@@ -533,7 +528,7 @@ export class BgLine {
533
528
 
534
529
  return BgWidget.container(
535
530
  html`
536
- <div class="d-flex w-100 align-items-center">
531
+ <div class="title-container">
537
532
  ${BgWidget.goBack(
538
533
  gvc.event(() => {
539
534
  vm.type = 'list';
@@ -657,9 +652,7 @@ export class BgLine {
657
652
  },
658
653
  divCreate: {},
659
654
  };
660
- }),
661
- BgWidget.getContainerWidth(),
662
- 'padding: 0 !important; margin: 0 !important;'
655
+ })
663
656
  )}
664
657
  ${BgWidget.mbContainer(240)}
665
658
  <div class="update-bar-container">
@@ -752,8 +745,7 @@ export class BgLine {
752
745
  })
753
746
  )}
754
747
  </div>
755
- `,
756
- BgWidget.getContainerWidth()
748
+ `
757
749
  );
758
750
  }
759
751
 
@@ -1553,9 +1545,7 @@ export class BgLine {
1553
1545
  },
1554
1546
  divCreate: {},
1555
1547
  };
1556
- }),
1557
- BgWidget.getContainerWidth(),
1558
- 'padding: 0 !important; margin: 0 !important;'
1548
+ })
1559
1549
  )}
1560
1550
  ${BgWidget.mbContainer(240)}
1561
1551
  <div class="update-bar-container">
@@ -1598,8 +1588,7 @@ export class BgLine {
1598
1588
  '送出'
1599
1589
  )}
1600
1590
  </div>
1601
- `,
1602
- BgWidget.getContainerWidth()
1591
+ `
1603
1592
  );
1604
1593
  }
1605
1594
 
@@ -1624,7 +1613,7 @@ export class BgLine {
1624
1613
 
1625
1614
  return BgWidget.container(
1626
1615
  html`
1627
- <div class="d-flex w-100 align-items-center">
1616
+ <div class="title-container">
1628
1617
  ${BgWidget.goBack(
1629
1618
  gvc.event(() => {
1630
1619
  vm.type = 'list';
@@ -1751,8 +1740,7 @@ export class BgLine {
1751
1740
  })
1752
1741
  )}
1753
1742
  </div>`)}
1754
- `,
1755
- BgWidget.getContainerWidth({ rate: { web: 0.68 } })
1743
+ `
1756
1744
  );
1757
1745
  }
1758
1746
 
@@ -1891,8 +1879,7 @@ export class BgLine {
1891
1879
  ].join('')
1892
1880
  )
1893
1881
  )}
1894
- `,
1895
- BgWidget.getContainerWidth()
1882
+ `
1896
1883
  );
1897
1884
  },
1898
1885
  divCreate: {
@@ -1983,7 +1970,7 @@ export class BgLine {
1983
1970
  BgWidget.card(
1984
1971
  [
1985
1972
  html`
1986
- <div class="d-flex w-100 align-items-center mb-3 ">
1973
+ <div class="title-container">
1987
1974
  ${BgWidget.goBack(
1988
1975
  gvc.event(() => {
1989
1976
  gvc.closeDialog();
@@ -2047,8 +2034,7 @@ export class BgLine {
2047
2034
  dataList = data;
2048
2035
  }),
2049
2036
  ].join('')
2050
- ),
2051
- 900
2037
+ )
2052
2038
  )}
2053
2039
  <div></div>
2054
2040
  </div>
@@ -2106,8 +2092,7 @@ export class BgLine {
2106
2092
  ].join('')
2107
2093
  )
2108
2094
  )}
2109
- `,
2110
- BgWidget.getContainerWidth()
2095
+ `
2111
2096
  );
2112
2097
  } else if (vm.type == 'replace') {
2113
2098
  return this.fcmEditor({
@@ -2184,7 +2169,7 @@ export class BgLine {
2184
2169
  if (vm.type === 'replace') {
2185
2170
  return BgWidget.container(
2186
2171
  html`
2187
- <div class="d-flex w-100 align-items-center mb-3 ">
2172
+ <div class="title-container">
2188
2173
  ${BgWidget.goBack(
2189
2174
  gvc.event(() => {
2190
2175
  vm.type = 'list';
@@ -2300,8 +2285,7 @@ export class BgLine {
2300
2285
  formData: vm.data.content,
2301
2286
  })}`
2302
2287
  )}
2303
- `,
2304
- 800
2288
+ `
2305
2289
  );
2306
2290
  }
2307
2291
  return BgWidget.container(html`
@@ -2450,7 +2434,7 @@ export class BgLine {
2450
2434
  if (vm.type === 'replace') {
2451
2435
  return BgWidget.container(
2452
2436
  html`
2453
- <div class="d-flex w-100 align-items-center mb-3 ">
2437
+ <div class="title-container">
2454
2438
  ${BgWidget.goBack(
2455
2439
  gvc.event(() => {
2456
2440
  vm.type = 'list';
@@ -2566,8 +2550,7 @@ export class BgLine {
2566
2550
  formData: vm.data.content,
2567
2551
  })}`
2568
2552
  )}
2569
- `,
2570
- 800
2553
+ `
2571
2554
  );
2572
2555
  }
2573
2556
  return BgWidget.container(html`
@@ -129,7 +129,7 @@ export class BgNotify {
129
129
  },
130
130
  ],
131
131
  }),
132
- ].join('')), type === 'select' ? 850 : BgWidget.getContainerWidth(), 'padding: 0;');
132
+ ].join('')));
133
133
  },
134
134
  };
135
135
  });
@@ -231,7 +231,7 @@ export class BgNotify {
231
231
  }),
232
232
  ].join('')))}
233
233
  ${BgWidget.mbContainer(120)}
234
- `, BgWidget.getContainerWidth());
234
+ `);
235
235
  }
236
236
  else if (vm.type == 'replace') {
237
237
  return this.emailEditor({
@@ -416,7 +416,7 @@ export class BgNotify {
416
416
  }),
417
417
  ].join('')))}
418
418
  ${BgWidget.mbContainer(120)}
419
- `, BgWidget.getContainerWidth());
419
+ `);
420
420
  }
421
421
  return this.emailEditor({
422
422
  vm: vm,
@@ -439,7 +439,7 @@ export class BgNotify {
439
439
  name: '',
440
440
  };
441
441
  return BgWidget.container(html `
442
- <div class="d-flex w-100 align-items-center">
442
+ <div class="title-container">
443
443
  ${BgWidget.goBack(gvc.event(() => {
444
444
  vm.type = 'list';
445
445
  }))}
@@ -581,7 +581,7 @@ export class BgNotify {
581
581
  },
582
582
  divCreate: {},
583
583
  };
584
- }), BgWidget.getContainerWidth(), 'padding: 0 !important; margin: 0 !important;')}
584
+ }))}
585
585
  ${BgWidget.mbContainer(240)}
586
586
  <div class="update-bar-container">
587
587
  ${!obj.readonly && obj.type === 'replace'
@@ -677,7 +677,7 @@ export class BgNotify {
677
677
  }
678
678
  }))}
679
679
  </div>
680
- `, BgWidget.getContainerWidth());
680
+ `);
681
681
  }
682
682
  static emailSender(gvc) {
683
683
  const glitter = gvc.glitter;
@@ -1413,7 +1413,7 @@ export class BgNotify {
1413
1413
  },
1414
1414
  divCreate: {},
1415
1415
  };
1416
- }), BgWidget.getContainerWidth(), 'padding: 0 !important; margin: 0 !important;')}
1416
+ }))}
1417
1417
  ${BgWidget.mbContainer(240)}
1418
1418
  <div class="update-bar-container">
1419
1419
  ${BgWidget.save(gvc.event(() => {
@@ -1449,7 +1449,7 @@ export class BgNotify {
1449
1449
  });
1450
1450
  }), '送出')}
1451
1451
  </div>
1452
- `, BgWidget.getContainerWidth());
1452
+ `);
1453
1453
  }
1454
1454
  static fcmEditor(obj) {
1455
1455
  var _a;
@@ -1464,7 +1464,7 @@ export class BgNotify {
1464
1464
  name: '',
1465
1465
  };
1466
1466
  return BgWidget.container(html `
1467
- <div class="d-flex w-100 align-items-center">
1467
+ <div class="title-container">
1468
1468
  ${BgWidget.goBack(gvc.event(() => {
1469
1469
  vm.type = 'list';
1470
1470
  }))}
@@ -1584,7 +1584,7 @@ export class BgNotify {
1584
1584
  }
1585
1585
  }))}
1586
1586
  </div>`)}
1587
- `, BgWidget.getContainerWidth({ rate: { web: 0.68 } }));
1587
+ `);
1588
1588
  }
1589
1589
  static fcmDevice(gvc, type = 'list', callback = () => { }) {
1590
1590
  const vm = {
@@ -1702,7 +1702,7 @@ export class BgNotify {
1702
1702
  ],
1703
1703
  }),
1704
1704
  ].join('')))}
1705
- `, BgWidget.getContainerWidth());
1705
+ `);
1706
1706
  },
1707
1707
  divCreate: {
1708
1708
  class: type === 'select' ? `m-n4` : ``,
@@ -1774,7 +1774,7 @@ export class BgNotify {
1774
1774
  <div style="max-height: calc(100vh - 100px);overflow-y: auto;">
1775
1775
  ${BgWidget.container(BgWidget.card([
1776
1776
  html `
1777
- <div class="d-flex w-100 align-items-center mb-3 ">
1777
+ <div class="title-container">
1778
1778
  ${BgWidget.goBack(gvc.event(() => {
1779
1779
  gvc.closeDialog();
1780
1780
  }))}
@@ -1836,7 +1836,7 @@ export class BgNotify {
1836
1836
  BgNotify.fcmDevice(gvc, 'select', (data) => {
1837
1837
  dataList = data;
1838
1838
  }),
1839
- ].join('')), 900)}
1839
+ ].join('')))}
1840
1840
  <div></div>
1841
1841
  </div>
1842
1842
  `;
@@ -1891,7 +1891,7 @@ export class BgNotify {
1891
1891
  ],
1892
1892
  }),
1893
1893
  ].join('')))}
1894
- `, BgWidget.getContainerWidth());
1894
+ `);
1895
1895
  }
1896
1896
  else if (vm.type == 'replace') {
1897
1897
  return this.fcmEditor({
@@ -1961,7 +1961,7 @@ export class BgNotify {
1961
1961
  }
1962
1962
  if (vm.type === 'replace') {
1963
1963
  return BgWidget.container(html `
1964
- <div class="d-flex w-100 align-items-center mb-3 ">
1964
+ <div class="title-container">
1965
1965
  ${BgWidget.goBack(gvc.event(() => {
1966
1966
  vm.type = 'list';
1967
1967
  gvc.notifyDataChange(id);
@@ -2073,7 +2073,7 @@ export class BgNotify {
2073
2073
  refresh: () => { },
2074
2074
  formData: vm.data.content,
2075
2075
  })}`)}
2076
- `, 800);
2076
+ `);
2077
2077
  }
2078
2078
  return BgWidget.container(html `
2079
2079
  <div class="d-flex w-100 align-items-center mb-3 ${type === 'select' ? `d-none` : ``}">
@@ -2253,7 +2253,7 @@ export class BgNotify {
2253
2253
  }
2254
2254
  if (vm.type === 'replace') {
2255
2255
  return BgWidget.container(html `
2256
- <div class="d-flex w-100 align-items-center mb-3 ">
2256
+ <div class="title-container">
2257
2257
  ${BgWidget.goBack(gvc.event(() => {
2258
2258
  vm.type = 'list';
2259
2259
  gvc.notifyDataChange(id);
@@ -2365,7 +2365,7 @@ export class BgNotify {
2365
2365
  refresh: () => { },
2366
2366
  formData: vm.data.content,
2367
2367
  })}`)}
2368
- `, 800);
2368
+ `);
2369
2369
  }
2370
2370
  return BgWidget.container(html `
2371
2371
  <div class="d-flex w-100 align-items-center mb-3 ${type === 'select' ? `d-none` : ``}">
@@ -162,9 +162,7 @@ export class BgNotify {
162
162
  ],
163
163
  }),
164
164
  ].join('')
165
- ),
166
- type === 'select' ? 850 : BgWidget.getContainerWidth(),
167
- 'padding: 0;'
165
+ )
168
166
  );
169
167
  },
170
168
  };
@@ -284,8 +282,7 @@ export class BgNotify {
284
282
  )
285
283
  )}
286
284
  ${BgWidget.mbContainer(120)}
287
- `,
288
- BgWidget.getContainerWidth()
285
+ `
289
286
  );
290
287
  } else if (vm.type == 'replace') {
291
288
  return this.emailEditor({
@@ -493,8 +490,7 @@ export class BgNotify {
493
490
  )
494
491
  )}
495
492
  ${BgWidget.mbContainer(120)}
496
- `,
497
- BgWidget.getContainerWidth()
493
+ `
498
494
  );
499
495
  }
500
496
  return this.emailEditor({
@@ -527,7 +523,7 @@ export class BgNotify {
527
523
 
528
524
  return BgWidget.container(
529
525
  html`
530
- <div class="d-flex w-100 align-items-center">
526
+ <div class="title-container">
531
527
  ${BgWidget.goBack(
532
528
  gvc.event(() => {
533
529
  vm.type = 'list';
@@ -682,9 +678,7 @@ export class BgNotify {
682
678
  },
683
679
  divCreate: {},
684
680
  };
685
- }),
686
- BgWidget.getContainerWidth(),
687
- 'padding: 0 !important; margin: 0 !important;'
681
+ })
688
682
  )}
689
683
  ${BgWidget.mbContainer(240)}
690
684
  <div class="update-bar-container">
@@ -786,8 +780,7 @@ export class BgNotify {
786
780
  })
787
781
  )}
788
782
  </div>
789
- `,
790
- BgWidget.getContainerWidth()
783
+ `
791
784
  );
792
785
  }
793
786
 
@@ -1551,9 +1544,7 @@ export class BgNotify {
1551
1544
  },
1552
1545
  divCreate: {},
1553
1546
  };
1554
- }),
1555
- BgWidget.getContainerWidth(),
1556
- 'padding: 0 !important; margin: 0 !important;'
1547
+ })
1557
1548
  )}
1558
1549
  ${BgWidget.mbContainer(240)}
1559
1550
  <div class="update-bar-container">
@@ -1598,8 +1589,7 @@ export class BgNotify {
1598
1589
  '送出'
1599
1590
  )}
1600
1591
  </div>
1601
- `,
1602
- BgWidget.getContainerWidth()
1592
+ `
1603
1593
  );
1604
1594
  }
1605
1595
 
@@ -1624,7 +1614,7 @@ export class BgNotify {
1624
1614
 
1625
1615
  return BgWidget.container(
1626
1616
  html`
1627
- <div class="d-flex w-100 align-items-center">
1617
+ <div class="title-container">
1628
1618
  ${BgWidget.goBack(
1629
1619
  gvc.event(() => {
1630
1620
  vm.type = 'list';
@@ -1751,8 +1741,7 @@ export class BgNotify {
1751
1741
  })
1752
1742
  )}
1753
1743
  </div>`)}
1754
- `,
1755
- BgWidget.getContainerWidth({ rate: { web: 0.68 } })
1744
+ `
1756
1745
  );
1757
1746
  }
1758
1747
 
@@ -1890,8 +1879,7 @@ export class BgNotify {
1890
1879
  ].join('')
1891
1880
  )
1892
1881
  )}
1893
- `,
1894
- BgWidget.getContainerWidth()
1882
+ `
1895
1883
  );
1896
1884
  },
1897
1885
  divCreate: {
@@ -1982,7 +1970,7 @@ export class BgNotify {
1982
1970
  BgWidget.card(
1983
1971
  [
1984
1972
  html`
1985
- <div class="d-flex w-100 align-items-center mb-3 ">
1973
+ <div class="title-container">
1986
1974
  ${BgWidget.goBack(
1987
1975
  gvc.event(() => {
1988
1976
  gvc.closeDialog();
@@ -2046,8 +2034,7 @@ export class BgNotify {
2046
2034
  dataList = data;
2047
2035
  }),
2048
2036
  ].join('')
2049
- ),
2050
- 900
2037
+ )
2051
2038
  )}
2052
2039
  <div></div>
2053
2040
  </div>
@@ -2105,8 +2092,7 @@ export class BgNotify {
2105
2092
  ].join('')
2106
2093
  )
2107
2094
  )}
2108
- `,
2109
- BgWidget.getContainerWidth()
2095
+ `
2110
2096
  );
2111
2097
  } else if (vm.type == 'replace') {
2112
2098
  return this.fcmEditor({
@@ -2183,7 +2169,7 @@ export class BgNotify {
2183
2169
  if (vm.type === 'replace') {
2184
2170
  return BgWidget.container(
2185
2171
  html`
2186
- <div class="d-flex w-100 align-items-center mb-3 ">
2172
+ <div class="title-container">
2187
2173
  ${BgWidget.goBack(
2188
2174
  gvc.event(() => {
2189
2175
  vm.type = 'list';
@@ -2299,8 +2285,7 @@ export class BgNotify {
2299
2285
  formData: vm.data.content,
2300
2286
  })}`
2301
2287
  )}
2302
- `,
2303
- 800
2288
+ `
2304
2289
  );
2305
2290
  }
2306
2291
  return BgWidget.container(html`
@@ -2504,7 +2489,7 @@ export class BgNotify {
2504
2489
  if (vm.type === 'replace') {
2505
2490
  return BgWidget.container(
2506
2491
  html`
2507
- <div class="d-flex w-100 align-items-center mb-3 ">
2492
+ <div class="title-container">
2508
2493
  ${BgWidget.goBack(
2509
2494
  gvc.event(() => {
2510
2495
  vm.type = 'list';
@@ -2620,8 +2605,7 @@ export class BgNotify {
2620
2605
  formData: vm.data.content,
2621
2606
  })}`
2622
2607
  )}
2623
- `,
2624
- 800
2608
+ `
2625
2609
  );
2626
2610
  }
2627
2611
  return BgWidget.container(html`