@vipl520/dk-ui 1.0.76 → 1.0.78

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 (51) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +288 -15
  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 +285 -14
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +35 -1
  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 +79 -0
  15. package/es/page-diy/src/page-diy.vue.mjs +3 -3
  16. package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
  17. package/es/style-custom-input/style/index.scss +0 -1
  18. package/es/table-form/index.d.ts +53 -0
  19. package/es/table-form/index.mjs +8 -0
  20. package/es/table-form/index.mjs.map +1 -0
  21. package/es/table-form/src/props.d.ts +23 -0
  22. package/es/table-form/src/props.mjs +26 -0
  23. package/es/table-form/src/props.mjs.map +1 -0
  24. package/es/table-form/src/table-form.vue.d.ts +52 -0
  25. package/es/table-form/src/table-form.vue.mjs +7 -0
  26. package/es/table-form/src/table-form.vue.mjs.map +1 -0
  27. package/es/table-form/src/table-form.vue2.mjs +250 -0
  28. package/es/table-form/src/table-form.vue2.mjs.map +1 -0
  29. package/es/table-form/style/index.css +1 -0
  30. package/es/table-form/style/index.scss +110 -0
  31. package/lib/index.d.ts +1 -0
  32. package/lib/index.js +187 -182
  33. package/lib/index.js.map +1 -1
  34. package/lib/index.scss +79 -0
  35. package/lib/page-diy/src/page-diy.vue.js +3 -3
  36. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  37. package/lib/style-custom-input/style/index.scss +0 -1
  38. package/lib/table-form/index.d.ts +53 -0
  39. package/lib/table-form/index.js +14 -0
  40. package/lib/table-form/index.js.map +1 -0
  41. package/lib/table-form/src/props.d.ts +23 -0
  42. package/lib/table-form/src/props.js +28 -0
  43. package/lib/table-form/src/props.js.map +1 -0
  44. package/lib/table-form/src/table-form.vue.d.ts +52 -0
  45. package/lib/table-form/src/table-form.vue.js +11 -0
  46. package/lib/table-form/src/table-form.vue.js.map +1 -0
  47. package/lib/table-form/src/table-form.vue2.js +254 -0
  48. package/lib/table-form/src/table-form.vue2.js.map +1 -0
  49. package/lib/table-form/style/index.css +1 -0
  50. package/lib/table-form/style/index.scss +110 -0
  51. 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,
@@ -16866,7 +17136,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
16866
17136
  const _component_dk_dialog = resolveComponent("dk-dialog");
16867
17137
  const _directive_loading = resolveDirective("loading");
16868
17138
 
16869
- return (openBlock(), createBlock(_component_el_container, { class: "_fc-designer dk-page-diy" }, {
17139
+ return (openBlock(), createBlock(_component_el_container, { class: "dk-page-diy" }, {
16870
17140
  default: withCtx(() => [
16871
17141
  createCommentVNode(" 左边"),
16872
17142
  createVNode(_component_el_aside, {
@@ -16980,8 +17250,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
16980
17250
  }, null, 32 /* HYDRATE_EVENTS */))
16981
17251
  : createCommentVNode("v-if", true),
16982
17252
  createElementVNode("div", {
16983
- class: "aside-toggle left-99%",
16984
- style: normalizeStyle(_ctx.leftAside.hide ? 'display:block' : ''),
17253
+ class: "aside-toggle",
17254
+ style: normalizeStyle([{"left":"99%"}, _ctx.leftAside.hide ? 'display:block' : '']),
16985
17255
  onClick: _cache[4] || (_cache[4] = $event => (_ctx.hideAside('left')))
16986
17256
  }, [
16987
17257
  createVNode(_component_dk_icon, {
@@ -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",
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "dk",
5
- "version": "1.0.76",
5
+ "version": "1.0.77",
6
6
  "js-types-syntax": "typescript",
7
7
  "description-markup": "markdown",
8
8
  "contributions": {
@@ -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';
@@ -63,4 +64,82 @@
63
64
  .cl {
64
65
  zoom: 1;
65
66
  }
67
+
68
+ //unocss
69
+ *,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}
70
+ /* layer: default */
71
+ .visible{visibility:visible;}
72
+ .absolute{position:absolute;}
73
+ .fixed{position:fixed;}
74
+ .relative{position:relative;}
75
+ .left-0{left:0;}
76
+ .left-5\%{left:5%;}
77
+ .left-99\%{left:99%;}
78
+ .right-0{right:0;}
79
+ .right-5\%{right:5%;}
80
+ .right-99\%{right:99%;}
81
+ .top-\[50\%\]{top:50%;}
82
+ .top-10px{top:10px;}
83
+ .grid{display:grid;}
84
+ .m-1px{margin:1px;}
85
+ .m2{margin:0.5rem;}
86
+ .m-b-10px{margin-bottom:10px;}
87
+ .m-b-5px{margin-bottom:5px;}
88
+ .m-l-20px{margin-left:20px;}
89
+ .m-l-5px{margin-left:5px;}
90
+ .m-l-6px{margin-left:6px;}
91
+ .m-r-4px{margin-right:4px;}
92
+ .m-r-5px{margin-right:5px;}
93
+ .m-t-10px{margin-top:10px;}
94
+ .m-t-5px{margin-top:5px;}
95
+ .me{margin-inline-end:1rem;}
96
+ .ml-10px{margin-left:10px;}
97
+ .ml-4{margin-left:1rem;}
98
+ .mr{margin-right:1rem;}
99
+ .mr-1{margin-right:0.25rem;}
100
+ .mr-10px{margin-right:10px;}
101
+ .block{display:block;}
102
+ .hidden{display:none;}
103
+ .min-h-30px{min-height:30px;}
104
+ .w-100\%{width:100%;}
105
+ .w-40px{width:40px;}
106
+ .w-50\%{width:50%;}
107
+ .w100{width:25rem;}
108
+ .flex{display:flex;}
109
+ .table{display:table;}
110
+ .translate-y-\[-50\%\]{--un-translate-y:-50%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}
111
+ .cursor-pointer{cursor:pointer;}
112
+ .resize{resize:both;}
113
+ .content-center{align-content:center;}
114
+ .items-center{align-items:center;}
115
+ .justify-center{justify-content:center;}
116
+ .justify-between{justify-content:space-between;}
117
+ .border,
118
+ .border-1px{border-width:1px;}
119
+ .border-white{--un-border-opacity:1;border-color:rgba(255,255,255,var(--un-border-opacity));}
120
+ .hover\:border-blue:hover{--un-border-opacity:1;border-color:rgba(96,165,250,var(--un-border-opacity));}
121
+ .rd-4px{border-radius:4px;}
122
+ .border-solid{border-style:solid;}
123
+ .bg-black{--un-bg-opacity:1;background-color:rgba(0,0,0,var(--un-bg-opacity));}
124
+ .p-10px,
125
+ .p10px{padding:10px;}
126
+ .p-5px{padding:5px;}
127
+ .p2{padding:0.5rem;}
128
+ .px{padding-left:1rem;padding-right:1rem;}
129
+ .pb-5px{padding-bottom:5px;}
130
+ .pl-20{padding-left:5rem;}
131
+ .pt-5px{padding-top:5px;}
132
+ .text-center{text-align:center;}
133
+ .vertical-text-top{vertical-align:text-top;}
134
+ .italic{font-style:italic;}
135
+ .color-blue{--un-text-opacity:1;color:rgba(96,165,250,var(--un-text-opacity));}
136
+ .hover\:color-blue:hover{--un-text-opacity:1;color:rgba(96,165,250,var(--un-text-opacity));}
137
+ .line-through{text-decoration-line:line-through;}
138
+ .underline{text-decoration-line:underline;}
139
+ //.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4;}
140
+ //.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
141
+ //.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
142
+ //@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}}
143
+ //.\?{animation:__un_qm 0.5s ease-in-out alternate infinite;}
144
+
66
145
  /* stylelint-enable */
@@ -1106,7 +1106,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1106
1106
  const _component_dk_dialog = resolveComponent("dk-dialog");
1107
1107
  const _directive_loading = resolveDirective("loading");
1108
1108
 
1109
- return (openBlock(), createBlock(_component_el_container, { class: "_fc-designer dk-page-diy" }, {
1109
+ return (openBlock(), createBlock(_component_el_container, { class: "dk-page-diy" }, {
1110
1110
  default: withCtx(() => [
1111
1111
  createCommentVNode(" 左边"),
1112
1112
  createVNode(_component_el_aside, {
@@ -1220,8 +1220,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1220
1220
  }, null, 32 /* HYDRATE_EVENTS */))
1221
1221
  : createCommentVNode("v-if", true),
1222
1222
  createElementVNode("div", {
1223
- class: "aside-toggle left-99%",
1224
- style: normalizeStyle(_ctx.leftAside.hide ? 'display:block' : ''),
1223
+ class: "aside-toggle",
1224
+ style: normalizeStyle([{"left":"99%"}, _ctx.leftAside.hide ? 'display:block' : '']),
1225
1225
  onClick: _cache[4] || (_cache[4] = $event => (_ctx.hideAside('left')))
1226
1226
  }, [
1227
1227
  createVNode(_component_dk_icon, {