@vipl520/dk-ui 1.0.45 → 1.0.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. package/dist/attributes.json +16 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +1368 -525
  4. package/dist/index.min.js +4 -4
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +4 -4
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +1365 -526
  9. package/dist/tags.json +14 -0
  10. package/dist/web-types.json +69 -1
  11. package/es/dialog/src/dialog.vue2.mjs +1 -1
  12. package/es/dialog/src/dialog.vue2.mjs.map +1 -1
  13. package/es/form/index.d.ts +3 -15
  14. package/es/form/src/form.vue.d.ts +2 -10
  15. package/es/form/src/form.vue2.mjs +1 -0
  16. package/es/form/src/form.vue2.mjs.map +1 -1
  17. package/es/form/src/props.d.ts +1 -5
  18. package/es/form/src/props.mjs +1 -5
  19. package/es/form/src/props.mjs.map +1 -1
  20. package/es/index.d.ts +2 -0
  21. package/es/index.mjs +8 -2
  22. package/es/index.mjs.map +1 -1
  23. package/es/index.scss +2 -0
  24. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +1 -0
  25. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +2 -1
  26. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  27. package/es/page-diy/src/config/rule/min/common/index.d.ts +2 -0
  28. package/es/page-diy/src/config/rule/min/index.d.ts +2 -0
  29. package/es/style-input/src/style-input.vue2.mjs +10 -1
  30. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  31. package/es/table/src/components/FieldRender.vue2.mjs +1 -1
  32. package/es/table/src/components/FieldRender.vue2.mjs.map +1 -1
  33. package/es/uni-icon/index.d.ts +174 -0
  34. package/es/uni-icon/index.mjs +8 -0
  35. package/es/uni-icon/index.mjs.map +1 -0
  36. package/es/uni-icon/src/props.d.ts +24 -0
  37. package/es/uni-icon/src/props.mjs +25 -0
  38. package/es/uni-icon/src/props.mjs.map +1 -0
  39. package/es/uni-icon/src/uni-icon.vue.d.ts +57 -0
  40. package/es/uni-icon/src/uni-icon.vue.mjs +7 -0
  41. package/es/uni-icon/src/uni-icon.vue.mjs.map +1 -0
  42. package/es/uni-icon/src/uni-icon.vue2.mjs +43 -0
  43. package/es/uni-icon/src/uni-icon.vue2.mjs.map +1 -0
  44. package/es/uni-icon/style/index.css +1 -0
  45. package/es/uni-icon/style/index.scss +18 -0
  46. package/es/uni-icon/style/uniicons.css +1 -0
  47. package/es/uni-icon/style/uniicons.scss +663 -0
  48. package/es/uni-icon/style/uniicons_file_vue.d.ts +4 -0
  49. package/es/uni-icon/style/uniicons_file_vue.mjs +649 -0
  50. package/es/uni-icon/style/uniicons_file_vue.mjs.map +1 -0
  51. package/es/uni-icon-input/index.d.ts +17 -0
  52. package/es/uni-icon-input/index.mjs +8 -0
  53. package/es/uni-icon-input/index.mjs.map +1 -0
  54. package/es/uni-icon-input/src/props.d.ts +11 -0
  55. package/es/uni-icon-input/src/props.mjs +11 -0
  56. package/es/uni-icon-input/src/props.mjs.map +1 -0
  57. package/es/uni-icon-input/src/uni-icon-input.vue.d.ts +16 -0
  58. package/es/uni-icon-input/src/uni-icon-input.vue.mjs +7 -0
  59. package/es/uni-icon-input/src/uni-icon-input.vue.mjs.map +1 -0
  60. package/es/uni-icon-input/src/uni-icon-input.vue2.mjs +112 -0
  61. package/es/uni-icon-input/src/uni-icon-input.vue2.mjs.map +1 -0
  62. package/es/uni-icon-input/style/index.css +1 -0
  63. package/es/uni-icon-input/style/index.scss +13 -0
  64. package/lib/dialog/src/dialog.vue2.js +1 -1
  65. package/lib/dialog/src/dialog.vue2.js.map +1 -1
  66. package/lib/form/index.d.ts +3 -15
  67. package/lib/form/src/form.vue.d.ts +2 -10
  68. package/lib/form/src/form.vue2.js +1 -0
  69. package/lib/form/src/form.vue2.js.map +1 -1
  70. package/lib/form/src/props.d.ts +1 -5
  71. package/lib/form/src/props.js +1 -5
  72. package/lib/form/src/props.js.map +1 -1
  73. package/lib/index.d.ts +2 -0
  74. package/lib/index.js +13 -3
  75. package/lib/index.js.map +1 -1
  76. package/lib/index.scss +2 -0
  77. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +1 -0
  78. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +2 -1
  79. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  80. package/lib/page-diy/src/config/rule/min/common/index.d.ts +2 -0
  81. package/lib/page-diy/src/config/rule/min/index.d.ts +2 -0
  82. package/lib/style-input/src/style-input.vue2.js +9 -0
  83. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  84. package/lib/table/src/components/FieldRender.vue2.js +1 -1
  85. package/lib/table/src/components/FieldRender.vue2.js.map +1 -1
  86. package/lib/uni-icon/index.d.ts +174 -0
  87. package/lib/uni-icon/index.js +14 -0
  88. package/lib/uni-icon/index.js.map +1 -0
  89. package/lib/uni-icon/src/props.d.ts +24 -0
  90. package/lib/uni-icon/src/props.js +27 -0
  91. package/lib/uni-icon/src/props.js.map +1 -0
  92. package/lib/uni-icon/src/uni-icon.vue.d.ts +57 -0
  93. package/lib/uni-icon/src/uni-icon.vue.js +11 -0
  94. package/lib/uni-icon/src/uni-icon.vue.js.map +1 -0
  95. package/lib/uni-icon/src/uni-icon.vue2.js +47 -0
  96. package/lib/uni-icon/src/uni-icon.vue2.js.map +1 -0
  97. package/lib/uni-icon/style/index.css +1 -0
  98. package/lib/uni-icon/style/index.scss +18 -0
  99. package/lib/uni-icon/style/uniicons.css +1 -0
  100. package/lib/uni-icon/style/uniicons.scss +663 -0
  101. package/lib/uni-icon/style/uniicons_file_vue.d.ts +4 -0
  102. package/lib/uni-icon/style/uniicons_file_vue.js +651 -0
  103. package/lib/uni-icon/style/uniicons_file_vue.js.map +1 -0
  104. package/lib/uni-icon-input/index.d.ts +17 -0
  105. package/lib/uni-icon-input/index.js +14 -0
  106. package/lib/uni-icon-input/index.js.map +1 -0
  107. package/lib/uni-icon-input/src/props.d.ts +11 -0
  108. package/lib/uni-icon-input/src/props.js +13 -0
  109. package/lib/uni-icon-input/src/props.js.map +1 -0
  110. package/lib/uni-icon-input/src/uni-icon-input.vue.d.ts +16 -0
  111. package/lib/uni-icon-input/src/uni-icon-input.vue.js +11 -0
  112. package/lib/uni-icon-input/src/uni-icon-input.vue.js.map +1 -0
  113. package/lib/uni-icon-input/src/uni-icon-input.vue2.js +116 -0
  114. package/lib/uni-icon-input/src/uni-icon-input.vue2.js.map +1 -0
  115. package/lib/uni-icon-input/style/index.css +1 -0
  116. package/lib/uni-icon-input/style/index.scss +13 -0
  117. package/package.json +2 -1
@@ -172,6 +172,7 @@ export const commonMenu: ({
172
172
  };
173
173
  showStyle: boolean;
174
174
  fixed: boolean;
175
+ setting: {};
175
176
  };
176
177
  props(): {
177
178
  type: string;
@@ -484,6 +485,7 @@ export const commonRuleList: {
484
485
  };
485
486
  showStyle: boolean;
486
487
  fixed: boolean;
488
+ setting: {};
487
489
  };
488
490
  props(): {
489
491
  type: string;
@@ -173,6 +173,7 @@ export const minRuleList: {
173
173
  };
174
174
  showStyle: boolean;
175
175
  fixed: boolean;
176
+ setting: {};
176
177
  };
177
178
  props(): {
178
179
  type: string;
@@ -488,6 +489,7 @@ export function createMinMenu(): {
488
489
  };
489
490
  showStyle: boolean;
490
491
  fixed: boolean;
492
+ setting: {};
491
493
  };
492
494
  props(): {
493
495
  type: string;
@@ -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,CA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Q,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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AAG,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,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -65,7 +65,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
65
65
  fieldValue.value = val.value;
66
66
  }
67
67
  const getTagType = (value, custom) => {
68
- return custom && custom[value] ? custom[value] : "";
68
+ return custom && custom[value] ? custom[value] : "primary";
69
69
  };
70
70
  const onChangeField = (value) => {
71
71
  DkTable.onTableAction("field-change", {
@@ -1 +1 @@
1
- {"version":3,"file":"FieldRender.vue2.js","sources":["../../../../src/table/src/components/FieldRender.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkFieldRender',\n});\n</script>\n<template>\n <!--图标-->\n <div v-if=\"field.render == 'icon'\">\n <dk-icon v-if=\"fieldValue || field.default\" :icon=\"fieldValue ? fieldValue : field.default\" />\n <span v-else>-</span>\n </div>\n\n <!--开关-->\n <el-switch\n v-if=\"field.render == 'switch' && fieldValue !== ''\"\n :model-value=\"fieldValue.toString()\"\n :loading=\"row.loading\"\n inactive-value=\"0\"\n active-value=\"1\"\n size=\"small\"\n @change=\"onChangeField\"\n ></el-switch>\n\n <!-- 单图 -->\n <div v-if=\"field.render == 'image' && fieldValue\" class=\"ba-render-image\">\n <el-image\n :hide-on-click-modal=\"true\"\n :preview-teleported=\"true\"\n :preview-src-list=\"[fieldValue]\"\n :src=\"fieldValue\"\n fit=\"cover\"\n style=\"width: 50px; height: 50px\"\n ></el-image>\n </div>\n\n <!--多图片-->\n <div v-if=\"field.render == 'images'\" class=\"ba-render-image\">\n <template v-if=\"Array.isArray(fieldValue) && fieldValue.length\">\n <el-image\n v-for=\"(item, idx) in fieldValue\"\n :key=\"idx\"\n :initial-index=\"idx\"\n :preview-teleported=\"true\"\n :preview-src-list=\"fieldValue\"\n class=\"images-item\"\n :src=\"item\"\n style=\"width: 50px; height: 50px\"\n :hide-on-click-modal=\"true\"\n ></el-image>\n </template>\n </div>\n\n <div v-if=\"field.render == 'tag' && fieldValue !== ''\">\n <el-tag\n :type=\"getTagType(fieldValue, field.custom)\"\n :effect=\"field.effect ?? 'light'\"\n :size=\"field.size ?? 'default'\"\n >\n {{ field.replaceValue ? field.replaceValue[fieldValue] : fieldValue }}\n </el-tag>\n </div>\n\n <!-- tags -->\n <div v-if=\"field.render == 'tags'\">\n <template v-if=\"Array.isArray(fieldValue)\">\n <template v-for=\"(tag, idx) in fieldValue\" :key=\"idx\">\n <el-tag\n v-if=\"tag !== ''\"\n class=\"m-1px\"\n :type=\"getTagType(tag, field.custom)\"\n :effect=\"field.effect ?? 'light'\"\n :size=\"field.size ?? 'default'\"\n >\n {{ field.replaceValue ? field.replaceValue[tag] ?? tag : tag }}</el-tag\n >\n </template>\n </template>\n <template v-else>\n <el-tag\n v-if=\"fieldValue !== ''\"\n class=\"m-1px\"\n :type=\"getTagType(fieldValue, field.custom)\"\n :effect=\"field.effect ?? 'light'\"\n :size=\"field.size ?? 'default'\"\n >\n {{ field.replaceValue ? field.replaceValue[fieldValue] ?? fieldValue : fieldValue }}\n </el-tag>\n </template>\n </div>\n\n <!-- url -->\n <div v-if=\"field.render == 'url' && fieldValue\">\n <el-input :model-value=\"fieldValue\" placeholder=\"链接地址\">\n <template #append>\n <el-button\n @click=\"\n typeof field.click == 'function'\n ? field.click(row, field, fieldValue, column, index)\n : openUrl(fieldValue, field.target)\n \"\n >\n <dk-icon :color=\"'#606266'\" icon=\"Position\" />\n </el-button>\n </template>\n </el-input>\n </div>\n\n <!-- datetime -->\n <div v-if=\"field.render == 'datetime'\">\n {{ !fieldValue ? '-' : timeFormat(fieldValue, field.timeFormat ?? undefined) }}\n </div>\n\n <div v-if=\"field.render == 'time'\">\n {{ fieldValue }}\n </div>\n <div v-if=\"field.render == 'year'\">\n {{ fieldValue }}\n </div>\n <!-- color -->\n <div v-if=\"field.render == 'color'\">\n <div :style=\"{ background: fieldValue }\" class=\"dk-render-color\"></div>\n </div>\n\n <!-- 自定义组件/函数渲染 -->\n <component\n :is=\"field.customRender\"\n v-if=\"field.render == 'customRender'\"\n :render-row=\"row\"\n :render-field=\"field\"\n :render-value=\"fieldValue\"\n :render-column=\"column\"\n :render-index=\"index\"\n />\n\n <!-- 按钮组 -->\n <!-- 只对默认的编辑、删除、排序按钮进行鉴权,其他按钮请通过 display 属性控制按钮是否显示 -->\n <div v-if=\"field.render == 'buttons' && field.buttons\">\n <template v-for=\"(btn, idx) in field.buttons\" :key=\"idx\">\n <template v-if=\"btn.display ? btn.display(row, field) : true\">\n <!-- 常规按钮 未使用-->\n <el-button\n v-if=\"btn.render == 'basicButton'\"\n v-blur\n :class=\"btn.class\"\n class=\"table-operate\"\n :type=\"btn.type\"\n :disabled=\"btn.disabled && btn.disabled(row, field)\"\n v-bind=\"btn.attr\"\n @click=\"onButtonClick(btn)\"\n >\n <dk-icon :icon=\"btn.icon\" />\n <div v-if=\"btn.text\" class=\"table-operate-text\">{{ btn.text }}</div>\n </el-button>\n\n <!-- 带提示信息的按钮 -->\n <el-tooltip\n v-if=\"btn.render == 'tipButton' && ((btn.name == 'edit' && DkTable.auth('edit')) || btn.name != 'edit')\"\n :disabled=\"!(btn.title && !btn.disabledTip)\"\n :content=\"btn.title ?? ''\"\n placement=\"top\"\n :hide-after=\"0\"\n :show-after=\"100\"\n >\n <el-button\n v-blur\n :class=\"btn.class\"\n class=\"table-operate\"\n :type=\"btn.type\"\n :disabled=\"btn.disabled && btn.disabled(row, field)\"\n v-bind=\"btn.attr\"\n @click=\"onButtonClick(btn)\"\n >\n <dk-icon :icon=\"btn.icon\" />\n <div v-if=\"btn.text\" class=\"table-operate-text\">{{ btn.text }}</div>\n </el-button>\n </el-tooltip>\n\n <!-- 带确认框的按钮 -->\n <el-popconfirm\n v-if=\"\n btn.render == 'confirmButton' && ((btn.name == 'delete' && DkTable.auth('del')) || btn.name != 'delete')\n \"\n :disabled=\"btn.disabled && btn.disabled(row, field)\"\n v-bind=\"btn.popconfirm\"\n :hide-after=\"0\"\n :show-after=\"100\"\n @confirm=\"onButtonClick(btn)\"\n >\n <template #reference>\n <div class=\"dk-tooltip-button\">\n <el-tooltip :disabled=\"!btn.title\" :content=\"btn.title ?? ''\" placement=\"top\">\n <el-button\n v-blur\n :class=\"btn.class\"\n class=\"table-operate\"\n :type=\"btn.type\"\n :disabled=\"btn.disabled && btn.disabled(row, field)\"\n v-bind=\"btn.attr\"\n >\n <dk-icon :icon=\"btn.icon\" />\n <div v-if=\"btn.text\" class=\"table-operate-text\">\n {{ btn.text }}\n </div>\n </el-button>\n </el-tooltip>\n </div>\n </template>\n </el-popconfirm>\n\n <!-- 带提示的可拖拽按钮 -->\n <el-tooltip\n v-if=\"\n btn.render == 'moveButton' &&\n ((btn.name == 'weigh-sort' && DkTable.auth('sortable')) || btn.name != 'weigh-sort')\n \"\n :disabled=\"!(btn.title && !btn.disabledTip)\"\n :content=\"btn.title ?? ''\"\n :hide-after=\"0\"\n :show-after=\"100\"\n placement=\"top\"\n >\n <el-button\n :class=\"btn.class\"\n class=\"table-operate move-button\"\n :type=\"btn.type\"\n :disabled=\"btn.disabled && btn.disabled(row, field)\"\n v-bind=\"btn.attr\"\n size=\"small\"\n >\n <dk-icon :icon=\"btn.icon\" />\n <div v-if=\"btn.text\" class=\"table-operate-text\">{{ btn.text }}</div>\n </el-button>\n </el-tooltip>\n </template>\n </template>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { inject, ref } from 'vue'\nimport type { TableColumnCtx, TagProps } from 'element-plus'\nimport { openUrl, timeFormat } from '@vipl520/utils'\nimport type dkTable from '../../utils/dkTable'\n\nconst DkTable = inject('DkTable') as dkTable\n\ninterface Props {\n row: TableRow\n field: TableColumn\n column: TableColumnCtx<TableRow>\n index: number\n}\nconst props = defineProps<Props>()\n\nconst fieldName: any = ref(props.field.prop)\nconst fieldValue = ref(props.row[fieldName.value] ?? '')\n\nif (fieldName.value && fieldName.value.indexOf('.') > -1) {\n const fieldNameArr = fieldName.value.split('.')\n const val: any = ref(props.row[fieldNameArr[0]])\n for (let index = 1; index < fieldNameArr.length; index++) {\n val.value = val.value ? val.value[fieldNameArr[index]] ?? '' : ''\n }\n fieldValue.value = val.value\n}\n\nconst getTagType = (value: string, custom: any): TagProps['type'] => {\n return custom && custom[value] ? custom[value] : ''\n}\n\nconst onChangeField = (value: any) => {\n DkTable.onTableAction('field-change', {\n ...props,\n value,\n })\n}\n\nconst onButtonClick = (btn: OptButton) => {\n if (typeof btn.click === 'function') {\n btn.click(props.row, props.field)\n return\n }\n DkTable.onTableAction(btn.name, props)\n}\n</script>\n<style scoped></style>\n"],"names":["__MACROS_defineComponent","inject","ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,eAAA;AACR,CAAC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aAAA,GAAgB,CAAC,GAAmB,KAAA;AACxC,MAAI,IAAA,OAAO,GAAI,CAAA,KAAA,KAAU,UAAY,EAAA;AACnC,QAAA,GAAA,CAAI,KAAM,CAAA,KAAA,CAAM,GAAK,EAAA,KAAA,CAAM,KAAK,CAAA,CAAA;AAChC,QAAA,OAAA;AAAA,OACF;AACA,MAAQ,OAAA,CAAA,aAAA,CAAc,GAAI,CAAA,IAAA,EAAM,KAAK,CAAA,CAAA;AAAA,KACvC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"FieldRender.vue2.js","sources":["../../../../src/table/src/components/FieldRender.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkFieldRender',\n});\n</script>\n<template>\n <!--图标-->\n <div v-if=\"field.render == 'icon'\">\n <dk-icon v-if=\"fieldValue || field.default\" :icon=\"fieldValue ? fieldValue : field.default\" />\n <span v-else>-</span>\n </div>\n\n <!--开关-->\n <el-switch\n v-if=\"field.render == 'switch' && fieldValue !== ''\"\n :model-value=\"fieldValue.toString()\"\n :loading=\"row.loading\"\n inactive-value=\"0\"\n active-value=\"1\"\n size=\"small\"\n @change=\"onChangeField\"\n ></el-switch>\n\n <!-- 单图 -->\n <div v-if=\"field.render == 'image' && fieldValue\" class=\"ba-render-image\">\n <el-image\n :hide-on-click-modal=\"true\"\n :preview-teleported=\"true\"\n :preview-src-list=\"[fieldValue]\"\n :src=\"fieldValue\"\n fit=\"cover\"\n style=\"width: 50px; height: 50px\"\n ></el-image>\n </div>\n\n <!--多图片-->\n <div v-if=\"field.render == 'images'\" class=\"ba-render-image\">\n <template v-if=\"Array.isArray(fieldValue) && fieldValue.length\">\n <el-image\n v-for=\"(item, idx) in fieldValue\"\n :key=\"idx\"\n :initial-index=\"idx\"\n :preview-teleported=\"true\"\n :preview-src-list=\"fieldValue\"\n class=\"images-item\"\n :src=\"item\"\n style=\"width: 50px; height: 50px\"\n :hide-on-click-modal=\"true\"\n ></el-image>\n </template>\n </div>\n\n <div v-if=\"field.render == 'tag' && fieldValue !== ''\">\n <el-tag\n :type=\"getTagType(fieldValue, field.custom)\"\n :effect=\"field.effect ?? 'light'\"\n :size=\"field.size ?? 'default'\"\n >\n {{ field.replaceValue ? field.replaceValue[fieldValue] : fieldValue }}\n </el-tag>\n </div>\n\n <!-- tags -->\n <div v-if=\"field.render == 'tags'\">\n <template v-if=\"Array.isArray(fieldValue)\">\n <template v-for=\"(tag, idx) in fieldValue\" :key=\"idx\">\n <el-tag\n v-if=\"tag !== ''\"\n class=\"m-1px\"\n :type=\"getTagType(tag, field.custom)\"\n :effect=\"field.effect ?? 'light'\"\n :size=\"field.size ?? 'default'\"\n >\n {{ field.replaceValue ? field.replaceValue[tag] ?? tag : tag }}</el-tag\n >\n </template>\n </template>\n <template v-else>\n <el-tag\n v-if=\"fieldValue !== ''\"\n class=\"m-1px\"\n :type=\"getTagType(fieldValue, field.custom)\"\n :effect=\"field.effect ?? 'light'\"\n :size=\"field.size ?? 'default'\"\n >\n {{ field.replaceValue ? field.replaceValue[fieldValue] ?? fieldValue : fieldValue }}\n </el-tag>\n </template>\n </div>\n\n <!-- url -->\n <div v-if=\"field.render == 'url' && fieldValue\">\n <el-input :model-value=\"fieldValue\" placeholder=\"链接地址\">\n <template #append>\n <el-button\n @click=\"\n typeof field.click == 'function'\n ? field.click(row, field, fieldValue, column, index)\n : openUrl(fieldValue, field.target)\n \"\n >\n <dk-icon :color=\"'#606266'\" icon=\"Position\" />\n </el-button>\n </template>\n </el-input>\n </div>\n\n <!-- datetime -->\n <div v-if=\"field.render == 'datetime'\">\n {{ !fieldValue ? '-' : timeFormat(fieldValue, field.timeFormat ?? undefined) }}\n </div>\n\n <div v-if=\"field.render == 'time'\">\n {{ fieldValue }}\n </div>\n <div v-if=\"field.render == 'year'\">\n {{ fieldValue }}\n </div>\n <!-- color -->\n <div v-if=\"field.render == 'color'\">\n <div :style=\"{ background: fieldValue }\" class=\"dk-render-color\"></div>\n </div>\n\n <!-- 自定义组件/函数渲染 -->\n <component\n :is=\"field.customRender\"\n v-if=\"field.render == 'customRender'\"\n :render-row=\"row\"\n :render-field=\"field\"\n :render-value=\"fieldValue\"\n :render-column=\"column\"\n :render-index=\"index\"\n />\n\n <!-- 按钮组 -->\n <!-- 只对默认的编辑、删除、排序按钮进行鉴权,其他按钮请通过 display 属性控制按钮是否显示 -->\n <div v-if=\"field.render == 'buttons' && field.buttons\">\n <template v-for=\"(btn, idx) in field.buttons\" :key=\"idx\">\n <template v-if=\"btn.display ? btn.display(row, field) : true\">\n <!-- 常规按钮 未使用-->\n <el-button\n v-if=\"btn.render == 'basicButton'\"\n v-blur\n :class=\"btn.class\"\n class=\"table-operate\"\n :type=\"btn.type\"\n :disabled=\"btn.disabled && btn.disabled(row, field)\"\n v-bind=\"btn.attr\"\n @click=\"onButtonClick(btn)\"\n >\n <dk-icon :icon=\"btn.icon\" />\n <div v-if=\"btn.text\" class=\"table-operate-text\">{{ btn.text }}</div>\n </el-button>\n\n <!-- 带提示信息的按钮 -->\n <el-tooltip\n v-if=\"btn.render == 'tipButton' && ((btn.name == 'edit' && DkTable.auth('edit')) || btn.name != 'edit')\"\n :disabled=\"!(btn.title && !btn.disabledTip)\"\n :content=\"btn.title ?? ''\"\n placement=\"top\"\n :hide-after=\"0\"\n :show-after=\"100\"\n >\n <el-button\n v-blur\n :class=\"btn.class\"\n class=\"table-operate\"\n :type=\"btn.type\"\n :disabled=\"btn.disabled && btn.disabled(row, field)\"\n v-bind=\"btn.attr\"\n @click=\"onButtonClick(btn)\"\n >\n <dk-icon :icon=\"btn.icon\" />\n <div v-if=\"btn.text\" class=\"table-operate-text\">{{ btn.text }}</div>\n </el-button>\n </el-tooltip>\n\n <!-- 带确认框的按钮 -->\n <el-popconfirm\n v-if=\"\n btn.render == 'confirmButton' && ((btn.name == 'delete' && DkTable.auth('del')) || btn.name != 'delete')\n \"\n :disabled=\"btn.disabled && btn.disabled(row, field)\"\n v-bind=\"btn.popconfirm\"\n :hide-after=\"0\"\n :show-after=\"100\"\n @confirm=\"onButtonClick(btn)\"\n >\n <template #reference>\n <div class=\"dk-tooltip-button\">\n <el-tooltip :disabled=\"!btn.title\" :content=\"btn.title ?? ''\" placement=\"top\">\n <el-button\n v-blur\n :class=\"btn.class\"\n class=\"table-operate\"\n :type=\"btn.type\"\n :disabled=\"btn.disabled && btn.disabled(row, field)\"\n v-bind=\"btn.attr\"\n >\n <dk-icon :icon=\"btn.icon\" />\n <div v-if=\"btn.text\" class=\"table-operate-text\">\n {{ btn.text }}\n </div>\n </el-button>\n </el-tooltip>\n </div>\n </template>\n </el-popconfirm>\n\n <!-- 带提示的可拖拽按钮 -->\n <el-tooltip\n v-if=\"\n btn.render == 'moveButton' &&\n ((btn.name == 'weigh-sort' && DkTable.auth('sortable')) || btn.name != 'weigh-sort')\n \"\n :disabled=\"!(btn.title && !btn.disabledTip)\"\n :content=\"btn.title ?? ''\"\n :hide-after=\"0\"\n :show-after=\"100\"\n placement=\"top\"\n >\n <el-button\n :class=\"btn.class\"\n class=\"table-operate move-button\"\n :type=\"btn.type\"\n :disabled=\"btn.disabled && btn.disabled(row, field)\"\n v-bind=\"btn.attr\"\n size=\"small\"\n >\n <dk-icon :icon=\"btn.icon\" />\n <div v-if=\"btn.text\" class=\"table-operate-text\">{{ btn.text }}</div>\n </el-button>\n </el-tooltip>\n </template>\n </template>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { inject, ref } from 'vue'\nimport type { TableColumnCtx, TagProps } from 'element-plus'\nimport { openUrl, timeFormat } from '@vipl520/utils'\nimport type dkTable from '../../utils/dkTable'\n\nconst DkTable = inject('DkTable') as dkTable\n\ninterface Props {\n row: TableRow\n field: TableColumn\n column: TableColumnCtx<TableRow>\n index: number\n}\nconst props = defineProps<Props>()\n\nconst fieldName: any = ref(props.field.prop)\nconst fieldValue = ref(props.row[fieldName.value] ?? '')\n\nif (fieldName.value && fieldName.value.indexOf('.') > -1) {\n const fieldNameArr = fieldName.value.split('.')\n const val: any = ref(props.row[fieldNameArr[0]])\n for (let index = 1; index < fieldNameArr.length; index++) {\n val.value = val.value ? val.value[fieldNameArr[index]] ?? '' : ''\n }\n fieldValue.value = val.value\n}\n\nconst getTagType = (value: string, custom: any): TagProps['type'] => {\n return custom && custom[value] ? custom[value] : 'primary'\n}\n\nconst onChangeField = (value: any) => {\n DkTable.onTableAction('field-change', {\n ...props,\n value,\n })\n}\n\nconst onButtonClick = (btn: OptButton) => {\n if (typeof btn.click === 'function') {\n btn.click(props.row, props.field)\n return\n }\n DkTable.onTableAction(btn.name, props)\n}\n</script>\n<style scoped></style>\n"],"names":["__MACROS_defineComponent","inject","ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,eAAA;AACR,CAAC,CAAA,CAAA;;;;;;;;;;;AAgPD,IAAM,MAAA,OAAA,GAAUC,WAAO,SAAS,CAAA,CAAA;AAUhC,IAAA,MAAM,SAAiB,GAAAC,OAAA,CAAI,KAAM,CAAA,KAAA,CAAM,IAAI,CAAA,CAAA;AAC3C,IAAA,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AAChC,QAAA,OAAA;AAAA,OACF;AACA,MAAQ,OAAA,CAAA,aAAA,CAAc,GAAI,CAAA,IAAA,EAAM,KAAK,CAAA,CAAA;AAAA,KACvC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,174 @@
1
+ export declare const UniIcon: import("@vipl520/utils").WithInstall<{
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: {
6
+ type?: string | undefined;
7
+ color?: string | undefined;
8
+ size?: string | number | undefined;
9
+ fontFamily?: string | undefined;
10
+ customPrefix?: string | undefined;
11
+ style?: unknown;
12
+ key?: string | number | symbol | undefined;
13
+ ref?: import("vue").VNodeRef | undefined;
14
+ ref_for?: boolean | undefined;
15
+ ref_key?: string | undefined;
16
+ onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
+ [key: string]: any;
18
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
+ [key: string]: any;
20
+ }>) => void)[] | undefined;
21
+ onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
22
+ [key: string]: any;
23
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
24
+ [key: string]: any;
25
+ }>) => void)[] | undefined;
26
+ onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
27
+ [key: string]: any;
28
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
+ [key: string]: any;
30
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ [key: string]: any;
32
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
+ [key: string]: any;
34
+ }>) => void)[] | undefined;
35
+ onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
36
+ [key: string]: any;
37
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
+ [key: string]: any;
39
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
+ [key: string]: any;
41
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
42
+ [key: string]: any;
43
+ }>) => void)[] | undefined;
44
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
+ [key: string]: any;
46
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ [key: string]: any;
48
+ }>) => void)[] | undefined;
49
+ onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
+ [key: string]: any;
51
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
+ [key: string]: any;
53
+ }>) => void)[] | undefined;
54
+ class?: unknown;
55
+ };
56
+ $attrs: {
57
+ [x: string]: unknown;
58
+ };
59
+ $refs: {
60
+ [x: string]: unknown;
61
+ };
62
+ $slots: Readonly<{
63
+ [name: string]: import("vue").Slot<any> | undefined;
64
+ }>;
65
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
66
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
67
+ $emit: (event: string, ...args: any[]) => void;
68
+ $el: any;
69
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
70
+ type: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ color: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ size: {
79
+ type: (StringConstructor | NumberConstructor)[];
80
+ default: number;
81
+ };
82
+ customPrefix: {
83
+ type: StringConstructor;
84
+ default: string;
85
+ };
86
+ fontFamily: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
91
+ type: string;
92
+ color: string;
93
+ size: string | number;
94
+ fontFamily: string;
95
+ customPrefix: string;
96
+ }, {}, string, {}> & {
97
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
98
+ created?: ((() => void) | (() => void)[]) | undefined;
99
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
100
+ mounted?: ((() => void) | (() => void)[]) | undefined;
101
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
102
+ updated?: ((() => void) | (() => void)[]) | undefined;
103
+ activated?: ((() => void) | (() => void)[]) | undefined;
104
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
105
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
106
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
107
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
108
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
109
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
110
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
111
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
112
+ };
113
+ $forceUpdate: () => void;
114
+ $nextTick: typeof import("vue").nextTick;
115
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
116
+ } & Readonly<import("vue").ExtractPropTypes<{
117
+ type: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ };
121
+ color: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ size: {
126
+ type: (StringConstructor | NumberConstructor)[];
127
+ default: number;
128
+ };
129
+ customPrefix: {
130
+ type: StringConstructor;
131
+ default: string;
132
+ };
133
+ fontFamily: {
134
+ type: StringConstructor;
135
+ default: string;
136
+ };
137
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
138
+ __isFragment?: undefined;
139
+ __isTeleport?: undefined;
140
+ __isSuspense?: undefined;
141
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
142
+ type: {
143
+ type: StringConstructor;
144
+ default: string;
145
+ };
146
+ color: {
147
+ type: StringConstructor;
148
+ default: string;
149
+ };
150
+ size: {
151
+ type: (StringConstructor | NumberConstructor)[];
152
+ default: number;
153
+ };
154
+ customPrefix: {
155
+ type: StringConstructor;
156
+ default: string;
157
+ };
158
+ fontFamily: {
159
+ type: StringConstructor;
160
+ default: string;
161
+ };
162
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
163
+ type: string;
164
+ color: string;
165
+ size: string | number;
166
+ fontFamily: string;
167
+ customPrefix: string;
168
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
169
+ $slots: {
170
+ default?(_: {}): any;
171
+ };
172
+ })>;
173
+ export default UniIcon;
174
+ export * from './src/props';
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var utils = require('@vipl520/utils');
6
+ var uniIcon = require('./src/uni-icon.vue.js');
7
+ var props = require('./src/props.js');
8
+
9
+ const UniIcon = utils.withInstall(uniIcon.default);
10
+
11
+ exports.uniIconProps = props.uniIconProps;
12
+ exports.UniIcon = UniIcon;
13
+ exports.default = UniIcon;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../src/uni-icon/index.ts"],"sourcesContent":["import { withInstall } from '@vipl520/utils'\nimport _UniIcon from './src/uni-icon.vue'\n\nexport const UniIcon = withInstall(_UniIcon)\nexport default UniIcon\n\nexport * from './src/props'\n"],"names":["withInstall","_UniIcon"],"mappings":";;;;;;;;AAGa,MAAA,OAAA,GAAUA,kBAAYC,eAAQ;;;;;;"}
@@ -0,0 +1,24 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ export declare const uniIconProps: {
3
+ type: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ color: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ size: {
12
+ type: (StringConstructor | NumberConstructor)[];
13
+ default: number;
14
+ };
15
+ customPrefix: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ fontFamily: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ };
24
+ export type UniIconProps = ExtractPropTypes<typeof uniIconProps>;
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ const uniIconProps = {
4
+ type: {
5
+ type: String,
6
+ default: ""
7
+ },
8
+ color: {
9
+ type: String,
10
+ default: "#333333"
11
+ },
12
+ size: {
13
+ type: [Number, String],
14
+ default: 16
15
+ },
16
+ customPrefix: {
17
+ type: String,
18
+ default: ""
19
+ },
20
+ fontFamily: {
21
+ type: String,
22
+ default: ""
23
+ }
24
+ };
25
+
26
+ exports.uniIconProps = uniIconProps;
27
+ //# sourceMappingURL=props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.js","sources":["../../../src/uni-icon/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const uniIconProps = {\n type: {\n type: String,\n default: '',\n },\n color: {\n type: String,\n default: '#333333',\n },\n size: {\n type: [Number, String],\n default: 16,\n },\n customPrefix: {\n type: String,\n default: '',\n },\n fontFamily: {\n type: String,\n default: '',\n },\n}\n\nexport type UniIconProps = ExtractPropTypes<typeof uniIconProps>\n"],"names":[],"mappings":";;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,SAAA;AAAA,GACX;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAA,EAAM,CAAC,MAAA,EAAQ,MAAM,CAAA;AAAA,IACrB,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AACF;;;;"}
@@ -0,0 +1,57 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ type: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ color: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ size: {
11
+ type: (StringConstructor | NumberConstructor)[];
12
+ default: number;
13
+ };
14
+ customPrefix: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ fontFamily: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ type: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ color: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ size: {
32
+ type: (StringConstructor | NumberConstructor)[];
33
+ default: number;
34
+ };
35
+ customPrefix: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ fontFamily: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ }>>, {
44
+ type: string;
45
+ color: string;
46
+ size: string | number;
47
+ fontFamily: string;
48
+ customPrefix: string;
49
+ }, {}>, {
50
+ default?(_: {}): any;
51
+ }>;
52
+ export default _default;
53
+ type __VLS_WithTemplateSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var uniIcon_vue_vue_type_script_setup_true_lang = require('./uni-icon.vue2.js');
6
+ var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
7
+
8
+ var _UniIcon = /* @__PURE__ */ _pluginVue_exportHelper.default(uniIcon_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\uni-icon\\src\\uni-icon.vue"]]);
9
+
10
+ exports.default = _UniIcon;
11
+ //# sourceMappingURL=uni-icon.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uni-icon.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var props = require('./props.js');
7
+
8
+ const __default__ = vue.defineComponent({
9
+ name: "DkUniIcon"
10
+ });
11
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
12
+ ...__default__,
13
+ props: props.uniIconProps,
14
+ setup(__props) {
15
+ const props = __props;
16
+ const getVal = (val) => {
17
+ const reg = /^[0-9]*$/g;
18
+ return typeof val === "number" || reg.test(val) ? val + "px" : val;
19
+ };
20
+ const iconSize = vue.computed(() => {
21
+ return getVal(props.size);
22
+ });
23
+ const styleObj = vue.computed(() => {
24
+ if (props.fontFamily !== "") {
25
+ return `color: ${props.color}; font-size: ${iconSize.value}; font-family: ${props.fontFamily};`;
26
+ }
27
+ return `color: ${props.color}; font-size: ${iconSize.value};`;
28
+ });
29
+ return (_ctx, _cache) => {
30
+ return vue.openBlock(), vue.createElementBlock(
31
+ "em",
32
+ {
33
+ style: vue.normalizeStyle(styleObj.value),
34
+ class: vue.normalizeClass(["dk-uni-icon", ["uniui-" + _ctx.type, _ctx.customPrefix, _ctx.customPrefix ? _ctx.type : ""]])
35
+ },
36
+ [
37
+ vue.renderSlot(_ctx.$slots, "default")
38
+ ],
39
+ 6
40
+ /* CLASS, STYLE */
41
+ );
42
+ };
43
+ }
44
+ });
45
+
46
+ exports.default = _sfc_main;
47
+ //# sourceMappingURL=uni-icon.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uni-icon.vue2.js","sources":["../../../src/uni-icon/src/uni-icon.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkUniIcon',\n});\n</script>\n<template>\n <em :style=\"styleObj\" class=\"dk-uni-icon\" :class=\"['uniui-' + type, customPrefix, customPrefix ? type : '']\">\n <slot></slot>\n </em>\n</template>\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport { uniIconProps } from './props'\n\nconst getVal = (val: any) => {\n const reg = /^[0-9]*$/g\n return typeof val === 'number' || reg.test(val) ? val + 'px' : val\n}\n\n\n\nconst props = defineProps(uniIconProps)\nconst iconSize = computed(() => {\n return getVal(props.size)\n})\nconst styleObj = computed(() => {\n if (props.fontFamily !== '') {\n return `color: ${props.color}; font-size: ${iconSize.value}; font-family: ${props.fontFamily};`\n }\n return `color: ${props.color}; font-size: ${iconSize.value};`\n})\n</script>\n\n<!--<style scoped>-->\n<!--@import url('../style/uniicons.css');-->\n\n<!--@font-face {-->\n<!-- font-family: uniicons;-->\n<!-- src: url('../style/uniicons.ttf');-->\n<!--}-->\n<!--</style>-->\n"],"names":["__MACROS_defineComponent","computed"],"mappings":";;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,WAAA;AACR,CAAC,CAAA,CAAA;;;;;;AAWD,IAAM,MAAA,MAAA,GAAS,CAAC,GAAa,KAAA;AAC3B,MAAA,MAAM,GAAM,GAAA,WAAA,CAAA;AACZ,MAAO,OAAA,OAAO,QAAQ,QAAY,IAAA,GAAA,CAAI,KAAK,GAAG,CAAA,GAAI,MAAM,IAAO,GAAA,GAAA,CAAA;AAAA,KACjE,CAAA;AAKA,IAAM,MAAA,QAAA,GAAWC,aAAS,MAAM;AAC9B,MAAO,OAAA,MAAA,CAAO,MAAM,IAAI,CAAA,CAAA;AAAA,KACzB,CAAA,CAAA;AACD,IAAM,MAAA,QAAA,GAAWA,aAAS,MAAM;AAC9B,MAAI,IAAA,KAAA,CAAM,eAAe,EAAI,EAAA;AAC3B,QAAO,OAAA,CAAA,OAAA,EAAU,MAAM,KAAK,CAAA,aAAA,EAAgB,SAAS,KAAK,CAAA,eAAA,EAAkB,MAAM,UAAU,CAAA,CAAA,CAAA,CAAA;AAAA,OAC9F;AACA,MAAA,OAAO,CAAU,OAAA,EAAA,KAAA,CAAM,KAAK,CAAA,aAAA,EAAgB,SAAS,KAAK,CAAA,CAAA,CAAA,CAAA;AAAA,KAC3D,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +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(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}
@@ -0,0 +1,18 @@
1
+ /* stylelint-disable */
2
+ //@import url('../style/uniicons.css');
3
+ @import './uniicons.scss';
4
+
5
+
6
+ @font-face {
7
+ font-family: uniicons;
8
+ //src: url('./uniicons.ttf');
9
+ src:url("https://registry.npmmirror.com/@vipl520/dk-ui/1.0.46/files/dist/uniicons.ttf")
10
+ }
11
+
12
+ .dk-uni-icon {
13
+ font-family: uniicons;
14
+ text-decoration: none;
15
+ text-align: center;
16
+ font-style: normal;
17
+ }
18
+ /* stylelint-enable */
@@ -0,0 +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"}