@gct-paas/core-web 0.1.4-dev.1 → 0.1.4-dev.11

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 (897) hide show
  1. package/dist/index-B8zoAUhR.cjs +20 -0
  2. package/dist/index-BH5PTZ_c.js +20 -0
  3. package/dist/index-Cna4DZog.js +109381 -0
  4. package/dist/index.esm.min.mjs +91 -0
  5. package/dist/index.min.cjs +1 -20
  6. package/dist/index.min.css +1 -0
  7. package/dist/index.system.min.js +1 -20
  8. package/dist/monaco-editor-4E2xdOou.cjs +1 -0
  9. package/dist/monaco-editor-C-wvzgow.js +1 -0
  10. package/dist/monaco-editor-Cel355Cg.js +350 -0
  11. package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
  12. package/es/ai-components/code-chat/code-chat.d.ts +53 -0
  13. package/es/ai-components/index.d.ts +1 -0
  14. package/es/ai-components/wujie-ai-container/wujie-ai-container.d.ts +21 -0
  15. package/es/components/app-modal/app-modal-component.css +149 -0
  16. package/es/components/app-modal/app-modal-component.d.ts +26 -0
  17. package/es/components/app-modal/app-modal-component.mjs +140 -0
  18. package/es/components/assets-svg-icon/assets-svg-icon.css +188 -0
  19. package/es/components/assets-svg-icon/assets-svg-icon.d.ts +134 -0
  20. package/es/components/assets-svg-icon/assets-svg-icon.mjs +238 -0
  21. package/es/components/assets-svg-icon/request.d.ts +2 -0
  22. package/es/components/assets-svg-icon/request.mjs +51 -0
  23. package/es/components/assets-svg-icon/utils.d.ts +9 -0
  24. package/es/components/assets-svg-icon/utils.mjs +21 -0
  25. package/es/components/assets-svg-icon/validate.d.ts +4 -0
  26. package/es/components/assets-svg-icon/validate.mjs +43 -0
  27. package/es/components/base-button/base-button.css +74 -0
  28. package/es/components/base-button/base-button.vue.d.ts +173 -0
  29. package/es/components/base-button/base-button.vue.mjs +7 -0
  30. package/es/components/base-button/base-button.vue3.mjs +179 -0
  31. package/es/components/basic-button/basic-button.css +25 -0
  32. package/es/components/basic-button/basic-button.vue.d.ts +100 -0
  33. package/es/components/basic-button/basic-button.vue.mjs +7 -0
  34. package/es/components/basic-button/basic-button.vue3.mjs +130 -0
  35. package/es/components/code-editor/code-editor.css +67 -0
  36. package/es/components/code-editor/code-editor.d.ts +1 -4
  37. package/es/components/code-editor/code-editor.mjs +16 -22
  38. package/es/components/copy-module-key/copy-module-key.css +24 -0
  39. package/es/components/copy-module-key/copy-module-key.vue.d.ts +74 -0
  40. package/es/components/copy-module-key/copy-module-key.vue.mjs +7 -0
  41. package/es/components/copy-module-key/copy-module-key.vue3.mjs +104 -0
  42. package/es/components/double-input/double-input.vue.d.ts +49 -0
  43. package/es/components/double-input/double-input.vue.mjs +158 -0
  44. package/es/components/double-input/double-input.vue2.mjs +5 -0
  45. package/es/components/icon-next/data/icons.data.d.ts +5 -0
  46. package/es/components/icon-next/hooks/useIconAsset.d.ts +16 -0
  47. package/es/components/icon-next/hooks/useIconAsset.mjs +48 -0
  48. package/es/components/icon-next/hooks/useIconPark.d.ts +16 -0
  49. package/es/components/icon-next/hooks/useIconPark.mjs +52 -0
  50. package/es/components/icon-next/hooks/useIconPlatform.d.ts +8 -0
  51. package/es/components/icon-next/hooks/useIconPlatform.mjs +48 -0
  52. package/es/components/icon-next/index.d.ts +3 -0
  53. package/es/components/icon-next/src/IconNext.css +18 -0
  54. package/es/components/icon-next/src/IconNext.vue.d.ts +40 -0
  55. package/es/components/icon-next/src/IconNext.vue2.mjs +7 -0
  56. package/es/components/icon-next/src/IconNext.vue3.mjs +108 -0
  57. package/es/components/icon-next/src/IconNextPicker.css +195 -0
  58. package/es/components/icon-next/src/IconNextPicker.vue.d.ts +75 -0
  59. package/es/components/icon-next/src/IconNextPicker.vue2.mjs +452 -0
  60. package/es/components/icon-next/src/IconNextPicker.vue3.mjs +6 -0
  61. package/es/components/icon-next/types/index.d.ts +17 -0
  62. package/es/components/icon-next/types/index.mjs +10 -0
  63. package/es/components/index.d.ts +13 -3
  64. package/es/components/index.mjs +33 -6
  65. package/es/components/layout/view-container/view-container.css +83 -0
  66. package/es/components/layout/view-container/view-container.mjs +6 -7
  67. package/es/components/svg-icon/svg-icon.css +73 -0
  68. package/es/components/svg-icon/svg-icon.vue.d.ts +40 -0
  69. package/es/components/svg-icon/svg-icon.vue.mjs +50 -0
  70. package/es/components/svg-icon/svg-icon.vue3.mjs +6 -0
  71. package/es/components/wujie-container/wujie-container.css +74 -0
  72. package/es/components/wujie-container/wujie-container.d.ts +11 -0
  73. package/es/components/wujie-container/wujie-container.mjs +84 -0
  74. package/es/create-app-vue.d.ts +9 -0
  75. package/es/create-app-vue.mjs +22 -0
  76. package/es/directives/drag-resize.d.ts +4 -0
  77. package/es/directives/drag-resize.mjs +42 -0
  78. package/es/directives/index.d.ts +8 -0
  79. package/es/directives/index.mjs +9 -0
  80. package/es/directives/target-loading.d.ts +4 -0
  81. package/es/directives/target-loading.mjs +40 -0
  82. package/es/hooks/index.d.ts +4 -0
  83. package/es/hooks/useDesign.d.ts +4 -0
  84. package/es/hooks/useDesign.mjs +11 -0
  85. package/es/hooks/useDragLine.d.ts +6 -0
  86. package/es/hooks/useDragLine.mjs +78 -0
  87. package/es/hooks/useLocale.d.ts +4 -0
  88. package/es/hooks/useLocale.mjs +32 -0
  89. package/es/hooks/useTheme.d.ts +8 -0
  90. package/es/hooks/useTheme.mjs +20 -0
  91. package/es/index.d.ts +11 -7
  92. package/es/index.mjs +137 -24
  93. package/es/modules/Cropper/hooks/useFile.d.ts +4 -0
  94. package/es/modules/Cropper/index.d.ts +5 -0
  95. package/es/modules/Cropper/src/CopperFreeModal.vue.d.ts +100 -0
  96. package/es/modules/Cropper/src/CopperModal.vue.d.ts +40 -0
  97. package/es/modules/Cropper/src/Cropper.vue.d.ts +96 -0
  98. package/es/modules/Cropper/src/CropperAvatar.vue.d.ts +62 -0
  99. package/es/modules/Cropper/src/CropperFree.vue.d.ts +118 -0
  100. package/es/modules/Cropper/src/typing.d.ts +11 -0
  101. package/es/modules/code-editor/index.d.ts +163 -0
  102. package/es/modules/code-editor/index.mjs +8 -0
  103. package/es/modules/code-editor/monaco-editor.css +49 -0
  104. package/es/modules/code-editor/monaco-editor.vue.d.ts +143 -0
  105. package/es/modules/code-editor/monaco-editor.vue.mjs +7 -0
  106. package/es/modules/code-editor/monaco-editor.vue2.mjs +440 -0
  107. package/es/modules/code-editor/useEditorConsole.d.ts +54 -0
  108. package/es/modules/code-editor/useEditorConsole.mjs +194 -0
  109. package/es/modules/code-editor/useMonacoEditor.d.ts +26 -0
  110. package/es/modules/code-editor/useMonacoEditor.mjs +26 -0
  111. package/es/modules/color-picker/index.d.ts +2 -0
  112. package/es/modules/color-picker/src/ColorPicker.css +16 -0
  113. package/es/modules/color-picker/src/ColorPicker.vue.d.ts +49 -0
  114. package/es/modules/color-picker/src/ColorPicker.vue.mjs +8 -0
  115. package/es/modules/color-picker/src/ColorPicker.vue2.mjs +545 -0
  116. package/es/modules/color-picker/src/ColorPicker2.css +156 -0
  117. package/es/modules/formula-editor/constants/index.d.ts +7 -0
  118. package/es/modules/formula-editor/constants/index.mjs +8 -0
  119. package/es/modules/formula-editor/formula-editor.d.ts +10 -0
  120. package/es/modules/formula-editor/formula-editor.mjs +62 -0
  121. package/es/modules/formula-editor/index.d.ts +4 -0
  122. package/es/modules/formula-editor/interface/i-formula-editor-options/i-formula-editor-options.d.ts +47 -0
  123. package/es/modules/formula-editor/interface/i-formula-result/i-formula-result.d.ts +20 -0
  124. package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.css +72 -0
  125. package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.d.ts +37 -0
  126. package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.mjs +195 -0
  127. package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.css +79 -0
  128. package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.d.ts +29 -0
  129. package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.mjs +98 -0
  130. package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.css +70 -0
  131. package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.d.ts +50 -0
  132. package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.mjs +239 -0
  133. package/es/modules/gct-dnd/constants/index.d.ts +22 -0
  134. package/es/modules/gct-dnd/constants/index.mjs +20 -0
  135. package/es/modules/gct-dnd/index.d.ts +5 -0
  136. package/es/modules/gct-dnd/interface/i-gct-dnd-config.d.ts +101 -0
  137. package/es/modules/gct-dnd/interface/i-gct-dnd-data.d.ts +14 -0
  138. package/es/modules/gct-dnd/interface/i-gct-dnd-render-item-options.d.ts +28 -0
  139. package/es/modules/gct-dnd/interface/i-gct-drag-collect.d.ts +24 -0
  140. package/es/modules/gct-dnd/interface/i-gct-drag-dnd-data.d.ts +51 -0
  141. package/es/modules/gct-dnd/interface/i-gct-drop-collect.d.ts +32 -0
  142. package/es/modules/gct-dnd/interface/i-gct-drop-result.d.ts +47 -0
  143. package/es/modules/gct-dnd/interface/index.d.ts +7 -0
  144. package/es/modules/gct-form/constants/editor-register/editor-register.d.ts +14 -0
  145. package/es/modules/gct-form/constants/editor-register/editor-register.mjs +6 -0
  146. package/es/modules/gct-form/constants/editor-type/editor-type.d.ts +130 -0
  147. package/es/modules/gct-form/constants/editor-type/editor-type.mjs +35 -0
  148. package/es/modules/gct-form/constants/index.d.ts +3 -0
  149. package/es/modules/gct-form/constants/index.mjs +3 -0
  150. package/es/modules/gct-form/controller/edit-form/edit-form.controller.d.ts +42 -0
  151. package/es/modules/gct-form/controller/edit-form/edit-form.controller.mjs +72 -0
  152. package/es/modules/gct-form/controller/editor-item/editor-item.controller.d.ts +15 -0
  153. package/es/modules/gct-form/controller/editor-item/editor-item.controller.mjs +23 -0
  154. package/es/modules/gct-form/controller/form/form.controller.d.ts +68 -0
  155. package/es/modules/gct-form/controller/form-collapse/form-collapse.controller.d.ts +18 -0
  156. package/es/modules/gct-form/controller/form-collapse/form-collapse.controller.mjs +11 -0
  157. package/es/modules/gct-form/controller/form-collapse-pane/form-collapse-pane.controller.d.ts +18 -0
  158. package/es/modules/gct-form/controller/form-collapse-pane/form-collapse-pane.controller.mjs +11 -0
  159. package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.d.ts +27 -0
  160. package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.mjs +94 -0
  161. package/es/modules/gct-form/controller/form-group/form-group.controller.d.ts +18 -0
  162. package/es/modules/gct-form/controller/form-group/form-group.controller.mjs +11 -0
  163. package/es/modules/gct-form/controller/form-item/form-item.controller.d.ts +21 -0
  164. package/es/modules/gct-form/controller/form-item/form-item.controller.mjs +37 -0
  165. package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.d.ts +57 -0
  166. package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.mjs +45 -0
  167. package/es/modules/gct-form/controller/form-item-hidden/form-item-hidden.controller.d.ts +17 -0
  168. package/es/modules/gct-form/controller/form-item-hidden/form-item-hidden.controller.mjs +7 -0
  169. package/es/modules/gct-form/controller/form-line/form-line.controller.d.ts +18 -0
  170. package/es/modules/gct-form/controller/form-line/form-line.controller.mjs +11 -0
  171. package/es/modules/gct-form/controller/form-tab/form-tab.controller.d.ts +18 -0
  172. package/es/modules/gct-form/controller/form-tab/form-tab.controller.mjs +11 -0
  173. package/es/modules/gct-form/controller/form-tab-pane/form-tab-pane.controller.d.ts +18 -0
  174. package/es/modules/gct-form/controller/form-tab-pane/form-tab-pane.controller.mjs +11 -0
  175. package/es/modules/gct-form/controller/gct-form/gct-form.controller.d.ts +101 -0
  176. package/es/modules/gct-form/controller/gct-form/gct-form.controller.mjs +224 -0
  177. package/es/modules/gct-form/controller/index.d.ts +13 -0
  178. package/es/modules/gct-form/editor/gct-form-action/gct-form-action.d.ts +39 -0
  179. package/es/modules/gct-form/editor/gct-form-action/gct-form-action.mjs +50 -0
  180. package/es/modules/gct-form/editor/gct-form-action/index.d.ts +8 -0
  181. package/es/modules/gct-form/editor/gct-form-action/index.mjs +14 -0
  182. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.css +86 -0
  183. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.d.ts +45 -0
  184. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.mjs +59 -0
  185. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.provider.d.ts +13 -0
  186. package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +5 -0
  187. package/es/modules/gct-form/editor/gct-form-check-switch/index.mjs +12 -0
  188. package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.css +108 -0
  189. package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.d.ts +55 -0
  190. package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.mjs +127 -0
  191. package/es/modules/gct-form/editor/gct-form-checkbox/index.d.ts +8 -0
  192. package/es/modules/gct-form/editor/gct-form-checkbox/index.mjs +14 -0
  193. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.css +67 -0
  194. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.d.ts +36 -0
  195. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.mjs +44 -0
  196. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.provider.d.ts +13 -0
  197. package/es/modules/gct-form/editor/gct-form-color/gct-form-color.provider.mjs +5 -0
  198. package/es/modules/gct-form/editor/gct-form-color/index.mjs +12 -0
  199. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.d.ts +286 -0
  200. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.mjs +81 -0
  201. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.provider.d.ts +11 -0
  202. package/es/modules/gct-form/editor/gct-form-date/gct-form-date.provider.mjs +5 -0
  203. package/es/modules/gct-form/editor/gct-form-date/index.mjs +12 -0
  204. package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.css +77 -0
  205. package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.d.ts +111 -0
  206. package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.mjs +113 -0
  207. package/es/modules/gct-form/editor/gct-form-date-format-select/index.d.ts +8 -0
  208. package/es/modules/gct-form/editor/gct-form-date-format-select/index.mjs +14 -0
  209. package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.d.ts +2 -0
  210. package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.mjs +16 -0
  211. package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.provider.d.ts +4 -0
  212. package/es/modules/gct-form/editor/gct-form-empty/index.d.ts +8 -0
  213. package/es/modules/gct-form/editor/gct-form-empty/index.mjs +14 -0
  214. package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.css +81 -0
  215. package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.d.ts +39 -0
  216. package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.mjs +69 -0
  217. package/es/modules/gct-form/editor/gct-form-formula/index.d.ts +8 -0
  218. package/es/modules/gct-form/editor/gct-form-formula/index.mjs +14 -0
  219. package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.css +120 -0
  220. package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.d.ts +52 -0
  221. package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.mjs +231 -0
  222. package/es/modules/gct-form/editor/gct-form-group-select/index.d.ts +8 -0
  223. package/es/modules/gct-form/editor/gct-form-group-select/index.mjs +14 -0
  224. package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.d.ts +121 -0
  225. package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.mjs +114 -0
  226. package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.provider.d.ts +13 -0
  227. package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.provider.mjs +5 -0
  228. package/es/modules/gct-form/editor/gct-form-i18n/index.mjs +12 -0
  229. package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.css +76 -0
  230. package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.d.ts +29 -0
  231. package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.mjs +73 -0
  232. package/es/modules/gct-form/editor/gct-form-icon-select/index.d.ts +8 -0
  233. package/es/modules/gct-form/editor/gct-form-icon-select/index.mjs +14 -0
  234. package/es/modules/gct-form/editor/gct-form-info/gct-form-info.css +85 -0
  235. package/es/modules/gct-form/editor/gct-form-info/gct-form-info.d.ts +43 -0
  236. package/es/modules/gct-form/editor/gct-form-info/gct-form-info.mjs +52 -0
  237. package/es/modules/gct-form/editor/gct-form-info/index.d.ts +8 -0
  238. package/es/modules/gct-form/editor/gct-form-info/index.mjs +14 -0
  239. package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.d.ts +36 -0
  240. package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.mjs +43 -0
  241. package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.provider.d.ts +13 -0
  242. package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +5 -0
  243. package/es/modules/gct-form/editor/gct-form-length-unit/index.mjs +12 -0
  244. package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.css +76 -0
  245. package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.d.ts +19 -0
  246. package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.mjs +175 -0
  247. package/es/modules/gct-form/editor/gct-form-model-select/index.d.ts +8 -0
  248. package/es/modules/gct-form/editor/gct-form-model-select/index.mjs +14 -0
  249. package/es/modules/gct-form/editor/gct-form-multiple-choice/gct-form-multiple-choice.d.ts +68 -0
  250. package/es/modules/gct-form/editor/gct-form-multiple-choice/gct-form-multiple-choice.mjs +68 -0
  251. package/es/modules/gct-form/editor/gct-form-multiple-choice/index.d.ts +8 -0
  252. package/es/modules/gct-form/editor/gct-form-multiple-choice/index.mjs +14 -0
  253. package/es/modules/gct-form/editor/gct-form-number/gct-form-number.d.ts +28 -0
  254. package/es/modules/gct-form/editor/gct-form-number/gct-form-number.mjs +44 -0
  255. package/es/modules/gct-form/editor/gct-form-number/gct-form-number.provider.d.ts +4 -0
  256. package/es/modules/gct-form/editor/gct-form-number/gct-form-number.provider.mjs +5 -0
  257. package/es/modules/gct-form/editor/gct-form-number/index.mjs +12 -0
  258. package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.d.ts +39 -0
  259. package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.mjs +113 -0
  260. package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.provider.d.ts +13 -0
  261. package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.provider.mjs +5 -0
  262. package/es/modules/gct-form/editor/gct-form-picker/index.mjs +12 -0
  263. package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.css +103 -0
  264. package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.d.ts +29 -0
  265. package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.mjs +69 -0
  266. package/es/modules/gct-form/editor/gct-form-pixel-config/index.d.ts +8 -0
  267. package/es/modules/gct-form/editor/gct-form-pixel-config/index.mjs +14 -0
  268. package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.css +205 -0
  269. package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.d.ts +43 -0
  270. package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.mjs +95 -0
  271. package/es/modules/gct-form/editor/gct-form-radio/index.d.ts +8 -0
  272. package/es/modules/gct-form/editor/gct-form-radio/index.mjs +14 -0
  273. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.css +83 -0
  274. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.d.ts +52 -0
  275. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.mjs +128 -0
  276. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.provider.d.ts +13 -0
  277. package/es/modules/gct-form/editor/gct-form-select/gct-form-select.provider.mjs +5 -0
  278. package/es/modules/gct-form/editor/gct-form-select/index.mjs +12 -0
  279. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.css +73 -0
  280. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.d.ts +52 -0
  281. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.mjs +100 -0
  282. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.provider.d.ts +13 -0
  283. package/es/modules/gct-form/editor/gct-form-span/gct-form-span.provider.mjs +5 -0
  284. package/es/modules/gct-form/editor/gct-form-span/index.mjs +12 -0
  285. package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.d.ts +32 -0
  286. package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.mjs +39 -0
  287. package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.provider.d.ts +13 -0
  288. package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.provider.mjs +5 -0
  289. package/es/modules/gct-form/editor/gct-form-switch/index.d.ts +4 -0
  290. package/es/modules/gct-form/editor/gct-form-switch/index.mjs +12 -0
  291. package/es/modules/gct-form/editor/gct-form-table/gct-form-table.d.ts +53 -0
  292. package/es/modules/gct-form/editor/gct-form-table/gct-form-table.mjs +32 -0
  293. package/es/modules/gct-form/editor/gct-form-table/index.d.ts +8 -0
  294. package/es/modules/gct-form/editor/gct-form-table/index.mjs +14 -0
  295. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.css +70 -0
  296. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.d.ts +38 -0
  297. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.mjs +58 -0
  298. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.provider.d.ts +13 -0
  299. package/es/modules/gct-form/editor/gct-form-text/gct-form-text.provider.mjs +5 -0
  300. package/es/modules/gct-form/editor/gct-form-text/index.d.ts +4 -0
  301. package/es/modules/gct-form/editor/gct-form-text/index.mjs +12 -0
  302. package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.d.ts +29 -0
  303. package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.mjs +46 -0
  304. package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.provider.d.ts +4 -0
  305. package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.provider.mjs +5 -0
  306. package/es/modules/gct-form/editor/gct-form-textarea/index.d.ts +4 -0
  307. package/es/modules/gct-form/editor/gct-form-textarea/index.mjs +12 -0
  308. package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.css +94 -0
  309. package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.d.ts +53 -0
  310. package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.mjs +79 -0
  311. package/es/modules/gct-form/editor/gct-select-form-table/index.d.ts +8 -0
  312. package/es/modules/gct-form/editor/gct-select-form-table/index.mjs +14 -0
  313. package/es/modules/gct-form/editor/index.mjs +34 -0
  314. package/es/modules/gct-form/hooks/index.d.ts +2 -0
  315. package/es/modules/gct-form/hooks/use-form/use-form.d.ts +10 -0
  316. package/es/modules/gct-form/hooks/use-form/use-form.mjs +8 -0
  317. package/es/modules/gct-form/hooks/use-gct-form-value/use-gct-form-value.d.ts +22 -0
  318. package/es/modules/gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs +89 -0
  319. package/es/modules/gct-form/index.d.ts +12 -0
  320. package/es/modules/gct-form/index.mjs +16 -0
  321. package/es/modules/gct-form/interface/i-controller/edit-form/edit-form.controller.d.ts +20 -0
  322. package/es/modules/gct-form/interface/i-controller/editor-item/editor-item.controller.d.ts +27 -0
  323. package/es/modules/gct-form/interface/i-controller/form/form.controller.d.ts +121 -0
  324. package/es/modules/gct-form/interface/i-controller/form-collapse/form-collapse.controller.d.ts +23 -0
  325. package/es/modules/gct-form/interface/i-controller/form-collapse-pane/form-collapse-pane.controller.d.ts +23 -0
  326. package/es/modules/gct-form/interface/i-controller/form-edit-item/form-edit-item.controller.d.ts +59 -0
  327. package/es/modules/gct-form/interface/i-controller/form-group/form-group.controller.d.ts +24 -0
  328. package/es/modules/gct-form/interface/i-controller/form-hidden-item/form-hidden-item.controller.d.ts +24 -0
  329. package/es/modules/gct-form/interface/i-controller/form-item/form-item.controller.d.ts +40 -0
  330. package/es/modules/gct-form/interface/i-controller/form-item-basic/form-item-basic.controller.d.ts +51 -0
  331. package/es/modules/gct-form/interface/i-controller/form-line/form-line.controller.d.ts +20 -0
  332. package/es/modules/gct-form/interface/i-controller/form-tab/form-tab.controller.d.ts +23 -0
  333. package/es/modules/gct-form/interface/i-controller/form-tab-pane/form-tab-pane.controller.d.ts +23 -0
  334. package/es/modules/gct-form/interface/i-controller/index.d.ts +13 -0
  335. package/es/modules/gct-form/interface/i-editor/i-action-editor.d.ts +23 -0
  336. package/es/modules/gct-form/interface/i-editor/i-check-switch.d.ts +29 -0
  337. package/es/modules/gct-form/interface/i-editor/i-checkbox-editor.d.ts +11 -0
  338. package/es/modules/gct-form/interface/i-editor/i-color-editor.d.ts +13 -0
  339. package/es/modules/gct-form/interface/i-editor/i-date-format-select-editor.d.ts +36 -0
  340. package/es/modules/gct-form/interface/i-editor/i-editor-basic.d.ts +134 -0
  341. package/es/modules/gct-form/interface/i-editor/i-formula-editor.d.ts +22 -0
  342. package/es/modules/gct-form/interface/i-editor/i-i18n-editor.d.ts +38 -0
  343. package/es/modules/gct-form/interface/i-editor/i-icon-select-editor.d.ts +21 -0
  344. package/es/modules/gct-form/interface/i-editor/i-info-editor.d.ts +21 -0
  345. package/es/modules/gct-form/interface/i-editor/i-length-unit-editor.d.ts +13 -0
  346. package/es/modules/gct-form/interface/i-editor/i-model-field-select-editor.d.ts +18 -0
  347. package/es/modules/gct-form/interface/i-editor/i-mpicker-editor.d.ts +36 -0
  348. package/es/modules/gct-form/interface/i-editor/i-number-editor.d.ts +21 -0
  349. package/es/modules/gct-form/interface/i-editor/i-picker-editor.d.ts +37 -0
  350. package/es/modules/gct-form/interface/i-editor/i-radio-editor.d.ts +32 -0
  351. package/es/modules/gct-form/interface/i-editor/i-select-editor.d.ts +45 -0
  352. package/es/modules/gct-form/interface/i-editor/i-select-table-editor.d.ts +44 -0
  353. package/es/modules/gct-form/interface/i-editor/i-span-editor.d.ts +30 -0
  354. package/es/modules/gct-form/interface/i-editor/i-switch-editor.d.ts +14 -0
  355. package/es/modules/gct-form/interface/i-editor/i-table-editor.d.ts +19 -0
  356. package/es/modules/gct-form/interface/i-editor/i-text-editor.d.ts +46 -0
  357. package/es/modules/gct-form/interface/i-editor/i-textarea-editor.d.ts +25 -0
  358. package/es/modules/gct-form/interface/i-editor/index.d.ts +23 -0
  359. package/es/modules/gct-form/interface/i-events/form/i-form.event.d.ts +14 -0
  360. package/es/modules/gct-form/interface/i-events/index.d.ts +1 -0
  361. package/es/modules/gct-form/interface/i-form/i-edit-form.d.ts +48 -0
  362. package/es/modules/gct-form/interface/i-form/i-form-collapse-pane.d.ts +30 -0
  363. package/es/modules/gct-form/interface/i-form/i-form-collapse.d.ts +39 -0
  364. package/es/modules/gct-form/interface/i-form/i-form-container.d.ts +53 -0
  365. package/es/modules/gct-form/interface/i-form/i-form-edit-item.d.ts +154 -0
  366. package/es/modules/gct-form/interface/i-form/i-form-group-container.d.ts +24 -0
  367. package/es/modules/gct-form/interface/i-form/i-form-group.d.ts +35 -0
  368. package/es/modules/gct-form/interface/i-form/i-form-hidden-item.d.ts +11 -0
  369. package/es/modules/gct-form/interface/i-form/i-form-item-basic.d.ts +131 -0
  370. package/es/modules/gct-form/interface/i-form/i-form-item.d.ts +11 -0
  371. package/es/modules/gct-form/interface/i-form/i-form-line.d.ts +24 -0
  372. package/es/modules/gct-form/interface/i-form/i-form-tab-pane.d.ts +23 -0
  373. package/es/modules/gct-form/interface/i-form/i-form-tab.d.ts +25 -0
  374. package/es/modules/gct-form/interface/i-form/i-form.d.ts +93 -0
  375. package/es/modules/gct-form/interface/i-form/index.d.ts +14 -0
  376. package/es/modules/gct-form/interface/i-layout/i-flex-layout/i-flex-container.d.ts +75 -0
  377. package/es/modules/gct-form/interface/i-layout/i-flex-layout/i-flex-item.d.ts +51 -0
  378. package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-container.d.ts +29 -0
  379. package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-item-span.d.ts +54 -0
  380. package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-item.d.ts +37 -0
  381. package/es/modules/gct-form/interface/i-layout/i-layout-basis/i-layout-container-basis.d.ts +11 -0
  382. package/es/modules/gct-form/interface/i-layout/index.d.ts +6 -0
  383. package/es/modules/gct-form/interface/i-provider/i-editor-provider/i-editor-provider.d.ts +24 -0
  384. package/es/modules/gct-form/interface/i-provider/i-form-item-provider/i-form-item-provider.d.ts +44 -0
  385. package/es/modules/gct-form/interface/i-provider/index.d.ts +2 -0
  386. package/es/modules/gct-form/interface/i-state/form/form.state.d.ts +59 -0
  387. package/es/modules/gct-form/interface/i-state/form-collapse/form-collapse.state.d.ts +11 -0
  388. package/es/modules/gct-form/interface/i-state/form-collapse-pane/form-collapse-pane.state.d.ts +11 -0
  389. package/es/modules/gct-form/interface/i-state/form-edit-item/form-edit-item.state.d.ts +38 -0
  390. package/es/modules/gct-form/interface/i-state/form-group/form-group.state.d.ts +21 -0
  391. package/es/modules/gct-form/interface/i-state/form-hidden-item/form-hidden-item.state.d.ts +5 -0
  392. package/es/modules/gct-form/interface/i-state/form-item/form-item.state.d.ts +20 -0
  393. package/es/modules/gct-form/interface/i-state/form-item-basic/form-item-basic.state.d.ts +63 -0
  394. package/es/modules/gct-form/interface/i-state/form-line/form-line.state.d.ts +10 -0
  395. package/es/modules/gct-form/interface/i-state/form-tab/form-tab.state.d.ts +19 -0
  396. package/es/modules/gct-form/interface/i-state/form-tab-pane/form-tab-pane.state.d.ts +11 -0
  397. package/es/modules/gct-form/interface/i-state/index.d.ts +11 -0
  398. package/es/modules/gct-form/interface/index.d.ts +7 -0
  399. package/es/modules/gct-form/props/gct-form-item/gct-form-item.props.d.ts +63 -0
  400. package/es/modules/gct-form/props/gct-form-item/gct-form-item.props.mjs +66 -0
  401. package/es/modules/gct-form/props/index.d.ts +1 -0
  402. package/es/modules/gct-form/register/editor-register/editor-register.d.ts +49 -0
  403. package/es/modules/gct-form/register/editor-register/editor-register.mjs +57 -0
  404. package/es/modules/gct-form/register/form-item-register/form-item-register.d.ts +36 -0
  405. package/es/modules/gct-form/register/form-item-register/form-item-register.mjs +42 -0
  406. package/es/modules/gct-form/register/index.d.ts +2 -0
  407. package/es/modules/gct-form/state/form/form.state.d.ts +25 -0
  408. package/es/modules/gct-form/state/form/form.state.mjs +17 -0
  409. package/es/modules/gct-form/state/form-collapse/form-collapse.state.d.ts +14 -0
  410. package/es/modules/gct-form/state/form-collapse/form-collapse.state.mjs +6 -0
  411. package/es/modules/gct-form/state/form-collapse-pane/form-collapse-pane.state.d.ts +14 -0
  412. package/es/modules/gct-form/state/form-collapse-pane/form-collapse-pane.state.mjs +6 -0
  413. package/es/modules/gct-form/state/form-edit-item/form-edit-item.state.d.ts +18 -0
  414. package/es/modules/gct-form/state/form-edit-item/form-edit-item.state.mjs +10 -0
  415. package/es/modules/gct-form/state/form-group/form-group.state.d.ts +21 -0
  416. package/es/modules/gct-form/state/form-group/form-group.state.mjs +14 -0
  417. package/es/modules/gct-form/state/form-item/form-item.state.d.ts +14 -0
  418. package/es/modules/gct-form/state/form-item/form-item.state.mjs +6 -0
  419. package/es/modules/gct-form/state/form-item-basic/form-item-basic.state.d.ts +17 -0
  420. package/es/modules/gct-form/state/form-item-basic/form-item-basic.state.mjs +9 -0
  421. package/es/modules/gct-form/state/form-line/form-line.state.d.ts +11 -0
  422. package/es/modules/gct-form/state/form-line/form-line.state.mjs +6 -0
  423. package/es/modules/gct-form/state/form-tab/form-tab.state.d.ts +15 -0
  424. package/es/modules/gct-form/state/form-tab/form-tab.state.mjs +7 -0
  425. package/es/modules/gct-form/state/form-tab-pane/form-tab-pane.state.d.ts +14 -0
  426. package/es/modules/gct-form/state/form-tab-pane/form-tab-pane.state.mjs +6 -0
  427. package/es/modules/gct-form/state/index.d.ts +10 -0
  428. package/es/modules/gct-form/utils/index.d.ts +1 -0
  429. package/es/modules/gct-form/utils/width-install/width-install.d.ts +17 -0
  430. package/es/modules/gct-form/utils/width-install/width-install.mjs +19 -0
  431. package/es/modules/gct-form/widgets/gct-edit-form/gct-edit-form.d.ts +81 -0
  432. package/es/modules/gct-form/widgets/gct-edit-form/gct-edit-form.mjs +151 -0
  433. package/es/modules/gct-form/widgets/gct-edit-form/index.mjs +10 -0
  434. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.css +97 -0
  435. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.d.ts +41 -0
  436. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +79 -0
  437. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.model.d.ts +19 -0
  438. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.d.ts +5 -0
  439. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +14 -0
  440. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/index.d.ts +7 -0
  441. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/index.mjs +15 -0
  442. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.css +79 -0
  443. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.d.ts +39 -0
  444. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +77 -0
  445. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.model.d.ts +18 -0
  446. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.d.ts +5 -0
  447. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +16 -0
  448. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/index.d.ts +7 -0
  449. package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/index.mjs +15 -0
  450. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.css +88 -0
  451. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.d.ts +40 -0
  452. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.mjs +94 -0
  453. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.model.d.ts +19 -0
  454. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.provider.d.ts +5 -0
  455. package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +14 -0
  456. package/es/modules/gct-form/widgets/gct-form/gct-form-group/index.d.ts +7 -0
  457. package/es/modules/gct-form/widgets/gct-form/gct-form-group/index.mjs +15 -0
  458. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.model.d.ts +16 -0
  459. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.d.ts +5 -0
  460. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +16 -0
  461. package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/index.d.ts +6 -0
  462. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.css +171 -0
  463. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.d.ts +54 -0
  464. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.mjs +163 -0
  465. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.model.d.ts +17 -0
  466. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.provider.d.ts +5 -0
  467. package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +14 -0
  468. package/es/modules/gct-form/widgets/gct-form/gct-form-item/index.d.ts +7 -0
  469. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.css +72 -0
  470. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.d.ts +37 -0
  471. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.mjs +48 -0
  472. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.model.d.ts +15 -0
  473. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.provider.d.ts +5 -0
  474. package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.provider.mjs +14 -0
  475. package/es/modules/gct-form/widgets/gct-form/gct-form-line/index.d.ts +7 -0
  476. package/es/modules/gct-form/widgets/gct-form/gct-form-line/index.mjs +12 -0
  477. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.css +108 -0
  478. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.d.ts +38 -0
  479. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +72 -0
  480. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.model.d.ts +10 -0
  481. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.provider.d.ts +5 -0
  482. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +14 -0
  483. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/index.d.ts +7 -0
  484. package/es/modules/gct-form/widgets/gct-form/gct-form-tab/index.mjs +12 -0
  485. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.css +74 -0
  486. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.d.ts +39 -0
  487. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +71 -0
  488. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.model.d.ts +17 -0
  489. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.d.ts +5 -0
  490. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +14 -0
  491. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/index.d.ts +6 -0
  492. package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/index.mjs +15 -0
  493. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.css +82 -0
  494. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.d.ts +30 -0
  495. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +73 -0
  496. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.model.d.ts +19 -0
  497. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.d.ts +5 -0
  498. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +14 -0
  499. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/index.d.ts +7 -0
  500. package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/index.mjs +16 -0
  501. package/es/modules/gct-form/widgets/gct-form/gct-form.css +73 -0
  502. package/es/modules/gct-form/widgets/gct-form/gct-form.d.ts +41 -0
  503. package/es/modules/gct-form/widgets/gct-form/gct-form.mjs +147 -0
  504. package/es/modules/gct-form/widgets/gct-form/index.d.ts +14 -0
  505. package/es/modules/gct-form/widgets/gct-form/index.mjs +33 -0
  506. package/es/modules/gct-table/controller/gct-table/gct-table.controller.d.ts +54 -0
  507. package/es/modules/gct-table/controller/gct-table/gct-table.controller.mjs +143 -0
  508. package/es/modules/gct-table/controller/index.d.ts +5 -0
  509. package/es/modules/gct-table/controller/table-item/table-action-item.controller.d.ts +15 -0
  510. package/es/modules/gct-table/controller/table-item/table-action-item.controller.mjs +6 -0
  511. package/es/modules/gct-table/controller/table-item/table-edit-item.controller.d.ts +19 -0
  512. package/es/modules/gct-table/controller/table-item/table-edit-item.controller.mjs +16 -0
  513. package/es/modules/gct-table/controller/table-item/table-item.controller.d.ts +21 -0
  514. package/es/modules/gct-table/controller/table-item/table-item.controller.mjs +26 -0
  515. package/es/modules/gct-table/controller/table-row/table-row.controller.d.ts +28 -0
  516. package/es/modules/gct-table/controller/table-row/table-row.controller.mjs +70 -0
  517. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.d.ts +49 -0
  518. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +93 -0
  519. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.provider.d.ts +11 -0
  520. package/es/modules/gct-table/editor/gct-table-date/gct-table-date.provider.mjs +5 -0
  521. package/es/modules/gct-table/editor/gct-table-date/index.d.ts +4 -0
  522. package/es/modules/gct-table/editor/gct-table-date/index.mjs +52 -0
  523. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.css +86 -0
  524. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.d.ts +34 -0
  525. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.mjs +40 -0
  526. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.provider.d.ts +13 -0
  527. package/es/modules/gct-table/editor/gct-table-span/gct-table-span.provider.mjs +5 -0
  528. package/es/modules/gct-table/editor/gct-table-span/index.d.ts +4 -0
  529. package/es/modules/gct-table/editor/gct-table-span/index.mjs +52 -0
  530. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.css +80 -0
  531. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.d.ts +50 -0
  532. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +106 -0
  533. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.provider.d.ts +13 -0
  534. package/es/modules/gct-table/editor/gct-table-text/gct-table-text.provider.mjs +5 -0
  535. package/es/modules/gct-table/editor/gct-table-text/index.d.ts +4 -0
  536. package/es/modules/gct-table/editor/gct-table-text/index.mjs +52 -0
  537. package/es/modules/gct-table/editor/index.mjs +11 -0
  538. package/es/modules/gct-table/hooks/index.d.ts +1 -0
  539. package/es/modules/gct-table/hooks/use-ant-table/use-ant-table.d.ts +10 -0
  540. package/es/modules/gct-table/hooks/use-ant-table/use-ant-table.mjs +85 -0
  541. package/es/modules/gct-table/index.d.ts +10 -0
  542. package/es/modules/gct-table/index.mjs +15 -0
  543. package/es/modules/gct-table/interface/i-controller/index.d.ts +5 -0
  544. package/es/modules/gct-table/interface/i-controller/table/i-table.controller.d.ts +133 -0
  545. package/es/modules/gct-table/interface/i-controller/table-item/i-table-action-item.controller.d.ts +21 -0
  546. package/es/modules/gct-table/interface/i-controller/table-item/i-table-edit-item.controller.d.ts +44 -0
  547. package/es/modules/gct-table/interface/i-controller/table-item/i-table-item.controller.d.ts +61 -0
  548. package/es/modules/gct-table/interface/i-controller/table-row/i-table-row.controller.d.ts +110 -0
  549. package/es/modules/gct-table/interface/i-events/index.d.ts +1 -0
  550. package/es/modules/gct-table/interface/i-events/table/i-table.event.d.ts +21 -0
  551. package/es/modules/gct-table/interface/i-provider/i-table-editor-provider/i-table-editor-provider.d.ts +24 -0
  552. package/es/modules/gct-table/interface/i-provider/index.d.ts +1 -0
  553. package/es/modules/gct-table/interface/i-state/index.d.ts +4 -0
  554. package/es/modules/gct-table/interface/i-state/table/i-table.state.d.ts +50 -0
  555. package/es/modules/gct-table/interface/i-state/table-item/table-edit-item.state.d.ts +47 -0
  556. package/es/modules/gct-table/interface/i-state/table-item/table-item.state.d.ts +28 -0
  557. package/es/modules/gct-table/interface/i-state/table-row/table-row.state.d.ts +35 -0
  558. package/es/modules/gct-table/interface/i-table/i-pagination.d.ts +29 -0
  559. package/es/modules/gct-table/interface/i-table/i-table-action-item.d.ts +135 -0
  560. package/es/modules/gct-table/interface/i-table/i-table-edit-item.d.ts +74 -0
  561. package/es/modules/gct-table/interface/i-table/i-table-item.d.ts +98 -0
  562. package/es/modules/gct-table/interface/i-table/i-table.d.ts +76 -0
  563. package/es/modules/gct-table/interface/i-table/index.d.ts +4 -0
  564. package/es/modules/gct-table/interface/index.d.ts +5 -0
  565. package/es/modules/gct-table/register/index.d.ts +1 -0
  566. package/es/modules/gct-table/register/table-editor-register/table-editor-register.d.ts +53 -0
  567. package/es/modules/gct-table/register/table-editor-register/table-editor-register.mjs +61 -0
  568. package/es/modules/gct-table/state/index.d.ts +4 -0
  569. package/es/modules/gct-table/state/table/table.state.d.ts +45 -0
  570. package/es/modules/gct-table/state/table/table.state.mjs +37 -0
  571. package/es/modules/gct-table/state/table-item/table-edit-item.state.d.ts +18 -0
  572. package/es/modules/gct-table/state/table-item/table-edit-item.state.mjs +10 -0
  573. package/es/modules/gct-table/state/table-item/table-item.state.d.ts +28 -0
  574. package/es/modules/gct-table/state/table-item/table-item.state.mjs +20 -0
  575. package/es/modules/gct-table/state/table-row/table-row.state.d.ts +15 -0
  576. package/es/modules/gct-table/state/table-row/table-row.state.mjs +7 -0
  577. package/es/modules/gct-table/utils/count-latch/count-latch.d.ts +70 -0
  578. package/es/modules/gct-table/utils/count-latch/count-latch.mjs +95 -0
  579. package/es/modules/gct-table/utils/count-latch/result-awaiter.d.ts +17 -0
  580. package/es/modules/gct-table/utils/index.d.ts +3 -0
  581. package/es/modules/gct-table/utils/width-install/width-install.d.ts +16 -0
  582. package/es/modules/gct-table/utils/width-install/width-install.mjs +19 -0
  583. package/es/modules/gct-table/widgets/gct-table/gct-table.css +124 -0
  584. package/es/modules/gct-table/widgets/gct-table/gct-table.d.ts +51 -0
  585. package/es/modules/gct-table/widgets/gct-table/gct-table.mjs +414 -0
  586. package/es/modules/gct-table/widgets/gct-table/index.mjs +10 -0
  587. package/es/modules/gct-table/widgets/index.mjs +9 -0
  588. package/es/modules/global-modal/index.d.ts +6 -0
  589. package/es/modules/global-modal/index.mjs +17 -0
  590. package/es/modules/global-modal/src/BasicModal.vue.d.ts +518 -0
  591. package/es/modules/global-modal/src/BasicModal.vue.mjs +221 -0
  592. package/es/modules/global-modal/src/BasicModal.vue2.mjs +5 -0
  593. package/es/modules/global-modal/src/components/GlboalModal.d.ts +251 -0
  594. package/es/modules/global-modal/src/components/GlboalModal.mjs +40 -0
  595. package/es/modules/global-modal/src/components/ModalClose.css +95 -0
  596. package/es/modules/global-modal/src/components/ModalClose.vue.d.ts +27 -0
  597. package/es/modules/global-modal/src/components/ModalClose.vue.mjs +79 -0
  598. package/es/modules/global-modal/src/components/ModalClose.vue3.mjs +6 -0
  599. package/es/modules/global-modal/src/components/ModalFooter.vue.d.ts +270 -0
  600. package/es/modules/global-modal/src/components/ModalFooter.vue.mjs +44 -0
  601. package/es/modules/global-modal/src/components/ModalFooter.vue2.mjs +5 -0
  602. package/es/modules/global-modal/src/components/ModalHeader.vue.d.ts +17 -0
  603. package/es/modules/global-modal/src/components/ModalHeader.vue.mjs +11 -0
  604. package/es/modules/global-modal/src/components/ModalHeader.vue2.mjs +13 -0
  605. package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +95 -0
  606. package/es/modules/global-modal/src/components/ModalWrapper.vue.mjs +26 -0
  607. package/es/modules/global-modal/src/components/ModalWrapper.vue2.mjs +136 -0
  608. package/es/modules/global-modal/src/hooks/useModal.d.ts +6 -0
  609. package/es/modules/global-modal/src/hooks/useModal.mjs +120 -0
  610. package/es/modules/global-modal/src/hooks/useModalContext.d.ts +5 -0
  611. package/es/modules/global-modal/src/hooks/useModalContext.mjs +11 -0
  612. package/es/modules/global-modal/src/hooks/useModalDrag.d.ts +7 -0
  613. package/es/modules/global-modal/src/hooks/useModalDrag.mjs +82 -0
  614. package/es/modules/global-modal/src/hooks/useModalFullScreen.d.ts +11 -0
  615. package/es/modules/global-modal/src/hooks/useModalFullScreen.mjs +16 -0
  616. package/es/modules/global-modal/src/index.css +153 -0
  617. package/es/modules/global-modal/src/props.d.ts +156 -0
  618. package/es/modules/global-modal/src/props.mjs +57 -0
  619. package/es/modules/global-modal/src/typing.d.ts +174 -0
  620. package/es/modules/target-loading/index.d.ts +4 -0
  621. package/es/modules/target-loading/src/createLoading.d.ts +13 -0
  622. package/es/modules/target-loading/src/createLoading.mjs +57 -0
  623. package/es/modules/target-loading/src/target-loading.css +18 -0
  624. package/es/modules/target-loading/src/target-loading.vue.d.ts +57 -0
  625. package/es/modules/target-loading/src/target-loading.vue.mjs +52 -0
  626. package/es/modules/target-loading/src/target-loading.vue3.mjs +7 -0
  627. package/es/modules/target-loading/src/typing.d.ts +9 -0
  628. package/es/modules/target-loading/src/useLoading.d.ts +9 -0
  629. package/es/setup-app.d.ts +1 -0
  630. package/es/setup-app.mjs +4 -0
  631. package/es/types/index.d.ts +201 -1
  632. package/es/utils/index.d.ts +4 -1
  633. package/es/utils/message-util/message-util.d.ts +7 -0
  634. package/es/utils/message-util/message-util.mjs +26 -0
  635. package/es/utils/monaco-loader/monaco-loader.d.ts +59 -0
  636. package/es/utils/monaco-loader/monaco-loader.mjs +88 -0
  637. package/es/utils/overlay-controller/overlay-controller.d.ts +18 -0
  638. package/es/utils/overlay-controller/overlay-controller.mjs +23 -0
  639. package/es/utils/with-install.mjs +0 -1
  640. package/package.json +33 -13
  641. package/dist/core-web.css +0 -1
  642. package/es/_virtual/_commonjsHelpers.mjs +0 -44
  643. package/es/_virtual/node.mjs +0 -7
  644. package/es/_virtual/node2.mjs +0 -3
  645. package/es/components/code-editor/code-editor.scss +0 -3
  646. package/es/components/layout/flex-container/flex-container.d.ts +0 -15
  647. package/es/components/layout/flex-container/flex-container.mjs +0 -90
  648. package/es/components/layout/flex-container/flex-container.scss +0 -3
  649. package/es/components/layout/flex-item/flex-item.d.ts +0 -14
  650. package/es/components/layout/flex-item/flex-item.mjs +0 -53
  651. package/es/components/layout/flex-item/flex-item.scss +0 -17
  652. package/es/components/layout/grid-container/grid-container.d.ts +0 -13
  653. package/es/components/layout/grid-container/grid-container.mjs +0 -47
  654. package/es/components/layout/view-container/view-container.scss +0 -19
  655. package/es/editor/gct-form-check-switch/gct-form-check-switch.d.ts +0 -40
  656. package/es/editor/gct-form-check-switch/gct-form-check-switch.mjs +0 -53
  657. package/es/editor/gct-form-check-switch/gct-form-check-switch.provider.d.ts +0 -13
  658. package/es/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +0 -6
  659. package/es/editor/gct-form-check-switch/gct-form-check-switch.scss +0 -10
  660. package/es/editor/gct-form-check-switch/index.mjs +0 -12
  661. package/es/editor/gct-form-checkbox/gct-form-checkbox.d.ts +0 -41
  662. package/es/editor/gct-form-checkbox/gct-form-checkbox.mjs +0 -70
  663. package/es/editor/gct-form-checkbox/gct-form-checkbox.scss +0 -56
  664. package/es/editor/gct-form-checkbox/index.d.ts +0 -11
  665. package/es/editor/gct-form-checkbox/index.mjs +0 -19
  666. package/es/editor/gct-form-color/gct-form-color.d.ts +0 -5
  667. package/es/editor/gct-form-color/gct-form-color.mjs +0 -45
  668. package/es/editor/gct-form-color/gct-form-color.provider.d.ts +0 -13
  669. package/es/editor/gct-form-color/gct-form-color.provider.mjs +0 -6
  670. package/es/editor/gct-form-color/gct-form-color.scss +0 -3
  671. package/es/editor/gct-form-color/index.d.ts +0 -7
  672. package/es/editor/gct-form-color/index.mjs +0 -17
  673. package/es/editor/gct-form-field-select/gct-form-field-select.d.ts +0 -47
  674. package/es/editor/gct-form-field-select/gct-form-field-select.mjs +0 -48
  675. package/es/editor/gct-form-field-select/gct-form-field-select.provider.d.ts +0 -13
  676. package/es/editor/gct-form-field-select/gct-form-field-select.provider.mjs +0 -6
  677. package/es/editor/gct-form-field-select/gct-form-field-select.scss +0 -7
  678. package/es/editor/gct-form-field-select/gct-model-select.vue +0 -70
  679. package/es/editor/gct-form-field-select/gct-model-select.vue.d.ts +0 -9
  680. package/es/editor/gct-form-field-select/index.mjs +0 -12
  681. package/es/editor/gct-form-i18n/gct-form-i18n.d.ts +0 -38
  682. package/es/editor/gct-form-i18n/gct-form-i18n.mjs +0 -62
  683. package/es/editor/gct-form-i18n/gct-form-i18n.provider.d.ts +0 -13
  684. package/es/editor/gct-form-i18n/gct-form-i18n.provider.mjs +0 -6
  685. package/es/editor/gct-form-i18n/index.mjs +0 -12
  686. package/es/editor/gct-form-icon-select/gct-form-icon-select.d.ts +0 -29
  687. package/es/editor/gct-form-icon-select/gct-form-icon-select.mjs +0 -74
  688. package/es/editor/gct-form-icon-select/gct-form-icon-select.scss +0 -14
  689. package/es/editor/gct-form-icon-select/index.d.ts +0 -8
  690. package/es/editor/gct-form-icon-select/index.mjs +0 -14
  691. package/es/editor/gct-form-info/gct-form-info.d.ts +0 -28
  692. package/es/editor/gct-form-info/gct-form-info.mjs +0 -40
  693. package/es/editor/gct-form-info/gct-form-info.scss +0 -8
  694. package/es/editor/gct-form-info/index.d.ts +0 -8
  695. package/es/editor/gct-form-info/index.mjs +0 -14
  696. package/es/editor/gct-form-length-unit/gct-form-length-unit.d.ts +0 -39
  697. package/es/editor/gct-form-length-unit/gct-form-length-unit.mjs +0 -43
  698. package/es/editor/gct-form-length-unit/gct-form-length-unit.provider.d.ts +0 -13
  699. package/es/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +0 -6
  700. package/es/editor/gct-form-length-unit/index.mjs +0 -12
  701. package/es/editor/gct-form-modal-select/gct-form-modal-select.d.ts +0 -45
  702. package/es/editor/gct-form-modal-select/gct-form-modal-select.mjs +0 -99
  703. package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.d.ts +0 -13
  704. package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.mjs +0 -6
  705. package/es/editor/gct-form-modal-select/gct-form-modal-select.scss +0 -7
  706. package/es/editor/gct-form-modal-select/index.mjs +0 -12
  707. package/es/editor/gct-form-number/gct-form-number.d.ts +0 -28
  708. package/es/editor/gct-form-number/gct-form-number.mjs +0 -44
  709. package/es/editor/gct-form-number/gct-form-number.provider.d.ts +0 -4
  710. package/es/editor/gct-form-number/gct-form-number.provider.mjs +0 -6
  711. package/es/editor/gct-form-number/gct-form-number.scss +0 -3
  712. package/es/editor/gct-form-number/index.d.ts +0 -7
  713. package/es/editor/gct-form-number/index.mjs +0 -17
  714. package/es/editor/gct-form-picker/gct-form-picker.d.ts +0 -39
  715. package/es/editor/gct-form-picker/gct-form-picker.mjs +0 -92
  716. package/es/editor/gct-form-picker/gct-form-picker.provider.d.ts +0 -13
  717. package/es/editor/gct-form-picker/gct-form-picker.provider.mjs +0 -6
  718. package/es/editor/gct-form-picker/index.mjs +0 -12
  719. package/es/editor/gct-form-radio/gct-form-radio.d.ts +0 -37
  720. package/es/editor/gct-form-radio/gct-form-radio.mjs +0 -70
  721. package/es/editor/gct-form-radio/gct-form-radio.scss +0 -68
  722. package/es/editor/gct-form-radio/index.d.ts +0 -11
  723. package/es/editor/gct-form-radio/index.mjs +0 -19
  724. package/es/editor/gct-form-select/gct-form-select.d.ts +0 -38
  725. package/es/editor/gct-form-select/gct-form-select.mjs +0 -50
  726. package/es/editor/gct-form-select/gct-form-select.provider.d.ts +0 -13
  727. package/es/editor/gct-form-select/gct-form-select.provider.mjs +0 -6
  728. package/es/editor/gct-form-select/index.mjs +0 -12
  729. package/es/editor/gct-form-span/gct-form-span.d.ts +0 -43
  730. package/es/editor/gct-form-span/gct-form-span.mjs +0 -89
  731. package/es/editor/gct-form-span/gct-form-span.provider.d.ts +0 -13
  732. package/es/editor/gct-form-span/gct-form-span.provider.mjs +0 -6
  733. package/es/editor/gct-form-span/gct-form-span.scss +0 -10
  734. package/es/editor/gct-form-span/index.mjs +0 -12
  735. package/es/editor/gct-form-switch/gct-form-switch.d.ts +0 -26
  736. package/es/editor/gct-form-switch/gct-form-switch.mjs +0 -35
  737. package/es/editor/gct-form-switch/gct-form-switch.provider.d.ts +0 -13
  738. package/es/editor/gct-form-switch/gct-form-switch.provider.mjs +0 -6
  739. package/es/editor/gct-form-switch/index.d.ts +0 -7
  740. package/es/editor/gct-form-switch/index.mjs +0 -17
  741. package/es/editor/gct-form-text/gct-form-text.d.ts +0 -32
  742. package/es/editor/gct-form-text/gct-form-text.mjs +0 -45
  743. package/es/editor/gct-form-text/gct-form-text.provider.d.ts +0 -13
  744. package/es/editor/gct-form-text/gct-form-text.provider.mjs +0 -6
  745. package/es/editor/gct-form-text/index.d.ts +0 -7
  746. package/es/editor/gct-form-text/index.mjs +0 -17
  747. package/es/editor/gct-form-textarea/gct-form-textarea.d.ts +0 -28
  748. package/es/editor/gct-form-textarea/gct-form-textarea.mjs +0 -40
  749. package/es/editor/gct-form-textarea/gct-form-textarea.provider.d.ts +0 -4
  750. package/es/editor/gct-form-textarea/gct-form-textarea.provider.mjs +0 -6
  751. package/es/editor/gct-form-textarea/index.mjs +0 -12
  752. package/es/editor/index.mjs +0 -51
  753. package/es/node_modules/.pnpm/@aesoper_normal-utils@0.1.5/node_modules/@aesoper/normal-utils/NormalUtils.es.mjs +0 -3
  754. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/_virtual/_rollupPluginBabelHelpers.mjs +0 -142
  755. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/config/index.mjs +0 -7
  756. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/index.mjs +0 -1
  757. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/loader/index.mjs +0 -188
  758. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/compose.mjs +0 -13
  759. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/curry.mjs +0 -19
  760. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/deepMerge.mjs +0 -14
  761. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/isObject.mjs +0 -5
  762. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/makeCancelable.mjs +0 -20
  763. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/validators/index.mjs +0 -49
  764. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/createPopper.mjs +0 -200
  765. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.mjs +0 -26
  766. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.mjs +0 -44
  767. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.mjs +0 -72
  768. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.mjs +0 -60
  769. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.mjs +0 -7
  770. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.mjs +0 -9
  771. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.mjs +0 -32
  772. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.mjs +0 -8
  773. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.mjs +0 -28
  774. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.mjs +0 -5
  775. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.mjs +0 -14
  776. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.mjs +0 -71
  777. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.mjs +0 -22
  778. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.mjs +0 -19
  779. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.mjs +0 -34
  780. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.mjs +0 -14
  781. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.mjs +0 -13
  782. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.mjs +0 -16
  783. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.mjs +0 -23
  784. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.mjs +0 -7
  785. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.mjs +0 -13
  786. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.mjs +0 -7
  787. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.mjs +0 -29
  788. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/enums.mjs +0 -33
  789. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/index.mjs +0 -5
  790. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.mjs +0 -87
  791. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.mjs +0 -92
  792. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.mjs +0 -171
  793. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.mjs +0 -51
  794. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.mjs +0 -149
  795. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.mjs +0 -63
  796. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/index.mjs +0 -9
  797. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.mjs +0 -56
  798. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.mjs +0 -27
  799. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.mjs +0 -144
  800. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/popper-lite.mjs +0 -12
  801. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/popper.mjs +0 -19
  802. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.mjs +0 -46
  803. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.mjs +0 -73
  804. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.mjs +0 -17
  805. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.mjs +0 -67
  806. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.mjs +0 -8
  807. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.mjs +0 -5
  808. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.mjs +0 -7
  809. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.mjs +0 -10
  810. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.mjs +0 -5
  811. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositePlacement.mjs +0 -13
  812. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.mjs +0 -11
  813. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.mjs +0 -5
  814. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/math.mjs +0 -5
  815. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.mjs +0 -16
  816. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.mjs +0 -7
  817. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.mjs +0 -46
  818. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.mjs +0 -10
  819. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.mjs +0 -13
  820. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/within.mjs +0 -11
  821. package/es/node_modules/.pnpm/@vueuse_core@13.7.0_vue@3.5.18_typescript@5.9.2_/node_modules/@vueuse/core/index.mjs +0 -8285
  822. package/es/node_modules/.pnpm/@vueuse_shared@13.7.0_vue@3.5.18_typescript@5.9.2_/node_modules/@vueuse/shared/index.mjs +0 -1641
  823. package/es/node_modules/.pnpm/gradient-parser@1.0.2/node_modules/gradient-parser/build/node.mjs +0 -528
  824. package/es/node_modules/.pnpm/state-local@1.0.7/node_modules/state-local/lib/es/state-local.mjs +0 -193
  825. package/es/node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/esm/tinycolor.mjs +0 -1180
  826. package/es/node_modules/.pnpm/vue-types@3.0.2_vue@3.5.18_typescript@5.9.2_/node_modules/vue-types/dist/vue-types.m.mjs +0 -3
  827. package/es/node_modules/.pnpm/vue3-colorpicker@2.3.0_@aesoper_normal-utils@0.1.5_@popperjs_core@2.11.8_@vueuse_core@1_c6850a6c65df63e96440af393dfce213/node_modules/vue3-colorpicker/index.es.mjs +0 -1815
  828. package/es/utils/index.mjs +0 -3
  829. package/es/vite-env.d.ts +0 -1
  830. package/es/widgets/gct-edit-form/gct-edit-form.d.ts +0 -62
  831. package/es/widgets/gct-edit-form/gct-edit-form.mjs +0 -126
  832. package/es/widgets/gct-edit-form/index.mjs +0 -10
  833. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.d.ts +0 -31
  834. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +0 -73
  835. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.d.ts +0 -5
  836. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +0 -11
  837. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.scss +0 -62
  838. package/es/widgets/gct-form/gct-form-collapse/index.mjs +0 -15
  839. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.d.ts +0 -29
  840. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +0 -71
  841. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.d.ts +0 -5
  842. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +0 -13
  843. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.scss +0 -23
  844. package/es/widgets/gct-form/gct-form-collapse-pane/index.mjs +0 -15
  845. package/es/widgets/gct-form/gct-form-group/gct-form-group.d.ts +0 -30
  846. package/es/widgets/gct-form/gct-form-group/gct-form-group.mjs +0 -88
  847. package/es/widgets/gct-form/gct-form-group/gct-form-group.provider.d.ts +0 -5
  848. package/es/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +0 -11
  849. package/es/widgets/gct-form/gct-form-group/gct-form-group.scss +0 -28
  850. package/es/widgets/gct-form/gct-form-group/index.mjs +0 -15
  851. package/es/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.d.ts +0 -5
  852. package/es/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +0 -13
  853. package/es/widgets/gct-form/gct-form-item/gct-form-item.d.ts +0 -35
  854. package/es/widgets/gct-form/gct-form-item/gct-form-item.mjs +0 -141
  855. package/es/widgets/gct-form/gct-form-item/gct-form-item.provider.d.ts +0 -5
  856. package/es/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +0 -11
  857. package/es/widgets/gct-form/gct-form-item/gct-form-item.scss +0 -115
  858. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.d.ts +0 -28
  859. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +0 -53
  860. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.provider.d.ts +0 -5
  861. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +0 -11
  862. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.scss +0 -63
  863. package/es/widgets/gct-form/gct-form-tab/index.d.ts +0 -5
  864. package/es/widgets/gct-form/gct-form-tab/index.mjs +0 -12
  865. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.d.ts +0 -29
  866. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +0 -65
  867. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.d.ts +0 -5
  868. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +0 -11
  869. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.scss +0 -16
  870. package/es/widgets/gct-form/gct-form-tab-pane/index.d.ts +0 -5
  871. package/es/widgets/gct-form/gct-form-tab-pane/index.mjs +0 -15
  872. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.d.ts +0 -30
  873. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +0 -71
  874. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.d.ts +0 -5
  875. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +0 -11
  876. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.scss +0 -25
  877. package/es/widgets/gct-form/gct-form-title-group/index.d.ts +0 -5
  878. package/es/widgets/gct-form/gct-form-title-group/index.mjs +0 -16
  879. package/es/widgets/gct-form/gct-form.d.ts +0 -31
  880. package/es/widgets/gct-form/gct-form.mjs +0 -110
  881. package/es/widgets/gct-form/gct-form.scss +0 -11
  882. package/es/widgets/gct-form/index.d.ts +0 -5
  883. package/es/widgets/gct-form/index.mjs +0 -31
  884. /package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/index.d.ts +0 -0
  885. /package/es/{editor/gct-form-field-select → modules/gct-form/editor/gct-form-color}/index.d.ts +0 -0
  886. /package/es/{editor/gct-form-i18n → modules/gct-form/editor/gct-form-date}/index.d.ts +0 -0
  887. /package/es/{editor/gct-form-length-unit → modules/gct-form/editor/gct-form-i18n}/index.d.ts +0 -0
  888. /package/es/{editor/gct-form-modal-select → modules/gct-form/editor/gct-form-length-unit}/index.d.ts +0 -0
  889. /package/es/{editor/gct-form-picker → modules/gct-form/editor/gct-form-number}/index.d.ts +0 -0
  890. /package/es/{editor/gct-form-select → modules/gct-form/editor/gct-form-picker}/index.d.ts +0 -0
  891. /package/es/{editor/gct-form-span → modules/gct-form/editor/gct-form-select}/index.d.ts +0 -0
  892. /package/es/{editor/gct-form-textarea → modules/gct-form/editor/gct-form-span}/index.d.ts +0 -0
  893. /package/es/{editor → modules/gct-form/editor}/index.d.ts +0 -0
  894. /package/es/{widgets → modules/gct-form/widgets}/gct-edit-form/index.d.ts +0 -0
  895. /package/es/{widgets/gct-form/gct-form-collapse-pane → modules/gct-table/editor}/index.d.ts +0 -0
  896. /package/es/{widgets/gct-form/gct-form-collapse → modules/gct-table/widgets/gct-table}/index.d.ts +0 -0
  897. /package/es/{widgets/gct-form/gct-form-group → modules/gct-table/widgets}/index.d.ts +0 -0
@@ -1,1180 +0,0 @@
1
- // This file is autogenerated. It's used to publish ESM to npm.
2
- function _typeof(obj) {
3
- "@babel/helpers - typeof";
4
-
5
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
6
- return typeof obj;
7
- } : function (obj) {
8
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
9
- }, _typeof(obj);
10
- }
11
-
12
- // https://github.com/bgrins/TinyColor
13
- // Brian Grinstead, MIT License
14
-
15
- var trimLeft = /^\s+/;
16
- var trimRight = /\s+$/;
17
- function tinycolor(color, opts) {
18
- color = color ? color : "";
19
- opts = opts || {};
20
-
21
- // If input is already a tinycolor, return itself
22
- if (color instanceof tinycolor) {
23
- return color;
24
- }
25
- // If we are called as a function, call using new instead
26
- if (!(this instanceof tinycolor)) {
27
- return new tinycolor(color, opts);
28
- }
29
- var rgb = inputToRGB(color);
30
- this._originalInput = color, this._r = rgb.r, this._g = rgb.g, this._b = rgb.b, this._a = rgb.a, this._roundA = Math.round(100 * this._a) / 100, this._format = opts.format || rgb.format;
31
- this._gradientType = opts.gradientType;
32
-
33
- // Don't let the range of [0,255] come back in [0,1].
34
- // Potentially lose a little bit of precision here, but will fix issues where
35
- // .5 gets interpreted as half of the total, instead of half of 1
36
- // If it was supposed to be 128, this was already taken care of by `inputToRgb`
37
- if (this._r < 1) this._r = Math.round(this._r);
38
- if (this._g < 1) this._g = Math.round(this._g);
39
- if (this._b < 1) this._b = Math.round(this._b);
40
- this._ok = rgb.ok;
41
- }
42
- tinycolor.prototype = {
43
- isDark: function isDark() {
44
- return this.getBrightness() < 128;
45
- },
46
- isLight: function isLight() {
47
- return !this.isDark();
48
- },
49
- isValid: function isValid() {
50
- return this._ok;
51
- },
52
- getOriginalInput: function getOriginalInput() {
53
- return this._originalInput;
54
- },
55
- getFormat: function getFormat() {
56
- return this._format;
57
- },
58
- getAlpha: function getAlpha() {
59
- return this._a;
60
- },
61
- getBrightness: function getBrightness() {
62
- //http://www.w3.org/TR/AERT#color-contrast
63
- var rgb = this.toRgb();
64
- return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
65
- },
66
- getLuminance: function getLuminance() {
67
- //http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
68
- var rgb = this.toRgb();
69
- var RsRGB, GsRGB, BsRGB, R, G, B;
70
- RsRGB = rgb.r / 255;
71
- GsRGB = rgb.g / 255;
72
- BsRGB = rgb.b / 255;
73
- if (RsRGB <= 0.03928) R = RsRGB / 12.92;else R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);
74
- if (GsRGB <= 0.03928) G = GsRGB / 12.92;else G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);
75
- if (BsRGB <= 0.03928) B = BsRGB / 12.92;else B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);
76
- return 0.2126 * R + 0.7152 * G + 0.0722 * B;
77
- },
78
- setAlpha: function setAlpha(value) {
79
- this._a = boundAlpha(value);
80
- this._roundA = Math.round(100 * this._a) / 100;
81
- return this;
82
- },
83
- toHsv: function toHsv() {
84
- var hsv = rgbToHsv(this._r, this._g, this._b);
85
- return {
86
- h: hsv.h * 360,
87
- s: hsv.s,
88
- v: hsv.v,
89
- a: this._a
90
- };
91
- },
92
- toHsvString: function toHsvString() {
93
- var hsv = rgbToHsv(this._r, this._g, this._b);
94
- var h = Math.round(hsv.h * 360),
95
- s = Math.round(hsv.s * 100),
96
- v = Math.round(hsv.v * 100);
97
- return this._a == 1 ? "hsv(" + h + ", " + s + "%, " + v + "%)" : "hsva(" + h + ", " + s + "%, " + v + "%, " + this._roundA + ")";
98
- },
99
- toHsl: function toHsl() {
100
- var hsl = rgbToHsl(this._r, this._g, this._b);
101
- return {
102
- h: hsl.h * 360,
103
- s: hsl.s,
104
- l: hsl.l,
105
- a: this._a
106
- };
107
- },
108
- toHslString: function toHslString() {
109
- var hsl = rgbToHsl(this._r, this._g, this._b);
110
- var h = Math.round(hsl.h * 360),
111
- s = Math.round(hsl.s * 100),
112
- l = Math.round(hsl.l * 100);
113
- return this._a == 1 ? "hsl(" + h + ", " + s + "%, " + l + "%)" : "hsla(" + h + ", " + s + "%, " + l + "%, " + this._roundA + ")";
114
- },
115
- toHex: function toHex(allow3Char) {
116
- return rgbToHex(this._r, this._g, this._b, allow3Char);
117
- },
118
- toHexString: function toHexString(allow3Char) {
119
- return "#" + this.toHex(allow3Char);
120
- },
121
- toHex8: function toHex8(allow4Char) {
122
- return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
123
- },
124
- toHex8String: function toHex8String(allow4Char) {
125
- return "#" + this.toHex8(allow4Char);
126
- },
127
- toRgb: function toRgb() {
128
- return {
129
- r: Math.round(this._r),
130
- g: Math.round(this._g),
131
- b: Math.round(this._b),
132
- a: this._a
133
- };
134
- },
135
- toRgbString: function toRgbString() {
136
- return this._a == 1 ? "rgb(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ")" : "rgba(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ", " + this._roundA + ")";
137
- },
138
- toPercentageRgb: function toPercentageRgb() {
139
- return {
140
- r: Math.round(bound01(this._r, 255) * 100) + "%",
141
- g: Math.round(bound01(this._g, 255) * 100) + "%",
142
- b: Math.round(bound01(this._b, 255) * 100) + "%",
143
- a: this._a
144
- };
145
- },
146
- toPercentageRgbString: function toPercentageRgbString() {
147
- return this._a == 1 ? "rgb(" + Math.round(bound01(this._r, 255) * 100) + "%, " + Math.round(bound01(this._g, 255) * 100) + "%, " + Math.round(bound01(this._b, 255) * 100) + "%)" : "rgba(" + Math.round(bound01(this._r, 255) * 100) + "%, " + Math.round(bound01(this._g, 255) * 100) + "%, " + Math.round(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")";
148
- },
149
- toName: function toName() {
150
- if (this._a === 0) {
151
- return "transparent";
152
- }
153
- if (this._a < 1) {
154
- return false;
155
- }
156
- return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
157
- },
158
- toFilter: function toFilter(secondColor) {
159
- var hex8String = "#" + rgbaToArgbHex(this._r, this._g, this._b, this._a);
160
- var secondHex8String = hex8String;
161
- var gradientType = this._gradientType ? "GradientType = 1, " : "";
162
- if (secondColor) {
163
- var s = tinycolor(secondColor);
164
- secondHex8String = "#" + rgbaToArgbHex(s._r, s._g, s._b, s._a);
165
- }
166
- return "progid:DXImageTransform.Microsoft.gradient(" + gradientType + "startColorstr=" + hex8String + ",endColorstr=" + secondHex8String + ")";
167
- },
168
- toString: function toString(format) {
169
- var formatSet = !!format;
170
- format = format || this._format;
171
- var formattedString = false;
172
- var hasAlpha = this._a < 1 && this._a >= 0;
173
- var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "hex4" || format === "hex8" || format === "name");
174
- if (needsAlphaFormat) {
175
- // Special case for "transparent", all other non-alpha formats
176
- // will return rgba when there is transparency.
177
- if (format === "name" && this._a === 0) {
178
- return this.toName();
179
- }
180
- return this.toRgbString();
181
- }
182
- if (format === "rgb") {
183
- formattedString = this.toRgbString();
184
- }
185
- if (format === "prgb") {
186
- formattedString = this.toPercentageRgbString();
187
- }
188
- if (format === "hex" || format === "hex6") {
189
- formattedString = this.toHexString();
190
- }
191
- if (format === "hex3") {
192
- formattedString = this.toHexString(true);
193
- }
194
- if (format === "hex4") {
195
- formattedString = this.toHex8String(true);
196
- }
197
- if (format === "hex8") {
198
- formattedString = this.toHex8String();
199
- }
200
- if (format === "name") {
201
- formattedString = this.toName();
202
- }
203
- if (format === "hsl") {
204
- formattedString = this.toHslString();
205
- }
206
- if (format === "hsv") {
207
- formattedString = this.toHsvString();
208
- }
209
- return formattedString || this.toHexString();
210
- },
211
- clone: function clone() {
212
- return tinycolor(this.toString());
213
- },
214
- _applyModification: function _applyModification(fn, args) {
215
- var color = fn.apply(null, [this].concat([].slice.call(args)));
216
- this._r = color._r;
217
- this._g = color._g;
218
- this._b = color._b;
219
- this.setAlpha(color._a);
220
- return this;
221
- },
222
- lighten: function lighten() {
223
- return this._applyModification(_lighten, arguments);
224
- },
225
- brighten: function brighten() {
226
- return this._applyModification(_brighten, arguments);
227
- },
228
- darken: function darken() {
229
- return this._applyModification(_darken, arguments);
230
- },
231
- desaturate: function desaturate() {
232
- return this._applyModification(_desaturate, arguments);
233
- },
234
- saturate: function saturate() {
235
- return this._applyModification(_saturate, arguments);
236
- },
237
- greyscale: function greyscale() {
238
- return this._applyModification(_greyscale, arguments);
239
- },
240
- spin: function spin() {
241
- return this._applyModification(_spin, arguments);
242
- },
243
- _applyCombination: function _applyCombination(fn, args) {
244
- return fn.apply(null, [this].concat([].slice.call(args)));
245
- },
246
- analogous: function analogous() {
247
- return this._applyCombination(_analogous, arguments);
248
- },
249
- complement: function complement() {
250
- return this._applyCombination(_complement, arguments);
251
- },
252
- monochromatic: function monochromatic() {
253
- return this._applyCombination(_monochromatic, arguments);
254
- },
255
- splitcomplement: function splitcomplement() {
256
- return this._applyCombination(_splitcomplement, arguments);
257
- },
258
- // Disabled until https://github.com/bgrins/TinyColor/issues/254
259
- // polyad: function (number) {
260
- // return this._applyCombination(polyad, [number]);
261
- // },
262
- triad: function triad() {
263
- return this._applyCombination(polyad, [3]);
264
- },
265
- tetrad: function tetrad() {
266
- return this._applyCombination(polyad, [4]);
267
- }
268
- };
269
-
270
- // If input is an object, force 1 into "1.0" to handle ratios properly
271
- // String input requires "1.0" as input, so 1 will be treated as 1
272
- tinycolor.fromRatio = function (color, opts) {
273
- if (_typeof(color) == "object") {
274
- var newColor = {};
275
- for (var i in color) {
276
- if (color.hasOwnProperty(i)) {
277
- if (i === "a") {
278
- newColor[i] = color[i];
279
- } else {
280
- newColor[i] = convertToPercentage(color[i]);
281
- }
282
- }
283
- }
284
- color = newColor;
285
- }
286
- return tinycolor(color, opts);
287
- };
288
-
289
- // Given a string or object, convert that input to RGB
290
- // Possible string inputs:
291
- //
292
- // "red"
293
- // "#f00" or "f00"
294
- // "#ff0000" or "ff0000"
295
- // "#ff000000" or "ff000000"
296
- // "rgb 255 0 0" or "rgb (255, 0, 0)"
297
- // "rgb 1.0 0 0" or "rgb (1, 0, 0)"
298
- // "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
299
- // "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
300
- // "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
301
- // "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
302
- // "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
303
- //
304
- function inputToRGB(color) {
305
- var rgb = {
306
- r: 0,
307
- g: 0,
308
- b: 0
309
- };
310
- var a = 1;
311
- var s = null;
312
- var v = null;
313
- var l = null;
314
- var ok = false;
315
- var format = false;
316
- if (typeof color == "string") {
317
- color = stringInputToObject(color);
318
- }
319
- if (_typeof(color) == "object") {
320
- if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
321
- rgb = rgbToRgb(color.r, color.g, color.b);
322
- ok = true;
323
- format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
324
- } else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
325
- s = convertToPercentage(color.s);
326
- v = convertToPercentage(color.v);
327
- rgb = hsvToRgb(color.h, s, v);
328
- ok = true;
329
- format = "hsv";
330
- } else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
331
- s = convertToPercentage(color.s);
332
- l = convertToPercentage(color.l);
333
- rgb = hslToRgb(color.h, s, l);
334
- ok = true;
335
- format = "hsl";
336
- }
337
- if (color.hasOwnProperty("a")) {
338
- a = color.a;
339
- }
340
- }
341
- a = boundAlpha(a);
342
- return {
343
- ok: ok,
344
- format: color.format || format,
345
- r: Math.min(255, Math.max(rgb.r, 0)),
346
- g: Math.min(255, Math.max(rgb.g, 0)),
347
- b: Math.min(255, Math.max(rgb.b, 0)),
348
- a: a
349
- };
350
- }
351
-
352
- // Conversion Functions
353
- // --------------------
354
-
355
- // `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
356
- // <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
357
-
358
- // `rgbToRgb`
359
- // Handle bounds / percentage checking to conform to CSS color spec
360
- // <http://www.w3.org/TR/css3-color/>
361
- // *Assumes:* r, g, b in [0, 255] or [0, 1]
362
- // *Returns:* { r, g, b } in [0, 255]
363
- function rgbToRgb(r, g, b) {
364
- return {
365
- r: bound01(r, 255) * 255,
366
- g: bound01(g, 255) * 255,
367
- b: bound01(b, 255) * 255
368
- };
369
- }
370
-
371
- // `rgbToHsl`
372
- // Converts an RGB color value to HSL.
373
- // *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
374
- // *Returns:* { h, s, l } in [0,1]
375
- function rgbToHsl(r, g, b) {
376
- r = bound01(r, 255);
377
- g = bound01(g, 255);
378
- b = bound01(b, 255);
379
- var max = Math.max(r, g, b),
380
- min = Math.min(r, g, b);
381
- var h,
382
- s,
383
- l = (max + min) / 2;
384
- if (max == min) {
385
- h = s = 0; // achromatic
386
- } else {
387
- var d = max - min;
388
- s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
389
- switch (max) {
390
- case r:
391
- h = (g - b) / d + (g < b ? 6 : 0);
392
- break;
393
- case g:
394
- h = (b - r) / d + 2;
395
- break;
396
- case b:
397
- h = (r - g) / d + 4;
398
- break;
399
- }
400
- h /= 6;
401
- }
402
- return {
403
- h: h,
404
- s: s,
405
- l: l
406
- };
407
- }
408
-
409
- // `hslToRgb`
410
- // Converts an HSL color value to RGB.
411
- // *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
412
- // *Returns:* { r, g, b } in the set [0, 255]
413
- function hslToRgb(h, s, l) {
414
- var r, g, b;
415
- h = bound01(h, 360);
416
- s = bound01(s, 100);
417
- l = bound01(l, 100);
418
- function hue2rgb(p, q, t) {
419
- if (t < 0) t += 1;
420
- if (t > 1) t -= 1;
421
- if (t < 1 / 6) return p + (q - p) * 6 * t;
422
- if (t < 1 / 2) return q;
423
- if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
424
- return p;
425
- }
426
- if (s === 0) {
427
- r = g = b = l; // achromatic
428
- } else {
429
- var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
430
- var p = 2 * l - q;
431
- r = hue2rgb(p, q, h + 1 / 3);
432
- g = hue2rgb(p, q, h);
433
- b = hue2rgb(p, q, h - 1 / 3);
434
- }
435
- return {
436
- r: r * 255,
437
- g: g * 255,
438
- b: b * 255
439
- };
440
- }
441
-
442
- // `rgbToHsv`
443
- // Converts an RGB color value to HSV
444
- // *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
445
- // *Returns:* { h, s, v } in [0,1]
446
- function rgbToHsv(r, g, b) {
447
- r = bound01(r, 255);
448
- g = bound01(g, 255);
449
- b = bound01(b, 255);
450
- var max = Math.max(r, g, b),
451
- min = Math.min(r, g, b);
452
- var h,
453
- s,
454
- v = max;
455
- var d = max - min;
456
- s = max === 0 ? 0 : d / max;
457
- if (max == min) {
458
- h = 0; // achromatic
459
- } else {
460
- switch (max) {
461
- case r:
462
- h = (g - b) / d + (g < b ? 6 : 0);
463
- break;
464
- case g:
465
- h = (b - r) / d + 2;
466
- break;
467
- case b:
468
- h = (r - g) / d + 4;
469
- break;
470
- }
471
- h /= 6;
472
- }
473
- return {
474
- h: h,
475
- s: s,
476
- v: v
477
- };
478
- }
479
-
480
- // `hsvToRgb`
481
- // Converts an HSV color value to RGB.
482
- // *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
483
- // *Returns:* { r, g, b } in the set [0, 255]
484
- function hsvToRgb(h, s, v) {
485
- h = bound01(h, 360) * 6;
486
- s = bound01(s, 100);
487
- v = bound01(v, 100);
488
- var i = Math.floor(h),
489
- f = h - i,
490
- p = v * (1 - s),
491
- q = v * (1 - f * s),
492
- t = v * (1 - (1 - f) * s),
493
- mod = i % 6,
494
- r = [v, q, p, p, t, v][mod],
495
- g = [t, v, v, q, p, p][mod],
496
- b = [p, p, t, v, v, q][mod];
497
- return {
498
- r: r * 255,
499
- g: g * 255,
500
- b: b * 255
501
- };
502
- }
503
-
504
- // `rgbToHex`
505
- // Converts an RGB color to hex
506
- // Assumes r, g, and b are contained in the set [0, 255]
507
- // Returns a 3 or 6 character hex
508
- function rgbToHex(r, g, b, allow3Char) {
509
- var hex = [pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16))];
510
-
511
- // Return a 3 character hex if possible
512
- if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
513
- return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
514
- }
515
- return hex.join("");
516
- }
517
-
518
- // `rgbaToHex`
519
- // Converts an RGBA color plus alpha transparency to hex
520
- // Assumes r, g, b are contained in the set [0, 255] and
521
- // a in [0, 1]. Returns a 4 or 8 character rgba hex
522
- function rgbaToHex(r, g, b, a, allow4Char) {
523
- var hex = [pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16)), pad2(convertDecimalToHex(a))];
524
-
525
- // Return a 4 character hex if possible
526
- if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) {
527
- return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
528
- }
529
- return hex.join("");
530
- }
531
-
532
- // `rgbaToArgbHex`
533
- // Converts an RGBA color to an ARGB Hex8 string
534
- // Rarely used, but required for "toFilter()"
535
- function rgbaToArgbHex(r, g, b, a) {
536
- var hex = [pad2(convertDecimalToHex(a)), pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16))];
537
- return hex.join("");
538
- }
539
-
540
- // `equals`
541
- // Can be called with any tinycolor input
542
- tinycolor.equals = function (color1, color2) {
543
- if (!color1 || !color2) return false;
544
- return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
545
- };
546
- tinycolor.random = function () {
547
- return tinycolor.fromRatio({
548
- r: Math.random(),
549
- g: Math.random(),
550
- b: Math.random()
551
- });
552
- };
553
-
554
- // Modification Functions
555
- // ----------------------
556
- // Thanks to less.js for some of the basics here
557
- // <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
558
-
559
- function _desaturate(color, amount) {
560
- amount = amount === 0 ? 0 : amount || 10;
561
- var hsl = tinycolor(color).toHsl();
562
- hsl.s -= amount / 100;
563
- hsl.s = clamp01(hsl.s);
564
- return tinycolor(hsl);
565
- }
566
- function _saturate(color, amount) {
567
- amount = amount === 0 ? 0 : amount || 10;
568
- var hsl = tinycolor(color).toHsl();
569
- hsl.s += amount / 100;
570
- hsl.s = clamp01(hsl.s);
571
- return tinycolor(hsl);
572
- }
573
- function _greyscale(color) {
574
- return tinycolor(color).desaturate(100);
575
- }
576
- function _lighten(color, amount) {
577
- amount = amount === 0 ? 0 : amount || 10;
578
- var hsl = tinycolor(color).toHsl();
579
- hsl.l += amount / 100;
580
- hsl.l = clamp01(hsl.l);
581
- return tinycolor(hsl);
582
- }
583
- function _brighten(color, amount) {
584
- amount = amount === 0 ? 0 : amount || 10;
585
- var rgb = tinycolor(color).toRgb();
586
- rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));
587
- rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));
588
- rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));
589
- return tinycolor(rgb);
590
- }
591
- function _darken(color, amount) {
592
- amount = amount === 0 ? 0 : amount || 10;
593
- var hsl = tinycolor(color).toHsl();
594
- hsl.l -= amount / 100;
595
- hsl.l = clamp01(hsl.l);
596
- return tinycolor(hsl);
597
- }
598
-
599
- // Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
600
- // Values outside of this range will be wrapped into this range.
601
- function _spin(color, amount) {
602
- var hsl = tinycolor(color).toHsl();
603
- var hue = (hsl.h + amount) % 360;
604
- hsl.h = hue < 0 ? 360 + hue : hue;
605
- return tinycolor(hsl);
606
- }
607
-
608
- // Combination Functions
609
- // ---------------------
610
- // Thanks to jQuery xColor for some of the ideas behind these
611
- // <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
612
-
613
- function _complement(color) {
614
- var hsl = tinycolor(color).toHsl();
615
- hsl.h = (hsl.h + 180) % 360;
616
- return tinycolor(hsl);
617
- }
618
- function polyad(color, number) {
619
- if (isNaN(number) || number <= 0) {
620
- throw new Error("Argument to polyad must be a positive number");
621
- }
622
- var hsl = tinycolor(color).toHsl();
623
- var result = [tinycolor(color)];
624
- var step = 360 / number;
625
- for (var i = 1; i < number; i++) {
626
- result.push(tinycolor({
627
- h: (hsl.h + i * step) % 360,
628
- s: hsl.s,
629
- l: hsl.l
630
- }));
631
- }
632
- return result;
633
- }
634
- function _splitcomplement(color) {
635
- var hsl = tinycolor(color).toHsl();
636
- var h = hsl.h;
637
- return [tinycolor(color), tinycolor({
638
- h: (h + 72) % 360,
639
- s: hsl.s,
640
- l: hsl.l
641
- }), tinycolor({
642
- h: (h + 216) % 360,
643
- s: hsl.s,
644
- l: hsl.l
645
- })];
646
- }
647
- function _analogous(color, results, slices) {
648
- results = results || 6;
649
- slices = slices || 30;
650
- var hsl = tinycolor(color).toHsl();
651
- var part = 360 / slices;
652
- var ret = [tinycolor(color)];
653
- for (hsl.h = (hsl.h - (part * results >> 1) + 720) % 360; --results;) {
654
- hsl.h = (hsl.h + part) % 360;
655
- ret.push(tinycolor(hsl));
656
- }
657
- return ret;
658
- }
659
- function _monochromatic(color, results) {
660
- results = results || 6;
661
- var hsv = tinycolor(color).toHsv();
662
- var h = hsv.h,
663
- s = hsv.s,
664
- v = hsv.v;
665
- var ret = [];
666
- var modification = 1 / results;
667
- while (results--) {
668
- ret.push(tinycolor({
669
- h: h,
670
- s: s,
671
- v: v
672
- }));
673
- v = (v + modification) % 1;
674
- }
675
- return ret;
676
- }
677
-
678
- // Utility Functions
679
- // ---------------------
680
-
681
- tinycolor.mix = function (color1, color2, amount) {
682
- amount = amount === 0 ? 0 : amount || 50;
683
- var rgb1 = tinycolor(color1).toRgb();
684
- var rgb2 = tinycolor(color2).toRgb();
685
- var p = amount / 100;
686
- var rgba = {
687
- r: (rgb2.r - rgb1.r) * p + rgb1.r,
688
- g: (rgb2.g - rgb1.g) * p + rgb1.g,
689
- b: (rgb2.b - rgb1.b) * p + rgb1.b,
690
- a: (rgb2.a - rgb1.a) * p + rgb1.a
691
- };
692
- return tinycolor(rgba);
693
- };
694
-
695
- // Readability Functions
696
- // ---------------------
697
- // <http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef (WCAG Version 2)
698
-
699
- // `contrast`
700
- // Analyze the 2 colors and returns the color contrast defined by (WCAG Version 2)
701
- tinycolor.readability = function (color1, color2) {
702
- var c1 = tinycolor(color1);
703
- var c2 = tinycolor(color2);
704
- return (Math.max(c1.getLuminance(), c2.getLuminance()) + 0.05) / (Math.min(c1.getLuminance(), c2.getLuminance()) + 0.05);
705
- };
706
-
707
- // `isReadable`
708
- // Ensure that foreground and background color combinations meet WCAG2 guidelines.
709
- // The third argument is an optional Object.
710
- // the 'level' property states 'AA' or 'AAA' - if missing or invalid, it defaults to 'AA';
711
- // the 'size' property states 'large' or 'small' - if missing or invalid, it defaults to 'small'.
712
- // If the entire object is absent, isReadable defaults to {level:"AA",size:"small"}.
713
-
714
- // *Example*
715
- // tinycolor.isReadable("#000", "#111") => false
716
- // tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false
717
- tinycolor.isReadable = function (color1, color2, wcag2) {
718
- var readability = tinycolor.readability(color1, color2);
719
- var wcag2Parms, out;
720
- out = false;
721
- wcag2Parms = validateWCAG2Parms(wcag2);
722
- switch (wcag2Parms.level + wcag2Parms.size) {
723
- case "AAsmall":
724
- case "AAAlarge":
725
- out = readability >= 4.5;
726
- break;
727
- case "AAlarge":
728
- out = readability >= 3;
729
- break;
730
- case "AAAsmall":
731
- out = readability >= 7;
732
- break;
733
- }
734
- return out;
735
- };
736
-
737
- // `mostReadable`
738
- // Given a base color and a list of possible foreground or background
739
- // colors for that base, returns the most readable color.
740
- // Optionally returns Black or White if the most readable color is unreadable.
741
- // *Example*
742
- // tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
743
- // tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff"
744
- // tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3"
745
- // tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff"
746
- tinycolor.mostReadable = function (baseColor, colorList, args) {
747
- var bestColor = null;
748
- var bestScore = 0;
749
- var readability;
750
- var includeFallbackColors, level, size;
751
- args = args || {};
752
- includeFallbackColors = args.includeFallbackColors;
753
- level = args.level;
754
- size = args.size;
755
- for (var i = 0; i < colorList.length; i++) {
756
- readability = tinycolor.readability(baseColor, colorList[i]);
757
- if (readability > bestScore) {
758
- bestScore = readability;
759
- bestColor = tinycolor(colorList[i]);
760
- }
761
- }
762
- if (tinycolor.isReadable(baseColor, bestColor, {
763
- level: level,
764
- size: size
765
- }) || !includeFallbackColors) {
766
- return bestColor;
767
- } else {
768
- args.includeFallbackColors = false;
769
- return tinycolor.mostReadable(baseColor, ["#fff", "#000"], args);
770
- }
771
- };
772
-
773
- // Big List of Colors
774
- // ------------------
775
- // <https://www.w3.org/TR/css-color-4/#named-colors>
776
- var names = tinycolor.names = {
777
- aliceblue: "f0f8ff",
778
- antiquewhite: "faebd7",
779
- aqua: "0ff",
780
- aquamarine: "7fffd4",
781
- azure: "f0ffff",
782
- beige: "f5f5dc",
783
- bisque: "ffe4c4",
784
- black: "000",
785
- blanchedalmond: "ffebcd",
786
- blue: "00f",
787
- blueviolet: "8a2be2",
788
- brown: "a52a2a",
789
- burlywood: "deb887",
790
- burntsienna: "ea7e5d",
791
- cadetblue: "5f9ea0",
792
- chartreuse: "7fff00",
793
- chocolate: "d2691e",
794
- coral: "ff7f50",
795
- cornflowerblue: "6495ed",
796
- cornsilk: "fff8dc",
797
- crimson: "dc143c",
798
- cyan: "0ff",
799
- darkblue: "00008b",
800
- darkcyan: "008b8b",
801
- darkgoldenrod: "b8860b",
802
- darkgray: "a9a9a9",
803
- darkgreen: "006400",
804
- darkgrey: "a9a9a9",
805
- darkkhaki: "bdb76b",
806
- darkmagenta: "8b008b",
807
- darkolivegreen: "556b2f",
808
- darkorange: "ff8c00",
809
- darkorchid: "9932cc",
810
- darkred: "8b0000",
811
- darksalmon: "e9967a",
812
- darkseagreen: "8fbc8f",
813
- darkslateblue: "483d8b",
814
- darkslategray: "2f4f4f",
815
- darkslategrey: "2f4f4f",
816
- darkturquoise: "00ced1",
817
- darkviolet: "9400d3",
818
- deeppink: "ff1493",
819
- deepskyblue: "00bfff",
820
- dimgray: "696969",
821
- dimgrey: "696969",
822
- dodgerblue: "1e90ff",
823
- firebrick: "b22222",
824
- floralwhite: "fffaf0",
825
- forestgreen: "228b22",
826
- fuchsia: "f0f",
827
- gainsboro: "dcdcdc",
828
- ghostwhite: "f8f8ff",
829
- gold: "ffd700",
830
- goldenrod: "daa520",
831
- gray: "808080",
832
- green: "008000",
833
- greenyellow: "adff2f",
834
- grey: "808080",
835
- honeydew: "f0fff0",
836
- hotpink: "ff69b4",
837
- indianred: "cd5c5c",
838
- indigo: "4b0082",
839
- ivory: "fffff0",
840
- khaki: "f0e68c",
841
- lavender: "e6e6fa",
842
- lavenderblush: "fff0f5",
843
- lawngreen: "7cfc00",
844
- lemonchiffon: "fffacd",
845
- lightblue: "add8e6",
846
- lightcoral: "f08080",
847
- lightcyan: "e0ffff",
848
- lightgoldenrodyellow: "fafad2",
849
- lightgray: "d3d3d3",
850
- lightgreen: "90ee90",
851
- lightgrey: "d3d3d3",
852
- lightpink: "ffb6c1",
853
- lightsalmon: "ffa07a",
854
- lightseagreen: "20b2aa",
855
- lightskyblue: "87cefa",
856
- lightslategray: "789",
857
- lightslategrey: "789",
858
- lightsteelblue: "b0c4de",
859
- lightyellow: "ffffe0",
860
- lime: "0f0",
861
- limegreen: "32cd32",
862
- linen: "faf0e6",
863
- magenta: "f0f",
864
- maroon: "800000",
865
- mediumaquamarine: "66cdaa",
866
- mediumblue: "0000cd",
867
- mediumorchid: "ba55d3",
868
- mediumpurple: "9370db",
869
- mediumseagreen: "3cb371",
870
- mediumslateblue: "7b68ee",
871
- mediumspringgreen: "00fa9a",
872
- mediumturquoise: "48d1cc",
873
- mediumvioletred: "c71585",
874
- midnightblue: "191970",
875
- mintcream: "f5fffa",
876
- mistyrose: "ffe4e1",
877
- moccasin: "ffe4b5",
878
- navajowhite: "ffdead",
879
- navy: "000080",
880
- oldlace: "fdf5e6",
881
- olive: "808000",
882
- olivedrab: "6b8e23",
883
- orange: "ffa500",
884
- orangered: "ff4500",
885
- orchid: "da70d6",
886
- palegoldenrod: "eee8aa",
887
- palegreen: "98fb98",
888
- paleturquoise: "afeeee",
889
- palevioletred: "db7093",
890
- papayawhip: "ffefd5",
891
- peachpuff: "ffdab9",
892
- peru: "cd853f",
893
- pink: "ffc0cb",
894
- plum: "dda0dd",
895
- powderblue: "b0e0e6",
896
- purple: "800080",
897
- rebeccapurple: "663399",
898
- red: "f00",
899
- rosybrown: "bc8f8f",
900
- royalblue: "4169e1",
901
- saddlebrown: "8b4513",
902
- salmon: "fa8072",
903
- sandybrown: "f4a460",
904
- seagreen: "2e8b57",
905
- seashell: "fff5ee",
906
- sienna: "a0522d",
907
- silver: "c0c0c0",
908
- skyblue: "87ceeb",
909
- slateblue: "6a5acd",
910
- slategray: "708090",
911
- slategrey: "708090",
912
- snow: "fffafa",
913
- springgreen: "00ff7f",
914
- steelblue: "4682b4",
915
- tan: "d2b48c",
916
- teal: "008080",
917
- thistle: "d8bfd8",
918
- tomato: "ff6347",
919
- turquoise: "40e0d0",
920
- violet: "ee82ee",
921
- wheat: "f5deb3",
922
- white: "fff",
923
- whitesmoke: "f5f5f5",
924
- yellow: "ff0",
925
- yellowgreen: "9acd32"
926
- };
927
-
928
- // Make it easy to access colors via `hexNames[hex]`
929
- var hexNames = tinycolor.hexNames = flip(names);
930
-
931
- // Utilities
932
- // ---------
933
-
934
- // `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`
935
- function flip(o) {
936
- var flipped = {};
937
- for (var i in o) {
938
- if (o.hasOwnProperty(i)) {
939
- flipped[o[i]] = i;
940
- }
941
- }
942
- return flipped;
943
- }
944
-
945
- // Return a valid alpha value [0,1] with all invalid values being set to 1
946
- function boundAlpha(a) {
947
- a = parseFloat(a);
948
- if (isNaN(a) || a < 0 || a > 1) {
949
- a = 1;
950
- }
951
- return a;
952
- }
953
-
954
- // Take input from [0, n] and return it as [0, 1]
955
- function bound01(n, max) {
956
- if (isOnePointZero(n)) n = "100%";
957
- var processPercent = isPercentage(n);
958
- n = Math.min(max, Math.max(0, parseFloat(n)));
959
-
960
- // Automatically convert percentage into number
961
- if (processPercent) {
962
- n = parseInt(n * max, 10) / 100;
963
- }
964
-
965
- // Handle floating point rounding errors
966
- if (Math.abs(n - max) < 0.000001) {
967
- return 1;
968
- }
969
-
970
- // Convert into [0, 1] range if it isn't already
971
- return n % max / parseFloat(max);
972
- }
973
-
974
- // Force a number between 0 and 1
975
- function clamp01(val) {
976
- return Math.min(1, Math.max(0, val));
977
- }
978
-
979
- // Parse a base-16 hex value into a base-10 integer
980
- function parseIntFromHex(val) {
981
- return parseInt(val, 16);
982
- }
983
-
984
- // Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
985
- // <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
986
- function isOnePointZero(n) {
987
- return typeof n == "string" && n.indexOf(".") != -1 && parseFloat(n) === 1;
988
- }
989
-
990
- // Check to see if string passed in is a percentage
991
- function isPercentage(n) {
992
- return typeof n === "string" && n.indexOf("%") != -1;
993
- }
994
-
995
- // Force a hex value to have 2 characters
996
- function pad2(c) {
997
- return c.length == 1 ? "0" + c : "" + c;
998
- }
999
-
1000
- // Replace a decimal with it's percentage value
1001
- function convertToPercentage(n) {
1002
- if (n <= 1) {
1003
- n = n * 100 + "%";
1004
- }
1005
- return n;
1006
- }
1007
-
1008
- // Converts a decimal to a hex value
1009
- function convertDecimalToHex(d) {
1010
- return Math.round(parseFloat(d) * 255).toString(16);
1011
- }
1012
- // Converts a hex value to a decimal
1013
- function convertHexToDecimal(h) {
1014
- return parseIntFromHex(h) / 255;
1015
- }
1016
- var matchers = function () {
1017
- // <http://www.w3.org/TR/css3-values/#integers>
1018
- var CSS_INTEGER = "[-\\+]?\\d+%?";
1019
-
1020
- // <http://www.w3.org/TR/css3-values/#number-value>
1021
- var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
1022
-
1023
- // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
1024
- var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
1025
-
1026
- // Actual matching.
1027
- // Parentheses and commas are optional, but not required.
1028
- // Whitespace can take the place of commas or opening paren
1029
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
1030
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
1031
- return {
1032
- CSS_UNIT: new RegExp(CSS_UNIT),
1033
- rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
1034
- rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
1035
- hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
1036
- hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
1037
- hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
1038
- hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
1039
- hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1040
- hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
1041
- hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1042
- hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
1043
- };
1044
- }();
1045
-
1046
- // `isValidCSSUnit`
1047
- // Take in a single string / number and check to see if it looks like a CSS unit
1048
- // (see `matchers` above for definition).
1049
- function isValidCSSUnit(color) {
1050
- return !!matchers.CSS_UNIT.exec(color);
1051
- }
1052
-
1053
- // `stringInputToObject`
1054
- // Permissive string parsing. Take in a number of formats, and output an object
1055
- // based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
1056
- function stringInputToObject(color) {
1057
- color = color.replace(trimLeft, "").replace(trimRight, "").toLowerCase();
1058
- var named = false;
1059
- if (names[color]) {
1060
- color = names[color];
1061
- named = true;
1062
- } else if (color == "transparent") {
1063
- return {
1064
- r: 0,
1065
- g: 0,
1066
- b: 0,
1067
- a: 0,
1068
- format: "name"
1069
- };
1070
- }
1071
-
1072
- // Try to match string input using regular expressions.
1073
- // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
1074
- // Just return an object and let the conversion functions handle that.
1075
- // This way the result will be the same whether the tinycolor is initialized with string or object.
1076
- var match;
1077
- if (match = matchers.rgb.exec(color)) {
1078
- return {
1079
- r: match[1],
1080
- g: match[2],
1081
- b: match[3]
1082
- };
1083
- }
1084
- if (match = matchers.rgba.exec(color)) {
1085
- return {
1086
- r: match[1],
1087
- g: match[2],
1088
- b: match[3],
1089
- a: match[4]
1090
- };
1091
- }
1092
- if (match = matchers.hsl.exec(color)) {
1093
- return {
1094
- h: match[1],
1095
- s: match[2],
1096
- l: match[3]
1097
- };
1098
- }
1099
- if (match = matchers.hsla.exec(color)) {
1100
- return {
1101
- h: match[1],
1102
- s: match[2],
1103
- l: match[3],
1104
- a: match[4]
1105
- };
1106
- }
1107
- if (match = matchers.hsv.exec(color)) {
1108
- return {
1109
- h: match[1],
1110
- s: match[2],
1111
- v: match[3]
1112
- };
1113
- }
1114
- if (match = matchers.hsva.exec(color)) {
1115
- return {
1116
- h: match[1],
1117
- s: match[2],
1118
- v: match[3],
1119
- a: match[4]
1120
- };
1121
- }
1122
- if (match = matchers.hex8.exec(color)) {
1123
- return {
1124
- r: parseIntFromHex(match[1]),
1125
- g: parseIntFromHex(match[2]),
1126
- b: parseIntFromHex(match[3]),
1127
- a: convertHexToDecimal(match[4]),
1128
- format: named ? "name" : "hex8"
1129
- };
1130
- }
1131
- if (match = matchers.hex6.exec(color)) {
1132
- return {
1133
- r: parseIntFromHex(match[1]),
1134
- g: parseIntFromHex(match[2]),
1135
- b: parseIntFromHex(match[3]),
1136
- format: named ? "name" : "hex"
1137
- };
1138
- }
1139
- if (match = matchers.hex4.exec(color)) {
1140
- return {
1141
- r: parseIntFromHex(match[1] + "" + match[1]),
1142
- g: parseIntFromHex(match[2] + "" + match[2]),
1143
- b: parseIntFromHex(match[3] + "" + match[3]),
1144
- a: convertHexToDecimal(match[4] + "" + match[4]),
1145
- format: named ? "name" : "hex8"
1146
- };
1147
- }
1148
- if (match = matchers.hex3.exec(color)) {
1149
- return {
1150
- r: parseIntFromHex(match[1] + "" + match[1]),
1151
- g: parseIntFromHex(match[2] + "" + match[2]),
1152
- b: parseIntFromHex(match[3] + "" + match[3]),
1153
- format: named ? "name" : "hex"
1154
- };
1155
- }
1156
- return false;
1157
- }
1158
- function validateWCAG2Parms(parms) {
1159
- // return valid WCAG2 parms for isReadable.
1160
- // If input parms are invalid, return {"level":"AA", "size":"small"}
1161
- var level, size;
1162
- parms = parms || {
1163
- level: "AA",
1164
- size: "small"
1165
- };
1166
- level = (parms.level || "AA").toUpperCase();
1167
- size = (parms.size || "small").toLowerCase();
1168
- if (level !== "AA" && level !== "AAA") {
1169
- level = "AA";
1170
- }
1171
- if (size !== "small" && size !== "large") {
1172
- size = "small";
1173
- }
1174
- return {
1175
- level: level,
1176
- size: size
1177
- };
1178
- }
1179
-
1180
- export { tinycolor as default };