@kayak-sj/design 1.0.0 → 1.0.2

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 (482) hide show
  1. package/dist/assets/components-DK7g2-zP.css +1 -0
  2. package/dist/assets/icon-base-2-CcPa4bmO.png +0 -0
  3. package/dist/assets/icon-base-pYrXWQZO.png +0 -0
  4. package/dist/assets/icon-notice-2-JVyxpYo9.png +0 -0
  5. package/dist/assets/icon-notice-DNvEYor3.png +0 -0
  6. package/dist/assets/icon-price-2-DMmEoFbh.png +0 -0
  7. package/dist/assets/icon-price-4iIa0b5D.png +0 -0
  8. package/dist/assets/icon-restrict-2-BjWtoOXX.png +0 -0
  9. package/dist/assets/icon-restrict-BWJ7LA9s.png +0 -0
  10. package/dist/assets/icon-setup-2-BO6uKRX4.png +0 -0
  11. package/dist/assets/icon-setup-DXpIP63L.png +0 -0
  12. package/dist/{components/k-form/formComponent/Editor.vue_vue_type_script_setup_true_lang.js → chunks/Editor-CNxCYFmc.js} +4 -3
  13. package/dist/chunks/ImageCutter-B4uKMA_8.js +41 -0
  14. package/dist/chunks/KEditor-C882CuWG.js +331 -0
  15. package/dist/{_virtual/_plugin-vue_export-helper.js → chunks/_plugin-vue_export-helper-B3ysoDQm.js} +1 -1
  16. package/dist/chunks/components-CYgOyNT1.js +4975 -0
  17. package/dist/chunks/editorValue-DSKvW8ty.js +65 -0
  18. package/dist/components/index.d.ts +0 -1
  19. package/dist/components/index.js +3 -91
  20. package/dist/components/k-button/KButton.d.ts +0 -1
  21. package/dist/components/k-card/KCard.d.ts +0 -1
  22. package/dist/components/k-card/index.d.ts +0 -1
  23. package/dist/components/k-dialog/KDialog.d.ts +6 -7
  24. package/dist/components/k-dialog/KDialogHeader.d.ts +0 -1
  25. package/dist/components/k-dialog/index.d.ts +0 -1
  26. package/dist/components/k-dialog/types.d.ts +0 -1
  27. package/dist/components/k-echarts/KEcharts.d.ts +2 -3
  28. package/dist/components/k-echarts/composables/useKEcharts.d.ts +0 -1
  29. package/dist/components/k-echarts/constants/echartEvents.d.ts +0 -1
  30. package/dist/components/k-echarts/index.d.ts +0 -1
  31. package/dist/components/k-echarts/index.js +479 -2
  32. package/dist/components/k-echarts/map/registerMaps.d.ts +0 -1
  33. package/dist/components/k-echarts/themes/customed.d.ts +0 -1
  34. package/dist/components/k-echarts/themes/registerThemes.d.ts +0 -1
  35. package/dist/components/k-echarts/types.d.ts +0 -1
  36. package/dist/components/k-echarts/utils/buildChartOptions.d.ts +0 -1
  37. package/dist/components/k-echarts/utils/createToggleFeature.d.ts +0 -1
  38. package/dist/components/k-editor/KEditor.d.ts +4 -5
  39. package/dist/components/k-editor/composables/useEditorImageUpload.d.ts +0 -1
  40. package/dist/components/k-editor/composables/useKEditor.d.ts +0 -1
  41. package/dist/components/k-editor/composables/useKEditorConfig.d.ts +0 -1
  42. package/dist/components/k-editor/index.d.ts +0 -1
  43. package/dist/components/k-editor/index.js +3 -3
  44. package/dist/components/k-editor/types.d.ts +0 -1
  45. package/dist/components/k-editor/utils/editorValue.d.ts +0 -1
  46. package/dist/components/k-editor/utils/registerPreviewMenu.d.ts +0 -1
  47. package/dist/components/k-editor/utils/sanitizePasteHtml.d.ts +0 -1
  48. package/dist/components/k-form/KForm.d.ts +3 -4
  49. package/dist/components/k-form/KFormField.d.ts +0 -1
  50. package/dist/components/k-form/composables/useFormSchema.d.ts +0 -1
  51. package/dist/components/k-form/composables/useKFormFields.d.ts +0 -1
  52. package/dist/components/k-form/composables/useKFormModel.d.ts +0 -1
  53. package/dist/components/k-form/composables/useKFormTemplateRef.d.ts +0 -1
  54. package/dist/components/k-form/constants.d.ts +0 -1
  55. package/dist/components/k-form/formComponent/Cascader.d.ts +0 -1
  56. package/dist/components/k-form/formComponent/CheckBox.d.ts +0 -1
  57. package/dist/components/k-form/formComponent/Complex.d.ts +0 -1
  58. package/dist/components/k-form/formComponent/DatePicker.d.ts +1 -2
  59. package/dist/components/k-form/formComponent/Editor.d.ts +0 -1
  60. package/dist/components/k-form/formComponent/Fallback.d.ts +0 -1
  61. package/dist/components/k-form/formComponent/Input.d.ts +2 -3
  62. package/dist/components/k-form/formComponent/InputMixInput.d.ts +0 -1
  63. package/dist/components/k-form/formComponent/InputMixSelect.d.ts +0 -1
  64. package/dist/components/k-form/formComponent/InputNumber.d.ts +0 -1
  65. package/dist/components/k-form/formComponent/Radio.d.ts +0 -1
  66. package/dist/components/k-form/formComponent/RadioInput.d.ts +0 -1
  67. package/dist/components/k-form/formComponent/ScrollSelect.d.ts +0 -1
  68. package/dist/components/k-form/formComponent/Select.d.ts +0 -1
  69. package/dist/components/k-form/formComponent/SelectMultiple.d.ts +0 -1
  70. package/dist/components/k-form/formComponent/Tag.d.ts +0 -1
  71. package/dist/components/k-form/formComponent/Text.d.ts +0 -1
  72. package/dist/components/k-form/formComponent/TimePicker.d.ts +1 -2
  73. package/dist/components/k-form/formComponent/TreeSelect.d.ts +1 -2
  74. package/dist/components/k-form/formComponent/Upload.d.ts +0 -1
  75. package/dist/components/k-form/formComponent/componentRegistry.d.ts +0 -1
  76. package/dist/components/k-form/formComponent/index.d.ts +0 -1
  77. package/dist/components/k-form/formComponent/types.d.ts +0 -1
  78. package/dist/components/k-form/index.d.ts +0 -1
  79. package/dist/components/k-form/types.d.ts +0 -1
  80. package/dist/components/k-form/utils/fieldValue.d.ts +0 -1
  81. package/dist/components/k-form/utils/formRules.d.ts +0 -1
  82. package/dist/components/k-form/utils/resolveFormFieldComponent.d.ts +0 -1
  83. package/dist/components/k-handle-page/KHandlePage.d.ts +0 -1
  84. package/dist/components/k-handle-page/index.d.ts +0 -1
  85. package/dist/components/k-handle-page/useHandlePageInit.d.ts +0 -1
  86. package/dist/components/k-icon/KIcon.d.ts +0 -1
  87. package/dist/components/k-icon/index.d.ts +0 -1
  88. package/dist/components/k-icon/resolveLucideIcon.d.ts +0 -1
  89. package/dist/components/k-link-button/KLinkButton.d.ts +1 -2
  90. package/dist/components/k-link-button/index.d.ts +0 -1
  91. package/dist/components/k-link-button/types.d.ts +0 -1
  92. package/dist/components/k-long-page/KLongPage.d.ts +0 -1
  93. package/dist/components/k-long-page/KLongPagePanel.d.ts +0 -1
  94. package/dist/components/k-long-page/composables/useLongPageNavDrag.d.ts +0 -1
  95. package/dist/components/k-long-page/index.d.ts +0 -1
  96. package/dist/components/k-long-page/navConfigs.d.ts +0 -1
  97. package/dist/components/k-long-page/types.d.ts +0 -1
  98. package/dist/components/k-pagination/KPagination.d.ts +0 -1
  99. package/dist/components/k-pagination/index.d.ts +0 -1
  100. package/dist/components/k-panel/KPanel.d.ts +0 -1
  101. package/dist/components/k-panel/index.d.ts +0 -1
  102. package/dist/components/k-panel-query/KPanelQuery.d.ts +0 -1
  103. package/dist/components/k-panel-query/KPanelQueryActions.d.ts +0 -1
  104. package/dist/components/k-panel-query/KPanelQueryForm.d.ts +0 -1
  105. package/dist/components/k-panel-query/KPanelQueryItem.d.ts +0 -1
  106. package/dist/components/k-panel-query/index.d.ts +0 -1
  107. package/dist/components/k-panel-query/types.d.ts +0 -1
  108. package/dist/components/k-table/KTable.d.ts +2 -2
  109. package/dist/components/k-table/KTableColumn.d.ts +0 -1
  110. package/dist/components/k-table/KTableColumnSelector.d.ts +0 -1
  111. package/dist/components/k-table/KTableToolbar.d.ts +0 -1
  112. package/dist/components/k-table/composables/useColumnDisplay.d.ts +0 -1
  113. package/dist/components/k-table/composables/useKTable.d.ts +18 -2
  114. package/dist/components/k-table/composables/useKTableCrossPageSelection.d.ts +0 -1
  115. package/dist/components/k-table/composables/useKTableTemplateRef.d.ts +0 -1
  116. package/dist/components/k-table/composables/useTableColumns.d.ts +0 -1
  117. package/dist/components/k-table/composables/useTableData.d.ts +2 -3
  118. package/dist/components/k-table/composables/useTablePagination.d.ts +0 -1
  119. package/dist/components/k-table/composables/useTableRadio.d.ts +0 -1
  120. package/dist/components/k-table/composables/useTableRowSort.d.ts +0 -1
  121. package/dist/components/k-table/composables/useTableTreeLoad.d.ts +0 -1
  122. package/dist/components/k-table/dictOptions.d.ts +0 -1
  123. package/dist/components/k-table/index.d.ts +1 -2
  124. package/dist/components/k-table/kTableProps.d.ts +2 -3
  125. package/dist/components/k-table/report/convertDownloadCol.d.ts +0 -1
  126. package/dist/components/k-table/report/exportKTableReport.d.ts +0 -1
  127. package/dist/components/k-table/report/index.d.ts +0 -1
  128. package/dist/components/k-table/report/mergeQueryConfig.d.ts +0 -1
  129. package/dist/components/k-table/report/pickExportColumns.d.ts +0 -1
  130. package/dist/components/k-table/report/types.d.ts +0 -1
  131. package/dist/components/k-table/report/useExportKTableReport.d.ts +0 -1
  132. package/dist/components/k-table/types.d.ts +2 -3
  133. package/dist/components/k-table/utils/columnIdentity.d.ts +0 -1
  134. package/dist/components/k-table/utils/formatCellValue.d.ts +0 -1
  135. package/dist/components/k-table/utils/rowKey.d.ts +0 -1
  136. package/dist/components/k-upload/KUpload.d.ts +5 -6
  137. package/dist/components/k-upload/components/ImageCutter.d.ts +0 -1
  138. package/dist/components/k-upload/components/UploadFileItem.d.ts +0 -1
  139. package/dist/components/k-upload/components/UploadInlineActions.d.ts +0 -1
  140. package/dist/components/k-upload/components/UploadMediaDialog.d.ts +0 -1
  141. package/dist/components/k-upload/components/UploadTipArea.d.ts +0 -1
  142. package/dist/components/k-upload/composables/useImagePreview.d.ts +0 -1
  143. package/dist/components/k-upload/composables/useMediaPreview.d.ts +0 -1
  144. package/dist/components/k-upload/composables/useUploadFileList.d.ts +0 -1
  145. package/dist/components/k-upload/composables/useUploadRequest.d.ts +0 -1
  146. package/dist/components/k-upload/composables/useUploadValidation.d.ts +0 -1
  147. package/dist/components/k-upload/resolveUploadAction.d.ts +0 -1
  148. package/dist/components/k-upload/types.d.ts +0 -1
  149. package/dist/components/k-upload/utils/uploadFileValue.d.ts +0 -1
  150. package/dist/config/uploadConfig.d.ts +0 -1
  151. package/dist/index.d.ts +0 -1
  152. package/dist/index.js +212 -41
  153. package/dist/theme/index.d.ts +0 -1
  154. package/dist/utils/createStubComponent.d.ts +0 -1
  155. package/dist/utils/validators.d.ts +0 -1
  156. package/package.json +3 -3
  157. package/dist/_virtual/_rolldown/runtime.js +0 -11
  158. package/dist/components/index.d.ts.map +0 -1
  159. package/dist/components/k-button/KButton.d.ts.map +0 -1
  160. package/dist/components/k-button/KButton.js +0 -5
  161. package/dist/components/k-button/KButton.vue_vue_type_script_setup_true_lang.js +0 -15
  162. package/dist/components/k-card/KCard.d.ts.map +0 -1
  163. package/dist/components/k-card/KCard.js +0 -5
  164. package/dist/components/k-card/KCard.vue_vue_type_script_setup_true_lang.js +0 -23
  165. package/dist/components/k-card/index.d.ts.map +0 -1
  166. package/dist/components/k-dialog/KDialog.d.ts.map +0 -1
  167. package/dist/components/k-dialog/KDialog.js +0 -5
  168. package/dist/components/k-dialog/KDialog.vue_vue_type_script_setup_true_lang.js +0 -129
  169. package/dist/components/k-dialog/KDialogHeader.d.ts.map +0 -1
  170. package/dist/components/k-dialog/KDialogHeader.js +0 -5
  171. package/dist/components/k-dialog/KDialogHeader.vue_vue_type_script_setup_true_lang.js +0 -42
  172. package/dist/components/k-dialog/index.d.ts.map +0 -1
  173. package/dist/components/k-dialog/types.d.ts.map +0 -1
  174. package/dist/components/k-echarts/KEcharts.d.ts.map +0 -1
  175. package/dist/components/k-echarts/KEcharts.js +0 -7
  176. package/dist/components/k-echarts/KEcharts.vue_vue_type_script_setup_true_lang.js +0 -45
  177. package/dist/components/k-echarts/composables/useKEcharts.d.ts.map +0 -1
  178. package/dist/components/k-echarts/composables/useKEcharts.js +0 -117
  179. package/dist/components/k-echarts/constants/echartEvents.d.ts.map +0 -1
  180. package/dist/components/k-echarts/constants/echartEvents.js +0 -4
  181. package/dist/components/k-echarts/index.d.ts.map +0 -1
  182. package/dist/components/k-echarts/map/registerMaps.d.ts.map +0 -1
  183. package/dist/components/k-echarts/themes/customed.d.ts.map +0 -1
  184. package/dist/components/k-echarts/themes/customed.js +0 -285
  185. package/dist/components/k-echarts/themes/registerThemes.d.ts.map +0 -1
  186. package/dist/components/k-echarts/themes/registerThemes.js +0 -7
  187. package/dist/components/k-echarts/types.d.ts.map +0 -1
  188. package/dist/components/k-echarts/utils/buildChartOptions.d.ts.map +0 -1
  189. package/dist/components/k-echarts/utils/buildChartOptions.js +0 -23
  190. package/dist/components/k-echarts/utils/createToggleFeature.d.ts.map +0 -1
  191. package/dist/components/k-echarts/utils/createToggleFeature.js +0 -12
  192. package/dist/components/k-editor/KEditor.d.ts.map +0 -1
  193. package/dist/components/k-editor/KEditor.js +0 -7
  194. package/dist/components/k-editor/KEditor.vue_vue_type_script_setup_true_lang.js +0 -96
  195. package/dist/components/k-editor/composables/useEditorImageUpload.d.ts.map +0 -1
  196. package/dist/components/k-editor/composables/useEditorImageUpload.js +0 -60
  197. package/dist/components/k-editor/composables/useKEditor.d.ts.map +0 -1
  198. package/dist/components/k-editor/composables/useKEditor.js +0 -98
  199. package/dist/components/k-editor/composables/useKEditorConfig.d.ts.map +0 -1
  200. package/dist/components/k-editor/composables/useKEditorConfig.js +0 -46
  201. package/dist/components/k-editor/index.d.ts.map +0 -1
  202. package/dist/components/k-editor/types.d.ts.map +0 -1
  203. package/dist/components/k-editor/utils/editorValue.d.ts.map +0 -1
  204. package/dist/components/k-editor/utils/editorValue.js +0 -37
  205. package/dist/components/k-editor/utils/registerPreviewMenu.d.ts.map +0 -1
  206. package/dist/components/k-editor/utils/registerPreviewMenu.js +0 -38
  207. package/dist/components/k-editor/utils/sanitizePasteHtml.d.ts.map +0 -1
  208. package/dist/components/k-editor/utils/sanitizePasteHtml.js +0 -8
  209. package/dist/components/k-form/KForm.d.ts.map +0 -1
  210. package/dist/components/k-form/KForm.js +0 -5
  211. package/dist/components/k-form/KForm.vue_vue_type_script_setup_true_lang.js +0 -248
  212. package/dist/components/k-form/KFormField.d.ts.map +0 -1
  213. package/dist/components/k-form/KFormField.js +0 -5
  214. package/dist/components/k-form/KFormField.vue_vue_type_script_setup_true_lang.js +0 -50
  215. package/dist/components/k-form/composables/useFormSchema.d.ts.map +0 -1
  216. package/dist/components/k-form/composables/useFormSchema.js +0 -36
  217. package/dist/components/k-form/composables/useKFormFields.d.ts.map +0 -1
  218. package/dist/components/k-form/composables/useKFormFields.js +0 -50
  219. package/dist/components/k-form/composables/useKFormModel.d.ts.map +0 -1
  220. package/dist/components/k-form/composables/useKFormModel.js +0 -194
  221. package/dist/components/k-form/composables/useKFormTemplateRef.d.ts.map +0 -1
  222. package/dist/components/k-form/composables/useKFormTemplateRef.js +0 -7
  223. package/dist/components/k-form/constants.d.ts.map +0 -1
  224. package/dist/components/k-form/constants.js +0 -4
  225. package/dist/components/k-form/formComponent/Cascader.d.ts.map +0 -1
  226. package/dist/components/k-form/formComponent/Cascader.js +0 -7
  227. package/dist/components/k-form/formComponent/Cascader.vue_vue_type_script_setup_true_lang.js +0 -45
  228. package/dist/components/k-form/formComponent/Cascader.vue_vue_type_style_index_0_scoped_ed0da536_lang.css +0 -1
  229. package/dist/components/k-form/formComponent/CheckBox.d.ts.map +0 -1
  230. package/dist/components/k-form/formComponent/CheckBox.js +0 -7
  231. package/dist/components/k-form/formComponent/CheckBox.vue_vue_type_script_setup_true_lang.js +0 -86
  232. package/dist/components/k-form/formComponent/CheckBox.vue_vue_type_style_index_0_scoped_fca64c11_lang.css +0 -1
  233. package/dist/components/k-form/formComponent/Complex.d.ts.map +0 -1
  234. package/dist/components/k-form/formComponent/DatePicker.d.ts.map +0 -1
  235. package/dist/components/k-form/formComponent/DatePicker.js +0 -7
  236. package/dist/components/k-form/formComponent/DatePicker.vue_vue_type_script_setup_true_lang.js +0 -144
  237. package/dist/components/k-form/formComponent/DatePicker.vue_vue_type_style_index_0_scoped_578e2613_lang.css +0 -1
  238. package/dist/components/k-form/formComponent/Editor.d.ts.map +0 -1
  239. package/dist/components/k-form/formComponent/Editor.js +0 -5
  240. package/dist/components/k-form/formComponent/Fallback.d.ts.map +0 -1
  241. package/dist/components/k-form/formComponent/Fallback.js +0 -5
  242. package/dist/components/k-form/formComponent/Fallback.vue_vue_type_script_setup_true_lang.js +0 -22
  243. package/dist/components/k-form/formComponent/Input.d.ts.map +0 -1
  244. package/dist/components/k-form/formComponent/Input.js +0 -5
  245. package/dist/components/k-form/formComponent/Input.vue_vue_type_script_setup_true_lang.js +0 -93
  246. package/dist/components/k-form/formComponent/InputMixInput.d.ts.map +0 -1
  247. package/dist/components/k-form/formComponent/InputMixInput.js +0 -7
  248. package/dist/components/k-form/formComponent/InputMixInput.vue_vue_type_script_setup_true_lang.js +0 -108
  249. package/dist/components/k-form/formComponent/InputMixInput.vue_vue_type_style_index_0_scoped_6fdf6265_lang.css +0 -1
  250. package/dist/components/k-form/formComponent/InputMixSelect.d.ts.map +0 -1
  251. package/dist/components/k-form/formComponent/InputMixSelect.js +0 -7
  252. package/dist/components/k-form/formComponent/InputMixSelect.vue_vue_type_script_setup_true_lang.js +0 -185
  253. package/dist/components/k-form/formComponent/InputMixSelect.vue_vue_type_style_index_0_scoped_1f46ef39_lang.css +0 -1
  254. package/dist/components/k-form/formComponent/InputNumber.d.ts.map +0 -1
  255. package/dist/components/k-form/formComponent/InputNumber.js +0 -7
  256. package/dist/components/k-form/formComponent/InputNumber.vue_vue_type_script_setup_true_lang.js +0 -63
  257. package/dist/components/k-form/formComponent/InputNumber.vue_vue_type_style_index_0_scoped_acdc4199_lang.css +0 -1
  258. package/dist/components/k-form/formComponent/Radio.d.ts.map +0 -1
  259. package/dist/components/k-form/formComponent/Radio.js +0 -7
  260. package/dist/components/k-form/formComponent/Radio.vue_vue_type_script_setup_true_lang.js +0 -50
  261. package/dist/components/k-form/formComponent/Radio.vue_vue_type_style_index_0_scoped_e0ff32b0_lang.css +0 -1
  262. package/dist/components/k-form/formComponent/RadioInput.d.ts.map +0 -1
  263. package/dist/components/k-form/formComponent/RadioInput.js +0 -7
  264. package/dist/components/k-form/formComponent/RadioInput.vue_vue_type_script_setup_true_lang.js +0 -130
  265. package/dist/components/k-form/formComponent/RadioInput.vue_vue_type_style_index_0_scoped_1543c319_lang.css +0 -1
  266. package/dist/components/k-form/formComponent/ScrollSelect.d.ts.map +0 -1
  267. package/dist/components/k-form/formComponent/ScrollSelect.js +0 -7
  268. package/dist/components/k-form/formComponent/ScrollSelect.vue_vue_type_script_setup_true_lang.js +0 -132
  269. package/dist/components/k-form/formComponent/ScrollSelect.vue_vue_type_style_index_0_scoped_dc0bba37_lang.css +0 -1
  270. package/dist/components/k-form/formComponent/Select.d.ts.map +0 -1
  271. package/dist/components/k-form/formComponent/Select.js +0 -7
  272. package/dist/components/k-form/formComponent/Select.vue_vue_type_script_setup_true_lang.js +0 -81
  273. package/dist/components/k-form/formComponent/Select.vue_vue_type_style_index_0_scoped_20fc23b7_lang.css +0 -1
  274. package/dist/components/k-form/formComponent/SelectMultiple.d.ts.map +0 -1
  275. package/dist/components/k-form/formComponent/SelectMultiple.js +0 -7
  276. package/dist/components/k-form/formComponent/SelectMultiple.vue_vue_type_script_setup_true_lang.js +0 -84
  277. package/dist/components/k-form/formComponent/SelectMultiple.vue_vue_type_style_index_0_scoped_e6ca06e1_lang.css +0 -1
  278. package/dist/components/k-form/formComponent/Tag.d.ts.map +0 -1
  279. package/dist/components/k-form/formComponent/Tag.js +0 -7
  280. package/dist/components/k-form/formComponent/Tag.vue_vue_type_script_setup_true_lang.js +0 -86
  281. package/dist/components/k-form/formComponent/Tag.vue_vue_type_style_index_0_scoped_9961a98a_lang.css +0 -1
  282. package/dist/components/k-form/formComponent/Text.d.ts.map +0 -1
  283. package/dist/components/k-form/formComponent/Text.js +0 -7
  284. package/dist/components/k-form/formComponent/Text.vue_vue_type_script_setup_true_lang.js +0 -19
  285. package/dist/components/k-form/formComponent/Text.vue_vue_type_style_index_0_scoped_9dc35114_lang.css +0 -1
  286. package/dist/components/k-form/formComponent/TimePicker.d.ts.map +0 -1
  287. package/dist/components/k-form/formComponent/TimePicker.js +0 -7
  288. package/dist/components/k-form/formComponent/TimePicker.vue_vue_type_script_setup_true_lang.js +0 -116
  289. package/dist/components/k-form/formComponent/TimePicker.vue_vue_type_style_index_0_scoped_8680ec2d_lang.css +0 -1
  290. package/dist/components/k-form/formComponent/TreeSelect.d.ts.map +0 -1
  291. package/dist/components/k-form/formComponent/TreeSelect.js +0 -5
  292. package/dist/components/k-form/formComponent/TreeSelect.vue_vue_type_script_setup_true_lang.js +0 -57
  293. package/dist/components/k-form/formComponent/Upload.d.ts.map +0 -1
  294. package/dist/components/k-form/formComponent/Upload.js +0 -5
  295. package/dist/components/k-form/formComponent/Upload.vue_vue_type_script_setup_true_lang.js +0 -64
  296. package/dist/components/k-form/formComponent/componentRegistry.d.ts.map +0 -1
  297. package/dist/components/k-form/formComponent/componentRegistry.js +0 -49
  298. package/dist/components/k-form/formComponent/index.d.ts.map +0 -1
  299. package/dist/components/k-form/formComponent/types.d.ts.map +0 -1
  300. package/dist/components/k-form/index.d.ts.map +0 -1
  301. package/dist/components/k-form/types.d.ts.map +0 -1
  302. package/dist/components/k-form/utils/fieldValue.d.ts.map +0 -1
  303. package/dist/components/k-form/utils/fieldValue.js +0 -83
  304. package/dist/components/k-form/utils/formRules.d.ts.map +0 -1
  305. package/dist/components/k-form/utils/formRules.js +0 -44
  306. package/dist/components/k-form/utils/resolveFormFieldComponent.d.ts.map +0 -1
  307. package/dist/components/k-form/utils/resolveFormFieldComponent.js +0 -13
  308. package/dist/components/k-handle-page/KHandlePage.d.ts.map +0 -1
  309. package/dist/components/k-handle-page/KHandlePage.js +0 -5
  310. package/dist/components/k-handle-page/KHandlePage.vue_vue_type_script_setup_true_lang.js +0 -105
  311. package/dist/components/k-handle-page/index.d.ts.map +0 -1
  312. package/dist/components/k-handle-page/useHandlePageInit.d.ts.map +0 -1
  313. package/dist/components/k-handle-page/useHandlePageInit.js +0 -21
  314. package/dist/components/k-icon/KIcon.d.ts.map +0 -1
  315. package/dist/components/k-icon/KIcon.js +0 -7
  316. package/dist/components/k-icon/KIcon.vue_vue_type_script_setup_true_lang.js +0 -23
  317. package/dist/components/k-icon/KIcon.vue_vue_type_style_index_0_scoped_6fd081ab_lang.css +0 -1
  318. package/dist/components/k-icon/index.d.ts.map +0 -1
  319. package/dist/components/k-icon/resolveLucideIcon.d.ts.map +0 -1
  320. package/dist/components/k-icon/resolveLucideIcon.js +0 -26
  321. package/dist/components/k-link-button/KLinkButton.d.ts.map +0 -1
  322. package/dist/components/k-link-button/KLinkButton.js +0 -5
  323. package/dist/components/k-link-button/KLinkButton.vue_vue_type_script_setup_true_lang.js +0 -58
  324. package/dist/components/k-link-button/index.d.ts.map +0 -1
  325. package/dist/components/k-link-button/types.d.ts.map +0 -1
  326. package/dist/components/k-long-page/KLongPage.d.ts.map +0 -1
  327. package/dist/components/k-long-page/KLongPage.js +0 -7
  328. package/dist/components/k-long-page/KLongPage.vue_vue_type_script_setup_true_lang.js +0 -72
  329. package/dist/components/k-long-page/KLongPage.vue_vue_type_style_index_0_scoped_ac934c5d_lang.css +0 -1
  330. package/dist/components/k-long-page/KLongPagePanel.d.ts.map +0 -1
  331. package/dist/components/k-long-page/KLongPagePanel.js +0 -7
  332. package/dist/components/k-long-page/KLongPagePanel.vue_vue_type_script_setup_true_lang.js +0 -18
  333. package/dist/components/k-long-page/KLongPagePanel.vue_vue_type_style_index_0_scoped_9d6e7832_lang.css +0 -1
  334. package/dist/components/k-long-page/composables/useLongPageNavDrag.d.ts.map +0 -1
  335. package/dist/components/k-long-page/composables/useLongPageNavDrag.js +0 -32
  336. package/dist/components/k-long-page/icons/icon-base-2.js +0 -4
  337. package/dist/components/k-long-page/icons/icon-base.js +0 -4
  338. package/dist/components/k-long-page/icons/icon-notice-2.js +0 -4
  339. package/dist/components/k-long-page/icons/icon-notice.js +0 -4
  340. package/dist/components/k-long-page/icons/icon-price-2.js +0 -4
  341. package/dist/components/k-long-page/icons/icon-price.js +0 -4
  342. package/dist/components/k-long-page/icons/icon-restrict-2.js +0 -4
  343. package/dist/components/k-long-page/icons/icon-restrict.js +0 -4
  344. package/dist/components/k-long-page/icons/icon-setup-2.js +0 -4
  345. package/dist/components/k-long-page/icons/icon-setup.js +0 -4
  346. package/dist/components/k-long-page/index.d.ts.map +0 -1
  347. package/dist/components/k-long-page/navConfigs.d.ts.map +0 -1
  348. package/dist/components/k-long-page/navConfigs.js +0 -23
  349. package/dist/components/k-long-page/types.d.ts.map +0 -1
  350. package/dist/components/k-pagination/KPagination.d.ts.map +0 -1
  351. package/dist/components/k-pagination/KPagination.js +0 -5
  352. package/dist/components/k-pagination/KPagination.vue_vue_type_script_setup_true_lang.js +0 -36
  353. package/dist/components/k-pagination/index.d.ts.map +0 -1
  354. package/dist/components/k-panel/KPanel.d.ts.map +0 -1
  355. package/dist/components/k-panel/KPanel.js +0 -5
  356. package/dist/components/k-panel/KPanel.vue_vue_type_script_setup_true_lang.js +0 -47
  357. package/dist/components/k-panel/index.d.ts.map +0 -1
  358. package/dist/components/k-panel-query/KPanelQuery.d.ts.map +0 -1
  359. package/dist/components/k-panel-query/KPanelQuery.js +0 -5
  360. package/dist/components/k-panel-query/KPanelQuery.vue_vue_type_script_setup_true_lang.js +0 -151
  361. package/dist/components/k-panel-query/KPanelQueryActions.d.ts.map +0 -1
  362. package/dist/components/k-panel-query/KPanelQueryActions.js +0 -5
  363. package/dist/components/k-panel-query/KPanelQueryActions.vue_vue_type_script_setup_true_lang.js +0 -45
  364. package/dist/components/k-panel-query/KPanelQueryForm.d.ts.map +0 -1
  365. package/dist/components/k-panel-query/KPanelQueryForm.js +0 -5
  366. package/dist/components/k-panel-query/KPanelQueryForm.vue_vue_type_script_setup_true_lang.js +0 -55
  367. package/dist/components/k-panel-query/KPanelQueryItem.d.ts.map +0 -1
  368. package/dist/components/k-panel-query/KPanelQueryItem.js +0 -5
  369. package/dist/components/k-panel-query/KPanelQueryItem.vue_vue_type_script_setup_true_lang.js +0 -63
  370. package/dist/components/k-panel-query/index.d.ts.map +0 -1
  371. package/dist/components/k-panel-query/types.d.ts.map +0 -1
  372. package/dist/components/k-table/KTable.d.ts.map +0 -1
  373. package/dist/components/k-table/KTable.js +0 -7
  374. package/dist/components/k-table/KTable.vue_vue_type_script_setup_true_lang.js +0 -190
  375. package/dist/components/k-table/KTable.vue_vue_type_style_index_0_scoped_9ecd6487_lang.css +0 -1
  376. package/dist/components/k-table/KTableColumn.d.ts.map +0 -1
  377. package/dist/components/k-table/KTableColumn.js +0 -7
  378. package/dist/components/k-table/KTableColumn.vue_vue_type_script_setup_true_lang.js +0 -154
  379. package/dist/components/k-table/KTableColumn.vue_vue_type_style_index_0_scoped_578909bc_lang.css +0 -1
  380. package/dist/components/k-table/KTableColumnSelector.d.ts.map +0 -1
  381. package/dist/components/k-table/KTableColumnSelector.js +0 -7
  382. package/dist/components/k-table/KTableColumnSelector.vue_vue_type_script_setup_true_lang.js +0 -59
  383. package/dist/components/k-table/KTableColumnSelector.vue_vue_type_style_index_0_scoped_e0b3cf31_lang.css +0 -1
  384. package/dist/components/k-table/KTableToolbar.d.ts.map +0 -1
  385. package/dist/components/k-table/KTableToolbar.js +0 -7
  386. package/dist/components/k-table/KTableToolbar.vue_vue_type_script_setup_true_lang.js +0 -60
  387. package/dist/components/k-table/KTableToolbar.vue_vue_type_style_index_0_scoped_bff19ed1_lang.css +0 -1
  388. package/dist/components/k-table/composables/useColumnDisplay.d.ts.map +0 -1
  389. package/dist/components/k-table/composables/useColumnDisplay.js +0 -103
  390. package/dist/components/k-table/composables/useKTable.d.ts.map +0 -1
  391. package/dist/components/k-table/composables/useKTable.js +0 -179
  392. package/dist/components/k-table/composables/useKTableCrossPageSelection.d.ts.map +0 -1
  393. package/dist/components/k-table/composables/useKTableCrossPageSelection.js +0 -58
  394. package/dist/components/k-table/composables/useKTableTemplateRef.d.ts.map +0 -1
  395. package/dist/components/k-table/composables/useKTableTemplateRef.js +0 -7
  396. package/dist/components/k-table/composables/useTableColumns.d.ts.map +0 -1
  397. package/dist/components/k-table/composables/useTableColumns.js +0 -61
  398. package/dist/components/k-table/composables/useTableData.d.ts.map +0 -1
  399. package/dist/components/k-table/composables/useTableData.js +0 -47
  400. package/dist/components/k-table/composables/useTablePagination.d.ts.map +0 -1
  401. package/dist/components/k-table/composables/useTablePagination.js +0 -52
  402. package/dist/components/k-table/composables/useTableRadio.d.ts.map +0 -1
  403. package/dist/components/k-table/composables/useTableRadio.js +0 -28
  404. package/dist/components/k-table/composables/useTableRowSort.d.ts.map +0 -1
  405. package/dist/components/k-table/composables/useTableRowSort.js +0 -35
  406. package/dist/components/k-table/composables/useTableTreeLoad.d.ts.map +0 -1
  407. package/dist/components/k-table/composables/useTableTreeLoad.js +0 -32
  408. package/dist/components/k-table/dictOptions.d.ts.map +0 -1
  409. package/dist/components/k-table/dictOptions.js +0 -9
  410. package/dist/components/k-table/index.d.ts.map +0 -1
  411. package/dist/components/k-table/kTableProps.d.ts.map +0 -1
  412. package/dist/components/k-table/kTableProps.js +0 -17
  413. package/dist/components/k-table/report/convertDownloadCol.d.ts.map +0 -1
  414. package/dist/components/k-table/report/convertDownloadCol.js +0 -11
  415. package/dist/components/k-table/report/exportKTableReport.d.ts.map +0 -1
  416. package/dist/components/k-table/report/exportKTableReport.js +0 -19
  417. package/dist/components/k-table/report/index.d.ts.map +0 -1
  418. package/dist/components/k-table/report/mergeQueryConfig.d.ts.map +0 -1
  419. package/dist/components/k-table/report/mergeQueryConfig.js +0 -31
  420. package/dist/components/k-table/report/pickExportColumns.d.ts.map +0 -1
  421. package/dist/components/k-table/report/pickExportColumns.js +0 -7
  422. package/dist/components/k-table/report/types.d.ts.map +0 -1
  423. package/dist/components/k-table/report/useExportKTableReport.d.ts.map +0 -1
  424. package/dist/components/k-table/report/useExportKTableReport.js +0 -29
  425. package/dist/components/k-table/types.d.ts.map +0 -1
  426. package/dist/components/k-table/types.js +0 -20
  427. package/dist/components/k-table/utils/columnIdentity.d.ts.map +0 -1
  428. package/dist/components/k-table/utils/columnIdentity.js +0 -6
  429. package/dist/components/k-table/utils/formatCellValue.d.ts.map +0 -1
  430. package/dist/components/k-table/utils/formatCellValue.js +0 -30
  431. package/dist/components/k-table/utils/rowKey.d.ts.map +0 -1
  432. package/dist/components/k-table/utils/rowKey.js +0 -10
  433. package/dist/components/k-upload/KUpload.d.ts.map +0 -1
  434. package/dist/components/k-upload/KUpload.js +0 -7
  435. package/dist/components/k-upload/KUpload.vue_vue_type_script_setup_true_lang.js +0 -355
  436. package/dist/components/k-upload/KUpload.vue_vue_type_style_index_0_scoped_6050c2c6_lang.css +0 -1
  437. package/dist/components/k-upload/components/ImageCutter.d.ts.map +0 -1
  438. package/dist/components/k-upload/components/ImageCutter.js +0 -7
  439. package/dist/components/k-upload/components/ImageCutter.vue_vue_type_script_setup_true_lang.js +0 -40
  440. package/dist/components/k-upload/components/UploadFileItem.d.ts.map +0 -1
  441. package/dist/components/k-upload/components/UploadFileItem.js +0 -7
  442. package/dist/components/k-upload/components/UploadFileItem.vue_vue_type_script_setup_true_lang.js +0 -73
  443. package/dist/components/k-upload/components/UploadFileItem.vue_vue_type_style_index_0_scoped_01959ada_lang.css +0 -1
  444. package/dist/components/k-upload/components/UploadInlineActions.d.ts.map +0 -1
  445. package/dist/components/k-upload/components/UploadInlineActions.js +0 -7
  446. package/dist/components/k-upload/components/UploadInlineActions.vue_vue_type_script_setup_true_lang.js +0 -39
  447. package/dist/components/k-upload/components/UploadInlineActions.vue_vue_type_style_index_0_scoped_55d9c320_lang.css +0 -1
  448. package/dist/components/k-upload/components/UploadMediaDialog.d.ts.map +0 -1
  449. package/dist/components/k-upload/components/UploadMediaDialog.js +0 -7
  450. package/dist/components/k-upload/components/UploadMediaDialog.vue_vue_type_script_setup_true_lang.js +0 -44
  451. package/dist/components/k-upload/components/UploadMediaDialog.vue_vue_type_style_index_0_scoped_b9720661_lang.css +0 -1
  452. package/dist/components/k-upload/components/UploadTipArea.d.ts.map +0 -1
  453. package/dist/components/k-upload/components/UploadTipArea.js +0 -7
  454. package/dist/components/k-upload/components/UploadTipArea.vue_vue_type_script_setup_true_lang.js +0 -26
  455. package/dist/components/k-upload/components/UploadTipArea.vue_vue_type_style_index_0_scoped_f2b7df65_lang.css +0 -1
  456. package/dist/components/k-upload/composables/useImagePreview.d.ts.map +0 -1
  457. package/dist/components/k-upload/composables/useImagePreview.js +0 -23
  458. package/dist/components/k-upload/composables/useMediaPreview.d.ts.map +0 -1
  459. package/dist/components/k-upload/composables/useMediaPreview.js +0 -20
  460. package/dist/components/k-upload/composables/useUploadFileList.d.ts.map +0 -1
  461. package/dist/components/k-upload/composables/useUploadFileList.js +0 -46
  462. package/dist/components/k-upload/composables/useUploadRequest.d.ts.map +0 -1
  463. package/dist/components/k-upload/composables/useUploadRequest.js +0 -43
  464. package/dist/components/k-upload/composables/useUploadValidation.d.ts.map +0 -1
  465. package/dist/components/k-upload/composables/useUploadValidation.js +0 -22
  466. package/dist/components/k-upload/resolveUploadAction.d.ts.map +0 -1
  467. package/dist/components/k-upload/resolveUploadAction.js +0 -13
  468. package/dist/components/k-upload/types.d.ts.map +0 -1
  469. package/dist/components/k-upload/utils/uploadFileValue.d.ts.map +0 -1
  470. package/dist/components/k-upload/utils/uploadFileValue.js +0 -44
  471. package/dist/config/uploadConfig.d.ts.map +0 -1
  472. package/dist/config/uploadConfig.js +0 -29
  473. package/dist/index.d.ts.map +0 -1
  474. package/dist/theme/index.d.ts.map +0 -1
  475. package/dist/theme/index.js +0 -22
  476. package/dist/utils/createStubComponent.d.ts.map +0 -1
  477. package/dist/utils/createStubComponent.js +0 -43
  478. package/dist/utils/validators.d.ts.map +0 -1
  479. package/dist/utils/validators.js +0 -152
  480. /package/dist/{components/k-upload/components/ImageCutter.vue_vue_type_style_index_0_scoped_900b5e3b_lang.css → assets/ImageCutter-B771uShK.css} +0 -0
  481. /package/dist/{components/k-editor/KEditor.vue_vue_type_style_index_0_scoped_b9ef08e0_lang.css → assets/KEditor-LzsE5URl.css} +0 -0
  482. /package/dist/{components/k-echarts/KEcharts.vue_vue_type_style_index_0_scoped_d6da558a_lang.css → assets/index-DMxcQQBQ.css} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"CheckBox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/k-form/formComponent/CheckBox.vue"],"names":[],"mappings":"AAmJA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAmBrD,KAAK,WAAW,GAAG,sBAAsB,GAAG;IACtC,YAAY;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uBAAuB;IACvB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;AAgNN,QAAA,MAAM,YAAY;;;;;mBAjNI,OAAO;6EAqN3B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- import e from "../../../_virtual/_plugin-vue_export-helper.js";
2
- import t from "./CheckBox.vue_vue_type_script_setup_true_lang.js";
3
- import './CheckBox.vue_vue_type_style_index_0_scoped_fca64c11_lang.css';/* empty css */
4
- //#region src/components/k-form/formComponent/CheckBox.vue
5
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-fca64c11"]]);
6
- //#endregion
7
- export { n as default };
@@ -1,86 +0,0 @@
1
- import { toCheckboxGroupValue as e, toScalarValue as t } from "../utils/fieldValue.js";
2
- import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, unref as m, watch as h, withCtx as g } from "vue";
3
- import { ElCheckbox as _, ElCheckboxGroup as v, ElTooltip as y } from "element-plus";
4
- //#region src/components/k-form/formComponent/CheckBox.vue?vue&type=script&setup=true&lang.ts
5
- var b = { class: "k-form-checkbox" }, x = {
6
- key: 0,
7
- class: "k-form-checkbox__readonly"
8
- }, S = /*@__PURE__*/ l({
9
- name: "KFormCheckbox",
10
- __name: "CheckBox",
11
- props: {
12
- modelValue: {},
13
- options: {},
14
- readonly: { type: Boolean },
15
- disabled: { type: Boolean },
16
- showSelectAll: {
17
- type: Boolean,
18
- default: !1
19
- }
20
- },
21
- emits: ["update:modelValue"],
22
- setup(l, { emit: S }) {
23
- function C(e) {
24
- return e.tooltip ?? "";
25
- }
26
- function w(e) {
27
- return C(e) === "";
28
- }
29
- let T = l, E = S, D = d([]), O = d(!1), k = d(!1), A = r(() => (T.options ?? []).map((e) => e.value)), j = r(() => {
30
- let e = (T.options ?? []).filter((e) => D.value.includes(e.value)).map((e) => e.label);
31
- return e.length ? e.join(", ") : "--";
32
- });
33
- h(() => T.modelValue, (t) => {
34
- D.value = e(t), M(D.value);
35
- }, { immediate: !0 });
36
- function M(e) {
37
- let t = A.value.length, n = e.length;
38
- O.value = t > 0 && n === t, k.value = n > 0 && n < t;
39
- }
40
- function N(e) {
41
- let t = e === !0 ? [...A.value] : [];
42
- D.value = t, k.value = !1, E("update:modelValue", t);
43
- }
44
- function P(e) {
45
- D.value = e, M(e), E("update:modelValue", e);
46
- }
47
- return (e, r) => (u(), o("div", b, [l.readonly ? (u(), o("span", x, p(j.value), 1)) : (u(), o(n, { key: 1 }, [l.showSelectAll ? (u(), i(m(_), {
48
- key: 0,
49
- modelValue: O.value,
50
- "onUpdate:modelValue": r[0] ||= (e) => O.value = e,
51
- indeterminate: k.value,
52
- disabled: l.disabled,
53
- onChange: N
54
- }, {
55
- default: g(() => [...r[1] ||= [s(" 全选 ", -1)]]),
56
- _: 1
57
- }, 8, [
58
- "modelValue",
59
- "indeterminate",
60
- "disabled"
61
- ])) : a("", !0), c(m(v), {
62
- "model-value": D.value,
63
- disabled: l.disabled,
64
- "onUpdate:modelValue": P
65
- }, {
66
- default: g(() => [(u(!0), o(n, null, f(l.options, (e) => (u(), i(m(y), {
67
- key: String(e.value),
68
- content: C(e),
69
- disabled: w(e),
70
- placement: "top-start"
71
- }, {
72
- default: g(() => [c(m(_), {
73
- value: m(t)(e.value),
74
- disabled: e.disabled
75
- }, {
76
- default: g(() => [s(p(e.label), 1)]),
77
- _: 2
78
- }, 1032, ["value", "disabled"])]),
79
- _: 2
80
- }, 1032, ["content", "disabled"]))), 128))]),
81
- _: 1
82
- }, 8, ["model-value", "disabled"])], 64))]));
83
- }
84
- });
85
- //#endregion
86
- export { S as default };
@@ -1 +0,0 @@
1
- .k-form-checkbox[data-v-fca64c11] .el-checkbox.is-bordered+.el-checkbox.is-bordered{margin-left:0}.k-form-checkbox__readonly[data-v-fca64c11]{color:var(--k-color-text-regular);font-size:var(--k-form-control-font-size)}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Complex.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/k-form/formComponent/Complex.vue"],"names":[],"mappings":"AAuHA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAIrD,gCAAgC;AAChC,UAAU,eAAe;IACvB,iCAAiC;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,kCAAkC;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,6BAA6B;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACxC,oCAAoC;IACpC,OAAO,CAAC,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAA;CAC5C;AAED,KAAK,WAAW,GAAG,sBAAsB,GAAG;IACtC,6CAA6C;IAC7C,OAAO,CAAC,EAAE,eAAe,EAAE,CAAA;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAiHN,QAAA,MAAM,YAAY;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/k-form/formComponent/DatePicker.vue"],"names":[],"mappings":"AA4RA,OAAO,EAA2D,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAClH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAIrD,sCAAsC;AACtC,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,CAAA;AAErD,UAAU,gBAAgB;IACxB,8BAA8B;IAC9B,SAAS,EAAE,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,CAAA;IACzC,8BAA8B;IAC9B,IAAI,CAAC,EAAE,IAAI,GAAG,OAAO,GAAG,CAAC,MAAM,IAAI,CAAC,CAAA;IACpC,iDAAiD;IACjD,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,KAAK,WAAW,GAAG,sBAAsB,GAAG;IACtC,4DAA4D;IAC5D,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,mBAAmB;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,mBAAmB;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wBAAwB;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,mEAAmE;IACnE,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,GAAG,SAAS,CAAC,CAAA;IACnD,uBAAuB;IACvB,YAAY,CAAC,EAAE,gBAAgB,EAAE,GAAG,CAAC,MAAM,gBAAgB,EAAE,CAAC,CAAA;IAC9D,iCAAiC;IACjC,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,iBAAiB;IACjB,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,YAAY;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gBAAgB;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oBAAoB;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,oBAAoB;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;AAwPN,QAAA,MAAM,YAAY;;;;;iBA/PE,MAAM;UAlBb,cAAc;aAEX,MAAM;YAEP,MAAM;eAEH,OAAO;sBAEA,MAAM,CAAC,MAAM,EAAE,IAAI,GAAG,SAAS,CAAC;kBAEpC,gBAAgB,EAAE,GAAG,CAAC,MAAM,gBAAgB,EAAE,CAAC;aAEpD,SAAS;aAET,SAAS;sBAMA,MAAM;oBAER,MAAM;iBAET,MAAM;6EA6PxB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- import e from "../../../_virtual/_plugin-vue_export-helper.js";
2
- import t from "./DatePicker.vue_vue_type_script_setup_true_lang.js";
3
- import './DatePicker.vue_vue_type_style_index_0_scoped_578e2613_lang.css';/* empty css */
4
- //#region src/components/k-form/formComponent/DatePicker.vue
5
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-578e2613"]]);
6
- //#endregion
7
- export { n as default };
@@ -1,144 +0,0 @@
1
- import { DATE_PICKER_VALUES_KEY as e } from "../constants.js";
2
- import { formatReadonlyText as t, toDatePickerType as n, toDatePickerValue as r } from "../utils/fieldValue.js";
3
- import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, defineComponent as c, inject as l, normalizeClass as u, openBlock as d, toDisplayString as f, unref as p } from "vue";
4
- import { ElDatePicker as m } from "element-plus";
5
- import h from "dayjs";
6
- //#region src/components/k-form/formComponent/DatePicker.vue?vue&type=script&setup=true&lang.ts
7
- var g = ["innerHTML"], _ = {
8
- key: 2,
9
- class: "k-form-date-picker__readonly"
10
- }, v = ["innerHTML"], y = /*@__PURE__*/ c({
11
- name: "KFormDatePicker",
12
- inheritAttrs: !1,
13
- __name: "DatePicker",
14
- props: {
15
- modelValue: {},
16
- options: {},
17
- readonly: { type: Boolean },
18
- disabled: { type: Boolean },
19
- type: { default: "date" },
20
- prepend: { default: "" },
21
- append: { default: "" },
22
- limitTime: {
23
- type: Boolean,
24
- default: !1
25
- },
26
- datePickerValues: { default: void 0 },
27
- dateDisabled: {
28
- type: [Array, Function],
29
- default: void 0
30
- },
31
- minDate: {
32
- type: [
33
- String,
34
- Date,
35
- Function
36
- ],
37
- default: void 0
38
- },
39
- maxDate: {
40
- type: [
41
- String,
42
- Date,
43
- Function
44
- ],
45
- default: void 0
46
- },
47
- placeholder: { default: void 0 },
48
- startPlaceholder: { default: void 0 },
49
- endPlaceholder: { default: void 0 },
50
- valueFormat: { default: void 0 }
51
- },
52
- emits: ["update:modelValue"],
53
- setup(c, { emit: y }) {
54
- let b = c, x = y, S = l(e, null), C = i(() => b.datePickerValues ?? S?.value ?? {}), w = i(() => r(b.modelValue)), T = i(() => n(b.type)), E = i(() => T.value === "datetimerange" ? "k-form-date-picker--datetimerange" : ""), D = (e, t) => h(e instanceof Date ? e : String(e)).format(t), O = i(() => {
55
- if (!b.modelValue) return t(b.modelValue);
56
- let e = T.value.includes("datetime") ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
57
- if (Array.isArray(b.modelValue)) return b.modelValue.map((t) => D(t, e)).join(" - ");
58
- let n = h(b.modelValue instanceof Date ? b.modelValue : String(b.modelValue));
59
- return n.isValid() ? n.format(e) : t(b.modelValue);
60
- }), k = i(() => {
61
- if (!b.limitTime) return;
62
- let e = h().hour();
63
- return () => Array.from({ length: 24 }, (e, t) => t).filter((t) => t < e);
64
- });
65
- function A(e) {
66
- let t = new Date(e.getTime());
67
- return t.setHours(0, 0, 0, 0), t;
68
- }
69
- function j(e) {
70
- if (e == null) return null;
71
- if (e === "today") return A(/* @__PURE__ */ new Date());
72
- if (typeof e == "function") {
73
- let t = e();
74
- return t instanceof Date && !Number.isNaN(t.getTime()) ? A(t) : null;
75
- }
76
- return e instanceof Date && !Number.isNaN(e.getTime()) ? A(e) : null;
77
- }
78
- function M(e) {
79
- if (e.date !== void 0) return j(e.date);
80
- if (e.id) {
81
- let t = C.value[`kitDate-${e.id}`];
82
- if (!t) return null;
83
- if (t instanceof Date) return A(t);
84
- let n = h(t);
85
- return n.isValid() ? A(n.toDate()) : null;
86
- }
87
- return null;
88
- }
89
- function N(e, t, n) {
90
- return n === ">=" ? e >= t : n === ">" ? e > t : n === "<=" ? e <= t : n === "<" ? e < t : n === "==" && e === t;
91
- }
92
- function P(e) {
93
- let t = A(e).getTime(), n = j(b.minDate);
94
- if (n && t < n.getTime()) return !0;
95
- let r = j(b.maxDate);
96
- if (r && t > r.getTime()) return !0;
97
- let i = b.dateDisabled;
98
- return !i || (typeof i == "function" && (i = i()), !i.length) ? !1 : i.some((e) => {
99
- let n = M(e);
100
- return n ? N(t, n.getTime(), e.condition) : !1;
101
- });
102
- }
103
- function F(e) {
104
- x("update:modelValue", e);
105
- }
106
- return (e, t) => (d(), s("div", { class: u(["k-form-date-picker", E.value]) }, [
107
- c.prepend ? (d(), s("span", {
108
- key: 0,
109
- class: "k-form-date-picker__text",
110
- innerHTML: c.prepend
111
- }, null, 8, g)) : o("", !0),
112
- c.readonly ? (d(), s("span", _, f(O.value), 1)) : (d(), a(p(m), {
113
- key: 1,
114
- "model-value": w.value,
115
- type: T.value,
116
- "unlink-panels": "",
117
- placeholder: c.placeholder,
118
- "start-placeholder": c.startPlaceholder,
119
- "end-placeholder": c.endPlaceholder,
120
- "value-format": c.valueFormat,
121
- disabled: c.disabled,
122
- "disabled-date": P,
123
- "disabled-hours": k.value,
124
- "onUpdate:modelValue": F
125
- }, null, 8, [
126
- "model-value",
127
- "type",
128
- "placeholder",
129
- "start-placeholder",
130
- "end-placeholder",
131
- "value-format",
132
- "disabled",
133
- "disabled-hours"
134
- ])),
135
- c.append ? (d(), s("span", {
136
- key: 3,
137
- class: "k-form-date-picker__text",
138
- innerHTML: c.append
139
- }, null, 8, v)) : o("", !0)
140
- ], 2));
141
- }
142
- });
143
- //#endregion
144
- export { y as default };
@@ -1 +0,0 @@
1
- .k-form-date-picker[data-v-578e2613]{align-items:center;gap:8px;width:100%;max-width:100%;display:flex}.k-form-date-picker[data-v-578e2613] .el-date-editor{width:100%}.k-form-date-picker--datetimerange[data-v-578e2613]{width:fit-content;max-width:100%;display:inline-flex}.k-form-date-picker--datetimerange[data-v-578e2613] .el-date-editor.el-date-editor--datetimerange{flex:none;max-width:100%;width:fit-content!important;min-width:unset!important}.k-form-date-picker--datetimerange[data-v-578e2613] .el-date-editor--datetimerange .el-input__wrapper{padding-left:6px;padding-right:4px}.k-form-date-picker--datetimerange[data-v-578e2613] .el-date-editor--datetimerange .el-range-input{width:150px;min-width:0;max-width:150px;font-size:var(--k-form-control-font-size);flex:0 0 150px}.k-form-date-picker--datetimerange[data-v-578e2613] .el-date-editor--datetimerange .el-range-separator{font-size:var(--k-form-control-font-size);flex-shrink:0;padding:0 1px}.k-form-date-picker--datetimerange[data-v-578e2613] .el-date-editor--datetimerange .el-range__icon{margin-right:-4px}.k-form-date-picker--datetimerange[data-v-578e2613] .el-date-editor--datetimerange .el-range__close-icon{margin-left:-4px}.k-form-date-picker__text[data-v-578e2613]{color:var(--k-color-text-regular);font-size:var(--k-form-control-font-size);white-space:nowrap;flex-shrink:0}.k-form-date-picker__readonly[data-v-578e2613]{color:var(--k-color-text-regular);font-size:var(--k-form-control-font-size);word-break:break-all}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Editor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/k-form/formComponent/Editor.vue"],"names":[],"mappings":"AAiEA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC5E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAIrD,KAAK,WAAW,GAAG,sBAAsB,GAAG;IACtC,sCAAsC;IACtC,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAoFN,QAAA,MAAM,YAAY;;;;;iBAtFE,MAAM;eAFR,MAAM,GAAG,MAAM;WAFnB,MAAM,EAAE;kBACD,MAAM,GAAG,MAAM;YAErB,aAAa;6EA2F1B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,5 +0,0 @@
1
- import e from "./Editor.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/k-form/formComponent/Editor.vue
3
- var t = e;
4
- //#endregion
5
- export { t as default };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Fallback.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/k-form/formComponent/Fallback.vue"],"names":[],"mappings":"AA2CA,KAAK,WAAW,GAAG;IACjB,kBAAkB;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAC;AA8CF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,5 +0,0 @@
1
- import e from "./Fallback.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/k-form/formComponent/Fallback.vue
3
- var t = e;
4
- //#endregion
5
- export { t as default };
@@ -1,22 +0,0 @@
1
- import { toStringValue as e } from "../utils/fieldValue.js";
2
- import { computed as t, createBlock as n, defineComponent as r, openBlock as i, unref as a } from "vue";
3
- import { ElInput as o } from "element-plus";
4
- //#region src/components/k-form/formComponent/Fallback.vue?vue&type=script&setup=true&lang.ts
5
- var s = /*@__PURE__*/ r({
6
- name: "KFormFallback",
7
- __name: "Fallback",
8
- props: {
9
- modelValue: {},
10
- componentType: {}
11
- },
12
- setup(r) {
13
- let s = r, c = t(() => `[${s.componentType ?? "Unknown"}] 待迁移`), l = t(() => e(s.modelValue));
14
- return (e, t) => (i(), n(a(o), {
15
- "model-value": l.value,
16
- disabled: "",
17
- placeholder: c.value
18
- }, null, 8, ["model-value", "placeholder"]));
19
- }
20
- });
21
- //#endregion
22
- export { s as default };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/k-form/formComponent/Input.vue"],"names":[],"mappings":"AA4IA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAIrD,KAAK,WAAW,GAAG,sBAAsB,GAAG;IACtC,cAAc;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gBAAgB;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qBAAqB;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oBAAoB;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oBAAoB;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe;IACf,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,eAAe;IACf,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,mBAAmB;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uCAAuC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAiLN,QAAA,MAAM,YAAY;;;;;iBA9ME,MAAM;eAIR,MAAM;UAEX,MAAM;eAsBD,OAAO;aAhBT,MAAM;YAEP,MAAM;mBAYC,MAAM;eAxBV,MAAM;cAMP,MAAM;eAEL,MAAM;eAMN,MAAM;gBAEL,MAAM;eAEP,MAAM,IAAI;gBAET,MAAM,IAAI;6EA4L3B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,5 +0,0 @@
1
- import e from "./Input.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/k-form/formComponent/Input.vue
3
- var t = e;
4
- //#endregion
5
- export { t as default };
@@ -1,93 +0,0 @@
1
- import { formatReadonlyText as e, toStringValue as t } from "../utils/fieldValue.js";
2
- import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createSlots as o, createTextVNode as s, defineComponent as c, mergeProps as l, normalizeClass as u, openBlock as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
3
- import { ElInput as h } from "element-plus";
4
- //#region src/components/k-form/formComponent/Input.vue?vue&type=script&setup=true&lang.ts
5
- var g = ["type"], _ = {
6
- key: 1,
7
- class: "k-form-input__readonly"
8
- }, v = /*@__PURE__*/ c({
9
- name: "KFormInput",
10
- inheritAttrs: !1,
11
- __name: "Input",
12
- props: {
13
- modelValue: {},
14
- options: {},
15
- readonly: { type: Boolean },
16
- disabled: { type: Boolean },
17
- placeholder: { default: "请输入" },
18
- maxlength: { default: void 0 },
19
- maxLength: { default: void 0 },
20
- type: { default: "text" },
21
- leftText: { default: "" },
22
- rightText: { default: "" },
23
- prepend: { default: "" },
24
- append: { default: "" },
25
- leftClass: { default: "" },
26
- rightClass: { default: "" },
27
- leftClick: {
28
- type: Function,
29
- default: () => void 0
30
- },
31
- rightClick: {
32
- type: Function,
33
- default: () => void 0
34
- },
35
- componentType: { default: void 0 },
36
- clearable: {
37
- type: Boolean,
38
- default: !0
39
- }
40
- },
41
- emits: ["update:modelValue"],
42
- setup(c, { emit: v }) {
43
- let y = c, b = v, x = n(() => t(y.modelValue)), S = n(() => y.maxlength ?? y.maxLength), C = n(() => y.type === "textarea"), w = n(() => y.clearable && !C.value), T = n(() => {
44
- let t = e(x.value);
45
- return t === "--" ? t : `${y.prepend || ""}${t}${y.append || ""}`;
46
- });
47
- function E(e) {
48
- b("update:modelValue", e);
49
- }
50
- return (e, t) => (d(), a("div", {
51
- class: "k-form-input",
52
- type: C.value ? "textarea" : void 0
53
- }, [
54
- c.leftText ? (d(), a("div", {
55
- key: 0,
56
- class: u(["k-form-input__side k-form-input__side--left", c.leftClass]),
57
- onClick: t[0] ||= (...e) => c.leftClick && c.leftClick(...e)
58
- }, f(c.leftText), 3)) : i("", !0),
59
- c.readonly ? (d(), a("div", _, f(T.value), 1)) : (d(), r(p(h), l({ key: 2 }, e.$attrs, {
60
- "model-value": x.value,
61
- autocomplete: "off",
62
- clearable: w.value,
63
- disabled: c.disabled,
64
- placeholder: c.placeholder,
65
- maxlength: S.value,
66
- type: c.type,
67
- "onUpdate:modelValue": E
68
- }), o({ _: 2 }, [c.prepend ? {
69
- name: "prepend",
70
- fn: m(() => [s(f(c.prepend), 1)]),
71
- key: "0"
72
- } : void 0, c.append ? {
73
- name: "append",
74
- fn: m(() => [s(f(c.append), 1)]),
75
- key: "1"
76
- } : void 0]), 1040, [
77
- "model-value",
78
- "clearable",
79
- "disabled",
80
- "placeholder",
81
- "maxlength",
82
- "type"
83
- ])),
84
- c.rightText ? (d(), a("div", {
85
- key: 3,
86
- class: u(["k-form-input__side k-form-input__side--right", c.rightClass]),
87
- onClick: t[1] ||= (...e) => c.rightClick && c.rightClick(...e)
88
- }, f(c.rightText), 3)) : i("", !0)
89
- ], 8, g));
90
- }
91
- });
92
- //#endregion
93
- export { v as default };
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputMixInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/k-form/formComponent/InputMixInput.vue"],"names":[],"mappings":"AA0OA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAIrD,KAAK,WAAW,GAAG,sBAAsB,GAAG;IACtC,sBAAsB;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mBAAmB;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,wBAAwB;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,wBAAwB;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACpC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,6BAA6B;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,YAAY;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAsON,QAAA,MAAM,YAAY;;;;;eAvOA,OAAO;cAxBR,MAAM;eAEL,MAAM;gBAEL,MAAM;qBAED,MAAM;sBAEL,MAAM;eAEb,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;gBAEtB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;gBAKvB,MAAM,GAAG,MAAM;eAEhB,MAAM,GAAG,MAAM;gBAEd,MAAM,GAAG,MAAM;6EA8OhC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- import e from "../../../_virtual/_plugin-vue_export-helper.js";
2
- import t from "./InputMixInput.vue_vue_type_script_setup_true_lang.js";
3
- import './InputMixInput.vue_vue_type_style_index_0_scoped_6fdf6265_lang.css';/* empty css */
4
- //#region src/components/k-form/formComponent/InputMixInput.vue
5
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-6fdf6265"]]);
6
- //#endregion
7
- export { n as default };
@@ -1,108 +0,0 @@
1
- import e from "./Input.js";
2
- import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, mergeProps as s, normalizeClass as c, normalizeStyle as l, openBlock as u, ref as d, watch as f } from "vue";
3
- //#region src/components/k-form/formComponent/InputMixInput.vue?vue&type=script&setup=true&lang.ts
4
- var p = ["innerHTML"], m = ["innerHTML"], h = ["innerHTML"], g = /*@__PURE__*/ o({
5
- name: "KFormInputMixInput",
6
- __name: "InputMixInput",
7
- props: {
8
- modelValue: {},
9
- options: {},
10
- readonly: { type: Boolean },
11
- disabled: { type: Boolean },
12
- leftText: { default: "" },
13
- rightText: { default: "" },
14
- centerText: { default: "" },
15
- leftPlaceholder: { default: "" },
16
- rightPlaceholder: { default: "" },
17
- leftProps: { default: () => ({}) },
18
- rightProps: { default: () => ({}) },
19
- inputWidth: { default: 120 },
20
- leftWidth: { default: void 0 },
21
- rightWidth: { default: void 0 },
22
- clearable: {
23
- type: Boolean,
24
- default: !0
25
- }
26
- },
27
- emits: ["update:modelValue"],
28
- setup(o, { emit: g }) {
29
- let _ = o, v = g, y = d(["", ""]);
30
- function b(e, t) {
31
- let n = e ?? t;
32
- return typeof n == "number" ? `${n}px` : n;
33
- }
34
- function x(e) {
35
- return !!(e?.prepend || e?.append);
36
- }
37
- function S(e, t) {
38
- let n = b(e, _.inputWidth);
39
- return x(t) ? {
40
- "--k-mix-input-field-width": n,
41
- flex: "0 0 auto"
42
- } : {
43
- width: n,
44
- maxWidth: n,
45
- minWidth: n,
46
- flex: "0 0 auto"
47
- };
48
- }
49
- let C = t(() => x(_.leftProps)), w = t(() => x(_.rightProps)), T = t(() => S(_.leftWidth, _.leftProps)), E = t(() => S(_.rightWidth, _.rightProps));
50
- f(() => _.modelValue, (e) => {
51
- Array.isArray(e) && (y.value = [String(e[0] ?? ""), String(e[1] ?? "")]);
52
- }, { immediate: !0 });
53
- function D(e, t) {
54
- y.value[e] = t, v("update:modelValue", [...y.value]);
55
- }
56
- return (t, d) => (u(), r("div", { class: c(["k-form-input-mix-input", { "k-form-input-mix-input--readonly": o.readonly }]) }, [
57
- o.leftText ? (u(), r("div", {
58
- key: 0,
59
- class: "k-form-input-mix-input__text",
60
- innerHTML: o.leftText
61
- }, null, 8, p)) : n("", !0),
62
- i("div", {
63
- class: c(["k-form-input-mix-input__control", { "k-form-input-mix-input__control--affix": C.value }]),
64
- style: l(o.readonly ? void 0 : T.value)
65
- }, [a(e, s({
66
- clearable: o.clearable,
67
- "model-value": y.value[0],
68
- readonly: o.readonly,
69
- disabled: o.disabled,
70
- placeholder: o.leftPlaceholder
71
- }, o.leftProps, { "onUpdate:modelValue": d[0] ||= (e) => D(0, e) }), null, 16, [
72
- "clearable",
73
- "model-value",
74
- "readonly",
75
- "disabled",
76
- "placeholder"
77
- ])], 6),
78
- o.centerText ? (u(), r("div", {
79
- key: 1,
80
- class: "k-form-input-mix-input__text",
81
- innerHTML: o.centerText
82
- }, null, 8, m)) : n("", !0),
83
- i("div", {
84
- class: c(["k-form-input-mix-input__control", { "k-form-input-mix-input__control--affix": w.value }]),
85
- style: l(o.readonly ? void 0 : E.value)
86
- }, [a(e, s({
87
- "model-value": y.value[1],
88
- clearable: o.clearable,
89
- readonly: o.readonly,
90
- disabled: o.disabled,
91
- placeholder: o.rightPlaceholder
92
- }, o.rightProps, { "onUpdate:modelValue": d[1] ||= (e) => D(1, e) }), null, 16, [
93
- "model-value",
94
- "clearable",
95
- "readonly",
96
- "disabled",
97
- "placeholder"
98
- ])], 6),
99
- o.rightText ? (u(), r("div", {
100
- key: 2,
101
- class: "k-form-input-mix-input__text",
102
- innerHTML: o.rightText
103
- }, null, 8, h)) : n("", !0)
104
- ], 2));
105
- }
106
- });
107
- //#endregion
108
- export { g as default };
@@ -1 +0,0 @@
1
- .k-form-input-mix-input[data-v-6fdf6265]{vertical-align:top;flex-wrap:wrap;align-items:center;gap:8px;width:auto;max-width:100%;display:inline-flex}.k-form-input-mix-input__control[data-v-6fdf6265]{flex:none;max-width:100%}.k-form-input-mix-input__control[data-v-6fdf6265] .k-form-input{width:100%!important;max-width:none!important}.k-form-input-mix-input__control[data-v-6fdf6265] .el-input{width:100%}.k-form-input-mix-input__control--affix[data-v-6fdf6265] .k-form-input{width:auto!important}.k-form-input-mix-input__control--affix[data-v-6fdf6265] .el-input-group{vertical-align:middle;width:max-content;max-width:100%;display:inline-flex}.k-form-input-mix-input__control--affix[data-v-6fdf6265] .el-input-group .el-input__wrapper{width:var(--k-mix-input-field-width,120px);min-width:var(--k-mix-input-field-width,120px);flex:auto}.k-form-input-mix-input__control--affix[data-v-6fdf6265] .el-input-group__prepend,.k-form-input-mix-input__control--affix[data-v-6fdf6265] .el-input-group__append{white-space:nowrap;flex:none}.k-form-input-mix-input__text[data-v-6fdf6265]{color:var(--k-color-text-regular);font-size:var(--k-form-control-font-size);white-space:nowrap;flex:none}.k-form-input-mix-input--readonly .k-form-input-mix-input__control[data-v-6fdf6265]{width:auto;min-width:0}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputMixSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/k-form/formComponent/InputMixSelect.vue"],"names":[],"mappings":"AAsWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAMrD,KAAK,WAAW,GAAG,sBAAsB,GAAG;IACtC,oCAAoC;IACpC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6BAA6B;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,mDAAmD;IACnD,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;QAAE,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAA;KAAE,CAAA;IAC9F,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;QAAE,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAA;KAAE,CAAA;IAC/F,wBAAwB;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,yBAAyB;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gCAAgC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,kCAAkC;IAClC,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,YAAY;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAwYN,QAAA,MAAM,YAAY;;;;;;cAjaD,MAAM;eAEL,MAAM;gBAEL,MAAM;gBAIN,MAAM,GAAG,MAAM;iBAVd,OAAO;iBAQP,MAAM,GAAG,MAAM;aAInB,MAAM,GAAG,MAAM;gBAEZ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;QAAE,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAA;KAAE;iBAEhF,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;QAAE,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAA;KAAE;sBAE5E,MAAM;uBAEL,MAAM;eAEd,OAAO;oBAEF,OAAO;6EA+Y5B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- import e from "../../../_virtual/_plugin-vue_export-helper.js";
2
- import t from "./InputMixSelect.vue_vue_type_script_setup_true_lang.js";
3
- import './InputMixSelect.vue_vue_type_style_index_0_scoped_1f46ef39_lang.css';/* empty css */
4
- //#region src/components/k-form/formComponent/InputMixSelect.vue
5
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-1f46ef39"]]);
6
- //#endregion
7
- export { n as default };