@vipl520/dk-ui 1.0.76 → 1.0.77

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +285 -12
  4. package/dist/index.min.js +5 -5
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +5 -5
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +282 -11
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +34 -0
  11. package/es/index.d.ts +1 -0
  12. package/es/index.mjs +4 -1
  13. package/es/index.mjs.map +1 -1
  14. package/es/index.scss +1 -0
  15. package/es/style-custom-input/style/index.scss +0 -1
  16. package/es/table-form/index.d.ts +53 -0
  17. package/es/table-form/index.mjs +8 -0
  18. package/es/table-form/index.mjs.map +1 -0
  19. package/es/table-form/src/props.d.ts +23 -0
  20. package/es/table-form/src/props.mjs +26 -0
  21. package/es/table-form/src/props.mjs.map +1 -0
  22. package/es/table-form/src/table-form.vue.d.ts +52 -0
  23. package/es/table-form/src/table-form.vue.mjs +7 -0
  24. package/es/table-form/src/table-form.vue.mjs.map +1 -0
  25. package/es/table-form/src/table-form.vue2.mjs +250 -0
  26. package/es/table-form/src/table-form.vue2.mjs.map +1 -0
  27. package/es/table-form/style/index.css +1 -0
  28. package/es/table-form/style/index.scss +110 -0
  29. package/lib/index.d.ts +1 -0
  30. package/lib/index.js +187 -182
  31. package/lib/index.js.map +1 -1
  32. package/lib/index.scss +1 -0
  33. package/lib/style-custom-input/style/index.scss +0 -1
  34. package/lib/table-form/index.d.ts +53 -0
  35. package/lib/table-form/index.js +14 -0
  36. package/lib/table-form/index.js.map +1 -0
  37. package/lib/table-form/src/props.d.ts +23 -0
  38. package/lib/table-form/src/props.js +28 -0
  39. package/lib/table-form/src/props.js.map +1 -0
  40. package/lib/table-form/src/table-form.vue.d.ts +52 -0
  41. package/lib/table-form/src/table-form.vue.js +11 -0
  42. package/lib/table-form/src/table-form.vue.js.map +1 -0
  43. package/lib/table-form/src/table-form.vue2.js +254 -0
  44. package/lib/table-form/src/table-form.vue2.js.map +1 -0
  45. package/lib/table-form/style/index.css +1 -0
  46. package/lib/table-form/style/index.scss +110 -0
  47. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,15 +1,15 @@
1
1
  import axios from 'axios';
2
2
  import { ElLoading, ElMessage, ElButton, ElMessageBox, ElNotification } from 'element-plus';
3
- import { ref, reactive, nextTick, defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createTextVNode, createElementVNode, toDisplayString, markRaw, watch, onMounted, normalizeClass, createBlock, createCommentVNode, unref, computed, normalizeStyle, renderSlot, resolveDynamicComponent, withModifiers, renderList, useSlots, useAttrs, mergeProps, createSlots, resolveDirective, withDirectives, vShow, vModelText, inject, provide, onUnmounted, onUpdated, toRefs, getCurrentInstance, toRef, h, withKeys, normalizeProps, guardReactiveProps, warn } from 'vue';
3
+ import { ref, reactive, nextTick, defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createTextVNode, createElementVNode, toDisplayString, markRaw, watch, onMounted, normalizeClass, createBlock, createCommentVNode, unref, resolveDynamicComponent, computed, normalizeStyle, renderSlot, withModifiers, renderList, useSlots, useAttrs, mergeProps, createSlots, resolveDirective, withDirectives, vShow, vModelText, inject, provide, onUnmounted, onUpdated, toRefs, getCurrentInstance, toRef, h, withKeys, normalizeProps, guardReactiveProps, warn } from 'vue';
4
4
  import { useEventListener, useElementSize, useWindowSize, useResizeObserver } from '@vueuse/core';
5
5
  import draggable from 'vuedraggable';
6
6
  import Vue3DraggableResizable from 'vue3-draggable-resizable';
7
+ import formCreate from '@form-create/element-ui';
7
8
  import Editor from '@tinymce/tinymce-vue';
8
9
  import { Icon as Icon$1, disableCache, listIcons } from '@iconify/vue';
9
10
  import * as ElementPlusIconsVue from '@element-plus/icons-vue';
10
11
  import { Search, CircleClose } from '@element-plus/icons-vue';
11
12
  import icons from '@vant/icons';
12
- import formCreate from '@form-create/element-ui';
13
13
 
14
14
  const isObject$3 = (val) => val !== null && typeof val === "object";
15
15
  const isDef$1 = (val) => val !== void 0 && val !== null;
@@ -1670,11 +1670,11 @@ const testProps = {
1670
1670
  };
1671
1671
 
1672
1672
  const _hoisted_1$12 = { class: "mr-10px bg-black" };
1673
- const __default__$S = defineComponent({
1673
+ const __default__$T = defineComponent({
1674
1674
  name: "DkTest"
1675
1675
  });
1676
- var _sfc_main$1m = /* @__PURE__ */ defineComponent({
1677
- ...__default__$S,
1676
+ var _sfc_main$1n = /* @__PURE__ */ defineComponent({
1677
+ ...__default__$T,
1678
1678
  props: testProps,
1679
1679
  emits: ["onChooseUrl"],
1680
1680
  setup(__props, { emit }) {
@@ -1733,7 +1733,7 @@ var _export_sfc = (sfc, props) => {
1733
1733
  return target;
1734
1734
  };
1735
1735
 
1736
- var _Test = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\test\\src\\test.vue"]]);
1736
+ var _Test = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\test\\src\\test.vue"]]);
1737
1737
 
1738
1738
  const Test = withInstall(_Test);
1739
1739
 
@@ -1890,11 +1890,11 @@ const groupProps = {
1890
1890
  const _hoisted_1$11 = { key: 1 };
1891
1891
  const _hoisted_2$N = { class: "collapse-title" };
1892
1892
  const _hoisted_3$B = { class: "_dk-group-handle" };
1893
- const __default__$R = defineComponent({
1893
+ const __default__$S = defineComponent({
1894
1894
  name: "DkGroup"
1895
1895
  });
1896
- var _sfc_main$1l = /* @__PURE__ */ defineComponent({
1897
- ...__default__$R,
1896
+ var _sfc_main$1m = /* @__PURE__ */ defineComponent({
1897
+ ...__default__$S,
1898
1898
  props: groupProps,
1899
1899
  emits: ["update:modelValue", "change", "itemMounted", "remove", "add"],
1900
1900
  setup(__props, { emit }) {
@@ -2248,10 +2248,280 @@ var _sfc_main$1l = /* @__PURE__ */ defineComponent({
2248
2248
  }
2249
2249
  });
2250
2250
 
2251
- var _Group = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\group\\src\\group.vue"]]);
2251
+ var _Group = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\group\\src\\group.vue"]]);
2252
2252
 
2253
2253
  const Group = withInstall(_Group);
2254
2254
 
2255
+ const tableFormProps = {
2256
+ formCreateInject: Object,
2257
+ modelValue: {
2258
+ type: Array,
2259
+ default: () => []
2260
+ },
2261
+ columns: {
2262
+ type: Array,
2263
+ required: true,
2264
+ default: () => []
2265
+ },
2266
+ options: {
2267
+ type: Object,
2268
+ default: () => reactive({
2269
+ submitBtn: false,
2270
+ resetBtn: false
2271
+ })
2272
+ },
2273
+ max: Number,
2274
+ disabled: Boolean
2275
+ };
2276
+
2277
+ const __default__$R = defineComponent({
2278
+ name: "DkTableForm"
2279
+ });
2280
+ var _sfc_main$1l = /* @__PURE__ */ defineComponent({
2281
+ ...__default__$R,
2282
+ props: tableFormProps,
2283
+ emits: ["change", "add", "delete", "update:modelValue"],
2284
+ setup(__props, { emit }) {
2285
+ const props = __props;
2286
+ const rule = ref([]);
2287
+ const trs = ref([]);
2288
+ const fapi = ref({});
2289
+ const Form = markRaw(props.formCreateInject?.form?.$form() || {});
2290
+ const copyTrs = ref("");
2291
+ const oldValue = ref("");
2292
+ const formChange = (field, _, rule2, api, flag) => {
2293
+ if (!flag) {
2294
+ updateValue();
2295
+ }
2296
+ };
2297
+ const updateValue = () => {
2298
+ const value = trs.value.map((tr, idx) => ({
2299
+ // Vue: Spread types may only be created from object types.
2300
+ ...props.modelValue[idx] || {},
2301
+ ...fapi.value.getChildrenFormData(tr)
2302
+ })).filter((v) => {
2303
+ if (v === void 0 || v === null) {
2304
+ return false;
2305
+ }
2306
+ let flag = false;
2307
+ Object.keys(v).forEach((k) => {
2308
+ flag = flag || v[k] !== void 0 && v[k] !== "" && v[k] !== null;
2309
+ });
2310
+ return flag;
2311
+ });
2312
+ const str = JSON.stringify(value);
2313
+ if (str !== oldValue.value) {
2314
+ oldValue.value = str;
2315
+ emit("update:modelValue", value);
2316
+ emit("change", value);
2317
+ }
2318
+ };
2319
+ const setRawData = (idx, formData) => {
2320
+ const raw = trs.value[idx];
2321
+ fapi.value.setChildrenFormData(raw, formData, true);
2322
+ };
2323
+ const updateTable = () => {
2324
+ const str = JSON.stringify(props.modelValue);
2325
+ if (oldValue.value === str) {
2326
+ return;
2327
+ }
2328
+ oldValue.value = str;
2329
+ trs.value.splice(0, trs.value.length, ...props.modelValue.map(() => null));
2330
+ if (!props.modelValue.length) {
2331
+ addRaw();
2332
+ }
2333
+ props.modelValue.forEach((data, idx) => {
2334
+ if (!trs.value[idx]) {
2335
+ addRaw();
2336
+ }
2337
+ setRawData(idx, data);
2338
+ });
2339
+ rule.value[0].children[1].children = trs.value;
2340
+ };
2341
+ const delRaw = (idx) => {
2342
+ if (props.disabled) {
2343
+ return;
2344
+ }
2345
+ trs.value.splice(idx, 1);
2346
+ updateValue();
2347
+ if (trs.value.length) {
2348
+ trs.value.forEach(updateRaw);
2349
+ } else {
2350
+ addRaw();
2351
+ }
2352
+ emit("delete", idx);
2353
+ };
2354
+ const addRaw = (flag = false) => {
2355
+ if (flag && props.disabled) {
2356
+ return;
2357
+ }
2358
+ const tr = formCreate.parseJson(copyTrs.value)[0];
2359
+ trs.value.push(tr);
2360
+ updateRaw(tr);
2361
+ if (flag)
2362
+ emit("add", trs.value.length);
2363
+ };
2364
+ const updateRaw = (tr) => {
2365
+ const idx = trs.value.indexOf(tr);
2366
+ tr.children[0].props.innerText = idx + 1;
2367
+ tr.children[tr.children.length - 1].children[0].props.onClick = () => {
2368
+ delRaw(idx);
2369
+ };
2370
+ };
2371
+ const loadRule = () => {
2372
+ const header = [
2373
+ {
2374
+ type: "th",
2375
+ native: true,
2376
+ class: "dk-tf-head-idx",
2377
+ props: {
2378
+ innerText: "#"
2379
+ }
2380
+ }
2381
+ ];
2382
+ const body = [
2383
+ {
2384
+ type: "td",
2385
+ class: "dk-tf-idx",
2386
+ native: true,
2387
+ props: {
2388
+ innerText: "0"
2389
+ }
2390
+ }
2391
+ ];
2392
+ props.columns.forEach((column) => {
2393
+ header.push({
2394
+ type: "th",
2395
+ native: true,
2396
+ style: column.style,
2397
+ props: {
2398
+ innerText: column.label || ""
2399
+ }
2400
+ });
2401
+ body.push({
2402
+ type: "td",
2403
+ native: true,
2404
+ children: [...column.rule || []]
2405
+ });
2406
+ });
2407
+ header.push({
2408
+ type: "th",
2409
+ native: true,
2410
+ class: "dk-tf-edit fc-clock",
2411
+ props: {
2412
+ innerText: "\u64CD\u4F5C"
2413
+ }
2414
+ });
2415
+ body.push({
2416
+ type: "td",
2417
+ native: true,
2418
+ class: "dk-tf-btn fc-clock",
2419
+ children: [
2420
+ {
2421
+ type: "dk-icon",
2422
+ native: true,
2423
+ class: "fc-icon icon-delete",
2424
+ props: {
2425
+ icon: "DeleteFilled"
2426
+ }
2427
+ }
2428
+ ]
2429
+ });
2430
+ copyTrs.value = formCreate.toJson([
2431
+ {
2432
+ type: "tr",
2433
+ native: true,
2434
+ subRule: true,
2435
+ children: body
2436
+ }
2437
+ ]);
2438
+ rule.value = [
2439
+ {
2440
+ type: "table",
2441
+ native: true,
2442
+ class: "dk-tf-table",
2443
+ props: {
2444
+ border: "1",
2445
+ cellspacing: "0",
2446
+ cellpadding: "0"
2447
+ },
2448
+ children: [
2449
+ {
2450
+ type: "thead",
2451
+ native: true,
2452
+ children: [
2453
+ {
2454
+ type: "tr",
2455
+ native: true,
2456
+ children: header
2457
+ }
2458
+ ]
2459
+ },
2460
+ {
2461
+ type: "tbody",
2462
+ native: true,
2463
+ children: trs.value
2464
+ }
2465
+ ]
2466
+ }
2467
+ ];
2468
+ addRaw();
2469
+ };
2470
+ watch(() => props.modelValue, updateTable, { deep: true });
2471
+ onMounted(() => {
2472
+ loadRule();
2473
+ updateTable();
2474
+ });
2475
+ return (_ctx, _cache) => {
2476
+ const _component_dk_icon = resolveComponent("dk-icon");
2477
+ const _component_el_button = resolveComponent("el-button");
2478
+ return openBlock(), createElementBlock(
2479
+ "div",
2480
+ {
2481
+ class: normalizeClass(["dk-table-form", { "dk-disabled": _ctx.disabled }])
2482
+ },
2483
+ [
2484
+ (openBlock(), createBlock(resolveDynamicComponent(unref(Form)), {
2485
+ api: fapi.value,
2486
+ "onUpdate:api": _cache[0] || (_cache[0] = ($event) => fapi.value = $event),
2487
+ option: _ctx.options,
2488
+ rule: rule.value,
2489
+ "extend-option": true,
2490
+ disabled: _ctx.disabled,
2491
+ onChange: formChange,
2492
+ onEmitEvent: _ctx.$emit
2493
+ }, null, 40, ["api", "option", "rule", "disabled", "onEmitEvent"])),
2494
+ !_ctx.max || _ctx.max > trs.value.length ? (openBlock(), createBlock(_component_el_button, {
2495
+ key: 0,
2496
+ link: "",
2497
+ type: "primary",
2498
+ class: "fc-clock",
2499
+ onClick: _cache[1] || (_cache[1] = ($event) => addRaw(true))
2500
+ }, {
2501
+ default: withCtx(() => [
2502
+ createElementVNode("span", null, [
2503
+ createVNode(_component_dk_icon, {
2504
+ icon: "CirclePlusFilled",
2505
+ size: 14
2506
+ }),
2507
+ createTextVNode(" \u6DFB\u52A0")
2508
+ ])
2509
+ ]),
2510
+ _: 1
2511
+ /* STABLE */
2512
+ })) : createCommentVNode("v-if", true)
2513
+ ],
2514
+ 2
2515
+ /* CLASS */
2516
+ );
2517
+ };
2518
+ }
2519
+ });
2520
+
2521
+ var _TableForm = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\table-form\\src\\table-form.vue"]]);
2522
+
2523
+ const TableForm = withInstall(_TableForm);
2524
+
2255
2525
  const init = {
2256
2526
  language: "zh-Hans",
2257
2527
  branding: false,
@@ -29732,6 +30002,7 @@ const UrlInput = withInstall(_UrlInput);
29732
30002
  const components = [
29733
30003
  Test,
29734
30004
  Group,
30005
+ TableForm,
29735
30006
  // 富文本编辑器
29736
30007
  TinyEditor,
29737
30008
  // 图标
@@ -29832,4 +30103,4 @@ var index = {
29832
30103
  install
29833
30104
  };
29834
30105
 
29835
- export { AnimateSelect, Attachment, AttachmentDialog, AudioInput, AudioListInput, BoxSizeInput, ColorInput, FileInput, FileListInput, Form, Group, HotAreaInput, Icon, IconContent, IconDialog, IconInput, ImageInput, ImageListInput, PageDiy, Poster, PosterInput, Select, StyleAnimationInput, StyleBackgroundInput, StyleBorderInput, StyleBoxInput, StyleCustomInput, StyleFontInput, StyleInput, StyleNumberInput, StylePositionInput, StyleShadowContent, StyleShadowInput, Table, Test, TinyEditor, UniIcon, UniIconInput, UrlInput, VideoInput, VideoListInput, animateSelectProps, attachmentDialogProps, attachmentProps, audioInputProps, audioListInputProps, boxSizeInputProps, colorInputProps, index as default, fileInputProps, fileListInputProps, formProps, groupProps, hotAreaInputProps, iconContentProps, iconDialogProps, iconInputProps, iconProps, imageInputProps, imageListInputProps, install, pageDiyProps, posterInputProps, selectProps, shadowInputProps, styleAnimationInputProps, styleBackgroundInputProps, styleBorderInputProps, styleBoxInputProps, styleCustomInputProps, styleFontInputProps, styleInputProps, styleNumberInputProps, stylePositionInputProps, tableProps, testProps, tinyEditorProps, uniIconInputProps, uniIconProps, urlInputProps, videoInputProps, videoListInputProps };
30106
+ export { AnimateSelect, Attachment, AttachmentDialog, AudioInput, AudioListInput, BoxSizeInput, ColorInput, FileInput, FileListInput, Form, Group, HotAreaInput, Icon, IconContent, IconDialog, IconInput, ImageInput, ImageListInput, PageDiy, Poster, PosterInput, Select, StyleAnimationInput, StyleBackgroundInput, StyleBorderInput, StyleBoxInput, StyleCustomInput, StyleFontInput, StyleInput, StyleNumberInput, StylePositionInput, StyleShadowContent, StyleShadowInput, Table, TableForm, Test, TinyEditor, UniIcon, UniIconInput, UrlInput, VideoInput, VideoListInput, animateSelectProps, attachmentDialogProps, attachmentProps, audioInputProps, audioListInputProps, boxSizeInputProps, colorInputProps, index as default, fileInputProps, fileListInputProps, formProps, groupProps, hotAreaInputProps, iconContentProps, iconDialogProps, iconInputProps, iconProps, imageInputProps, imageListInputProps, install, pageDiyProps, posterInputProps, selectProps, shadowInputProps, styleAnimationInputProps, styleBackgroundInputProps, styleBorderInputProps, styleBoxInputProps, styleCustomInputProps, styleFontInputProps, styleInputProps, styleNumberInputProps, stylePositionInputProps, tableFormProps, tableProps, testProps, tinyEditorProps, uniIconInputProps, uniIconProps, urlInputProps, videoInputProps, videoListInputProps };
package/dist/tags.json CHANGED
@@ -268,6 +268,13 @@
268
268
  ],
269
269
  "description": "内置数据表格组件,需要和怪兽框架配合使用。\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#table)"
270
270
  },
271
+ "dk-table-form": {
272
+ "attributes": [
273
+ "type",
274
+ "click"
275
+ ],
276
+ "description": "组件描述组件描述组件描述组件描述组件描述组件描述。\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#tableform)"
277
+ },
271
278
  "dk-test": {
272
279
  "attributes": [
273
280
  "type",
@@ -1598,6 +1598,40 @@
1598
1598
  ]
1599
1599
  }
1600
1600
  },
1601
+ {
1602
+ "name": "dk-table-form",
1603
+ "source": {
1604
+ "symbol": "DkUITableForm"
1605
+ },
1606
+ "description": "组件描述组件描述组件描述组件描述组件描述组件描述。",
1607
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tableform",
1608
+ "props": [
1609
+ {
1610
+ "name": "type",
1611
+ "description": "参数类型",
1612
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tableform-props",
1613
+ "type": [
1614
+ "string"
1615
+ ]
1616
+ }
1617
+ ],
1618
+ "slots": [
1619
+ {
1620
+ "name": "default",
1621
+ "description": "自定义默认内容",
1622
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tableform-slots"
1623
+ }
1624
+ ],
1625
+ "js": {
1626
+ "events": [
1627
+ {
1628
+ "name": "click",
1629
+ "description": "点击触发的事件",
1630
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#tableform-events"
1631
+ }
1632
+ ]
1633
+ }
1634
+ },
1601
1635
  {
1602
1636
  "name": "dk-test",
1603
1637
  "source": {
package/es/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import type { App } from 'vue';
2
2
  export * from './tiny-editor';
3
3
  export * from './icon';
4
4
  export * from './group';
5
+ export * from './table-form';
5
6
  export * from './color-input';
6
7
  export * from './hot-area-input';
7
8
  export * from './form';
package/es/index.mjs CHANGED
@@ -2,6 +2,7 @@ import { Test } from './test/index.mjs';
2
2
  import draggable from 'vuedraggable';
3
3
  import Vue3DraggableResizable from 'vue3-draggable-resizable';
4
4
  import { Group } from './group/index.mjs';
5
+ import { TableForm } from './table-form/index.mjs';
5
6
  import { TinyEditor } from './tiny-editor/index.mjs';
6
7
  import { Icon } from './icon/index.mjs';
7
8
  import { ColorInput } from './color-input/index.mjs';
@@ -42,6 +43,7 @@ import { directives, setGlobalConfig } from '@vipl520/utils';
42
43
  export { tinyEditorProps } from './tiny-editor/src/props.mjs';
43
44
  export { iconProps } from './icon/src/props.mjs';
44
45
  export { groupProps } from './group/src/props.mjs';
46
+ export { tableFormProps } from './table-form/src/props.mjs';
45
47
  export { colorInputProps } from './color-input/src/props.mjs';
46
48
  export { hotAreaInputProps } from './hot-area-input/src/props.mjs';
47
49
  export { formProps } from './form/src/props.mjs';
@@ -80,6 +82,7 @@ export { urlInputProps } from './url-input/src/props.mjs';
80
82
  const components = [
81
83
  Test,
82
84
  Group,
85
+ TableForm,
83
86
  // 富文本编辑器
84
87
  TinyEditor,
85
88
  // 图标
@@ -180,5 +183,5 @@ var index = {
180
183
  install
181
184
  };
182
185
 
183
- export { AnimateSelect, Attachment, AttachmentDialog, AudioInput, AudioListInput, BoxSizeInput, ColorInput, FileInput, FileListInput, Form, Group, HotAreaInput, Icon, IconContent, IconDialog, IconInput, ImageInput, ImageListInput, PageDiy, Poster, PosterInput, Select, StyleAnimationInput, StyleBackgroundInput, StyleBorderInput, StyleBoxInput, StyleCustomInput, StyleFontInput, StyleInput, StyleNumberInput, StylePositionInput, StyleShadowContent, StyleShadowInput, Table, Test, TinyEditor, UniIcon, UniIconInput, UrlInput, VideoInput, VideoListInput, index as default, install };
186
+ export { AnimateSelect, Attachment, AttachmentDialog, AudioInput, AudioListInput, BoxSizeInput, ColorInput, FileInput, FileListInput, Form, Group, HotAreaInput, Icon, IconContent, IconDialog, IconInput, ImageInput, ImageListInput, PageDiy, Poster, PosterInput, Select, StyleAnimationInput, StyleBackgroundInput, StyleBorderInput, StyleBoxInput, StyleCustomInput, StyleFontInput, StyleInput, StyleNumberInput, StylePositionInput, StyleShadowContent, StyleShadowInput, Table, TableForm, Test, TinyEditor, UniIcon, UniIconInput, UrlInput, VideoInput, VideoListInput, index as default, install };
184
187
  //# sourceMappingURL=index.mjs.map
package/es/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../src/index.ts"],"sourcesContent":["import type { App } from 'vue'\nimport { Test } from './test'\nimport draggable from 'vuedraggable'\nimport Vue3DraggableResizable from 'vue3-draggable-resizable'\n\nimport { Group } from './group'\nimport { TinyEditor } from './tiny-editor'\nimport { Icon } from './icon'\nimport { ColorInput } from './color-input'\nimport { HotAreaInput } from './hot-area-input'\nimport { Dialog } from './dialog'\nimport { Form } from './form'\nimport { Attachment } from './attachment'\nimport { AttachmentDialog } from './attachment-dialog'\nimport { FileInput } from './file-input'\nimport { ImageInput } from './image-input'\nimport { AudioInput } from './audio-input'\nimport { VideoInput } from './video-input'\nimport { FileListInput } from './file-list-input'\nimport { ImageListInput } from './image-list-input'\nimport { AudioListInput } from './audio-list-input'\nimport { VideoListInput } from './video-list-input'\nimport { IconInput, IconContent, IconDialog } from './icon-input'\nimport { StyleInput } from './style-input'\nimport { BoxSizeInput } from './box-size-input'\nimport { StyleBoxInput } from './style-box-input'\nimport { StyleFontInput } from './style-font-input'\nimport { StyleBorderInput } from './style-border-input'\nimport { StyleBackgroundInput } from './style-background-input'\nimport { StyleShadowContent, StyleShadowInput } from './style-shadow-input'\nimport { StylePositionInput } from './style-position-input'\nimport { StyleNumberInput } from './style-number-input'\nimport { StyleCustomInput } from './style-custom-input'\nimport { PageDiy } from './page-diy'\nimport { Table } from './table'\nimport { Select } from './select'\nimport { Poster, PosterInput } from './poster-input'\nimport { StyleAnimationInput } from './style-animation-input'\nimport { AnimateSelect } from './animate-select'\nimport { UniIconInput } from './uni-icon-input'\nimport { UniIcon } from './uni-icon'\nimport { UrlInput } from './url-input'\n\nimport { setGlobalConfig, directives } from '@vipl520/utils'\nexport * from './tiny-editor'\nexport * from './icon'\nexport * from './group'\nexport * from './color-input'\nexport * from './hot-area-input'\nexport * from './form'\nexport * from './attachment'\nexport * from './attachment-dialog'\nexport * from './file-input'\nexport * from './image-input'\nexport * from './audio-input'\nexport * from './video-input'\nexport * from './file-list-input'\nexport * from './image-list-input'\nexport * from './audio-list-input'\nexport * from './video-list-input'\nexport * from './icon-input'\nexport * from './page-diy'\nexport * from './box-size-input'\nexport * from './test'\nexport * from './style-input'\nexport * from './style-box-input'\nexport * from './style-font-input'\nexport * from './style-border-input'\nexport * from './style-shadow-input'\nexport * from './style-background-input'\nexport * from './style-position-input'\nexport * from './style-number-input'\nexport * from './style-custom-input'\nexport * from './table'\nexport * from './select'\nexport * from './poster-input'\nexport * from './style-animation-input'\nexport * from './animate-select'\nexport * from './uni-icon'\nexport * from './uni-icon-input'\nexport * from './url-input'\n\nconst components = [\n Test,\n Group,\n // 富文本编辑器\n TinyEditor,\n // 图标\n Icon,\n // 颜色选择器\n ColorInput,\n // 热区选择器\n HotAreaInput,\n // 对话框\n Dialog,\n // json表单\n Form,\n // 附件\n Attachment,\n // 附件弹窗\n AttachmentDialog,\n // 文件选择器\n FileInput,\n // 图片选择器\n ImageInput,\n // 音频选择器\n AudioInput,\n // 视频选择器\n VideoInput,\n // 多文件选择器\n FileListInput,\n // 多图片选择器\n ImageListInput,\n // 多音频选择器\n AudioListInput,\n // 多视频选择器\n VideoListInput,\n // 图标选择器\n IconInput,\n // 图标展示框\n IconContent,\n // 图片弹出框\n IconDialog,\n // DIY编辑器\n PageDiy,\n // 尺寸输入框(带px/%/rem/等单位)\n BoxSizeInput,\n // DIV盒子编辑器(padding/margin/width/height)\n StyleBoxInput,\n // 文字样式编辑器\n StyleFontInput,\n // 边框样式编辑器\n StyleBorderInput,\n // 阴影编辑器\n StyleShadowInput,\n // 阴影编辑框\n StyleShadowContent,\n // 背景编辑器\n StyleBackgroundInput,\n // 合并样式编辑\n StyleInput,\n // 定位编辑器\n StylePositionInput,\n // 样式文字\n StyleNumberInput,\n // 动画配置\n StyleAnimationInput,\n // 自定义样式\n StyleCustomInput,\n // 动画class选择\n AnimateSelect,\n // 数据表格\n Table,\n // 选择\n Select,\n // 表单组/对象表单\n // 海报选择器\n PosterInput,\n // 海报\n Poster,\n Vue3DraggableResizable,\n draggable,\n UniIconInput,\n UniIcon,\n UrlInput,\n // TODO 普通上传 upload\n // TODO tag选择器 tag-input\n // TODO 链接选择器 link-input\n // TODO 应用框架\n]\n\nexport const install = (app: App, option: any = {}) => {\n components.forEach((item) => {\n if (item.install!) {\n app.use(item)\n } else if (item.name) {\n app.component(item.name, item)\n }\n })\n directives(app)\n setGlobalConfig(option)\n}\n\nexport default {\n install,\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFA,MAAM,UAAa,GAAA;AAAA,EACjB,IAAA;AAAA,EACA,KAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,YAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,WAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,OAAA;AAAA;AAAA,EAEA,YAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,oBAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,mBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,KAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA;AAAA,EAGA,WAAA;AAAA;AAAA,EAEA,MAAA;AAAA,EACA,sBAAA;AAAA,EACA,SAAA;AAAA,EACA,YAAA;AAAA,EACA,OAAA;AAAA,EACA,QAAA;AAAA;AAAA;AAAA;AAAA;AAKF,CAAA,CAAA;AAEO,MAAM,OAAU,GAAA,CAAC,GAAU,EAAA,MAAA,GAAc,EAAO,KAAA;AACrD,EAAW,UAAA,CAAA,OAAA,CAAQ,CAAC,IAAS,KAAA;AAC3B,IAAA,IAAI,KAAK,OAAU,EAAA;AACjB,MAAA,GAAA,CAAI,IAAI,IAAI,CAAA,CAAA;AAAA,KACd,MAAA,IAAW,KAAK,IAAM,EAAA;AACpB,MAAI,GAAA,CAAA,SAAA,CAAU,IAAK,CAAA,IAAA,EAAM,IAAI,CAAA,CAAA;AAAA,KAC/B;AAAA,GACD,CAAA,CAAA;AACD,EAAA,UAAA,CAAW,GAAG,CAAA,CAAA;AACd,EAAA,eAAA,CAAgB,MAAM,CAAA,CAAA;AACxB,EAAA;AAEA,YAAe;AAAA,EACb,OAAA;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../src/index.ts"],"sourcesContent":["import type { App } from 'vue'\nimport { Test } from './test'\nimport draggable from 'vuedraggable'\nimport Vue3DraggableResizable from 'vue3-draggable-resizable'\n\nimport { Group } from './group'\nimport { TableForm } from './table-form'\nimport { TinyEditor } from './tiny-editor'\nimport { Icon } from './icon'\nimport { ColorInput } from './color-input'\nimport { HotAreaInput } from './hot-area-input'\nimport { Dialog } from './dialog'\nimport { Form } from './form'\nimport { Attachment } from './attachment'\nimport { AttachmentDialog } from './attachment-dialog'\nimport { FileInput } from './file-input'\nimport { ImageInput } from './image-input'\nimport { AudioInput } from './audio-input'\nimport { VideoInput } from './video-input'\nimport { FileListInput } from './file-list-input'\nimport { ImageListInput } from './image-list-input'\nimport { AudioListInput } from './audio-list-input'\nimport { VideoListInput } from './video-list-input'\nimport { IconInput, IconContent, IconDialog } from './icon-input'\nimport { StyleInput } from './style-input'\nimport { BoxSizeInput } from './box-size-input'\nimport { StyleBoxInput } from './style-box-input'\nimport { StyleFontInput } from './style-font-input'\nimport { StyleBorderInput } from './style-border-input'\nimport { StyleBackgroundInput } from './style-background-input'\nimport { StyleShadowContent, StyleShadowInput } from './style-shadow-input'\nimport { StylePositionInput } from './style-position-input'\nimport { StyleNumberInput } from './style-number-input'\nimport { StyleCustomInput } from './style-custom-input'\nimport { PageDiy } from './page-diy'\nimport { Table } from './table'\nimport { Select } from './select'\nimport { Poster, PosterInput } from './poster-input'\nimport { StyleAnimationInput } from './style-animation-input'\nimport { AnimateSelect } from './animate-select'\nimport { UniIconInput } from './uni-icon-input'\nimport { UniIcon } from './uni-icon'\nimport { UrlInput } from './url-input'\n\nimport { setGlobalConfig, directives } from '@vipl520/utils'\nexport * from './tiny-editor'\nexport * from './icon'\nexport * from './group'\nexport * from './table-form'\nexport * from './color-input'\nexport * from './hot-area-input'\nexport * from './form'\nexport * from './attachment'\nexport * from './attachment-dialog'\nexport * from './file-input'\nexport * from './image-input'\nexport * from './audio-input'\nexport * from './video-input'\nexport * from './file-list-input'\nexport * from './image-list-input'\nexport * from './audio-list-input'\nexport * from './video-list-input'\nexport * from './icon-input'\nexport * from './page-diy'\nexport * from './box-size-input'\nexport * from './test'\nexport * from './style-input'\nexport * from './style-box-input'\nexport * from './style-font-input'\nexport * from './style-border-input'\nexport * from './style-shadow-input'\nexport * from './style-background-input'\nexport * from './style-position-input'\nexport * from './style-number-input'\nexport * from './style-custom-input'\nexport * from './table'\nexport * from './select'\nexport * from './poster-input'\nexport * from './style-animation-input'\nexport * from './animate-select'\nexport * from './uni-icon'\nexport * from './uni-icon-input'\nexport * from './url-input'\n\nconst components = [\n Test,\n Group,\n TableForm,\n // 富文本编辑器\n TinyEditor,\n // 图标\n Icon,\n // 颜色选择器\n ColorInput,\n // 热区选择器\n HotAreaInput,\n // 对话框\n Dialog,\n // json表单\n Form,\n // 附件\n Attachment,\n // 附件弹窗\n AttachmentDialog,\n // 文件选择器\n FileInput,\n // 图片选择器\n ImageInput,\n // 音频选择器\n AudioInput,\n // 视频选择器\n VideoInput,\n // 多文件选择器\n FileListInput,\n // 多图片选择器\n ImageListInput,\n // 多音频选择器\n AudioListInput,\n // 多视频选择器\n VideoListInput,\n // 图标选择器\n IconInput,\n // 图标展示框\n IconContent,\n // 图片弹出框\n IconDialog,\n // DIY编辑器\n PageDiy,\n // 尺寸输入框(带px/%/rem/等单位)\n BoxSizeInput,\n // DIV盒子编辑器(padding/margin/width/height)\n StyleBoxInput,\n // 文字样式编辑器\n StyleFontInput,\n // 边框样式编辑器\n StyleBorderInput,\n // 阴影编辑器\n StyleShadowInput,\n // 阴影编辑框\n StyleShadowContent,\n // 背景编辑器\n StyleBackgroundInput,\n // 合并样式编辑\n StyleInput,\n // 定位编辑器\n StylePositionInput,\n // 样式文字\n StyleNumberInput,\n // 动画配置\n StyleAnimationInput,\n // 自定义样式\n StyleCustomInput,\n // 动画class选择\n AnimateSelect,\n // 数据表格\n Table,\n // 选择\n Select,\n // 表单组/对象表单\n // 海报选择器\n PosterInput,\n // 海报\n Poster,\n Vue3DraggableResizable,\n draggable,\n UniIconInput,\n UniIcon,\n UrlInput,\n // TODO 普通上传 upload\n // TODO tag选择器 tag-input\n // TODO 链接选择器 link-input\n // TODO 应用框架\n]\n\nexport const install = (app: App, option: any = {}) => {\n components.forEach((item) => {\n if (item.install!) {\n app.use(item)\n } else if (item.name) {\n app.component(item.name, item)\n }\n })\n directives(app)\n setGlobalConfig(option)\n}\n\nexport default {\n install,\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoFA,MAAM,UAAa,GAAA;AAAA,EACjB,IAAA;AAAA,EACA,KAAA;AAAA,EACA,SAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,YAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,WAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,OAAA;AAAA;AAAA,EAEA,YAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,oBAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,mBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,KAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA;AAAA,EAGA,WAAA;AAAA;AAAA,EAEA,MAAA;AAAA,EACA,sBAAA;AAAA,EACA,SAAA;AAAA,EACA,YAAA;AAAA,EACA,OAAA;AAAA,EACA,QAAA;AAAA;AAAA;AAAA;AAAA;AAKF,CAAA,CAAA;AAEO,MAAM,OAAU,GAAA,CAAC,GAAU,EAAA,MAAA,GAAc,EAAO,KAAA;AACrD,EAAW,UAAA,CAAA,OAAA,CAAQ,CAAC,IAAS,KAAA;AAC3B,IAAA,IAAI,KAAK,OAAU,EAAA;AACjB,MAAA,GAAA,CAAI,IAAI,IAAI,CAAA,CAAA;AAAA,KACd,MAAA,IAAW,KAAK,IAAM,EAAA;AACpB,MAAI,GAAA,CAAA,SAAA,CAAU,IAAK,CAAA,IAAA,EAAM,IAAI,CAAA,CAAA;AAAA,KAC/B;AAAA,GACD,CAAA,CAAA;AACD,EAAA,UAAA,CAAW,GAAG,CAAA,CAAA;AACd,EAAA,eAAA,CAAgB,MAAM,CAAA,CAAA;AACxB,EAAA;AAEA,YAAe;AAAA,EACb,OAAA;AACF,CAAA;;;;"}
package/es/index.scss CHANGED
@@ -1,6 +1,7 @@
1
1
  /* stylelint-disable */
2
2
  @import './icon/style/index.scss';
3
3
  @import './group/style/index.scss';
4
+ @import "./table-form/style/index.scss";
4
5
  @import './dialog/style/index.scss';
5
6
  @import './attachment/style/index.scss';
6
7
  @import './file-input/style/index.scss';
@@ -1,5 +1,4 @@
1
1
  /* stylelint-disable */
2
2
  .dk-style-custom-input {
3
-
4
3
  }
5
4
  /* stylelint-enable */
@@ -0,0 +1,53 @@
1
+ export declare const TableForm: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<{
2
+ formCreateInject: ObjectConstructor;
3
+ modelValue: {
4
+ type: ArrayConstructor;
5
+ default: () => never[];
6
+ };
7
+ columns: {
8
+ type: ArrayConstructor;
9
+ required: boolean;
10
+ default: () => never[];
11
+ };
12
+ options: {
13
+ type: ObjectConstructor;
14
+ default: () => {
15
+ submitBtn: boolean;
16
+ resetBtn: boolean;
17
+ };
18
+ };
19
+ max: NumberConstructor;
20
+ disabled: BooleanConstructor;
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "delete" | "add")[], "update:modelValue" | "change" | "delete" | "add", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ formCreateInject: ObjectConstructor;
23
+ modelValue: {
24
+ type: ArrayConstructor;
25
+ default: () => never[];
26
+ };
27
+ columns: {
28
+ type: ArrayConstructor;
29
+ required: boolean;
30
+ default: () => never[];
31
+ };
32
+ options: {
33
+ type: ObjectConstructor;
34
+ default: () => {
35
+ submitBtn: boolean;
36
+ resetBtn: boolean;
37
+ };
38
+ };
39
+ max: NumberConstructor;
40
+ disabled: BooleanConstructor;
41
+ }>> & {
42
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
43
+ onChange?: ((...args: any[]) => any) | undefined;
44
+ onDelete?: ((...args: any[]) => any) | undefined;
45
+ onAdd?: ((...args: any[]) => any) | undefined;
46
+ }, {
47
+ modelValue: unknown[];
48
+ disabled: boolean;
49
+ options: Record<string, any>;
50
+ columns: unknown[];
51
+ }, {}>>;
52
+ export default TableForm;
53
+ export * from './src/props';
@@ -0,0 +1,8 @@
1
+ import { withInstall } from '@vipl520/utils';
2
+ import _TableForm from './src/table-form.vue.mjs';
3
+ export { tableFormProps } from './src/props.mjs';
4
+
5
+ const TableForm = withInstall(_TableForm);
6
+
7
+ export { TableForm, TableForm as default };
8
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../src/table-form/index.ts"],"sourcesContent":["import { withInstall } from '@vipl520/utils'\nimport _TableForm from './src/table-form.vue'\n\nexport const TableForm = withInstall(_TableForm)\nexport default TableForm\n\nexport * from './src/props'\n"],"names":[],"mappings":";;;;AAGa,MAAA,SAAA,GAAY,YAAY,UAAU;;;;"}
@@ -0,0 +1,23 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ export declare const tableFormProps: {
3
+ formCreateInject: ObjectConstructor;
4
+ modelValue: {
5
+ type: ArrayConstructor;
6
+ default: () => never[];
7
+ };
8
+ columns: {
9
+ type: ArrayConstructor;
10
+ required: boolean;
11
+ default: () => never[];
12
+ };
13
+ options: {
14
+ type: ObjectConstructor;
15
+ default: () => {
16
+ submitBtn: boolean;
17
+ resetBtn: boolean;
18
+ };
19
+ };
20
+ max: NumberConstructor;
21
+ disabled: BooleanConstructor;
22
+ };
23
+ export type TableFormProps = ExtractPropTypes<typeof tableFormProps>;
@@ -0,0 +1,26 @@
1
+ import { reactive } from 'vue';
2
+
3
+ const tableFormProps = {
4
+ formCreateInject: Object,
5
+ modelValue: {
6
+ type: Array,
7
+ default: () => []
8
+ },
9
+ columns: {
10
+ type: Array,
11
+ required: true,
12
+ default: () => []
13
+ },
14
+ options: {
15
+ type: Object,
16
+ default: () => reactive({
17
+ submitBtn: false,
18
+ resetBtn: false
19
+ })
20
+ },
21
+ max: Number,
22
+ disabled: Boolean
23
+ };
24
+
25
+ export { tableFormProps };
26
+ //# sourceMappingURL=props.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.mjs","sources":["../../../src/table-form/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes, PropType } from 'vue'\nimport { reactive } from 'vue'\n// src/props.ts\nexport const tableFormProps = {\n formCreateInject: Object,\n modelValue: {\n type: Array,\n default: () => [],\n },\n columns: {\n type: Array,\n required: true,\n default: () => [],\n },\n options: {\n type: Object,\n default: () =>\n reactive({\n submitBtn: false,\n resetBtn: false,\n }),\n },\n max: Number,\n disabled: Boolean,\n}\n\nexport type TableFormProps = ExtractPropTypes<typeof tableFormProps>\n"],"names":[],"mappings":";;AAGO,MAAM,cAAiB,GAAA;AAAA,EAC5B,gBAAkB,EAAA,MAAA;AAAA,EAClB,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,KAAA;AAAA,IACN,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA,EACA,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,KAAA;AAAA,IACN,QAAU,EAAA,IAAA;AAAA,IACV,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA,EACA,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,MAAA;AAAA,IACN,OAAA,EAAS,MACP,QAAS,CAAA;AAAA,MACP,SAAW,EAAA,KAAA;AAAA,MACX,QAAU,EAAA,KAAA;AAAA,KACX,CAAA;AAAA,GACL;AAAA,EACA,GAAK,EAAA,MAAA;AAAA,EACL,QAAU,EAAA,OAAA;AACZ;;;;"}