@vipl520/dk-ui 1.0.46 → 1.0.47

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -4887,6 +4887,15 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
4887
4887
  values.value = obj;
4888
4888
  loading.value = false;
4889
4889
  };
4890
+ watch(
4891
+ () => props.modelValue,
4892
+ () => {
4893
+ init();
4894
+ },
4895
+ {
4896
+ deep: true
4897
+ }
4898
+ );
4890
4899
  onMounted(() => {
4891
4900
  init();
4892
4901
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, 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, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, resolveDynamicComponent, mergeProps, createCommentVNode } from 'vue';
2
2
  import { styleInputProps } from './props.mjs';
3
3
 
4
4
  const _hoisted_1 = { class: "dk-style-input" };
@@ -44,6 +44,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  values.value = obj;
45
45
  loading.value = false;
46
46
  };
47
+ watch(
48
+ () => props.modelValue,
49
+ () => {
50
+ init();
51
+ },
52
+ {
53
+ deep: true
54
+ }
55
+ );
47
56
  onMounted(() => {
48
57
  init();
49
58
  });
@@ -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 props.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}\nconst init = () => {\n const components: any = props.components\n const obj: any = {}\n components.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}\nonMounted(() => {\n init()\n})\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AA6BD,IAAA,MAAM,WAAc,GAAA,GAAA,CAAI,CAAC,CAAC,CAAC,CAAA,CAAA;AAC3B,IAAM,MAAA,MAAA,GAAc,GAAI,CAAA,EAAE,CAAA,CAAA;AAC1B,IAAM,MAAA,OAAA,GAAU,IAAI,IAAI,CAAA,CAAA;AAGxB,IAAA,MAAM,WAAW,MAAM;AACrB,MAAA,MAAM,MAAW,EAAC,CAAA;AAClB,MAAA,MAAA,CAAO,KAAK,MAAO,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,CAAC,GAAQ,KAAA;AACzC,QAAO,MAAA,CAAA,IAAA,CAAK,OAAO,KAAM,CAAA,GAAG,CAAC,CAAE,CAAA,O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"],"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 props.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}\nconst init = () => {\n const components: any = props.components\n const obj: any = {}\n components.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,CAAA,CAAA;;;;;;;AA6BD,IAAA,MAAM,WAAc,GAAA,GAAA,CAAI,CAAC,CAAC,CAAC,CAAA,CAAA;AAC3B,IAAM,M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AAA,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 +1 @@
1
- .uniui-cart-filled:before{content:"\e6d0"}.uniui-gift-filled:before{content:"\e6c4"}.uniui-color:before{content:"\e6cf"}.uniui-wallet:before{content:"\e6b1"}.uniui-settings-filled:before{content:"\e6ce"}.uniui-auth-filled:before{content:"\e6cc"}.uniui-shop-filled:before{content:"\e6cd"}.uniui-staff-filled:before{content:"\e6cb"}.uniui-vip-filled:before{content:"\e6c6"}.uniui-plus-filled:before{content:"\e6c7"}.uniui-folder-add-filled:before{content:"\e6c8"}.uniui-color-filled:before{content:"\e6c9"}.uniui-tune-filled:before{content:"\e6ca"}.uniui-calendar-filled:before{content:"\e6c0"}.uniui-notification-filled:before{content:"\e6c1"}.uniui-wallet-filled:before{content:"\e6c2"}.uniui-medal-filled:before{content:"\e6c3"}.uniui-fire-filled:before{content:"\e6c5"}.uniui-refreshempty:before{content:"\e6bf"}.uniui-location-filled:before{content:"\e6af"}.uniui-person-filled:before{content:"\e69d"}.uniui-personadd-filled:before{content:"\e698"}.uniui-arrowthinleft:before{content:"\e6d2"}.uniui-arrowthinup:before{content:"\e6d3"}.uniui-arrowthindown:before{content:"\e6d4"}.uniui-back:before{content:"\e6b9"}.uniui-forward:before{content:"\e6ba"}.uniui-arrow-right:before{content:"\e6bb"}.uniui-arrow-left:before{content:"\e6bc"}.uniui-arrow-up:before{content:"\e6bd"}.uniui-arrow-down:before{content:"\e6be"}.uniui-arrowthinright:before{content:"\e6d1"}.uniui-down:before{content:"\e6b8"}.uniui-bottom:before{content:"\e6b8"}.uniui-arrowright:before{content:"\e6d5"}.uniui-right:before{content:"\e6b5"}.uniui-up:before{content:"\e6b6"}.uniui-top:before{content:"\e6b6"}.uniui-left:before{content:"\e6b7"}.uniui-arrowup:before{content:"\e6d6"}.uniui-eye:before{content:"\e651"}.uniui-eye-filled:before{content:"\e66a"}.uniui-eye-slash:before{content:"\e6b3"}.uniui-eye-slash-filled:before{content:"\e6b4"}.uniui-info-filled:before{content:"\e649"}.uniui-reload:before{content:"\e6b2"}.uniui-micoff-filled:before{content:"\e6b0"}.uniui-map-pin-ellipse:before{content:"\e6ac"}.uniui-map-pin:before{content:"\e6ad"}.uniui-location:before{content:"\e6ae"}.uniui-starhalf:before{content:"\e683"}.uniui-star:before{content:"\e688"}.uniui-star-filled:before{content:"\e68f"}.uniui-calendar:before{content:"\e6a0"}.uniui-fire:before{content:"\e6a1"}.uniui-medal:before{content:"\e6a2"}.uniui-font:before{content:"\e6a3"}.uniui-gift:before{content:"\e6a4"}.uniui-link:before{content:"\e6a5"}.uniui-notification:before{content:"\e6a6"}.uniui-staff:before{content:"\e6a7"}.uniui-vip:before{content:"\e6a8"}.uniui-folder-add:before{content:"\e6a9"}.uniui-tune:before{content:"\e6aa"}.uniui-auth:before{content:"\e6ab"}.uniui-person:before{content:"\e699"}.uniui-email-filled:before{content:"\e69a"}.uniui-phone-filled:before{content:"\e69b"}.uniui-phone:before{content:"\e69c"}.uniui-email:before{content:"\e69e"}.uniui-personadd:before{content:"\e69f"}.uniui-chatboxes-filled:before{content:"\e692"}.uniui-contact:before{content:"\e693"}.uniui-chatbubble-filled:before{content:"\e694"}.uniui-contact-filled:before{content:"\e695"}.uniui-chatboxes:before{content:"\e696"}.uniui-chatbubble:before{content:"\e697"}.uniui-upload-filled:before{content:"\e68e"}.uniui-upload:before{content:"\e690"}.uniui-weixin:before{content:"\e691"}.uniui-compose:before{content:"\e67f"}.uniui-qq:before{content:"\e680"}.uniui-download-filled:before{content:"\e681"}.uniui-pyq:before{content:"\e682"}.uniui-sound:before{content:"\e684"}.uniui-trash-filled:before{content:"\e685"}.uniui-sound-filled:before{content:"\e686"}.uniui-trash:before{content:"\e687"}.uniui-videocam-filled:before{content:"\e689"}.uniui-spinner-cycle:before{content:"\e68a"}.uniui-weibo:before{content:"\e68b"}.uniui-videocam:before{content:"\e68c"}.uniui-download:before{content:"\e68d"}.uniui-help:before{content:"\e679"}.uniui-navigate-filled:before{content:"\e67a"}.uniui-plusempty:before{content:"\e67b"}.uniui-smallcircle:before{content:"\e67c"}.uniui-minus-filled:before{content:"\e67d"}.uniui-micoff:before{content:"\e67e"}.uniui-closeempty:before{content:"\e66c"}.uniui-clear:before{content:"\e66d"}.uniui-navigate:before{content:"\e66e"}.uniui-minus:before{content:"\e66f"}.uniui-image:before{content:"\e670"}.uniui-mic:before{content:"\e671"}.uniui-paperplane:before{content:"\e672"}.uniui-close:before{content:"\e673"}.uniui-help-filled:before{content:"\e674"}.uniui-paperplane-filled:before{content:"\e675"}.uniui-plus:before{content:"\e676"}.uniui-mic-filled:before{content:"\e677"}.uniui-image-filled:before{content:"\e678"}.uniui-locked-filled:before{content:"\e668"}.uniui-info:before{content:"\e669"}.uniui-locked:before{content:"\e66b"}.uniui-camera-filled:before{content:"\e658"}.uniui-chat-filled:before{content:"\e659"}.uniui-camera:before{content:"\e65a"}.uniui-circle:before{content:"\e65b"}.uniui-checkmarkempty:before{content:"\e65c"}.uniui-chat:before{content:"\e65d"}.uniui-circle-filled:before{content:"\e65e"}.uniui-flag:before{content:"\e65f"}.uniui-flag-filled:before{content:"\e660"}.uniui-gear-filled:before{content:"\e661"}.uniui-home:before{content:"\e662"}.uniui-home-filled:before{content:"\e663"}.uniui-gear:before{content:"\e664"}.uniui-smallcircle-filled:before{content:"\e665"}.uniui-map-filled:before{content:"\e666"}.uniui-map:before{content:"\e667"}.uniui-refresh-filled:before{content:"\e656"}.uniui-refresh:before{content:"\e657"}.uniui-cloud-upload:before{content:"\e645"}.uniui-cloud-download-filled:before{content:"\e646"}.uniui-cloud-download:before{content:"\e647"}.uniui-cloud-upload-filled:before{content:"\e648"}.uniui-redo:before{content:"\e64a"}.uniui-images-filled:before{content:"\e64b"}.uniui-undo-filled:before{content:"\e64c"}.uniui-more:before{content:"\e64d"}.uniui-more-filled:before{content:"\e64e"}.uniui-undo:before{content:"\e64f"}.uniui-images:before{content:"\e650"}.uniui-paperclip:before{content:"\e652"}.uniui-settings:before{content:"\e653"}.uniui-search:before{content:"\e654"}.uniui-redo-filled:before{content:"\e655"}.uniui-list:before{content:"\e644"}.uniui-mail-open-filled:before{content:"\e63a"}.uniui-hand-down-filled:before{content:"\e63c"}.uniui-hand-down:before{content:"\e63d"}.uniui-hand-up-filled:before{content:"\e63e"}.uniui-hand-up:before{content:"\e63f"}.uniui-heart-filled:before{content:"\e641"}.uniui-mail-open:before{content:"\e643"}.uniui-heart:before{content:"\e639"}.uniui-loop:before{content:"\e633"}.uniui-pulldown:before{content:"\e632"}.uniui-scan:before{content:"\e62a"}.uniui-bars:before{content:"\e627"}.uniui-checkbox:before{content:"\e62b"}.uniui-checkbox-filled:before{content:"\e62c"}.uniui-shop:before{content:"\e62f"}.uniui-headphones:before{content:"\e630"}.uniui-cart:before{content:"\e631"}@font-face{font-family:uniicons;src:url(uniicons.ttf)}.dk-uni-icon{font-family:uniicons;text-decoration:none;text-align:center;font-style:normal}
1
+ .uniui-cart-filled:before{content:"\e6d0"}.uniui-gift-filled:before{content:"\e6c4"}.uniui-color:before{content:"\e6cf"}.uniui-wallet:before{content:"\e6b1"}.uniui-settings-filled:before{content:"\e6ce"}.uniui-auth-filled:before{content:"\e6cc"}.uniui-shop-filled:before{content:"\e6cd"}.uniui-staff-filled:before{content:"\e6cb"}.uniui-vip-filled:before{content:"\e6c6"}.uniui-plus-filled:before{content:"\e6c7"}.uniui-folder-add-filled:before{content:"\e6c8"}.uniui-color-filled:before{content:"\e6c9"}.uniui-tune-filled:before{content:"\e6ca"}.uniui-calendar-filled:before{content:"\e6c0"}.uniui-notification-filled:before{content:"\e6c1"}.uniui-wallet-filled:before{content:"\e6c2"}.uniui-medal-filled:before{content:"\e6c3"}.uniui-fire-filled:before{content:"\e6c5"}.uniui-refreshempty:before{content:"\e6bf"}.uniui-location-filled:before{content:"\e6af"}.uniui-person-filled:before{content:"\e69d"}.uniui-personadd-filled:before{content:"\e698"}.uniui-arrowthinleft:before{content:"\e6d2"}.uniui-arrowthinup:before{content:"\e6d3"}.uniui-arrowthindown:before{content:"\e6d4"}.uniui-back:before{content:"\e6b9"}.uniui-forward:before{content:"\e6ba"}.uniui-arrow-right:before{content:"\e6bb"}.uniui-arrow-left:before{content:"\e6bc"}.uniui-arrow-up:before{content:"\e6bd"}.uniui-arrow-down:before{content:"\e6be"}.uniui-arrowthinright:before{content:"\e6d1"}.uniui-down:before{content:"\e6b8"}.uniui-bottom:before{content:"\e6b8"}.uniui-arrowright:before{content:"\e6d5"}.uniui-right:before{content:"\e6b5"}.uniui-up:before{content:"\e6b6"}.uniui-top:before{content:"\e6b6"}.uniui-left:before{content:"\e6b7"}.uniui-arrowup:before{content:"\e6d6"}.uniui-eye:before{content:"\e651"}.uniui-eye-filled:before{content:"\e66a"}.uniui-eye-slash:before{content:"\e6b3"}.uniui-eye-slash-filled:before{content:"\e6b4"}.uniui-info-filled:before{content:"\e649"}.uniui-reload:before{content:"\e6b2"}.uniui-micoff-filled:before{content:"\e6b0"}.uniui-map-pin-ellipse:before{content:"\e6ac"}.uniui-map-pin:before{content:"\e6ad"}.uniui-location:before{content:"\e6ae"}.uniui-starhalf:before{content:"\e683"}.uniui-star:before{content:"\e688"}.uniui-star-filled:before{content:"\e68f"}.uniui-calendar:before{content:"\e6a0"}.uniui-fire:before{content:"\e6a1"}.uniui-medal:before{content:"\e6a2"}.uniui-font:before{content:"\e6a3"}.uniui-gift:before{content:"\e6a4"}.uniui-link:before{content:"\e6a5"}.uniui-notification:before{content:"\e6a6"}.uniui-staff:before{content:"\e6a7"}.uniui-vip:before{content:"\e6a8"}.uniui-folder-add:before{content:"\e6a9"}.uniui-tune:before{content:"\e6aa"}.uniui-auth:before{content:"\e6ab"}.uniui-person:before{content:"\e699"}.uniui-email-filled:before{content:"\e69a"}.uniui-phone-filled:before{content:"\e69b"}.uniui-phone:before{content:"\e69c"}.uniui-email:before{content:"\e69e"}.uniui-personadd:before{content:"\e69f"}.uniui-chatboxes-filled:before{content:"\e692"}.uniui-contact:before{content:"\e693"}.uniui-chatbubble-filled:before{content:"\e694"}.uniui-contact-filled:before{content:"\e695"}.uniui-chatboxes:before{content:"\e696"}.uniui-chatbubble:before{content:"\e697"}.uniui-upload-filled:before{content:"\e68e"}.uniui-upload:before{content:"\e690"}.uniui-weixin:before{content:"\e691"}.uniui-compose:before{content:"\e67f"}.uniui-qq:before{content:"\e680"}.uniui-download-filled:before{content:"\e681"}.uniui-pyq:before{content:"\e682"}.uniui-sound:before{content:"\e684"}.uniui-trash-filled:before{content:"\e685"}.uniui-sound-filled:before{content:"\e686"}.uniui-trash:before{content:"\e687"}.uniui-videocam-filled:before{content:"\e689"}.uniui-spinner-cycle:before{content:"\e68a"}.uniui-weibo:before{content:"\e68b"}.uniui-videocam:before{content:"\e68c"}.uniui-download:before{content:"\e68d"}.uniui-help:before{content:"\e679"}.uniui-navigate-filled:before{content:"\e67a"}.uniui-plusempty:before{content:"\e67b"}.uniui-smallcircle:before{content:"\e67c"}.uniui-minus-filled:before{content:"\e67d"}.uniui-micoff:before{content:"\e67e"}.uniui-closeempty:before{content:"\e66c"}.uniui-clear:before{content:"\e66d"}.uniui-navigate:before{content:"\e66e"}.uniui-minus:before{content:"\e66f"}.uniui-image:before{content:"\e670"}.uniui-mic:before{content:"\e671"}.uniui-paperplane:before{content:"\e672"}.uniui-close:before{content:"\e673"}.uniui-help-filled:before{content:"\e674"}.uniui-paperplane-filled:before{content:"\e675"}.uniui-plus:before{content:"\e676"}.uniui-mic-filled:before{content:"\e677"}.uniui-image-filled:before{content:"\e678"}.uniui-locked-filled:before{content:"\e668"}.uniui-info:before{content:"\e669"}.uniui-locked:before{content:"\e66b"}.uniui-camera-filled:before{content:"\e658"}.uniui-chat-filled:before{content:"\e659"}.uniui-camera:before{content:"\e65a"}.uniui-circle:before{content:"\e65b"}.uniui-checkmarkempty:before{content:"\e65c"}.uniui-chat:before{content:"\e65d"}.uniui-circle-filled:before{content:"\e65e"}.uniui-flag:before{content:"\e65f"}.uniui-flag-filled:before{content:"\e660"}.uniui-gear-filled:before{content:"\e661"}.uniui-home:before{content:"\e662"}.uniui-home-filled:before{content:"\e663"}.uniui-gear:before{content:"\e664"}.uniui-smallcircle-filled:before{content:"\e665"}.uniui-map-filled:before{content:"\e666"}.uniui-map:before{content:"\e667"}.uniui-refresh-filled:before{content:"\e656"}.uniui-refresh:before{content:"\e657"}.uniui-cloud-upload:before{content:"\e645"}.uniui-cloud-download-filled:before{content:"\e646"}.uniui-cloud-download:before{content:"\e647"}.uniui-cloud-upload-filled:before{content:"\e648"}.uniui-redo:before{content:"\e64a"}.uniui-images-filled:before{content:"\e64b"}.uniui-undo-filled:before{content:"\e64c"}.uniui-more:before{content:"\e64d"}.uniui-more-filled:before{content:"\e64e"}.uniui-undo:before{content:"\e64f"}.uniui-images:before{content:"\e650"}.uniui-paperclip:before{content:"\e652"}.uniui-settings:before{content:"\e653"}.uniui-search:before{content:"\e654"}.uniui-redo-filled:before{content:"\e655"}.uniui-list:before{content:"\e644"}.uniui-mail-open-filled:before{content:"\e63a"}.uniui-hand-down-filled:before{content:"\e63c"}.uniui-hand-down:before{content:"\e63d"}.uniui-hand-up-filled:before{content:"\e63e"}.uniui-hand-up:before{content:"\e63f"}.uniui-heart-filled:before{content:"\e641"}.uniui-mail-open:before{content:"\e643"}.uniui-heart:before{content:"\e639"}.uniui-loop:before{content:"\e633"}.uniui-pulldown:before{content:"\e632"}.uniui-scan:before{content:"\e62a"}.uniui-bars:before{content:"\e627"}.uniui-checkbox:before{content:"\e62b"}.uniui-checkbox-filled:before{content:"\e62c"}.uniui-shop:before{content:"\e62f"}.uniui-headphones:before{content:"\e630"}.uniui-cart:before{content:"\e631"}@font-face{font-family:uniicons;src:url(https://registry.npmmirror.com/@vipl520/dk-ui/1.0.46/files/dist/uniicons.ttf)}.dk-uni-icon{font-family:uniicons;text-decoration:none;text-align:center;font-style:normal}
@@ -5,7 +5,8 @@
5
5
 
6
6
  @font-face {
7
7
  font-family: uniicons;
8
- src: url('../style/uniicons.ttf');
8
+ //src: url('./uniicons.ttf');
9
+ src:url("https://registry.npmmirror.com/@vipl520/dk-ui/1.0.46/files/dist/uniicons.ttf")
9
10
  }
10
11
 
11
12
  .dk-uni-icon {
@@ -48,6 +48,15 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
48
48
  values.value = obj;
49
49
  loading.value = false;
50
50
  };
51
+ vue.watch(
52
+ () => props.modelValue,
53
+ () => {
54
+ init();
55
+ },
56
+ {
57
+ deep: true
58
+ }
59
+ );
51
60
  vue.onMounted(() => {
52
61
  init();
53
62
  });
@@ -1 +1 @@
1
- {"version":3,"file":"style-input.vue2.js","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 props.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}\nconst init = () => {\n const components: any = props.components\n const obj: any = {}\n components.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}\nonMounted(() => {\n init()\n})\n</script>\n"],"names":["__MACROS_defineComponent","ref","onMounted"],"mappings":";;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AA6BD,IAAA,MAAM,WAAc,GAAAC,OAAA,CAAI,CAAC,CAAC,CAAC,CAAA,CAAA;AAC3B,IAAM,MAAA,MAAA,GAAcA,OAAI,CAAA,EAAE,CAAA,CAAA;AAC1B,IAAM,MAAA,OAAA,GAAUA,QAAI,IAAI,CAAA,CAAA;AAGxB,IAAA,MAAM,WAAW,MAAM;AACrB,MAAA,MAAM,MAAW,EAAC,CAAA;AAClB,MAAA,MAAA,CAAO,KAAK,MAAO,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,CAAC,GAAQ,KAAA;AACzC,QAAO,MAAA,CAAA,IAAA,CAAK,OAAO,KAAM,CAAA,GAAG,CAAC,CAAE,CAAA,OAAA,CAAQ,CAAC,CAAM,KAAA;AAC5C,UAAA,GAAA,CAAI,CAAC,CAAI,GAAA,MAAA,CAAO,KAAM,CAAA,GAAG,EAAE,CAAC,CAAA,CAAA;AAAA,SAC7B,CAAA,CAAA;AAAA,OACF,CAAA,CAAA;AACD,MAAA,IAAA,CAAK,qBAAqB,GAAG,CAAA,CAAA;AAAA,KAC/B,CAAA;AACA,IAAA,MAAM,OAAO,MAAM;AACjB,MAAA,MAAM,aAAkB,KAAM,CAAA,UAAA,CAAA;AAC9B,MAAA,MAAM,MAAW,EAAC,CAAA;AAClB,MAAW,UAAA,CAAA,OAAA,CAAQ,CAAC,IAAc,KAAA;AAChC,QAAA,MAAM,SAAS,IAAK,CAAA,MAAA,CAAA;AACpB,QAAA,MAAM,YAAiB,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;AACA,IAAAC,aAAA,CAAU,MAAM;AACd,MAAK,IAAA,EAAA,CAAA;AAAA,KACN,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"style-input.vue2.js","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 props.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}\nconst init = () => {\n const components: any = props.components\n const obj: any = {}\n components.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","ref","watch","onMounted"],"mappings":";;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AA6BD,IAAA,MAAM,WAAc,GAAAC,OAAA,CAAI,CAAC,CAAC,CAAC,CAAA,CAAA;AAC3B,IAAM,MAAA,MAAA,GAAcA,OAAI,CAAA,EAAE,CAAA,CAAA;AAC1B,IAAM,MAAA,OAAA,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AACf,MAAA,OAAA,CAAQ,KAAQ,GAAA,KAAA,CAAA;AAAA,KAClB,CAAA;AAEA,IAAAC,SAAA;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,IAAAC,aAAA,CAAU,MAAM;AACd,MAAK,IAAA,EAAA,CAAA;AAAA,KACN,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- .uniui-cart-filled:before{content:"\e6d0"}.uniui-gift-filled:before{content:"\e6c4"}.uniui-color:before{content:"\e6cf"}.uniui-wallet:before{content:"\e6b1"}.uniui-settings-filled:before{content:"\e6ce"}.uniui-auth-filled:before{content:"\e6cc"}.uniui-shop-filled:before{content:"\e6cd"}.uniui-staff-filled:before{content:"\e6cb"}.uniui-vip-filled:before{content:"\e6c6"}.uniui-plus-filled:before{content:"\e6c7"}.uniui-folder-add-filled:before{content:"\e6c8"}.uniui-color-filled:before{content:"\e6c9"}.uniui-tune-filled:before{content:"\e6ca"}.uniui-calendar-filled:before{content:"\e6c0"}.uniui-notification-filled:before{content:"\e6c1"}.uniui-wallet-filled:before{content:"\e6c2"}.uniui-medal-filled:before{content:"\e6c3"}.uniui-fire-filled:before{content:"\e6c5"}.uniui-refreshempty:before{content:"\e6bf"}.uniui-location-filled:before{content:"\e6af"}.uniui-person-filled:before{content:"\e69d"}.uniui-personadd-filled:before{content:"\e698"}.uniui-arrowthinleft:before{content:"\e6d2"}.uniui-arrowthinup:before{content:"\e6d3"}.uniui-arrowthindown:before{content:"\e6d4"}.uniui-back:before{content:"\e6b9"}.uniui-forward:before{content:"\e6ba"}.uniui-arrow-right:before{content:"\e6bb"}.uniui-arrow-left:before{content:"\e6bc"}.uniui-arrow-up:before{content:"\e6bd"}.uniui-arrow-down:before{content:"\e6be"}.uniui-arrowthinright:before{content:"\e6d1"}.uniui-down:before{content:"\e6b8"}.uniui-bottom:before{content:"\e6b8"}.uniui-arrowright:before{content:"\e6d5"}.uniui-right:before{content:"\e6b5"}.uniui-up:before{content:"\e6b6"}.uniui-top:before{content:"\e6b6"}.uniui-left:before{content:"\e6b7"}.uniui-arrowup:before{content:"\e6d6"}.uniui-eye:before{content:"\e651"}.uniui-eye-filled:before{content:"\e66a"}.uniui-eye-slash:before{content:"\e6b3"}.uniui-eye-slash-filled:before{content:"\e6b4"}.uniui-info-filled:before{content:"\e649"}.uniui-reload:before{content:"\e6b2"}.uniui-micoff-filled:before{content:"\e6b0"}.uniui-map-pin-ellipse:before{content:"\e6ac"}.uniui-map-pin:before{content:"\e6ad"}.uniui-location:before{content:"\e6ae"}.uniui-starhalf:before{content:"\e683"}.uniui-star:before{content:"\e688"}.uniui-star-filled:before{content:"\e68f"}.uniui-calendar:before{content:"\e6a0"}.uniui-fire:before{content:"\e6a1"}.uniui-medal:before{content:"\e6a2"}.uniui-font:before{content:"\e6a3"}.uniui-gift:before{content:"\e6a4"}.uniui-link:before{content:"\e6a5"}.uniui-notification:before{content:"\e6a6"}.uniui-staff:before{content:"\e6a7"}.uniui-vip:before{content:"\e6a8"}.uniui-folder-add:before{content:"\e6a9"}.uniui-tune:before{content:"\e6aa"}.uniui-auth:before{content:"\e6ab"}.uniui-person:before{content:"\e699"}.uniui-email-filled:before{content:"\e69a"}.uniui-phone-filled:before{content:"\e69b"}.uniui-phone:before{content:"\e69c"}.uniui-email:before{content:"\e69e"}.uniui-personadd:before{content:"\e69f"}.uniui-chatboxes-filled:before{content:"\e692"}.uniui-contact:before{content:"\e693"}.uniui-chatbubble-filled:before{content:"\e694"}.uniui-contact-filled:before{content:"\e695"}.uniui-chatboxes:before{content:"\e696"}.uniui-chatbubble:before{content:"\e697"}.uniui-upload-filled:before{content:"\e68e"}.uniui-upload:before{content:"\e690"}.uniui-weixin:before{content:"\e691"}.uniui-compose:before{content:"\e67f"}.uniui-qq:before{content:"\e680"}.uniui-download-filled:before{content:"\e681"}.uniui-pyq:before{content:"\e682"}.uniui-sound:before{content:"\e684"}.uniui-trash-filled:before{content:"\e685"}.uniui-sound-filled:before{content:"\e686"}.uniui-trash:before{content:"\e687"}.uniui-videocam-filled:before{content:"\e689"}.uniui-spinner-cycle:before{content:"\e68a"}.uniui-weibo:before{content:"\e68b"}.uniui-videocam:before{content:"\e68c"}.uniui-download:before{content:"\e68d"}.uniui-help:before{content:"\e679"}.uniui-navigate-filled:before{content:"\e67a"}.uniui-plusempty:before{content:"\e67b"}.uniui-smallcircle:before{content:"\e67c"}.uniui-minus-filled:before{content:"\e67d"}.uniui-micoff:before{content:"\e67e"}.uniui-closeempty:before{content:"\e66c"}.uniui-clear:before{content:"\e66d"}.uniui-navigate:before{content:"\e66e"}.uniui-minus:before{content:"\e66f"}.uniui-image:before{content:"\e670"}.uniui-mic:before{content:"\e671"}.uniui-paperplane:before{content:"\e672"}.uniui-close:before{content:"\e673"}.uniui-help-filled:before{content:"\e674"}.uniui-paperplane-filled:before{content:"\e675"}.uniui-plus:before{content:"\e676"}.uniui-mic-filled:before{content:"\e677"}.uniui-image-filled:before{content:"\e678"}.uniui-locked-filled:before{content:"\e668"}.uniui-info:before{content:"\e669"}.uniui-locked:before{content:"\e66b"}.uniui-camera-filled:before{content:"\e658"}.uniui-chat-filled:before{content:"\e659"}.uniui-camera:before{content:"\e65a"}.uniui-circle:before{content:"\e65b"}.uniui-checkmarkempty:before{content:"\e65c"}.uniui-chat:before{content:"\e65d"}.uniui-circle-filled:before{content:"\e65e"}.uniui-flag:before{content:"\e65f"}.uniui-flag-filled:before{content:"\e660"}.uniui-gear-filled:before{content:"\e661"}.uniui-home:before{content:"\e662"}.uniui-home-filled:before{content:"\e663"}.uniui-gear:before{content:"\e664"}.uniui-smallcircle-filled:before{content:"\e665"}.uniui-map-filled:before{content:"\e666"}.uniui-map:before{content:"\e667"}.uniui-refresh-filled:before{content:"\e656"}.uniui-refresh:before{content:"\e657"}.uniui-cloud-upload:before{content:"\e645"}.uniui-cloud-download-filled:before{content:"\e646"}.uniui-cloud-download:before{content:"\e647"}.uniui-cloud-upload-filled:before{content:"\e648"}.uniui-redo:before{content:"\e64a"}.uniui-images-filled:before{content:"\e64b"}.uniui-undo-filled:before{content:"\e64c"}.uniui-more:before{content:"\e64d"}.uniui-more-filled:before{content:"\e64e"}.uniui-undo:before{content:"\e64f"}.uniui-images:before{content:"\e650"}.uniui-paperclip:before{content:"\e652"}.uniui-settings:before{content:"\e653"}.uniui-search:before{content:"\e654"}.uniui-redo-filled:before{content:"\e655"}.uniui-list:before{content:"\e644"}.uniui-mail-open-filled:before{content:"\e63a"}.uniui-hand-down-filled:before{content:"\e63c"}.uniui-hand-down:before{content:"\e63d"}.uniui-hand-up-filled:before{content:"\e63e"}.uniui-hand-up:before{content:"\e63f"}.uniui-heart-filled:before{content:"\e641"}.uniui-mail-open:before{content:"\e643"}.uniui-heart:before{content:"\e639"}.uniui-loop:before{content:"\e633"}.uniui-pulldown:before{content:"\e632"}.uniui-scan:before{content:"\e62a"}.uniui-bars:before{content:"\e627"}.uniui-checkbox:before{content:"\e62b"}.uniui-checkbox-filled:before{content:"\e62c"}.uniui-shop:before{content:"\e62f"}.uniui-headphones:before{content:"\e630"}.uniui-cart:before{content:"\e631"}@font-face{font-family:uniicons;src:url(uniicons.ttf)}.dk-uni-icon{font-family:uniicons;text-decoration:none;text-align:center;font-style:normal}
1
+ .uniui-cart-filled:before{content:"\e6d0"}.uniui-gift-filled:before{content:"\e6c4"}.uniui-color:before{content:"\e6cf"}.uniui-wallet:before{content:"\e6b1"}.uniui-settings-filled:before{content:"\e6ce"}.uniui-auth-filled:before{content:"\e6cc"}.uniui-shop-filled:before{content:"\e6cd"}.uniui-staff-filled:before{content:"\e6cb"}.uniui-vip-filled:before{content:"\e6c6"}.uniui-plus-filled:before{content:"\e6c7"}.uniui-folder-add-filled:before{content:"\e6c8"}.uniui-color-filled:before{content:"\e6c9"}.uniui-tune-filled:before{content:"\e6ca"}.uniui-calendar-filled:before{content:"\e6c0"}.uniui-notification-filled:before{content:"\e6c1"}.uniui-wallet-filled:before{content:"\e6c2"}.uniui-medal-filled:before{content:"\e6c3"}.uniui-fire-filled:before{content:"\e6c5"}.uniui-refreshempty:before{content:"\e6bf"}.uniui-location-filled:before{content:"\e6af"}.uniui-person-filled:before{content:"\e69d"}.uniui-personadd-filled:before{content:"\e698"}.uniui-arrowthinleft:before{content:"\e6d2"}.uniui-arrowthinup:before{content:"\e6d3"}.uniui-arrowthindown:before{content:"\e6d4"}.uniui-back:before{content:"\e6b9"}.uniui-forward:before{content:"\e6ba"}.uniui-arrow-right:before{content:"\e6bb"}.uniui-arrow-left:before{content:"\e6bc"}.uniui-arrow-up:before{content:"\e6bd"}.uniui-arrow-down:before{content:"\e6be"}.uniui-arrowthinright:before{content:"\e6d1"}.uniui-down:before{content:"\e6b8"}.uniui-bottom:before{content:"\e6b8"}.uniui-arrowright:before{content:"\e6d5"}.uniui-right:before{content:"\e6b5"}.uniui-up:before{content:"\e6b6"}.uniui-top:before{content:"\e6b6"}.uniui-left:before{content:"\e6b7"}.uniui-arrowup:before{content:"\e6d6"}.uniui-eye:before{content:"\e651"}.uniui-eye-filled:before{content:"\e66a"}.uniui-eye-slash:before{content:"\e6b3"}.uniui-eye-slash-filled:before{content:"\e6b4"}.uniui-info-filled:before{content:"\e649"}.uniui-reload:before{content:"\e6b2"}.uniui-micoff-filled:before{content:"\e6b0"}.uniui-map-pin-ellipse:before{content:"\e6ac"}.uniui-map-pin:before{content:"\e6ad"}.uniui-location:before{content:"\e6ae"}.uniui-starhalf:before{content:"\e683"}.uniui-star:before{content:"\e688"}.uniui-star-filled:before{content:"\e68f"}.uniui-calendar:before{content:"\e6a0"}.uniui-fire:before{content:"\e6a1"}.uniui-medal:before{content:"\e6a2"}.uniui-font:before{content:"\e6a3"}.uniui-gift:before{content:"\e6a4"}.uniui-link:before{content:"\e6a5"}.uniui-notification:before{content:"\e6a6"}.uniui-staff:before{content:"\e6a7"}.uniui-vip:before{content:"\e6a8"}.uniui-folder-add:before{content:"\e6a9"}.uniui-tune:before{content:"\e6aa"}.uniui-auth:before{content:"\e6ab"}.uniui-person:before{content:"\e699"}.uniui-email-filled:before{content:"\e69a"}.uniui-phone-filled:before{content:"\e69b"}.uniui-phone:before{content:"\e69c"}.uniui-email:before{content:"\e69e"}.uniui-personadd:before{content:"\e69f"}.uniui-chatboxes-filled:before{content:"\e692"}.uniui-contact:before{content:"\e693"}.uniui-chatbubble-filled:before{content:"\e694"}.uniui-contact-filled:before{content:"\e695"}.uniui-chatboxes:before{content:"\e696"}.uniui-chatbubble:before{content:"\e697"}.uniui-upload-filled:before{content:"\e68e"}.uniui-upload:before{content:"\e690"}.uniui-weixin:before{content:"\e691"}.uniui-compose:before{content:"\e67f"}.uniui-qq:before{content:"\e680"}.uniui-download-filled:before{content:"\e681"}.uniui-pyq:before{content:"\e682"}.uniui-sound:before{content:"\e684"}.uniui-trash-filled:before{content:"\e685"}.uniui-sound-filled:before{content:"\e686"}.uniui-trash:before{content:"\e687"}.uniui-videocam-filled:before{content:"\e689"}.uniui-spinner-cycle:before{content:"\e68a"}.uniui-weibo:before{content:"\e68b"}.uniui-videocam:before{content:"\e68c"}.uniui-download:before{content:"\e68d"}.uniui-help:before{content:"\e679"}.uniui-navigate-filled:before{content:"\e67a"}.uniui-plusempty:before{content:"\e67b"}.uniui-smallcircle:before{content:"\e67c"}.uniui-minus-filled:before{content:"\e67d"}.uniui-micoff:before{content:"\e67e"}.uniui-closeempty:before{content:"\e66c"}.uniui-clear:before{content:"\e66d"}.uniui-navigate:before{content:"\e66e"}.uniui-minus:before{content:"\e66f"}.uniui-image:before{content:"\e670"}.uniui-mic:before{content:"\e671"}.uniui-paperplane:before{content:"\e672"}.uniui-close:before{content:"\e673"}.uniui-help-filled:before{content:"\e674"}.uniui-paperplane-filled:before{content:"\e675"}.uniui-plus:before{content:"\e676"}.uniui-mic-filled:before{content:"\e677"}.uniui-image-filled:before{content:"\e678"}.uniui-locked-filled:before{content:"\e668"}.uniui-info:before{content:"\e669"}.uniui-locked:before{content:"\e66b"}.uniui-camera-filled:before{content:"\e658"}.uniui-chat-filled:before{content:"\e659"}.uniui-camera:before{content:"\e65a"}.uniui-circle:before{content:"\e65b"}.uniui-checkmarkempty:before{content:"\e65c"}.uniui-chat:before{content:"\e65d"}.uniui-circle-filled:before{content:"\e65e"}.uniui-flag:before{content:"\e65f"}.uniui-flag-filled:before{content:"\e660"}.uniui-gear-filled:before{content:"\e661"}.uniui-home:before{content:"\e662"}.uniui-home-filled:before{content:"\e663"}.uniui-gear:before{content:"\e664"}.uniui-smallcircle-filled:before{content:"\e665"}.uniui-map-filled:before{content:"\e666"}.uniui-map:before{content:"\e667"}.uniui-refresh-filled:before{content:"\e656"}.uniui-refresh:before{content:"\e657"}.uniui-cloud-upload:before{content:"\e645"}.uniui-cloud-download-filled:before{content:"\e646"}.uniui-cloud-download:before{content:"\e647"}.uniui-cloud-upload-filled:before{content:"\e648"}.uniui-redo:before{content:"\e64a"}.uniui-images-filled:before{content:"\e64b"}.uniui-undo-filled:before{content:"\e64c"}.uniui-more:before{content:"\e64d"}.uniui-more-filled:before{content:"\e64e"}.uniui-undo:before{content:"\e64f"}.uniui-images:before{content:"\e650"}.uniui-paperclip:before{content:"\e652"}.uniui-settings:before{content:"\e653"}.uniui-search:before{content:"\e654"}.uniui-redo-filled:before{content:"\e655"}.uniui-list:before{content:"\e644"}.uniui-mail-open-filled:before{content:"\e63a"}.uniui-hand-down-filled:before{content:"\e63c"}.uniui-hand-down:before{content:"\e63d"}.uniui-hand-up-filled:before{content:"\e63e"}.uniui-hand-up:before{content:"\e63f"}.uniui-heart-filled:before{content:"\e641"}.uniui-mail-open:before{content:"\e643"}.uniui-heart:before{content:"\e639"}.uniui-loop:before{content:"\e633"}.uniui-pulldown:before{content:"\e632"}.uniui-scan:before{content:"\e62a"}.uniui-bars:before{content:"\e627"}.uniui-checkbox:before{content:"\e62b"}.uniui-checkbox-filled:before{content:"\e62c"}.uniui-shop:before{content:"\e62f"}.uniui-headphones:before{content:"\e630"}.uniui-cart:before{content:"\e631"}@font-face{font-family:uniicons;src:url(https://registry.npmmirror.com/@vipl520/dk-ui/1.0.46/files/dist/uniicons.ttf)}.dk-uni-icon{font-family:uniicons;text-decoration:none;text-align:center;font-style:normal}
@@ -5,7 +5,8 @@
5
5
 
6
6
  @font-face {
7
7
  font-family: uniicons;
8
- src: url('../style/uniicons.ttf');
8
+ //src: url('./uniicons.ttf');
9
+ src:url("https://registry.npmmirror.com/@vipl520/dk-ui/1.0.46/files/dist/uniicons.ttf")
9
10
  }
10
11
 
11
12
  .dk-uni-icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vipl520/dk-ui",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
4
4
  "description": "多客怪兽框架核心组件,支持diy、crud动态表格、上传组件等",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.mjs",
package/dist/uniicons.ttf DELETED
Binary file