@vipl520/dk-ui 1.0.49 → 1.0.51

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +107 -19
  3. package/dist/index.min.js +4 -4
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/index.min.mjs +4 -4
  6. package/dist/index.min.mjs.map +1 -1
  7. package/dist/index.mjs +107 -19
  8. package/dist/web-types.json +1 -1
  9. package/es/color-input/src/color-input.vue2.mjs +1 -0
  10. package/es/color-input/src/color-input.vue2.mjs.map +1 -1
  11. package/es/style-box-input/style/index.scss +1 -1
  12. package/es/style-input/index.d.ts +35 -0
  13. package/es/style-input/src/props.d.ts +16 -0
  14. package/es/style-input/src/props.mjs +18 -0
  15. package/es/style-input/src/props.mjs.map +1 -1
  16. package/es/style-input/src/style-input.vue.d.ts +35 -0
  17. package/es/style-input/src/style-input.vue2.mjs +73 -4
  18. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  19. package/es/uni-icon/style/index.css +1 -1
  20. package/es/uni-icon/style/index.scss +1 -2
  21. package/es/uni-icon/style/uniicons.css +1 -1
  22. package/es/uni-icon/style/uniicons.scss +166 -166
  23. package/lib/color-input/src/color-input.vue2.js +1 -0
  24. package/lib/color-input/src/color-input.vue2.js.map +1 -1
  25. package/lib/style-box-input/style/index.scss +1 -1
  26. package/lib/style-input/index.d.ts +35 -0
  27. package/lib/style-input/src/props.d.ts +16 -0
  28. package/lib/style-input/src/props.js +18 -0
  29. package/lib/style-input/src/props.js.map +1 -1
  30. package/lib/style-input/src/style-input.vue.d.ts +35 -0
  31. package/lib/style-input/src/style-input.vue2.js +72 -3
  32. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  33. package/lib/uni-icon/style/index.css +1 -1
  34. package/lib/uni-icon/style/index.scss +1 -2
  35. package/lib/uni-icon/style/uniicons.css +1 -1
  36. package/lib/uni-icon/style/uniicons.scss +166 -166
  37. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -955,7 +955,7 @@ const groupProps = {
955
955
 
956
956
  const _hoisted_1$V = { key: 1 };
957
957
  const _hoisted_2$I = { class: "collapse-title" };
958
- const _hoisted_3$v = { class: "_dk-group-handle" };
958
+ const _hoisted_3$w = { class: "_dk-group-handle" };
959
959
  const __default__$N = defineComponent({
960
960
  name: "DkGroup"
961
961
  });
@@ -1259,7 +1259,7 @@ var _sfc_main$1c = /* @__PURE__ */ defineComponent({
1259
1259
  onEmitEvent: (name, ...args) => emitEvent(name, args, index),
1260
1260
  "onUpdate:api": ($f) => add$f(index, $f)
1261
1261
  }, null, 8, ["model-value", "rule", "option", "onUpdate:modelValue", "onEmitEvent", "onUpdate:api"])),
1262
- createElementVNode("div", _hoisted_3$v, [
1262
+ createElementVNode("div", _hoisted_3$w, [
1263
1263
  createVNode(
1264
1264
  _component_el_button_group,
1265
1265
  null,
@@ -1426,7 +1426,7 @@ const tinyEditorProps = {
1426
1426
 
1427
1427
  const _hoisted_1$U = { key: 0 };
1428
1428
  const _hoisted_2$H = { key: 1 };
1429
- const _hoisted_3$u = { class: "text-center" };
1429
+ const _hoisted_3$v = { class: "text-center" };
1430
1430
  const __default__$M = defineComponent({
1431
1431
  name: "DkTinyEditor"
1432
1432
  });
@@ -1559,7 +1559,7 @@ var _sfc_main$1b = /* @__PURE__ */ defineComponent({
1559
1559
  "z-index": 1298
1560
1560
  }, {
1561
1561
  footer: withCtx(() => [
1562
- createElementVNode("div", _hoisted_3$u, [
1562
+ createElementVNode("div", _hoisted_3$v, [
1563
1563
  createVNode(_component_el_button, {
1564
1564
  type: "primary",
1565
1565
  style: { "width": "200px" },
@@ -1765,6 +1765,7 @@ var _sfc_main$19 = /* @__PURE__ */ defineComponent({
1765
1765
  createVNode(_component_el_color_picker, {
1766
1766
  modelValue: data.value,
1767
1767
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => data.value = $event),
1768
+ teleported: false,
1768
1769
  "show-alpha": _ctx.showAlpha,
1769
1770
  "color-format": _ctx.colorFormat
1770
1771
  }, null, 8, ["modelValue", "show-alpha", "color-format"])
@@ -1788,7 +1789,7 @@ const hotAreaInputProps = {
1788
1789
 
1789
1790
  const _hoisted_1$S = { class: "hot-area-content" };
1790
1791
  const _hoisted_2$G = { class: "hot-area-draggable" };
1791
- const _hoisted_3$t = {
1792
+ const _hoisted_3$u = {
1792
1793
  class: "hot-item-content",
1793
1794
  style: { "position": "relative", "width": "100%", "height": "100%", "background": "#0003" }
1794
1795
  };
@@ -1946,7 +1947,7 @@ var _sfc_main$18 = /* @__PURE__ */ defineComponent({
1946
1947
  default: withCtx(() => [
1947
1948
  createElementVNode(
1948
1949
  "div",
1949
- _hoisted_3$t,
1950
+ _hoisted_3$u,
1950
1951
  toDisplayString(key + 1),
1951
1952
  1
1952
1953
  /* TEXT */
@@ -2676,7 +2677,7 @@ const _hoisted_2$D = /* @__PURE__ */ createElementVNode(
2676
2677
  -1
2677
2678
  /* HOISTED */
2678
2679
  );
2679
- const _hoisted_3$s = /* @__PURE__ */ createElementVNode(
2680
+ const _hoisted_3$t = /* @__PURE__ */ createElementVNode(
2680
2681
  "path",
2681
2682
  {
2682
2683
  fill: "#B0B7BD",
@@ -2813,7 +2814,7 @@ var _sfc_main$14 = /* @__PURE__ */ defineComponent({
2813
2814
  return openBlock(), createElementBlock("svg", _hoisted_1$O, [
2814
2815
  createElementVNode("g", null, [
2815
2816
  _hoisted_2$D,
2816
- _hoisted_3$s,
2817
+ _hoisted_3$t,
2817
2818
  _hoisted_4$l,
2818
2819
  createElementVNode(
2819
2820
  "path",
@@ -2861,7 +2862,7 @@ const attachmentProps = {
2861
2862
 
2862
2863
  const _hoisted_1$N = { class: "dk-attachment attachment" };
2863
2864
  const _hoisted_2$C = { class: "attachment-header flex justify-between pt-5px pb-5px" };
2864
- const _hoisted_3$r = { class: "header-form z" };
2865
+ const _hoisted_3$s = { class: "header-form z" };
2865
2866
  const _hoisted_4$k = { class: "header-button y" };
2866
2867
  const _hoisted_5$e = /* @__PURE__ */ createElementVNode(
2867
2868
  "i",
@@ -3117,7 +3118,7 @@ var _sfc_main$13 = /* @__PURE__ */ defineComponent({
3117
3118
  return openBlock(), createElementBlock("div", _hoisted_1$N, [
3118
3119
  createCommentVNode(" \u9876\u90E8"),
3119
3120
  createElementVNode("div", _hoisted_2$C, [
3120
- createElementVNode("div", _hoisted_3$r, [
3121
+ createElementVNode("div", _hoisted_3$s, [
3121
3122
  createVNode(_component_el_input, {
3122
3123
  modelValue: searchFileName.value,
3123
3124
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchFileName.value = $event),
@@ -3544,7 +3545,7 @@ const fileInputProps = {
3544
3545
 
3545
3546
  const _hoisted_1$L = { class: "show m-t-5px" };
3546
3547
  const _hoisted_2$B = { class: "image-error" };
3547
- const _hoisted_3$q = { class: "image-slot" };
3548
+ const _hoisted_3$r = { class: "image-slot" };
3548
3549
  const _hoisted_4$j = { class: "no-image" };
3549
3550
  const __default__$C = defineComponent({
3550
3551
  name: "DkFileInput"
@@ -3681,7 +3682,7 @@ var _sfc_main$11 = /* @__PURE__ */ defineComponent({
3681
3682
  style: { "width": "100%", "height": "100%" }
3682
3683
  }, {
3683
3684
  error: withCtx(() => [
3684
- createElementVNode("div", _hoisted_3$q, [
3685
+ createElementVNode("div", _hoisted_3$r, [
3685
3686
  createElementVNode("div", _hoisted_4$j, [
3686
3687
  createVNode(_component_el_icon, null, {
3687
3688
  default: withCtx(() => [
@@ -3941,7 +3942,7 @@ const fileListInputProps = {
3941
3942
 
3942
3943
  const _hoisted_1$K = { class: "dk-image-list" };
3943
3944
  const _hoisted_2$A = ["onClick"];
3944
- const _hoisted_3$p = { key: 0 };
3945
+ const _hoisted_3$q = { key: 0 };
3945
3946
  const __default__$y = defineComponent({
3946
3947
  name: "DkFileListInput"
3947
3948
  });
@@ -4051,7 +4052,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
4051
4052
  128
4052
4053
  /* KEYED_FRAGMENT */
4053
4054
  )),
4054
- _ctx.limit > input.value.length && !_ctx.disabled ? (openBlock(), createElementBlock("li", _hoisted_3$p, [
4055
+ _ctx.limit > input.value.length && !_ctx.disabled ? (openBlock(), createElementBlock("li", _hoisted_3$q, [
4055
4056
  createElementVNode(
4056
4057
  "div",
4057
4058
  {
@@ -4313,7 +4314,7 @@ const _hoisted_2$z = {
4313
4314
  class: "text-center",
4314
4315
  style: { "font-size": "12px", "color": "#999" }
4315
4316
  };
4316
- const _hoisted_3$o = { class: "search-icon" };
4317
+ const _hoisted_3$p = { class: "search-icon" };
4317
4318
  const __default__$u = defineComponent({
4318
4319
  name: "DkIconContent"
4319
4320
  });
@@ -4527,7 +4528,7 @@ var _sfc_main$V = /* @__PURE__ */ defineComponent({
4527
4528
  _: 1
4528
4529
  /* STABLE */
4529
4530
  }, 8, ["modelValue"]),
4530
- createElementVNode("div", _hoisted_3$o, [
4531
+ createElementVNode("div", _hoisted_3$p, [
4531
4532
  createVNode(_component_el_input, {
4532
4533
  modelValue: searchIcon.value,
4533
4534
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchIcon.value = $event),
@@ -4850,6 +4851,24 @@ const styleInputProps = {
4850
4851
  return {};
4851
4852
  },
4852
4853
  type: Object
4854
+ },
4855
+ isDrawer: {
4856
+ default: false,
4857
+ type: Boolean
4858
+ },
4859
+ drawerProps: {
4860
+ default: () => {
4861
+ return {
4862
+ title: "\u7F16\u8F91\u6837\u5F0F",
4863
+ direction: "rtl",
4864
+ size: "400px"
4865
+ };
4866
+ },
4867
+ type: Object
4868
+ },
4869
+ drawerText: {
4870
+ default: "\u7F16\u8F91\u6837\u5F0F",
4871
+ type: String
4853
4872
  }
4854
4873
  };
4855
4874
 
@@ -4858,6 +4877,7 @@ const _hoisted_2$y = {
4858
4877
  key: 0,
4859
4878
  class: "p-5px"
4860
4879
  };
4880
+ const _hoisted_3$o = { key: 1 };
4861
4881
  const __default__$r = defineComponent({
4862
4882
  name: "DkStyleInput"
4863
4883
  });
@@ -4867,6 +4887,7 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
4867
4887
  emits: ["update:modelValue"],
4868
4888
  setup(__props, { emit }) {
4869
4889
  const props = __props;
4890
+ const drawer = ref(false);
4870
4891
  const activeNames = ref([0]);
4871
4892
  const values = ref({});
4872
4893
  const loading = ref(true);
@@ -4882,7 +4903,6 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
4882
4903
  const _components = ref([]);
4883
4904
  const init = () => {
4884
4905
  _components.value = props.components.filter((item) => {
4885
- console.log("item.name", item.name);
4886
4906
  return !props.hideComponents.includes(item.name);
4887
4907
  });
4888
4908
  const obj = {};
@@ -4915,9 +4935,12 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
4915
4935
  return (_ctx, _cache) => {
4916
4936
  const _component_el_collapse_item = resolveComponent("el-collapse-item");
4917
4937
  const _component_el_collapse = resolveComponent("el-collapse");
4938
+ const _component_el_button = resolveComponent("el-button");
4939
+ const _component_el_drawer = resolveComponent("el-drawer");
4918
4940
  return openBlock(), createElementBlock("div", _hoisted_1$G, [
4919
4941
  !loading.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
4920
- createVNode(_component_el_collapse, {
4942
+ !props.isDrawer ? (openBlock(), createBlock(_component_el_collapse, {
4943
+ key: 0,
4921
4944
  modelValue: activeNames.value,
4922
4945
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeNames.value = $event)
4923
4946
  }, {
@@ -4955,7 +4978,72 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
4955
4978
  ]),
4956
4979
  _: 1
4957
4980
  /* STABLE */
4958
- }, 8, ["modelValue"])
4981
+ }, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_3$o, [
4982
+ createVNode(_component_el_button, {
4983
+ type: "primary",
4984
+ plain: "",
4985
+ style: { "width": "100%" },
4986
+ onClick: _cache[1] || (_cache[1] = ($event) => drawer.value = true)
4987
+ }, {
4988
+ default: withCtx(() => [
4989
+ createTextVNode(
4990
+ toDisplayString(props.drawerText),
4991
+ 1
4992
+ /* TEXT */
4993
+ )
4994
+ ]),
4995
+ _: 1
4996
+ /* STABLE */
4997
+ }),
4998
+ createVNode(_component_el_drawer, mergeProps({
4999
+ modelValue: drawer.value,
5000
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => drawer.value = $event)
5001
+ }, props.drawerProps), {
5002
+ default: withCtx(() => [
5003
+ createVNode(_component_el_collapse, {
5004
+ modelValue: activeNames.value,
5005
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => activeNames.value = $event)
5006
+ }, {
5007
+ default: withCtx(() => [
5008
+ (openBlock(true), createElementBlock(
5009
+ Fragment,
5010
+ null,
5011
+ renderList(_components.value, (item, key) => {
5012
+ return openBlock(), createBlock(_component_el_collapse_item, {
5013
+ key,
5014
+ title: "",
5015
+ name: key
5016
+ }, {
5017
+ title: withCtx(() => [
5018
+ createTextVNode(
5019
+ toDisplayString(item.title),
5020
+ 1
5021
+ /* TEXT */
5022
+ )
5023
+ ]),
5024
+ default: withCtx(() => [
5025
+ activeNames.value.includes(key) ? (openBlock(), createBlock(resolveDynamicComponent(item.name), mergeProps({
5026
+ key: 0,
5027
+ modelValue: values.value[item.name],
5028
+ "onUpdate:modelValue": ($event) => values.value[item.name] = $event
5029
+ }, item.props, { onChange }), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
5030
+ ]),
5031
+ _: 2
5032
+ /* DYNAMIC */
5033
+ }, 1032, ["name"]);
5034
+ }),
5035
+ 128
5036
+ /* KEYED_FRAGMENT */
5037
+ ))
5038
+ ]),
5039
+ _: 1
5040
+ /* STABLE */
5041
+ }, 8, ["modelValue"])
5042
+ ]),
5043
+ _: 1
5044
+ /* STABLE */
5045
+ }, 16, ["modelValue"])
5046
+ ]))
4959
5047
  ])) : createCommentVNode("v-if", true)
4960
5048
  ]);
4961
5049
  };
@@ -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.49",
5
+ "version": "1.0.50",
6
6
  "js-types-syntax": "typescript",
7
7
  "description-markup": "markdown",
8
8
  "contributions": {
@@ -45,6 +45,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
45
45
  createVNode(_component_el_color_picker, {
46
46
  modelValue: data.value,
47
47
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => data.value = $event),
48
+ teleported: false,
48
49
  "show-alpha": _ctx.showAlpha,
49
50
  "color-format": _ctx.colorFormat
50
51
  }, null, 8, ["modelValue", "show-alpha", "color-format"])
@@ -1 +1 @@
1
- {"version":3,"file":"color-input.vue2.mjs","sources":["../../../src/color-input/src/color-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkColorInput',\n});\n</script>\n<template>\n <div style=\"display: flex\" class=\"dk-color-input\">\n <el-input\n v-model=\"data\"\n :placeholder=\"placeholder\"\n clearable\n style=\"width: 100%\"\n />\n <el-color-picker\n v-model=\"data\"\n :show-alpha=\"showAlpha\"\n :color-format=\"colorFormat\"\n />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, watch } from 'vue'\nimport { createNamespace } from '@vipl520/utils'\nimport { colorInputProps } from './props'\n\nconst [_, bem] = createNamespace('color-input')\n\n\n\nconst props = defineProps(colorInputProps)\n\nconst data = ref(props.modelValue || '')\n\nconst emit = defineEmits(['input', 'update:modelValue', 'change'])\nwatch(\n () => props.modelValue,\n (val) => {\n data.value = val\n }\n)\nwatch(\n () => data.value,\n (val) => {\n emit('change', val)\n emit('update:modelValue', val)\n emit('input', val)\n }\n)\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAuBD,IAAA,MAAM,CAAC,CAAA,EAAG,GAAG,CAAA,GAAI,gBAAgB,aAAa,CAAA,CAAA;AAM9C,IAAA,MAAM,IAAO,GAAA,GAAA,CAAI,KAAM,CAAA,UAAA,IAAc,EAAE,CAAA,CAAA;AAGvC,IAAA,KAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,CAAC,GAAQ,KAAA;AACP,QAAA,IAAA,CAAK,KAAQ,GAAA,GAAA,CAAA;AAAA,OACf;AAAA,KACF,CAAA;AACA,IAAA,KAAA;AAAA,MACE,MAAM,IAAK,CAAA,KAAA;AAAA,MACX,CAAC,GAAQ,KAAA;AACP,QAAA,IAAA,CAAK,UAAU,GAAG,CAAA,CAAA;AAClB,QAAA,IAAA,CAAK,qBAAqB,GAAG,CAAA,CAAA;AAC7B,QAAA,IAAA,CAAK,SAAS,GAAG,CAAA,CAAA;AAAA,OACnB;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"color-input.vue2.mjs","sources":["../../../src/color-input/src/color-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkColorInput',\n});\n</script>\n<template>\n <div style=\"display: flex\" class=\"dk-color-input\">\n <el-input v-model=\"data\" :placeholder=\"placeholder\" clearable style=\"width: 100%\" />\n <el-color-picker v-model=\"data\" :teleported=\"false\" :show-alpha=\"showAlpha\" :color-format=\"colorFormat\" />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, watch } from 'vue'\nimport { createNamespace } from '@vipl520/utils'\nimport { colorInputProps } from './props'\n\nconst [_, bem] = createNamespace('color-input')\n\n\n\nconst props = defineProps(colorInputProps)\n\nconst data = ref(props.modelValue || '')\n\nconst emit = defineEmits(['input', 'update:modelValue', 'change'])\nwatch(\n () => props.modelValue,\n (val) => {\n data.value = val\n }\n)\nwatch(\n () => data.value,\n (val) => {\n emit('change', val)\n emit('update:modelValue', val)\n emit('input', val)\n }\n)\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAcD,IAAA,MAAM,CAAC,CAAA,EAAG,GAAG,CAAA,GAAI,gBAAgB,aAAa,CAAA,CAAA;AAM9C,IAAA,MAAM,IAAO,GAAA,GAAA,CAAI,KAAM,CAAA,UAAA,IAAc,EAAE,CAAA,CAAA;AAGvC,IAAA,KAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,CAAC,GAAQ,KAAA;AACP,QAAA,IAAA,CAAK,KAAQ,GAAA,GAAA,CAAA;AAAA,OACf;AAAA,KACF,CAAA;AACA,IAAA,KAAA;AAAA,MACE,MAAM,IAAK,CAAA,KAAA;AAAA,MACX,CAAC,GAAQ,KAAA;AACP,QAAA,IAAA,CAAK,UAAU,GAAG,CAAA,CAAA;AAClB,QAAA,IAAA,CAAK,qBAAqB,GAAG,CAAA,CAAA;AAC7B,QAAA,IAAA,CAAK,SAAS,GAAG,CAAA,CAAA;AAAA,OACnB;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -204,7 +204,7 @@
204
204
  cursor: pointer;
205
205
  display: inline-block;
206
206
  width: 40%;
207
- em{
207
+ em {
208
208
  font-style: normal;
209
209
  font-size: 12px;
210
210
  }
@@ -11,6 +11,22 @@ export declare const StyleInput: import("@vipl520/utils").WithInstall<import("vu
11
11
  default: () => {};
12
12
  type: ObjectConstructor;
13
13
  };
14
+ isDrawer: {
15
+ default: boolean;
16
+ type: BooleanConstructor;
17
+ };
18
+ drawerProps: {
19
+ default: () => {
20
+ title: string;
21
+ direction: string;
22
+ size: string;
23
+ };
24
+ type: ObjectConstructor;
25
+ };
26
+ drawerText: {
27
+ default: string;
28
+ type: StringConstructor;
29
+ };
14
30
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
31
  components: {
16
32
  default: () => import("./src/default").StyleInputConfig;
@@ -24,12 +40,31 @@ export declare const StyleInput: import("@vipl520/utils").WithInstall<import("vu
24
40
  default: () => {};
25
41
  type: ObjectConstructor;
26
42
  };
43
+ isDrawer: {
44
+ default: boolean;
45
+ type: BooleanConstructor;
46
+ };
47
+ drawerProps: {
48
+ default: () => {
49
+ title: string;
50
+ direction: string;
51
+ size: string;
52
+ };
53
+ type: ObjectConstructor;
54
+ };
55
+ drawerText: {
56
+ default: string;
57
+ type: StringConstructor;
58
+ };
27
59
  }>> & {
28
60
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
61
  }, {
30
62
  modelValue: Record<string, any>;
31
63
  components: import("./src/default").StyleInputConfig;
32
64
  hideComponents: string[];
65
+ isDrawer: boolean;
66
+ drawerProps: Record<string, any>;
67
+ drawerText: string;
33
68
  }, {}>>;
34
69
  export default StyleInput;
35
70
  export * from './src/props';
@@ -19,5 +19,21 @@ export declare const styleInputProps: {
19
19
  default: () => {};
20
20
  type: ObjectConstructor;
21
21
  };
22
+ isDrawer: {
23
+ default: boolean;
24
+ type: BooleanConstructor;
25
+ };
26
+ drawerProps: {
27
+ default: () => {
28
+ title: string;
29
+ direction: string;
30
+ size: string;
31
+ };
32
+ type: ObjectConstructor;
33
+ };
34
+ drawerText: {
35
+ default: string;
36
+ type: StringConstructor;
37
+ };
22
38
  };
23
39
  export type StyleInputProps = ExtractPropTypes<typeof styleInputProps>;
@@ -24,6 +24,24 @@ const styleInputProps = {
24
24
  return {};
25
25
  },
26
26
  type: Object
27
+ },
28
+ isDrawer: {
29
+ default: false,
30
+ type: Boolean
31
+ },
32
+ drawerProps: {
33
+ default: () => {
34
+ return {
35
+ title: "\u7F16\u8F91\u6837\u5F0F",
36
+ direction: "rtl",
37
+ size: "400px"
38
+ };
39
+ },
40
+ type: Object
41
+ },
42
+ drawerText: {
43
+ default: "\u7F16\u8F91\u6837\u5F0F",
44
+ type: String
27
45
  }
28
46
  };
29
47
 
@@ -1 +1 @@
1
- {"version":3,"file":"props.mjs","sources":["../../../src/style-input/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { defaultConfig, type StyleInputConfig } from './default'\n\nexport const styleInputProps = {\n /**\n * 引入组件\n */\n components: {\n default: () => {\n return defaultConfig\n },\n type: Array as () => StyleInputConfig,\n },\n /**\n * 需要隐藏组件\n */\n hideComponents: {\n default: () => {\n return []\n },\n type: Array as () => string[],\n },\n modelValue: {\n default: () => {\n return {}\n },\n type: Object,\n },\n}\n\nexport type StyleInputProps = ExtractPropTypes<typeof styleInputProps>\n"],"names":[],"mappings":";;AAGO,MAAM,eAAkB,GAAA;AAAA;AAAA;AAAA;AAAA,EAI7B,UAAY,EAAA;AAAA,IACV,SAAS,MAAM;AACb,MAAO,OAAA,aAAA,CAAA;AAAA,KACT;AAAA,IACA,IAAM,EAAA,KAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,cAAgB,EAAA;AAAA,IACd,SAAS,MAAM;AACb,MAAA,OAAO,EAAC,CAAA;AAAA,KACV;AAAA,IACA,IAAM,EAAA,KAAA;AAAA,GACR;AAAA,EACA,UAAY,EAAA;AAAA,IACV,SAAS,MAAM;AACb,MAAA,OAAO,EAAC,CAAA;AAAA,KACV;AAAA,IACA,IAAM,EAAA,MAAA;AAAA,GACR;AACF;;;;"}
1
+ {"version":3,"file":"props.mjs","sources":["../../../src/style-input/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { defaultConfig, type StyleInputConfig } from './default'\n\nexport const styleInputProps = {\n /**\n * 引入组件\n */\n components: {\n default: () => {\n return defaultConfig\n },\n type: Array as () => StyleInputConfig,\n },\n /**\n * 需要隐藏组件\n */\n hideComponents: {\n default: () => {\n return []\n },\n type: Array as () => string[],\n },\n modelValue: {\n default: () => {\n return {}\n },\n type: Object,\n },\n isDrawer: {\n default: false,\n type: Boolean,\n },\n drawerProps: {\n default: () => {\n return {\n title: '编辑样式',\n direction: 'rtl',\n size: '400px',\n }\n },\n type: Object,\n },\n drawerText: {\n default: '编辑样式',\n type: String,\n },\n}\n\nexport type StyleInputProps = ExtractPropTypes<typeof styleInputProps>\n"],"names":[],"mappings":";;AAGO,MAAM,eAAkB,GAAA;AAAA;AAAA;AAAA;AAAA,EAI7B,UAAY,EAAA;AAAA,IACV,SAAS,MAAM;AACb,MAAO,OAAA,aAAA,CAAA;AAAA,KACT;AAAA,IACA,IAAM,EAAA,KAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,cAAgB,EAAA;AAAA,IACd,SAAS,MAAM;AACb,MAAA,OAAO,EAAC,CAAA;AAAA,KACV;AAAA,IACA,IAAM,EAAA,KAAA;AAAA,GACR;AAAA,EACA,UAAY,EAAA;AAAA,IACV,SAAS,MAAM;AACb,MAAA,OAAO,EAAC,CAAA;AAAA,KACV;AAAA,IACA,IAAM,EAAA,MAAA;AAAA,GACR;AAAA,EACA,QAAU,EAAA;AAAA,IACR,OAAS,EAAA,KAAA;AAAA,IACT,IAAM,EAAA,OAAA;AAAA,GACR;AAAA,EACA,WAAa,EAAA;AAAA,IACX,SAAS,MAAM;AACb,MAAO,OAAA;AAAA,QACL,KAAO,EAAA,0BAAA;AAAA,QACP,SAAW,EAAA,KAAA;AAAA,QACX,IAAM,EAAA,OAAA;AAAA,OACR,CAAA;AAAA,KACF;AAAA,IACA,IAAM,EAAA,MAAA;AAAA,GACR;AAAA,EACA,UAAY,EAAA;AAAA,IACV,OAAS,EAAA,0BAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,GACR;AACF;;;;"}
@@ -11,6 +11,22 @@ declare const _default: import("vue").DefineComponent<{
11
11
  default: () => {};
12
12
  type: ObjectConstructor;
13
13
  };
14
+ isDrawer: {
15
+ default: boolean;
16
+ type: BooleanConstructor;
17
+ };
18
+ drawerProps: {
19
+ default: () => {
20
+ title: string;
21
+ direction: string;
22
+ size: string;
23
+ };
24
+ type: ObjectConstructor;
25
+ };
26
+ drawerText: {
27
+ default: string;
28
+ type: StringConstructor;
29
+ };
14
30
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
31
  components: {
16
32
  default: () => import("./default").StyleInputConfig;
@@ -24,11 +40,30 @@ declare const _default: import("vue").DefineComponent<{
24
40
  default: () => {};
25
41
  type: ObjectConstructor;
26
42
  };
43
+ isDrawer: {
44
+ default: boolean;
45
+ type: BooleanConstructor;
46
+ };
47
+ drawerProps: {
48
+ default: () => {
49
+ title: string;
50
+ direction: string;
51
+ size: string;
52
+ };
53
+ type: ObjectConstructor;
54
+ };
55
+ drawerText: {
56
+ default: string;
57
+ type: StringConstructor;
58
+ };
27
59
  }>> & {
28
60
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
61
  }, {
30
62
  modelValue: Record<string, any>;
31
63
  components: import("./default").StyleInputConfig;
32
64
  hideComponents: string[];
65
+ isDrawer: boolean;
66
+ drawerProps: Record<string, any>;
67
+ drawerText: string;
33
68
  }, {}>;
34
69
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, resolveDynamicComponent, mergeProps, createCommentVNode } from 'vue';
1
+ import { defineComponent, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, Fragment, renderList, createTextVNode, toDisplayString, resolveDynamicComponent, mergeProps, createCommentVNode, createVNode } from 'vue';
2
2
  import { styleInputProps } from './props.mjs';
3
3
 
4
4
  const _hoisted_1 = { class: "dk-style-input" };
@@ -6,6 +6,7 @@ const _hoisted_2 = {
6
6
  key: 0,
7
7
  class: "p-5px"
8
8
  };
9
+ const _hoisted_3 = { key: 1 };
9
10
  const __default__ = defineComponent({
10
11
  name: "DkStyleInput"
11
12
  });
@@ -15,6 +16,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
15
16
  emits: ["update:modelValue"],
16
17
  setup(__props, { emit }) {
17
18
  const props = __props;
19
+ const drawer = ref(false);
18
20
  const activeNames = ref([0]);
19
21
  const values = ref({});
20
22
  const loading = ref(true);
@@ -30,7 +32,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
30
32
  const _components = ref([]);
31
33
  const init = () => {
32
34
  _components.value = props.components.filter((item) => {
33
- console.log("item.name", item.name);
34
35
  return !props.hideComponents.includes(item.name);
35
36
  });
36
37
  const obj = {};
@@ -63,9 +64,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
63
64
  return (_ctx, _cache) => {
64
65
  const _component_el_collapse_item = resolveComponent("el-collapse-item");
65
66
  const _component_el_collapse = resolveComponent("el-collapse");
67
+ const _component_el_button = resolveComponent("el-button");
68
+ const _component_el_drawer = resolveComponent("el-drawer");
66
69
  return openBlock(), createElementBlock("div", _hoisted_1, [
67
70
  !loading.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
68
- createVNode(_component_el_collapse, {
71
+ !props.isDrawer ? (openBlock(), createBlock(_component_el_collapse, {
72
+ key: 0,
69
73
  modelValue: activeNames.value,
70
74
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeNames.value = $event)
71
75
  }, {
@@ -103,7 +107,72 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
103
107
  ]),
104
108
  _: 1
105
109
  /* STABLE */
106
- }, 8, ["modelValue"])
110
+ }, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_3, [
111
+ createVNode(_component_el_button, {
112
+ type: "primary",
113
+ plain: "",
114
+ style: { "width": "100%" },
115
+ onClick: _cache[1] || (_cache[1] = ($event) => drawer.value = true)
116
+ }, {
117
+ default: withCtx(() => [
118
+ createTextVNode(
119
+ toDisplayString(props.drawerText),
120
+ 1
121
+ /* TEXT */
122
+ )
123
+ ]),
124
+ _: 1
125
+ /* STABLE */
126
+ }),
127
+ createVNode(_component_el_drawer, mergeProps({
128
+ modelValue: drawer.value,
129
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => drawer.value = $event)
130
+ }, props.drawerProps), {
131
+ default: withCtx(() => [
132
+ createVNode(_component_el_collapse, {
133
+ modelValue: activeNames.value,
134
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => activeNames.value = $event)
135
+ }, {
136
+ default: withCtx(() => [
137
+ (openBlock(true), createElementBlock(
138
+ Fragment,
139
+ null,
140
+ renderList(_components.value, (item, key) => {
141
+ return openBlock(), createBlock(_component_el_collapse_item, {
142
+ key,
143
+ title: "",
144
+ name: key
145
+ }, {
146
+ title: withCtx(() => [
147
+ createTextVNode(
148
+ toDisplayString(item.title),
149
+ 1
150
+ /* TEXT */
151
+ )
152
+ ]),
153
+ default: withCtx(() => [
154
+ activeNames.value.includes(key) ? (openBlock(), createBlock(resolveDynamicComponent(item.name), mergeProps({
155
+ key: 0,
156
+ modelValue: values.value[item.name],
157
+ "onUpdate:modelValue": ($event) => values.value[item.name] = $event
158
+ }, item.props, { onChange }), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
159
+ ]),
160
+ _: 2
161
+ /* DYNAMIC */
162
+ }, 1032, ["name"]);
163
+ }),
164
+ 128
165
+ /* KEYED_FRAGMENT */
166
+ ))
167
+ ]),
168
+ _: 1
169
+ /* STABLE */
170
+ }, 8, ["modelValue"])
171
+ ]),
172
+ _: 1
173
+ /* STABLE */
174
+ }, 16, ["modelValue"])
175
+ ]))
107
176
  ])) : createCommentVNode("v-if", true)
108
177
  ]);
109
178
  };
@@ -1 +1 @@
1
- {"version":3,"file":"style-input.vue2.mjs","sources":["../../../src/style-input/src/style-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleInput',\n});\n</script>\n<template>\n <div class=\"dk-style-input\">\n <div v-if=\"!loading\" class=\"p-5px\">\n <el-collapse v-model=\"activeNames\">\n <el-collapse-item v-for=\"(item, key) in _components\" :key=\"key\" title=\"\" :name=\"key\">\n <template #title>\n {{ item.title }}\n </template>\n <component\n :is=\"item.name\"\n v-if=\"activeNames.includes(key)\"\n v-model=\"values[item.name]\"\n v-bind=\"item.props\"\n @change=\"onChange\"\n />\n </el-collapse-item>\n </el-collapse>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { styleInputProps } from './props'\nimport { onMounted, ref, watch } from 'vue'\n\n\nconst props = defineProps(styleInputProps)\nconst activeNames = ref([0])\nconst values: any = ref({})\nconst loading = ref(true)\n\nconst emit = defineEmits(['update:modelValue'])\nconst onChange = () => {\n const obj: any = {}\n Object.keys(values.value).forEach((key) => {\n Object.keys(values.value[key]).forEach((k) => {\n obj[k] = values.value[key][k]\n })\n })\n emit('update:modelValue', obj)\n}\n\nconst _components: any = ref([])\nconst init = () => {\n _components.value = props.components.filter((item: any) => {\n console.log('item.name', item.name)\n return !props.hideComponents.includes(item.name)\n })\n const obj: any = {}\n _components.value.forEach((item: any) => {\n const params = item.params\n const paramsObj: any = {}\n Object.keys(params).forEach((key) => {\n const param = params[key]\n if (props.modelValue[param]) {\n paramsObj[param] = props.modelValue[param]\n }\n })\n obj[item.name] = paramsObj\n })\n values.value = obj\n loading.value = false\n}\n\nwatch(\n () => props.modelValue,\n () => {\n init()\n },\n {\n deep: true,\n }\n)\n\nonMounted(() => {\n init()\n})\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CA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AAiB,EAAC,CAAA;AACxB,QAAA,MAAA,CAAO,IAAK,CAAA,MAAM,CAAE,CAAA,OAAA,CAAQ,CAAC,GAAQ,KAAA;AACnC,UAAM,MAAA,KAAA,GAAQ,OAAO,GAAG,CAAA,CAAA;AACxB,UAAI,IAAA,KAAA,CAAM,UAAW,CAAA,KAAK,CAAG,EAAA;AAC3B,YAAA,SAAA,CAAU,KAAK,CAAA,GAAI,KAAM,CAAA,UAAA,CAAW,KAAK,CAAA,CAAA;AAAA,WAC3C;AAAA,SACD,CAAA,CAAA;AACD,QAAI,GAAA,CAAA,IAAA,CAAK,IAAI,CAAI,GAAA,SAAA,CAAA;AAAA,OAClB,CAAA,CAAA;AACD,MAAA,MAAA,CAAO,KAAQ,GAAA,GAAA,CAAA;AACf,MAAA,OAAA,CAAQ,KAAQ,GAAA,KAAA,CAAA;AAAA,KAClB,CAAA;AAEA,IAAA,KAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,MAAM;AACJ,QAAK,IAAA,EAAA,CAAA;AAAA,OACP;AAAA,MACA;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,OACR;AAAA,KACF,CAAA;AAEA,IAAA,SAAA,CAAU,MAAM;AACd,MAAK,IAAA,EAAA,CAAA;AAAA,KACN,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"style-input.vue2.mjs","sources":["../../../src/style-input/src/style-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleInput',\n});\n</script>\n<template>\n <div class=\"dk-style-input\">\n <div v-if=\"!loading\" class=\"p-5px\">\n <el-collapse v-if=\"!props.isDrawer\" v-model=\"activeNames\">\n <el-collapse-item v-for=\"(item, key) in _components\" :key=\"key\" title=\"\" :name=\"key\">\n <template #title>\n {{ item.title }}\n </template>\n <component\n :is=\"item.name\"\n v-if=\"activeNames.includes(key)\"\n v-model=\"values[item.name]\"\n v-bind=\"item.props\"\n @change=\"onChange\"\n />\n </el-collapse-item>\n </el-collapse>\n <div v-else>\n <el-button type=\"primary\" plain style=\"width: 100%\" @click=\"drawer = true\">{{ props.drawerText }}</el-button>\n <el-drawer v-model=\"drawer\" v-bind=\"props.drawerProps\">\n <el-collapse v-model=\"activeNames\">\n <el-collapse-item v-for=\"(item, key) in _components\" :key=\"key\" title=\"\" :name=\"key\">\n <template #title>\n {{ item.title }}\n </template>\n <component\n :is=\"item.name\"\n v-if=\"activeNames.includes(key)\"\n v-model=\"values[item.name]\"\n v-bind=\"item.props\"\n @change=\"onChange\"\n />\n </el-collapse-item>\n </el-collapse>\n </el-drawer>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { styleInputProps } from './props'\nimport { onMounted, ref, watch } from 'vue'\n\n\nconst props = defineProps(styleInputProps)\nconst drawer = ref(false)\nconst activeNames = ref([0])\nconst values: any = ref({})\nconst loading = ref(true)\n\nconst emit = defineEmits(['update:modelValue'])\nconst onChange = () => {\n const obj: any = {}\n Object.keys(values.value).forEach((key) => {\n Object.keys(values.value[key]).forEach((k) => {\n obj[k] = values.value[key][k]\n })\n })\n emit('update:modelValue', obj)\n}\n\nconst _components: any = ref([])\nconst init = () => {\n _components.value = props.components.filter((item: any) => {\n return !props.hideComponents.includes(item.name)\n })\n const obj: any = {}\n _components.value.forEach((item: any) => {\n const params = item.params\n const paramsObj: any = {}\n Object.keys(params).forEach((key) => {\n const param = params[key]\n if (props.modelValue[param]) {\n paramsObj[param] = props.modelValue[param]\n }\n })\n obj[item.name] = paramsObj\n })\n values.value = obj\n loading.value = false\n}\n\nwatch(\n () => props.modelValue,\n () => {\n init()\n },\n {\n deep: true,\n }\n)\n\nonMounted(() => {\n init()\n})\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;;AAEA,MAA6B,cAAAA,eAA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