@gct-paas/excel 0.1.37 → 0.1.39-beta.1

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 (316) hide show
  1. package/dist/AntdIcon-DCIaV352.js +1108 -0
  2. package/dist/{BaseComponent-5QpH6Rui.js → BaseComponent-wXAepA6P.js} +18 -1
  3. package/dist/{VueVideoPlayer-DZh8_F3v.js → VueVideoPlayer-C--qHZWs.js} +2 -2
  4. package/dist/{align-editor-BTvIuOVN.js → align-editor-BMFoEgQf.js} +1 -1
  5. package/dist/{barcode-design-D3g_D7hp.js → barcode-design-M3FjUJNm.js} +2 -2
  6. package/dist/base/index.es.js +2138 -2802
  7. package/dist/{diagonal-design-BinP4Wlt.js → diagonal-design-C2lATeRX.js} +2 -2
  8. package/dist/{dynamic-table-action-Ckc4yetB.js → dynamic-table-action-Cm8HO12b.js} +6930 -2773
  9. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js} +51451 -52267
  10. package/dist/{edit.utils-CXmmCnxE-DDvf_1B1.js → edit.utils-CXmmCnxE-CaZuzVd6.js} +1 -1
  11. package/dist/excel.css +2472 -1126
  12. package/dist/{exceljs.min-jNu29iVm.js → exceljs.min-CeIQpaOT.js} +2 -2
  13. package/dist/{font-editor-B6cYSWqo.js → font-editor-CPn2F_OZ.js} +3 -3
  14. package/dist/{image-design-kQ2vbtwc.js → image-design-DWjjBFQa.js} +2 -2
  15. package/dist/{index-O4srBJlA.js → index-B3S5QpVz.js} +22647 -17125
  16. package/dist/{index-Dg6nmj-a.js → index-B3oqnny_.js} +8 -74
  17. package/dist/{index-C3HGy13G.js → index-B72KgWBu.js} +1 -1
  18. package/dist/{index-DgUHgge3.js → index-BEQELF4E.js} +3 -3
  19. package/dist/{index-DF5irDE9.js → index-BZcapeWR.js} +2 -2
  20. package/dist/{index-BtZbUJqv.js → index-BatfBVeN.js} +5 -3
  21. package/dist/{index-B5HIN-qO.js → index-BcpTVyHa.js} +2 -2
  22. package/dist/{index-Bk8MpwGt.js → index-BrZiEGAB.js} +2 -2
  23. package/dist/{index-DnLs4s1z.js → index-BuNKNsIb.js} +13 -2
  24. package/dist/{index-C8ArafDL.js → index-C3GHvYcj.js} +2 -2
  25. package/dist/{index-BPKmoc5N.js → index-CED1SWU9.js} +2 -2
  26. package/dist/{index-C1DOk9t-.js → index-CIiCyyBv.js} +1 -1
  27. package/dist/{index-C91SfhAb.js → index-CNlb3Y3A.js} +1 -1
  28. package/dist/{index-BNiGRPzJ.js → index-CRGOLDI8.js} +1 -1
  29. package/dist/{index-DqkJPwx3.js → index-CWmsgguT.js} +3 -3
  30. package/dist/{index-BqI7r_XC.js → index-C__Qm3ub.js} +2 -2
  31. package/dist/{index-BJyfzYBO.js → index-CcBF1mOx.js} +2 -2
  32. package/dist/{index-DSISN2ys.js → index-Cg0trWkY.js} +2 -2
  33. package/dist/{index-ClnlX2jZ.js → index-ChRhjdl_.js} +1 -1
  34. package/dist/{index-Dxh55nQw.js → index-ClVsGQoQ.js} +1 -1
  35. package/dist/{index-DqDGmouR.js → index-CpN3c_Lk.js} +2 -2
  36. package/dist/{index-C5ESFU7b.js → index-DC8dEMj4.js} +1 -1
  37. package/dist/{index-BWEQIjQE.js → index-DHPRpllA.js} +1 -1
  38. package/dist/index-DSSJ8S81.js +26 -0
  39. package/dist/{index-DCMnBDPA.js → index-DTSHn9ii.js} +432 -237
  40. package/dist/{index-YlVy61FH.js → index-DdVlAV0_.js} +1 -1
  41. package/dist/{index-KBj0_MsM.js → index-DhkQma-u.js} +2 -2
  42. package/dist/{index-CnTC_LFJ.js → index-DqQ2ZxDn.js} +2 -2
  43. package/dist/{index-CkgB26Uk.js → index-DtS3ze0S.js} +3 -3
  44. package/dist/{index-D3Oj5SoQ.js → index-DxCN78vg.js} +3 -3
  45. package/dist/{index-C4tkNDTa.js → index-OIXBBHHu.js} +2 -2
  46. package/dist/{index-B9sZfT3j.js → index-gra19syg.js} +2 -2
  47. package/dist/{index-avQcYIlZ.js → index-mA7F37nK.js} +2 -2
  48. package/dist/{index-Dzydpwhf.js → index-pxBPpLrG.js} +2 -2
  49. package/dist/{index-BaCxUMCF.js → index-yfTjcRJ8.js} +2 -2
  50. package/dist/index.es.js +49 -49
  51. package/dist/{mb-render-BtXKf12F.js → mb-render-BZXw-tG7.js} +21 -15
  52. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-C-9AZcTz.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-uXt_kyMo.js} +4 -1041
  53. package/dist/{pagination-design-D2EHYcDi.js → pagination-design-CCRMgYhc.js} +2 -2
  54. package/dist/paper-widget-design-BbQeY4Hv.js +4 -0
  55. package/dist/print-runtime-instance-MA7UVZdA.js +36 -0
  56. package/dist/print-snapshot-renderer-BavXucNu.js +76 -0
  57. package/dist/{qrcode-design-_uIcWgfD.js → qrcode-design-BC1PBKf_.js} +1 -1
  58. package/dist/{revo-grid.entry-h26i-X1O.js → revo-grid.entry-DjiOpHRm.js} +1 -1
  59. package/dist/{revogr-attribution_7.entry-DnWhGt3I.js → revogr-attribution_7.entry-CDnB9lLs.js} +3 -3
  60. package/dist/{revogr-clipboard_3.entry-DHP6m3aV.js → revogr-clipboard_3.entry-C6O9JrN7.js} +2 -2
  61. package/dist/{revogr-data_4.entry-CBEPKC2v.js → revogr-data_4.entry-y1feqF9h.js} +2 -2
  62. package/dist/{revogr-filter-panel.entry-DpaMxMlv.js → revogr-filter-panel.entry-By9rD4Y9.js} +1 -1
  63. package/dist/seal-design-CN_B6div.js +4 -0
  64. package/dist/{serialnumber-design-KRWMAGLy.js → serialnumber-design-Bb75HRGq.js} +1 -1
  65. package/dist/shared/index.es.js +32 -26
  66. package/dist/{single-field-drop-yih8_AXA.js → single-field-drop-BlAQcTBT.js} +3 -3
  67. package/dist/{size-editor-BqOSTI8R.js → size-editor-BWnv8oH4.js} +1 -1
  68. package/dist/src/adapter/adapter.d.ts +6 -1
  69. package/dist/src/assets/svgs/table/index.d.ts +1 -0
  70. package/dist/src/domain/field/date/sterilization-date-manifest.d.ts +2 -0
  71. package/dist/src/domain/field/number/inspection-module-qty-manifest.d.ts +2 -0
  72. package/dist/src/domain/field/seal/seal-manifest.d.ts +2 -0
  73. package/dist/src/domain/field/select/inspection-container-manifest.d.ts +2 -0
  74. package/dist/src/domain/field/text/udi-manifest.d.ts +2 -0
  75. package/dist/src/domain/field/types.d.ts +2 -2
  76. package/dist/src/domain/table/business/device/maintenance/index.d.ts +1 -0
  77. package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +9 -0
  78. package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +2 -0
  79. package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +3 -0
  80. package/dist/src/domain/table/business/device/point-inspection/index.d.ts +1 -0
  81. package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +9 -0
  82. package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +2 -0
  83. package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +3 -0
  84. package/dist/src/domain/table/business/device/signature-lock.d.ts +9 -0
  85. package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
  86. package/dist/src/domain/table/business/material/material-substitution/index.d.ts +2 -0
  87. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +75 -0
  88. package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +2 -0
  89. package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +4 -0
  90. package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +1 -0
  91. package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +6 -0
  92. package/dist/src/domain/table/design/create-subtable.d.ts +1 -1
  93. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +1 -1
  94. package/dist/src/domain/table/design/index.d.ts +1 -1
  95. package/dist/src/domain/table/design/ribbon-options.d.ts +1 -0
  96. package/dist/src/domain/table/design/sub-model-matcher.d.ts +1 -0
  97. package/dist/src/domain/table/index.d.ts +3 -2
  98. package/dist/src/domain/table/registry.d.ts +1 -0
  99. package/dist/src/domain/table/types.d.ts +8 -3
  100. package/dist/src/nocode-base/src/_utils_/uuid.d.ts +8 -0
  101. package/dist/src/nocode-base/src/components/document-layout.vue.d.ts +3 -0
  102. package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -3
  103. package/dist/src/nocode-base/src/components/inspection-decision-prompt-modal.vue.d.ts +7 -0
  104. package/dist/src/nocode-base/src/constant/index.d.ts +8 -2
  105. package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +11 -3
  106. package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +0 -1
  107. package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +0 -1
  108. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +23 -1
  109. package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +0 -1
  110. package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +0 -1
  111. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +0 -5
  112. package/dist/src/nocode-base/src/core/types/index.d.ts +4 -0
  113. package/dist/src/nocode-base/src/emit/enum.d.ts +2 -12
  114. package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +7 -5
  115. package/dist/src/nocode-base/src/hooks/annotation/runtime-annotation-binding.d.ts +17 -0
  116. package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +0 -6
  117. package/dist/src/nocode-base/src/hooks/form-tmpl-config/device-connector.d.ts +1 -1
  118. package/dist/src/nocode-base/src/hooks/index.d.ts +5 -3
  119. package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +11 -0
  120. package/dist/src/nocode-base/src/hooks/material-balance/mb-render.d.ts +2 -2
  121. package/dist/src/nocode-base/src/hooks/material-balance/useMaterialBalance.d.ts +4 -4
  122. package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +10 -2
  123. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +13 -25
  124. package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +5 -6
  125. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +8 -4
  126. package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +0 -1
  127. package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +3 -0
  128. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +56 -0
  129. package/dist/src/nocode-base/src/hooks/render-page/runtime-request.d.ts +24 -0
  130. package/dist/src/nocode-base/src/hooks/render-page/runtime-validation.d.ts +17 -0
  131. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +64 -0
  132. package/dist/src/nocode-base/src/hooks/udi.d.ts +6 -0
  133. package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +3 -0
  134. package/dist/src/nocode-base/src/hooks/useDependency.d.ts +2 -1
  135. package/dist/src/nocode-base/src/hooks/useFieldPresentation.d.ts +4 -0
  136. package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +7 -4
  137. package/dist/src/nocode-base/src/hooks/useMergeSameCells.d.ts +3 -2
  138. package/dist/src/nocode-base/src/hooks/useNocodeEmitter.d.ts +1 -9
  139. package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +8 -24
  140. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +63 -99
  141. package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +44 -0
  142. package/dist/src/nocode-base/src/hooks/useRuntimeRowState.d.ts +16 -0
  143. package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +4 -10
  144. package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
  145. package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +3 -2
  146. package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +5 -8
  147. package/dist/src/nocode-base/src/hooks/validation/types.d.ts +15 -8
  148. package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +6 -0
  149. package/dist/src/nocode-base/src/index.d.ts +2 -0
  150. package/dist/src/nocode-base/src/interface/calc.d.ts +1 -1
  151. package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +4 -3
  152. package/dist/src/nocode-base/src/interface/code-runner.d.ts +4 -0
  153. package/dist/src/nocode-base/src/interface/render.d.ts +5 -2
  154. package/dist/src/nocode-base/src/interface/transform.d.ts +26 -22
  155. package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +66 -0
  156. package/dist/src/nocode-base/src/runtime/conversions/business-row.d.ts +2 -0
  157. package/dist/src/nocode-base/src/runtime/conversions/field-config.d.ts +4 -0
  158. package/dist/src/nocode-base/src/runtime/conversions/historical-annotation.d.ts +15 -0
  159. package/dist/src/nocode-base/src/runtime/conversions/index.d.ts +11 -0
  160. package/dist/src/nocode-base/src/runtime/conversions/ocr-template.d.ts +7 -0
  161. package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +21 -0
  162. package/dist/src/nocode-base/src/runtime/date-compliance.d.ts +8 -0
  163. package/dist/src/nocode-base/src/runtime/field-identity.d.ts +21 -0
  164. package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +7 -0
  165. package/dist/src/nocode-base/src/runtime/index.d.ts +18 -0
  166. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +43 -0
  167. package/dist/src/nocode-base/src/runtime/runtime-console-debug.d.ts +36 -0
  168. package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +124 -0
  169. package/dist/src/nocode-base/src/runtime/runtime-dependency-service.d.ts +82 -0
  170. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +26 -0
  171. package/dist/src/nocode-base/src/runtime/runtime-field-registry.d.ts +90 -0
  172. package/dist/src/nocode-base/src/runtime/runtime-field-rows.d.ts +7 -0
  173. package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +15 -0
  174. package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +132 -0
  175. package/dist/src/nocode-base/src/runtime/runtime-instance-controller.d.ts +80 -0
  176. package/dist/src/nocode-base/src/runtime/runtime-instance-event-bus.d.ts +17 -0
  177. package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +296 -0
  178. package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +93 -0
  179. package/dist/src/nocode-base/src/runtime/runtime-rule-compiler.d.ts +37 -0
  180. package/dist/src/nocode-base/src/runtime/runtime-sheet-service.d.ts +99 -0
  181. package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +44 -0
  182. package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +23 -0
  183. package/dist/src/nocode-base/src/types/business/index.d.ts +8 -1
  184. package/dist/src/nocode-base/src/types/calc/i-calc.d.ts +3 -0
  185. package/dist/src/nocode-base/src/types/common/base.d.ts +60 -6
  186. package/dist/src/nocode-base/src/types/fields/i-seal.d.ts +10 -0
  187. package/dist/src/nocode-base/src/types/fields/index.d.ts +1 -0
  188. package/dist/src/nocode-base/src/types/index.d.ts +1 -1
  189. package/dist/src/nocode-base/src/types/render/mb-render.d.ts +4 -2
  190. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +2 -2
  191. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +3 -5
  192. package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +4 -35
  193. package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +0 -1
  194. package/dist/src/nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts +4 -7
  195. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +8 -6
  196. package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +2 -0
  197. package/dist/src/online-form/src/components/version-diff/index/types.d.ts +3 -0
  198. package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +4 -0
  199. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +78 -0
  200. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts +43 -0
  201. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +194 -0
  202. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts +28 -0
  203. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/index.d.ts +6 -0
  204. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +145 -0
  205. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-version-name-tag.vue.d.ts +11 -0
  206. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/useSelectTable.d.ts +31 -0
  207. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-options.d.ts +40 -0
  208. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-visibility.d.ts +2 -0
  209. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-design.vue.d.ts +6 -0
  210. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-type-labels.d.ts +4 -0
  211. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal.config.d.ts +2 -0
  212. package/dist/src/online-form/src/views/__widgets__/spacer/spacer-width.d.ts +2 -0
  213. package/dist/src/online-form/src/views/__widgets__/spacer/spacer.config.d.ts +2 -0
  214. package/dist/src/online-form/src/views/designer/constants/index.d.ts +7 -1
  215. package/dist/src/online-form/src/views/designer/conversions/v1-designer.d.ts +9 -0
  216. package/dist/src/online-form/src/views/designer/enums/index.d.ts +5 -1
  217. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/scan-field.d.ts +4 -0
  218. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/utils.d.ts +1 -0
  219. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +1098 -692
  220. package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +7 -0
  221. package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +5 -1
  222. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +507 -2546
  223. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/parameter-struct/json-expression-editor.vue.d.ts +1 -1
  224. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-condition.vue.d.ts +19 -0
  225. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +16 -0
  226. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +54 -0
  227. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +24 -0
  228. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +30 -0
  229. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +12 -0
  230. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +9 -0
  231. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/panel-rule-config.vue.d.ts +18 -1
  232. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +33 -0
  233. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +12 -0
  234. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +23 -0
  235. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +36 -0
  236. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +21 -0
  237. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +30 -0
  238. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +17 -0
  239. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +20 -0
  240. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +8 -0
  241. package/dist/src/online-form/src/views/designer/modules/panel/panel-seal.vue.d.ts +2 -0
  242. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +203 -327
  243. package/dist/src/online-form/src/views/designer/modules/sheet/seal-layer.vue.d.ts +2 -0
  244. package/dist/src/online-form/src/views/designer/modules/sheets/sheets-swapper.vue.d.ts +0 -2
  245. package/dist/src/online-form/src/views/designer/types/index.d.ts +43 -26
  246. package/dist/src/online-form/src/views/designer/types/sheets.d.ts +16 -0
  247. package/dist/src/online-form/src/views/designer/utils/dom-parser.d.ts +8 -3
  248. package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +11 -108
  249. package/dist/src/online-form/src/views/render/__components__/_common_/useAutofill.d.ts +2 -4
  250. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts +17 -0
  251. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +9 -0
  252. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +9 -0
  253. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +29 -0
  254. package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +57 -0
  255. package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +14 -0
  256. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSearchEnter.d.ts +10 -0
  257. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSelectTable.d.ts +2 -2
  258. package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +2 -1
  259. package/dist/src/online-form/src/views/render/__components__/_widget_/combine-fields/index.d.ts +1 -0
  260. package/dist/src/online-form/src/views/render/__components__/paper/index.d.ts +2 -1
  261. package/dist/src/online-form/src/views/render/__logic__/dataCenter.logic.d.ts +1 -1
  262. package/dist/src/online-form/src/views/render/active-sheet-renderer.vue.d.ts +15 -0
  263. package/dist/src/online-form/src/views/render/all-sheets-renderer.vue.d.ts +9 -0
  264. package/dist/src/online-form/src/views/render/preview-container.vue.d.ts +21 -19
  265. package/dist/src/online-form/src/views/render/printing/iframe-print.d.ts +11 -0
  266. package/dist/src/online-form/src/views/render/printing/print-runtime-instance.d.ts +11 -0
  267. package/dist/src/online-form/src/views/render/printing/print-snapshot-renderer.vue.d.ts +27 -0
  268. package/dist/src/online-form/src/views/render/printing/runtime-print-snapshot.d.ts +24 -0
  269. package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +14 -0
  270. package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +8 -8
  271. package/dist/src/shared/components/Seal/seal-placeholder.vue.d.ts +6 -0
  272. package/dist/src/shared/components/Seal/seal-positioned.vue.d.ts +38 -0
  273. package/dist/src/shared/components/Signature/index.d.ts +1 -2
  274. package/dist/src/shared/components/Signature/logic/index.d.ts +1 -14
  275. package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +4 -2
  276. package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +1 -1
  277. package/dist/src/shared/components/category-select/category-select.vue.d.ts +1 -1
  278. package/dist/src/shared/enum/field-type.d.ts +23 -0
  279. package/dist/src/shared/enum/online-form.d.ts +8 -2
  280. package/dist/src/shared/index.d.ts +1 -0
  281. package/dist/src/shared/seal/index.d.ts +44 -0
  282. package/dist/src/shared/types/field-meta.d.ts +1 -0
  283. package/dist/src/shared/utils/field-size.d.ts +4 -2
  284. package/dist/src/shared/utils/lot2sn.d.ts +5 -0
  285. package/dist/sub-table-factory-CGELiUkd.js +2118 -0
  286. package/dist/{text-design-BK_VsTtK.js → text-design-CiWiGhwN.js} +2 -2
  287. package/dist/{throttle-Cpk1LoGk-DadArQT5.js → throttle-Cpk1LoGk-B466AVFI.js} +1 -1
  288. package/dist/{timediff-design-q-J7ObPi.js → timediff-design-CnCXGLgF.js} +1 -1
  289. package/dist/{trace-like-wrapper-CtthDv9M.js → trace-like-wrapper-CPFayyjF.js} +2 -2
  290. package/dist/{value-editor.vue_vue_type_style_index_0_lang-B40m6f0M.js → value-editor.vue_vue_type_style_index_0_lang-DyTtWYrg.js} +2 -2
  291. package/dist/web-render/index.es.js +5 -5
  292. package/dist/{widget-barcode-DePyj-oR.js → widget-barcode-DMt5IwNO.js} +4 -4
  293. package/dist/{widget-diagonal-BoPK84Km.js → widget-diagonal-D073XXKw.js} +4 -4
  294. package/dist/{widget-image-Bd-hAzWZ.js → widget-image-Bc-6H2uA.js} +5 -5
  295. package/dist/{widget-line-DcQ4GjjX.js → widget-line-BtfMvVGp.js} +2 -2
  296. package/dist/{widget-pagination-D6IFtegJ.js → widget-pagination-CIlAAI2a.js} +5 -5
  297. package/dist/{widget-power-dAEtqR3T.js → widget-power-Bu16c4bS.js} +4 -4
  298. package/dist/{widget-qrcode-GkDxu48J.js → widget-qrcode-AfILjhmH.js} +3 -3
  299. package/dist/{widget-rangelimit-TRqqVGXL.js → widget-rangelimit-B-mhBJN4.js} +4 -4
  300. package/dist/{widget-serialnumber-BdZLWmtI.js → widget-serialnumber-DVoe5bqh.js} +1 -1
  301. package/dist/{widget-text-DS8vSuAy.js → widget-text-DWNEbQUk.js} +5 -5
  302. package/dist/{widget-timediff-C1n_nRUs.js → widget-timediff-B2mjc1qy.js} +2 -2
  303. package/package.json +4 -4
  304. package/dist/paper-widget-design-Cn1RcpGb.js +0 -4
  305. package/dist/src/nocode-base/src/components/material-consume/material-consume-action.vue.d.ts +0 -17
  306. package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +0 -13
  307. package/dist/src/nocode-base/src/hooks/useFormulaExpWatcher.d.ts +0 -15
  308. package/dist/src/nocode-base/src/hooks/useValidator.d.ts +0 -18
  309. package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +0 -15
  310. package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +0 -12
  311. package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +0 -41
  312. package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +0 -17
  313. package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +0 -29
  314. package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +0 -18
  315. package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +0 -118
  316. package/dist/use-namespace-BxkK4ofX.js +0 -77
@@ -1,16 +1,10 @@
1
- import { nextTick, h, createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, watch, withCtx, withKeys, mergeProps, toRaw, withModifiers } from "vue";
2
- import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
3
- import { V as FormTypeEnum, a6 as _export_sfc, ay as FormDesignEnum, z as api, G as useModal, cp as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js";
1
+ import { createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, nextTick, watch, withCtx, withKeys, mergeProps, h, toRaw, withModifiers } from "vue";
2
+ import { I as Icon, a as useNamespace } from "./AntdIcon-DCIaV352.js";
3
+ import { Y as FormTypeEnum, a8 as _export_sfc, aA as FormDesignEnum, E as api, J as useModal, bP as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
4
4
  import { isArray, cloneDeep, orderBy } from "lodash-es";
5
5
  import "dayjs";
6
6
  import { Form } from "ant-design-vue";
7
7
  import { VxeTable, VxeColumn } from "vxe-table";
8
- var SignatureTypeEnum = /* @__PURE__ */ ((SignatureTypeEnum2) => {
9
- SignatureTypeEnum2["SIGNATURE_ONLY"] = "signature_only";
10
- SignatureTypeEnum2["SIGNATURE_DATE"] = "signature_date";
11
- SignatureTypeEnum2["SIGNATURE_DATETIME"] = "signature_datetime";
12
- return SignatureTypeEnum2;
13
- })(SignatureTypeEnum || {});
14
8
  var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
15
9
  SEARCH_SEVICE2["EQ"] = "eq";
16
10
  SEARCH_SEVICE2["IEQ"] = "iEq";
@@ -44,1032 +38,6 @@ var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
44
38
  SEARCH_SEVICE2["VERSIONNE"] = "versionNe";
45
39
  return SEARCH_SEVICE2;
46
40
  })(SEARCH_SEVICE || {});
47
- function bound01(n, max) {
48
- if (isOnePointZero(n)) {
49
- n = "100%";
50
- }
51
- var isPercent = isPercentage(n);
52
- n = max === 360 ? n : Math.min(max, Math.max(0, parseFloat(n)));
53
- if (isPercent) {
54
- n = parseInt(String(n * max), 10) / 100;
55
- }
56
- if (Math.abs(n - max) < 1e-6) {
57
- return 1;
58
- }
59
- if (max === 360) {
60
- n = (n < 0 ? n % max + max : n % max) / parseFloat(String(max));
61
- } else {
62
- n = n % max / parseFloat(String(max));
63
- }
64
- return n;
65
- }
66
- function isOnePointZero(n) {
67
- return typeof n === "string" && n.indexOf(".") !== -1 && parseFloat(n) === 1;
68
- }
69
- function isPercentage(n) {
70
- return typeof n === "string" && n.indexOf("%") !== -1;
71
- }
72
- function boundAlpha(a) {
73
- a = parseFloat(a);
74
- if (isNaN(a) || a < 0 || a > 1) {
75
- a = 1;
76
- }
77
- return a;
78
- }
79
- function convertToPercentage(n) {
80
- if (n <= 1) {
81
- return "".concat(Number(n) * 100, "%");
82
- }
83
- return n;
84
- }
85
- function pad2(c) {
86
- return c.length === 1 ? "0" + c : String(c);
87
- }
88
- function rgbToRgb(r, g, b) {
89
- return {
90
- r: bound01(r, 255) * 255,
91
- g: bound01(g, 255) * 255,
92
- b: bound01(b, 255) * 255
93
- };
94
- }
95
- function hue2rgb(p, q, t) {
96
- if (t < 0) {
97
- t += 1;
98
- }
99
- if (t > 1) {
100
- t -= 1;
101
- }
102
- if (t < 1 / 6) {
103
- return p + (q - p) * (6 * t);
104
- }
105
- if (t < 1 / 2) {
106
- return q;
107
- }
108
- if (t < 2 / 3) {
109
- return p + (q - p) * (2 / 3 - t) * 6;
110
- }
111
- return p;
112
- }
113
- function hslToRgb(h2, s, l) {
114
- var r;
115
- var g;
116
- var b;
117
- h2 = bound01(h2, 360);
118
- s = bound01(s, 100);
119
- l = bound01(l, 100);
120
- if (s === 0) {
121
- g = l;
122
- b = l;
123
- r = l;
124
- } else {
125
- var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
126
- var p = 2 * l - q;
127
- r = hue2rgb(p, q, h2 + 1 / 3);
128
- g = hue2rgb(p, q, h2);
129
- b = hue2rgb(p, q, h2 - 1 / 3);
130
- }
131
- return { r: r * 255, g: g * 255, b: b * 255 };
132
- }
133
- function rgbToHsv(r, g, b) {
134
- r = bound01(r, 255);
135
- g = bound01(g, 255);
136
- b = bound01(b, 255);
137
- var max = Math.max(r, g, b);
138
- var min = Math.min(r, g, b);
139
- var h2 = 0;
140
- var v = max;
141
- var d = max - min;
142
- var s = max === 0 ? 0 : d / max;
143
- if (max === min) {
144
- h2 = 0;
145
- } else {
146
- switch (max) {
147
- case r:
148
- h2 = (g - b) / d + (g < b ? 6 : 0);
149
- break;
150
- case g:
151
- h2 = (b - r) / d + 2;
152
- break;
153
- case b:
154
- h2 = (r - g) / d + 4;
155
- break;
156
- }
157
- h2 /= 6;
158
- }
159
- return { h: h2, s, v };
160
- }
161
- function hsvToRgb(h2, s, v) {
162
- h2 = bound01(h2, 360) * 6;
163
- s = bound01(s, 100);
164
- v = bound01(v, 100);
165
- var i = Math.floor(h2);
166
- var f = h2 - i;
167
- var p = v * (1 - s);
168
- var q = v * (1 - f * s);
169
- var t = v * (1 - (1 - f) * s);
170
- var mod = i % 6;
171
- var r = [v, q, p, p, t, v][mod];
172
- var g = [t, v, v, q, p, p][mod];
173
- var b = [p, p, t, v, v, q][mod];
174
- return { r: r * 255, g: g * 255, b: b * 255 };
175
- }
176
- function rgbToHex(r, g, b, allow3Char) {
177
- var hex = [
178
- pad2(Math.round(r).toString(16)),
179
- pad2(Math.round(g).toString(16)),
180
- pad2(Math.round(b).toString(16))
181
- ];
182
- return hex.join("");
183
- }
184
- function convertHexToDecimal(h2) {
185
- return parseIntFromHex(h2) / 255;
186
- }
187
- function parseIntFromHex(val) {
188
- return parseInt(val, 16);
189
- }
190
- var names = {
191
- aliceblue: "#f0f8ff",
192
- antiquewhite: "#faebd7",
193
- aqua: "#00ffff",
194
- aquamarine: "#7fffd4",
195
- azure: "#f0ffff",
196
- beige: "#f5f5dc",
197
- bisque: "#ffe4c4",
198
- black: "#000000",
199
- blanchedalmond: "#ffebcd",
200
- blue: "#0000ff",
201
- blueviolet: "#8a2be2",
202
- brown: "#a52a2a",
203
- burlywood: "#deb887",
204
- cadetblue: "#5f9ea0",
205
- chartreuse: "#7fff00",
206
- chocolate: "#d2691e",
207
- coral: "#ff7f50",
208
- cornflowerblue: "#6495ed",
209
- cornsilk: "#fff8dc",
210
- crimson: "#dc143c",
211
- cyan: "#00ffff",
212
- darkblue: "#00008b",
213
- darkcyan: "#008b8b",
214
- darkgoldenrod: "#b8860b",
215
- darkgray: "#a9a9a9",
216
- darkgreen: "#006400",
217
- darkgrey: "#a9a9a9",
218
- darkkhaki: "#bdb76b",
219
- darkmagenta: "#8b008b",
220
- darkolivegreen: "#556b2f",
221
- darkorange: "#ff8c00",
222
- darkorchid: "#9932cc",
223
- darkred: "#8b0000",
224
- darksalmon: "#e9967a",
225
- darkseagreen: "#8fbc8f",
226
- darkslateblue: "#483d8b",
227
- darkslategray: "#2f4f4f",
228
- darkslategrey: "#2f4f4f",
229
- darkturquoise: "#00ced1",
230
- darkviolet: "#9400d3",
231
- deeppink: "#ff1493",
232
- deepskyblue: "#00bfff",
233
- dimgray: "#696969",
234
- dimgrey: "#696969",
235
- dodgerblue: "#1e90ff",
236
- firebrick: "#b22222",
237
- floralwhite: "#fffaf0",
238
- forestgreen: "#228b22",
239
- fuchsia: "#ff00ff",
240
- gainsboro: "#dcdcdc",
241
- ghostwhite: "#f8f8ff",
242
- goldenrod: "#daa520",
243
- gold: "#ffd700",
244
- gray: "#808080",
245
- green: "#008000",
246
- greenyellow: "#adff2f",
247
- grey: "#808080",
248
- honeydew: "#f0fff0",
249
- hotpink: "#ff69b4",
250
- indianred: "#cd5c5c",
251
- indigo: "#4b0082",
252
- ivory: "#fffff0",
253
- khaki: "#f0e68c",
254
- lavenderblush: "#fff0f5",
255
- lavender: "#e6e6fa",
256
- lawngreen: "#7cfc00",
257
- lemonchiffon: "#fffacd",
258
- lightblue: "#add8e6",
259
- lightcoral: "#f08080",
260
- lightcyan: "#e0ffff",
261
- lightgoldenrodyellow: "#fafad2",
262
- lightgray: "#d3d3d3",
263
- lightgreen: "#90ee90",
264
- lightgrey: "#d3d3d3",
265
- lightpink: "#ffb6c1",
266
- lightsalmon: "#ffa07a",
267
- lightseagreen: "#20b2aa",
268
- lightskyblue: "#87cefa",
269
- lightslategray: "#778899",
270
- lightslategrey: "#778899",
271
- lightsteelblue: "#b0c4de",
272
- lightyellow: "#ffffe0",
273
- lime: "#00ff00",
274
- limegreen: "#32cd32",
275
- linen: "#faf0e6",
276
- magenta: "#ff00ff",
277
- maroon: "#800000",
278
- mediumaquamarine: "#66cdaa",
279
- mediumblue: "#0000cd",
280
- mediumorchid: "#ba55d3",
281
- mediumpurple: "#9370db",
282
- mediumseagreen: "#3cb371",
283
- mediumslateblue: "#7b68ee",
284
- mediumspringgreen: "#00fa9a",
285
- mediumturquoise: "#48d1cc",
286
- mediumvioletred: "#c71585",
287
- midnightblue: "#191970",
288
- mintcream: "#f5fffa",
289
- mistyrose: "#ffe4e1",
290
- moccasin: "#ffe4b5",
291
- navajowhite: "#ffdead",
292
- navy: "#000080",
293
- oldlace: "#fdf5e6",
294
- olive: "#808000",
295
- olivedrab: "#6b8e23",
296
- orange: "#ffa500",
297
- orangered: "#ff4500",
298
- orchid: "#da70d6",
299
- palegoldenrod: "#eee8aa",
300
- palegreen: "#98fb98",
301
- paleturquoise: "#afeeee",
302
- palevioletred: "#db7093",
303
- papayawhip: "#ffefd5",
304
- peachpuff: "#ffdab9",
305
- peru: "#cd853f",
306
- pink: "#ffc0cb",
307
- plum: "#dda0dd",
308
- powderblue: "#b0e0e6",
309
- purple: "#800080",
310
- rebeccapurple: "#663399",
311
- red: "#ff0000",
312
- rosybrown: "#bc8f8f",
313
- royalblue: "#4169e1",
314
- saddlebrown: "#8b4513",
315
- salmon: "#fa8072",
316
- sandybrown: "#f4a460",
317
- seagreen: "#2e8b57",
318
- seashell: "#fff5ee",
319
- sienna: "#a0522d",
320
- silver: "#c0c0c0",
321
- skyblue: "#87ceeb",
322
- slateblue: "#6a5acd",
323
- slategray: "#708090",
324
- slategrey: "#708090",
325
- snow: "#fffafa",
326
- springgreen: "#00ff7f",
327
- steelblue: "#4682b4",
328
- tan: "#d2b48c",
329
- teal: "#008080",
330
- thistle: "#d8bfd8",
331
- tomato: "#ff6347",
332
- turquoise: "#40e0d0",
333
- violet: "#ee82ee",
334
- wheat: "#f5deb3",
335
- white: "#ffffff",
336
- whitesmoke: "#f5f5f5",
337
- yellow: "#ffff00",
338
- yellowgreen: "#9acd32"
339
- };
340
- function inputToRGB(color) {
341
- var rgb = { r: 0, g: 0, b: 0 };
342
- var a = 1;
343
- var s = null;
344
- var v = null;
345
- var l = null;
346
- var ok = false;
347
- var format = false;
348
- if (typeof color === "string") {
349
- color = stringInputToObject(color);
350
- }
351
- if (typeof color === "object") {
352
- if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
353
- rgb = rgbToRgb(color.r, color.g, color.b);
354
- ok = true;
355
- format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
356
- } else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
357
- s = convertToPercentage(color.s);
358
- v = convertToPercentage(color.v);
359
- rgb = hsvToRgb(color.h, s, v);
360
- ok = true;
361
- format = "hsv";
362
- } else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
363
- s = convertToPercentage(color.s);
364
- l = convertToPercentage(color.l);
365
- rgb = hslToRgb(color.h, s, l);
366
- ok = true;
367
- format = "hsl";
368
- }
369
- if (Object.prototype.hasOwnProperty.call(color, "a")) {
370
- a = color.a;
371
- }
372
- }
373
- a = boundAlpha(a);
374
- return {
375
- ok,
376
- format: color.format || format,
377
- r: Math.min(255, Math.max(rgb.r, 0)),
378
- g: Math.min(255, Math.max(rgb.g, 0)),
379
- b: Math.min(255, Math.max(rgb.b, 0)),
380
- a
381
- };
382
- }
383
- var CSS_INTEGER = "[-\\+]?\\d+%?";
384
- var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
385
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
386
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
387
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
388
- var matchers = {
389
- CSS_UNIT: new RegExp(CSS_UNIT),
390
- rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
391
- rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
392
- hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
393
- hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
394
- hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
395
- hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
396
- hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
397
- hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
398
- hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
399
- hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
400
- };
401
- function stringInputToObject(color) {
402
- color = color.trim().toLowerCase();
403
- if (color.length === 0) {
404
- return false;
405
- }
406
- var named = false;
407
- if (names[color]) {
408
- color = names[color];
409
- named = true;
410
- } else if (color === "transparent") {
411
- return { r: 0, g: 0, b: 0, a: 0, format: "name" };
412
- }
413
- var match = matchers.rgb.exec(color);
414
- if (match) {
415
- return { r: match[1], g: match[2], b: match[3] };
416
- }
417
- match = matchers.rgba.exec(color);
418
- if (match) {
419
- return { r: match[1], g: match[2], b: match[3], a: match[4] };
420
- }
421
- match = matchers.hsl.exec(color);
422
- if (match) {
423
- return { h: match[1], s: match[2], l: match[3] };
424
- }
425
- match = matchers.hsla.exec(color);
426
- if (match) {
427
- return { h: match[1], s: match[2], l: match[3], a: match[4] };
428
- }
429
- match = matchers.hsv.exec(color);
430
- if (match) {
431
- return { h: match[1], s: match[2], v: match[3] };
432
- }
433
- match = matchers.hsva.exec(color);
434
- if (match) {
435
- return { h: match[1], s: match[2], v: match[3], a: match[4] };
436
- }
437
- match = matchers.hex8.exec(color);
438
- if (match) {
439
- return {
440
- r: parseIntFromHex(match[1]),
441
- g: parseIntFromHex(match[2]),
442
- b: parseIntFromHex(match[3]),
443
- a: convertHexToDecimal(match[4]),
444
- format: named ? "name" : "hex8"
445
- };
446
- }
447
- match = matchers.hex6.exec(color);
448
- if (match) {
449
- return {
450
- r: parseIntFromHex(match[1]),
451
- g: parseIntFromHex(match[2]),
452
- b: parseIntFromHex(match[3]),
453
- format: named ? "name" : "hex"
454
- };
455
- }
456
- match = matchers.hex4.exec(color);
457
- if (match) {
458
- return {
459
- r: parseIntFromHex(match[1] + match[1]),
460
- g: parseIntFromHex(match[2] + match[2]),
461
- b: parseIntFromHex(match[3] + match[3]),
462
- a: convertHexToDecimal(match[4] + match[4]),
463
- format: named ? "name" : "hex8"
464
- };
465
- }
466
- match = matchers.hex3.exec(color);
467
- if (match) {
468
- return {
469
- r: parseIntFromHex(match[1] + match[1]),
470
- g: parseIntFromHex(match[2] + match[2]),
471
- b: parseIntFromHex(match[3] + match[3]),
472
- format: named ? "name" : "hex"
473
- };
474
- }
475
- return false;
476
- }
477
- function isValidCSSUnit(color) {
478
- return Boolean(matchers.CSS_UNIT.exec(String(color)));
479
- }
480
- var hueStep = 2;
481
- var saturationStep = 0.16;
482
- var saturationStep2 = 0.05;
483
- var brightnessStep1 = 0.05;
484
- var brightnessStep2 = 0.15;
485
- var lightColorCount = 5;
486
- var darkColorCount = 4;
487
- var darkColorMap = [{
488
- index: 7,
489
- opacity: 0.15
490
- }, {
491
- index: 6,
492
- opacity: 0.25
493
- }, {
494
- index: 5,
495
- opacity: 0.3
496
- }, {
497
- index: 5,
498
- opacity: 0.45
499
- }, {
500
- index: 5,
501
- opacity: 0.65
502
- }, {
503
- index: 5,
504
- opacity: 0.85
505
- }, {
506
- index: 4,
507
- opacity: 0.9
508
- }, {
509
- index: 3,
510
- opacity: 0.95
511
- }, {
512
- index: 2,
513
- opacity: 0.97
514
- }, {
515
- index: 1,
516
- opacity: 0.98
517
- }];
518
- function toHsv(_ref) {
519
- var r = _ref.r, g = _ref.g, b = _ref.b;
520
- var hsv = rgbToHsv(r, g, b);
521
- return {
522
- h: hsv.h * 360,
523
- s: hsv.s,
524
- v: hsv.v
525
- };
526
- }
527
- function toHex(_ref2) {
528
- var r = _ref2.r, g = _ref2.g, b = _ref2.b;
529
- return "#".concat(rgbToHex(r, g, b));
530
- }
531
- function mix(rgb1, rgb2, amount) {
532
- var p = amount / 100;
533
- var rgb = {
534
- r: (rgb2.r - rgb1.r) * p + rgb1.r,
535
- g: (rgb2.g - rgb1.g) * p + rgb1.g,
536
- b: (rgb2.b - rgb1.b) * p + rgb1.b
537
- };
538
- return rgb;
539
- }
540
- function getHue(hsv, i, light) {
541
- var hue;
542
- if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) {
543
- hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i;
544
- } else {
545
- hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i;
546
- }
547
- if (hue < 0) {
548
- hue += 360;
549
- } else if (hue >= 360) {
550
- hue -= 360;
551
- }
552
- return hue;
553
- }
554
- function getSaturation(hsv, i, light) {
555
- if (hsv.h === 0 && hsv.s === 0) {
556
- return hsv.s;
557
- }
558
- var saturation;
559
- if (light) {
560
- saturation = hsv.s - saturationStep * i;
561
- } else if (i === darkColorCount) {
562
- saturation = hsv.s + saturationStep;
563
- } else {
564
- saturation = hsv.s + saturationStep2 * i;
565
- }
566
- if (saturation > 1) {
567
- saturation = 1;
568
- }
569
- if (light && i === lightColorCount && saturation > 0.1) {
570
- saturation = 0.1;
571
- }
572
- if (saturation < 0.06) {
573
- saturation = 0.06;
574
- }
575
- return Number(saturation.toFixed(2));
576
- }
577
- function getValue(hsv, i, light) {
578
- var value;
579
- if (light) {
580
- value = hsv.v + brightnessStep1 * i;
581
- } else {
582
- value = hsv.v - brightnessStep2 * i;
583
- }
584
- if (value > 1) {
585
- value = 1;
586
- }
587
- return Number(value.toFixed(2));
588
- }
589
- function generate$1(color) {
590
- var opts = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
591
- var patterns = [];
592
- var pColor = inputToRGB(color);
593
- for (var i = lightColorCount; i > 0; i -= 1) {
594
- var hsv = toHsv(pColor);
595
- var colorString = toHex(inputToRGB({
596
- h: getHue(hsv, i, true),
597
- s: getSaturation(hsv, i, true),
598
- v: getValue(hsv, i, true)
599
- }));
600
- patterns.push(colorString);
601
- }
602
- patterns.push(toHex(pColor));
603
- for (var _i = 1; _i <= darkColorCount; _i += 1) {
604
- var _hsv = toHsv(pColor);
605
- var _colorString = toHex(inputToRGB({
606
- h: getHue(_hsv, _i),
607
- s: getSaturation(_hsv, _i),
608
- v: getValue(_hsv, _i)
609
- }));
610
- patterns.push(_colorString);
611
- }
612
- if (opts.theme === "dark") {
613
- return darkColorMap.map(function(_ref3) {
614
- var index = _ref3.index, opacity = _ref3.opacity;
615
- var darkColorString = toHex(mix(inputToRGB(opts.backgroundColor || "#141414"), inputToRGB(patterns[index]), opacity * 100));
616
- return darkColorString;
617
- });
618
- }
619
- return patterns;
620
- }
621
- var presetPrimaryColors = {
622
- red: "#F5222D",
623
- volcano: "#FA541C",
624
- orange: "#FA8C16",
625
- gold: "#FAAD14",
626
- yellow: "#FADB14",
627
- lime: "#A0D911",
628
- green: "#52C41A",
629
- cyan: "#13C2C2",
630
- blue: "#1890FF",
631
- geekblue: "#2F54EB",
632
- purple: "#722ED1",
633
- magenta: "#EB2F96",
634
- grey: "#666666"
635
- };
636
- var presetPalettes = {};
637
- var presetDarkPalettes = {};
638
- Object.keys(presetPrimaryColors).forEach(function(key) {
639
- presetPalettes[key] = generate$1(presetPrimaryColors[key]);
640
- presetPalettes[key].primary = presetPalettes[key][5];
641
- presetDarkPalettes[key] = generate$1(presetPrimaryColors[key], {
642
- theme: "dark",
643
- backgroundColor: "#141414"
644
- });
645
- presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
646
- });
647
- var containers = [];
648
- var styleElements = [];
649
- var usage = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
650
- function createStyleElement() {
651
- var styleElement = document.createElement("style");
652
- styleElement.setAttribute("type", "text/css");
653
- return styleElement;
654
- }
655
- function insertCss(css, options) {
656
- options = options || {};
657
- if (css === void 0) {
658
- throw new Error(usage);
659
- }
660
- var position = options.prepend === true ? "prepend" : "append";
661
- var container = options.container !== void 0 ? options.container : document.querySelector("head");
662
- var containerId = containers.indexOf(container);
663
- if (containerId === -1) {
664
- containerId = containers.push(container) - 1;
665
- styleElements[containerId] = {};
666
- }
667
- var styleElement;
668
- if (styleElements[containerId] !== void 0 && styleElements[containerId][position] !== void 0) {
669
- styleElement = styleElements[containerId][position];
670
- } else {
671
- styleElement = styleElements[containerId][position] = createStyleElement();
672
- if (position === "prepend") {
673
- container.insertBefore(styleElement, container.childNodes[0]);
674
- } else {
675
- container.appendChild(styleElement);
676
- }
677
- }
678
- if (css.charCodeAt(0) === 65279) {
679
- css = css.substr(1, css.length);
680
- }
681
- if (styleElement.styleSheet) {
682
- styleElement.styleSheet.cssText += css;
683
- } else {
684
- styleElement.textContent += css;
685
- }
686
- return styleElement;
687
- }
688
- function _objectSpread$3(target) {
689
- for (var i = 1; i < arguments.length; i++) {
690
- var source = arguments[i] != null ? Object(arguments[i]) : {};
691
- var ownKeys = Object.keys(source);
692
- if (typeof Object.getOwnPropertySymbols === "function") {
693
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
694
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
695
- }));
696
- }
697
- ownKeys.forEach(function(key) {
698
- _defineProperty$3(target, key, source[key]);
699
- });
700
- }
701
- return target;
702
- }
703
- function _defineProperty$3(obj, key, value) {
704
- if (key in obj) {
705
- Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
706
- } else {
707
- obj[key] = value;
708
- }
709
- return obj;
710
- }
711
- function warn(valid, message) {
712
- if (process.env.NODE_ENV !== "production" && !valid && console !== void 0) {
713
- console.error("Warning: ".concat(message));
714
- }
715
- }
716
- function warning(valid, message) {
717
- warn(valid, "[@ant-design/icons-vue] ".concat(message));
718
- }
719
- function isIconDefinition(target) {
720
- return typeof target === "object" && typeof target.name === "string" && typeof target.theme === "string" && (typeof target.icon === "object" || typeof target.icon === "function");
721
- }
722
- function generate(node, key, rootProps) {
723
- if (!rootProps) {
724
- return h(node.tag, _objectSpread$3({
725
- key
726
- }, node.attrs), (node.children || []).map(function(child, index) {
727
- return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
728
- }));
729
- }
730
- return h(node.tag, _objectSpread$3({
731
- key
732
- }, rootProps, node.attrs), (node.children || []).map(function(child, index) {
733
- return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
734
- }));
735
- }
736
- function getSecondaryColor(primaryColor) {
737
- return generate$1(primaryColor)[0];
738
- }
739
- function normalizeTwoToneColors(twoToneColor) {
740
- if (!twoToneColor) {
741
- return [];
742
- }
743
- return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor];
744
- }
745
- var svgBaseProps = {
746
- width: "1em",
747
- height: "1em",
748
- fill: "currentColor",
749
- "aria-hidden": "true",
750
- focusable: "false"
751
- };
752
- var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";
753
- var cssInjectedFlag = false;
754
- var useInsertStyles = function useInsertStyles2() {
755
- var styleStr = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : iconStyles;
756
- nextTick(function() {
757
- if (!cssInjectedFlag) {
758
- if (typeof window !== "undefined" && window.document && window.document.documentElement) {
759
- insertCss(styleStr, {
760
- prepend: true
761
- });
762
- }
763
- cssInjectedFlag = true;
764
- }
765
- });
766
- };
767
- var _excluded$1 = ["icon", "primaryColor", "secondaryColor"];
768
- function _objectWithoutProperties$1(source, excluded) {
769
- if (source == null) return {};
770
- var target = _objectWithoutPropertiesLoose$1(source, excluded);
771
- var key, i;
772
- if (Object.getOwnPropertySymbols) {
773
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
774
- for (i = 0; i < sourceSymbolKeys.length; i++) {
775
- key = sourceSymbolKeys[i];
776
- if (excluded.indexOf(key) >= 0) continue;
777
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
778
- target[key] = source[key];
779
- }
780
- }
781
- return target;
782
- }
783
- function _objectWithoutPropertiesLoose$1(source, excluded) {
784
- if (source == null) return {};
785
- var target = {};
786
- var sourceKeys = Object.keys(source);
787
- var key, i;
788
- for (i = 0; i < sourceKeys.length; i++) {
789
- key = sourceKeys[i];
790
- if (excluded.indexOf(key) >= 0) continue;
791
- target[key] = source[key];
792
- }
793
- return target;
794
- }
795
- function _objectSpread$2(target) {
796
- for (var i = 1; i < arguments.length; i++) {
797
- var source = arguments[i] != null ? Object(arguments[i]) : {};
798
- var ownKeys = Object.keys(source);
799
- if (typeof Object.getOwnPropertySymbols === "function") {
800
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
801
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
802
- }));
803
- }
804
- ownKeys.forEach(function(key) {
805
- _defineProperty$2(target, key, source[key]);
806
- });
807
- }
808
- return target;
809
- }
810
- function _defineProperty$2(obj, key, value) {
811
- if (key in obj) {
812
- Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
813
- } else {
814
- obj[key] = value;
815
- }
816
- return obj;
817
- }
818
- var twoToneColorPalette = {
819
- primaryColor: "#333",
820
- secondaryColor: "#E6E6E6",
821
- calculated: false
822
- };
823
- function setTwoToneColors(_ref) {
824
- var primaryColor = _ref.primaryColor, secondaryColor = _ref.secondaryColor;
825
- twoToneColorPalette.primaryColor = primaryColor;
826
- twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor);
827
- twoToneColorPalette.calculated = !!secondaryColor;
828
- }
829
- function getTwoToneColors() {
830
- return _objectSpread$2({}, twoToneColorPalette);
831
- }
832
- var IconBase = function IconBase2(props, context) {
833
- var _props$context$attrs = _objectSpread$2({}, props, context.attrs), icon = _props$context$attrs.icon, primaryColor = _props$context$attrs.primaryColor, secondaryColor = _props$context$attrs.secondaryColor, restProps = _objectWithoutProperties$1(_props$context$attrs, _excluded$1);
834
- var colors = twoToneColorPalette;
835
- if (primaryColor) {
836
- colors = {
837
- primaryColor,
838
- secondaryColor: secondaryColor || getSecondaryColor(primaryColor)
839
- };
840
- }
841
- useInsertStyles();
842
- warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon));
843
- if (!isIconDefinition(icon)) {
844
- return null;
845
- }
846
- var target = icon;
847
- if (target && typeof target.icon === "function") {
848
- target = _objectSpread$2({}, target, {
849
- icon: target.icon(colors.primaryColor, colors.secondaryColor)
850
- });
851
- }
852
- return generate(target.icon, "svg-".concat(target.name), _objectSpread$2({}, restProps, {
853
- "data-icon": target.name,
854
- width: "1em",
855
- height: "1em",
856
- fill: "currentColor",
857
- "aria-hidden": "true"
858
- }));
859
- };
860
- IconBase.props = {
861
- icon: Object,
862
- primaryColor: String,
863
- secondaryColor: String,
864
- focusable: String
865
- };
866
- IconBase.inheritAttrs = false;
867
- IconBase.displayName = "IconBase";
868
- IconBase.getTwoToneColors = getTwoToneColors;
869
- IconBase.setTwoToneColors = setTwoToneColors;
870
- function _slicedToArray$1(arr, i) {
871
- return _arrayWithHoles$1(arr) || _iterableToArrayLimit$1(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest$1();
872
- }
873
- function _nonIterableRest$1() {
874
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
875
- }
876
- function _unsupportedIterableToArray$1(o, minLen) {
877
- if (!o) return;
878
- if (typeof o === "string") return _arrayLikeToArray$1(o, minLen);
879
- var n = Object.prototype.toString.call(o).slice(8, -1);
880
- if (n === "Object" && o.constructor) n = o.constructor.name;
881
- if (n === "Map" || n === "Set") return Array.from(o);
882
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
883
- }
884
- function _arrayLikeToArray$1(arr, len) {
885
- if (len == null || len > arr.length) len = arr.length;
886
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
887
- arr2[i] = arr[i];
888
- }
889
- return arr2;
890
- }
891
- function _iterableToArrayLimit$1(arr, i) {
892
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
893
- if (_i == null) return;
894
- var _arr = [];
895
- var _n = true;
896
- var _d = false;
897
- var _s, _e;
898
- try {
899
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
900
- _arr.push(_s.value);
901
- if (i && _arr.length === i) break;
902
- }
903
- } catch (err) {
904
- _d = true;
905
- _e = err;
906
- } finally {
907
- try {
908
- if (!_n && _i["return"] != null) _i["return"]();
909
- } finally {
910
- if (_d) throw _e;
911
- }
912
- }
913
- return _arr;
914
- }
915
- function _arrayWithHoles$1(arr) {
916
- if (Array.isArray(arr)) return arr;
917
- }
918
- function setTwoToneColor(twoToneColor) {
919
- var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), _normalizeTwoToneColo2 = _slicedToArray$1(_normalizeTwoToneColo, 2), primaryColor = _normalizeTwoToneColo2[0], secondaryColor = _normalizeTwoToneColo2[1];
920
- return IconBase.setTwoToneColors({
921
- primaryColor,
922
- secondaryColor
923
- });
924
- }
925
- function getTwoToneColor() {
926
- var colors = IconBase.getTwoToneColors();
927
- if (!colors.calculated) {
928
- return colors.primaryColor;
929
- }
930
- return [colors.primaryColor, colors.secondaryColor];
931
- }
932
- var _excluded = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
933
- function _slicedToArray(arr, i) {
934
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
935
- }
936
- function _nonIterableRest() {
937
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
938
- }
939
- function _unsupportedIterableToArray(o, minLen) {
940
- if (!o) return;
941
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
942
- var n = Object.prototype.toString.call(o).slice(8, -1);
943
- if (n === "Object" && o.constructor) n = o.constructor.name;
944
- if (n === "Map" || n === "Set") return Array.from(o);
945
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
946
- }
947
- function _arrayLikeToArray(arr, len) {
948
- if (len == null || len > arr.length) len = arr.length;
949
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
950
- arr2[i] = arr[i];
951
- }
952
- return arr2;
953
- }
954
- function _iterableToArrayLimit(arr, i) {
955
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
956
- if (_i == null) return;
957
- var _arr = [];
958
- var _n = true;
959
- var _d = false;
960
- var _s, _e;
961
- try {
962
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
963
- _arr.push(_s.value);
964
- if (i && _arr.length === i) break;
965
- }
966
- } catch (err) {
967
- _d = true;
968
- _e = err;
969
- } finally {
970
- try {
971
- if (!_n && _i["return"] != null) _i["return"]();
972
- } finally {
973
- if (_d) throw _e;
974
- }
975
- }
976
- return _arr;
977
- }
978
- function _arrayWithHoles(arr) {
979
- if (Array.isArray(arr)) return arr;
980
- }
981
- function _objectSpread$1(target) {
982
- for (var i = 1; i < arguments.length; i++) {
983
- var source = arguments[i] != null ? Object(arguments[i]) : {};
984
- var ownKeys = Object.keys(source);
985
- if (typeof Object.getOwnPropertySymbols === "function") {
986
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
987
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
988
- }));
989
- }
990
- ownKeys.forEach(function(key) {
991
- _defineProperty$1(target, key, source[key]);
992
- });
993
- }
994
- return target;
995
- }
996
- function _defineProperty$1(obj, key, value) {
997
- if (key in obj) {
998
- Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
999
- } else {
1000
- obj[key] = value;
1001
- }
1002
- return obj;
1003
- }
1004
- function _objectWithoutProperties(source, excluded) {
1005
- if (source == null) return {};
1006
- var target = _objectWithoutPropertiesLoose(source, excluded);
1007
- var key, i;
1008
- if (Object.getOwnPropertySymbols) {
1009
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1010
- for (i = 0; i < sourceSymbolKeys.length; i++) {
1011
- key = sourceSymbolKeys[i];
1012
- if (excluded.indexOf(key) >= 0) continue;
1013
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
1014
- target[key] = source[key];
1015
- }
1016
- }
1017
- return target;
1018
- }
1019
- function _objectWithoutPropertiesLoose(source, excluded) {
1020
- if (source == null) return {};
1021
- var target = {};
1022
- var sourceKeys = Object.keys(source);
1023
- var key, i;
1024
- for (i = 0; i < sourceKeys.length; i++) {
1025
- key = sourceKeys[i];
1026
- if (excluded.indexOf(key) >= 0) continue;
1027
- target[key] = source[key];
1028
- }
1029
- return target;
1030
- }
1031
- setTwoToneColor("#1890ff");
1032
- var Icon = function Icon2(props, context) {
1033
- var _classObj;
1034
- var _props$context$attrs = _objectSpread$1({}, props, context.attrs), cls = _props$context$attrs["class"], icon = _props$context$attrs.icon, spin = _props$context$attrs.spin, rotate = _props$context$attrs.rotate, tabindex = _props$context$attrs.tabindex, twoToneColor = _props$context$attrs.twoToneColor, onClick = _props$context$attrs.onClick, restProps = _objectWithoutProperties(_props$context$attrs, _excluded);
1035
- var classObj = (_classObj = {
1036
- anticon: true
1037
- }, _defineProperty$1(_classObj, "anticon-".concat(icon.name), Boolean(icon.name)), _defineProperty$1(_classObj, cls, cls), _classObj);
1038
- var svgClassString = spin === "" || !!spin || icon.name === "loading" ? "anticon-spin" : "";
1039
- var iconTabIndex = tabindex;
1040
- if (iconTabIndex === void 0 && onClick) {
1041
- iconTabIndex = -1;
1042
- restProps.tabindex = iconTabIndex;
1043
- }
1044
- var svgStyle = rotate ? {
1045
- msTransform: "rotate(".concat(rotate, "deg)"),
1046
- transform: "rotate(".concat(rotate, "deg)")
1047
- } : void 0;
1048
- var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), _normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2), primaryColor = _normalizeTwoToneColo2[0], secondaryColor = _normalizeTwoToneColo2[1];
1049
- return createVNode("span", _objectSpread$1({
1050
- "role": "img",
1051
- "aria-label": icon.name
1052
- }, restProps, {
1053
- "onClick": onClick,
1054
- "class": classObj
1055
- }), [createVNode(IconBase, {
1056
- "class": svgClassString,
1057
- "icon": icon,
1058
- "primaryColor": primaryColor,
1059
- "secondaryColor": secondaryColor,
1060
- "style": svgStyle
1061
- }, null)]);
1062
- };
1063
- Icon.props = {
1064
- spin: Boolean,
1065
- rotate: Number,
1066
- icon: Object,
1067
- twoToneColor: String
1068
- };
1069
- Icon.displayName = "AntdIcon";
1070
- Icon.inheritAttrs = false;
1071
- Icon.getTwoToneColor = getTwoToneColor;
1072
- Icon.setTwoToneColor = setTwoToneColor;
1073
41
  var CloseOutlined$1 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, "name": "close", "theme": "outlined" };
1074
42
  function _objectSpread(target) {
1075
43
  for (var i = 1; i < arguments.length; i++) {
@@ -2301,13 +1269,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2301
1269
  export {
2302
1270
  CloseOutlined as C,
2303
1271
  EmptyImg as E,
2304
- Icon as I,
2305
1272
  OnlineFormModelModal as O,
2306
1273
  SEARCH_SEVICE as S,
2307
1274
  VersionSelect as V,
2308
- _sfc_main as _,
2309
- SignatureTypeEnum as a,
2310
- svgBaseProps as s,
2311
- useInsertStyles as u,
2312
- warning as w
1275
+ _sfc_main as _
2313
1276
  };