@vipl520/dk-ui 1.0.53 → 1.0.54
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/attributes.json +8 -0
- package/dist/index.css +1 -1
- package/dist/index.js +2012 -1428
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +4 -4
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +2011 -1429
- package/dist/tags.json +7 -0
- package/dist/web-types.json +35 -1
- package/es/form/src/form.vue2.mjs +0 -1
- package/es/form/src/form.vue2.mjs.map +1 -1
- package/es/group/src/group.vue2.mjs +1 -0
- package/es/group/src/group.vue2.mjs.map +1 -1
- package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +23 -21
- package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
- package/es/icon/style/index.css +0 -1
- package/es/icon/style/index.scss +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +5 -2
- package/es/index.mjs.map +1 -1
- package/es/index.scss +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
- package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs +114 -0
- package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +7 -1
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +76 -62
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/index.d.ts +240 -60
- package/es/page-diy/src/config/rule/min/common/index.mjs +4 -2
- package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/index.d.ts +240 -60
- package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs +1 -1
- package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -1
- package/es/page-diy/src/props.mjs +1 -1
- package/es/page-diy/src/props.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
- package/es/page-diy/src/views/min/DkMinGrid.vue.mjs +65 -0
- package/es/page-diy/src/views/min/DkMinGrid.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +7 -2
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +59 -30
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
- package/es/page-diy/src/views/min/index.mjs +3 -1
- package/es/page-diy/src/views/min/index.mjs.map +1 -1
- package/es/page-diy/style/drag-tool.css +1 -1
- package/es/page-diy/style/drag-tool.scss +4 -0
- package/es/page-diy/style/index.css +1 -1
- package/es/page-diy/style/minViews/index.scss +8 -0
- package/es/style-box-input/src/style-box-input.vue2.mjs +200 -130
- package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
- package/es/style-box-input/style/index.css +1 -1
- package/es/style-box-input/style/index.scss +13 -3
- package/es/style-font-input/src/style-font-input.vue2.mjs +105 -272
- package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
- package/es/style-input/src/style-input.vue2.mjs +1 -0
- package/es/style-input/src/style-input.vue2.mjs.map +1 -1
- package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +1 -1
- package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
- package/es/test/index.d.ts +4 -2
- package/es/test/src/test.vue.d.ts +4 -2
- package/es/test/src/test.vue2.mjs +14 -3
- package/es/test/src/test.vue2.mjs.map +1 -1
- package/es/tiny-editor/src/tiny-editor.vue2.mjs +1 -1
- package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
- package/es/uni-icon/style/index.css +1 -1
- package/es/uni-icon/style/index.scss +1 -1
- package/es/url-input/index.d.ts +35 -0
- package/es/url-input/index.mjs +8 -0
- package/es/url-input/index.mjs.map +1 -0
- package/es/url-input/src/props.d.ts +16 -0
- package/es/url-input/src/props.mjs +13 -0
- package/es/url-input/src/props.mjs.map +1 -0
- package/es/url-input/src/url-input-content.vue.d.ts +25 -0
- package/es/url-input/src/url-input-content.vue.mjs +7 -0
- package/es/url-input/src/url-input-content.vue.mjs.map +1 -0
- package/es/url-input/src/url-input-content.vue2.mjs +301 -0
- package/es/url-input/src/url-input-content.vue2.mjs.map +1 -0
- package/es/url-input/src/url-input-table.vue.d.ts +16 -0
- package/es/url-input/src/url-input-table.vue.mjs +7 -0
- package/es/url-input/src/url-input-table.vue.mjs.map +1 -0
- package/es/url-input/src/url-input-table.vue2.mjs +63 -0
- package/es/url-input/src/url-input-table.vue2.mjs.map +1 -0
- package/es/url-input/src/url-input.vue.d.ts +34 -0
- package/es/url-input/src/url-input.vue.mjs +7 -0
- package/es/url-input/src/url-input.vue.mjs.map +1 -0
- package/es/url-input/src/url-input.vue2.mjs +69 -0
- package/es/url-input/src/url-input.vue2.mjs.map +1 -0
- package/es/url-input/style/index.css +1 -0
- package/es/url-input/style/index.scss +39 -0
- package/lib/form/src/form.vue2.js +0 -1
- package/lib/form/src/form.vue2.js.map +1 -1
- package/lib/group/src/group.vue2.js +1 -0
- package/lib/group/src/group.vue2.js.map +1 -1
- package/lib/hot-area-input/src/component/hot-area-content.vue2.js +23 -21
- package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
- package/lib/icon/style/index.css +0 -1
- package/lib/icon/style/index.scss +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +8 -3
- package/lib/index.js.map +1 -1
- package/lib/index.scss +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js +118 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +7 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +76 -62
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/index.d.ts +240 -60
- package/lib/page-diy/src/config/rule/min/common/index.js +4 -2
- package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/index.d.ts +240 -60
- package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js +1 -1
- package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -1
- package/lib/page-diy/src/props.js +1 -1
- package/lib/page-diy/src/props.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
- package/lib/page-diy/src/views/min/DkMinGrid.vue.js +69 -0
- package/lib/page-diy/src/views/min/DkMinGrid.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +7 -2
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js +58 -29
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
- package/lib/page-diy/src/views/min/index.js +3 -1
- package/lib/page-diy/src/views/min/index.js.map +1 -1
- package/lib/page-diy/style/drag-tool.css +1 -1
- package/lib/page-diy/style/drag-tool.scss +4 -0
- package/lib/page-diy/style/index.css +1 -1
- package/lib/page-diy/style/minViews/index.scss +8 -0
- package/lib/style-box-input/src/style-box-input.vue2.js +199 -129
- package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
- package/lib/style-box-input/style/index.css +1 -1
- package/lib/style-box-input/style/index.scss +13 -3
- package/lib/style-font-input/src/style-font-input.vue2.js +105 -272
- package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
- package/lib/style-input/src/style-input.vue2.js +1 -0
- package/lib/style-input/src/style-input.vue2.js.map +1 -1
- package/lib/style-shadow-input/src/style-shadow-input.vue2.js +1 -1
- package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
- package/lib/test/index.d.ts +4 -2
- package/lib/test/src/test.vue.d.ts +4 -2
- package/lib/test/src/test.vue2.js +14 -3
- package/lib/test/src/test.vue2.js.map +1 -1
- package/lib/tiny-editor/src/tiny-editor.vue2.js +1 -1
- package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
- package/lib/uni-icon/style/index.css +1 -1
- package/lib/uni-icon/style/index.scss +1 -1
- package/lib/url-input/index.d.ts +35 -0
- package/lib/url-input/index.js +14 -0
- package/lib/url-input/index.js.map +1 -0
- package/lib/url-input/src/props.d.ts +16 -0
- package/lib/url-input/src/props.js +15 -0
- package/lib/url-input/src/props.js.map +1 -0
- package/lib/url-input/src/url-input-content.vue.d.ts +25 -0
- package/lib/url-input/src/url-input-content.vue.js +11 -0
- package/lib/url-input/src/url-input-content.vue.js.map +1 -0
- package/lib/url-input/src/url-input-content.vue2.js +305 -0
- package/lib/url-input/src/url-input-content.vue2.js.map +1 -0
- package/lib/url-input/src/url-input-table.vue.d.ts +16 -0
- package/lib/url-input/src/url-input-table.vue.js +11 -0
- package/lib/url-input/src/url-input-table.vue.js.map +1 -0
- package/lib/url-input/src/url-input-table.vue2.js +67 -0
- package/lib/url-input/src/url-input-table.vue2.js.map +1 -0
- package/lib/url-input/src/url-input.vue.d.ts +34 -0
- package/lib/url-input/src/url-input.vue.js +11 -0
- package/lib/url-input/src/url-input.vue.js.map +1 -0
- package/lib/url-input/src/url-input.vue2.js +73 -0
- package/lib/url-input/src/url-input.vue2.js.map +1 -0
- package/lib/url-input/style/index.css +1 -0
- package/lib/url-input/style/index.scss +39 -0
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"style-font-input.vue2.mjs","sources":["../../../src/style-font-input/src/style-font-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleFontInput',\n});\n</script>\n<template>\n <div class=\"dk-style-font-input\">\n <!-- 颜色、字号、粗细、风格、装饰-->\n <div style=\"display: flex; flex-flow: wrap; align-items: center\">\n <el-tooltip placement=\"top-end\" trigger=\"hover\" :show-after=\"showAfter\" :hide-after=\"hideAfter\">\n <template #content>\n 文字颜色\n <el-button\n size=\"small\"\n icon=\"Refresh\"\n color=\"var(--el-text-color-primary)\"\n :disabled=\"styles.color === ''\"\n @click=\"clear('color')\"\n >重置</el-button\n >\n </template>\n <!-- -->\n <template #default>\n <div class=\"m-b-5px\">\n <el-color-picker v-model=\"styles.color\"></el-color-picker>\n </div>\n </template>\n </el-tooltip>\n <el-tooltip placement=\"top-end\" trigger=\"hover\" :show-after=\"showAfter\" :hide-after=\"hideAfter\">\n <template #content>\n 字号\n <el-button\n size=\"small\"\n icon=\"Refresh\"\n color=\"var(--el-text-color-primary)\"\n :disabled=\"styles.fontSize === ''\"\n @click=\"clear('fontSize')\"\n >重置</el-button\n >\n </template>\n <!-- -->\n <template #default>\n <div style=\"width: 100px\" class=\"m-b-5px\">\n <el-select\n v-model=\"styles.fontSize\"\n :remote-show-suffix=\"false\"\n placeholder=\"字号\"\n allow-create\n :filterable=\"true\"\n >\n <el-option\n v-for=\"item in ['12px', '14px', '16px', '18px', '20px', '24px', '28px', '32px', '36px', '40px', '48px']\"\n :key=\"item\"\n :label=\"item\"\n :value=\"item\"\n />\n </el-select>\n </div>\n </template>\n </el-tooltip>\n <el-tooltip placement=\"top-end\" trigger=\"hover\" :show-after=\"showAfter\" :hide-after=\"hideAfter\">\n <template #content>\n 粗细\n <el-button\n size=\"small\"\n icon=\"Refresh\"\n color=\"var(--el-text-color-primary)\"\n :disabled=\"styles.fontWeight === ''\"\n @click=\"clear('fontWeight')\"\n >重置</el-button\n >\n </template>\n <!-- -->\n <template #default>\n <div style=\"width: 100px\" class=\"m-r-5px m-b-5px\">\n <el-select\n v-model=\"styles.fontWeight\"\n :remote-show-suffix=\"false\"\n placeholder=\"粗细\"\n allow-create\n :filterable=\"true\"\n >\n <el-option\n v-for=\"item in WeightValues\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\"\n ></el-option>\n </el-select>\n </div>\n </template>\n </el-tooltip>\n <el-tooltip placement=\"top-end\" trigger=\"hover\" :show-after=\"showAfter\" :hide-after=\"hideAfter\">\n <template #content>\n 文字粗细\n <el-button\n size=\"small\"\n icon=\"Refresh\"\n color=\"var(--el-text-color-primary)\"\n :disabled=\"styles.fontWeight === ''\"\n @click=\"clear('fontWeight')\"\n >重置</el-button\n >\n </template>\n <!-- -->\n <template #default>\n <div class=\"m-r-5px m-b-5px\">\n <el-radio-group v-model=\"styles.fontWeight\">\n <el-radio-button value=\"bold\">\n <dk-icon icon=\"radix-icons:font-bold\" title=\"文字加粗\"></dk-icon>\n </el-radio-button>\n <el-radio-button value=\"lighter\">\n <dk-icon icon=\"clarity:font-size-line\" title=\"文字默认\"></dk-icon>\n </el-radio-button>\n </el-radio-group>\n </div>\n </template>\n </el-tooltip>\n <el-tooltip placement=\"top-end\" class=\"m-r-5px\" trigger=\"hover\" :show-after=\"showAfter\" :hide-after=\"hideAfter\">\n <template #content>\n 文字风格\n <el-button\n size=\"small\"\n icon=\"Refresh\"\n color=\"var(--el-text-color-primary)\"\n :disabled=\"styles.fontStyle === ''\"\n @click=\"clear('fontStyle')\"\n >重置</el-button\n >\n </template>\n <!-- -->\n <template #default>\n <div class=\"m-r-5px m-b-5px\">\n <el-radio-group v-model=\"styles.fontStyle\">\n <el-radio-button value=\"italic\">\n <dk-icon icon=\"radix-icons:font-italic\" title=\"文字倾斜\"></dk-icon>\n </el-radio-button>\n </el-radio-group>\n </div>\n </template>\n </el-tooltip>\n <el-tooltip placement=\"top-end\" trigger=\"hover\" :show-after=\"showAfter\" :hide-after=\"hideAfter\">\n <template #content>\n 文字装饰\n <el-button\n size=\"small\"\n icon=\"Refresh\"\n color=\"var(--el-text-color-primary)\"\n :disabled=\"styles.textDecoration === ''\"\n @click=\"clear('textDecoration')\"\n >重置</el-button\n >\n </template>\n <!-- -->\n <template #default>\n <div class=\"m-b-5px\">\n <el-radio-group v-model=\"styles.textDecoration\">\n <el-radio-button value=\"underline\">\n <dk-icon icon=\"radix-icons:underline\" title=\"下划线\"></dk-icon>\n </el-radio-button>\n <el-radio-button value=\"line-through\">\n <dk-icon icon=\"radix-icons:strikethrough\" title=\"删除线\"></dk-icon>\n </el-radio-button>\n <el-radio-button value=\"wavy underline\">\n <dk-icon icon=\"mdi:format-underline-wavy\" title=\"波浪线\"></dk-icon>\n </el-radio-button>\n </el-radio-group>\n </div>\n </template>\n </el-tooltip>\n <el-tooltip placement=\"top\" trigger=\"hover\" content=\"全部重置\" :show-after=\"showAfter\" :hide-after=\"hideAfter\">\n <template #default>\n <el-button type=\"danger\" plain icon=\"Delete\" class=\"m-l-5px m-b-5px\" @click=\"clear('all')\"></el-button>\n </template>\n </el-tooltip>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { styleFontInputProps } from './props'\nimport { reactive, watch } from 'vue'\n\n\n\nconst props = defineProps(styleFontInputProps)\n\nconst showAfter = 400\nconst hideAfter = 100\n\nconst styles: any = reactive({\n color: props.modelValue.color || '',\n fontSize: props.modelValue.fontSize || '',\n fontWeight: props.modelValue.fontWeight || '',\n fontStyle: props.modelValue.fontStyle || '',\n textDecoration: props.modelValue.textDecoration || '',\n})\n\nconst emit = defineEmits(['update:modelValue', 'change'])\nwatch(styles, (val) => {\n const _styles = Object.keys(styles).reduce((acc: any, key) => {\n if (styles[key] !== '') {\n acc[key] = styles[key]\n }\n return acc\n }, {})\n emit('update:modelValue', _styles)\n emit('change', _styles)\n})\n\nwatch(\n () => props.modelValue,\n () => {\n // styles.color = props.modelValue.color || ''\n // styles.fontSize = props.modelValue.fontSize || ''\n // styles.fontWeight = props.modelValue.fontWeight || ''\n // styles.fontStyle = props.modelValue.fontStyle || ''\n // styles.textDecoration = props.modelValue.textDecoration || ''\n const propertiesToWatch = ['color', 'fontSize', 'fontWeight', 'fontStyle', 'textDecoration']\n propertiesToWatch.forEach((property) => {\n styles[property] = props.modelValue[property] || ''\n })\n },\n { deep: true }\n)\n\nconst WeightValues = [\n { label: '普通', value: 'normal' },\n { label: '加粗', value: 'bold' },\n { label: '更粗', value: 'bolder' },\n { label: '更细', value: 'lighter' },\n { label: '100', value: '100' },\n { label: '200', value: '200' },\n { label: '300', value: '300' },\n { label: '400', value: '400' },\n { label: '500', value: '500' },\n { label: '600', value: '600' },\n { label: '700', value: '700' },\n { label: '800', value: '800' },\n { label: '900', value: '900' },\n]\n\nconst clear = (type: string) => {\n if (type === 'all') {\n Object.keys(styles).forEach((key) => {\n styles[key] = ''\n })\n } else {\n styles[type] = ''\n }\n}\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,kBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAwLD,IAAA,MAAM,SAAY,GAAA,GAAA,CAAA;AAClB,IAAA,MAAM,SAAY,GAAA,GAAA,CAAA;AAElB,IAAA,MAAM,SAAc,QAAS,CAAA;AAAA,MAC3B,KAAA,EAAO,KAAM,CAAA,UAAA,CAAW,KAAS,IAAA,EAAA;AAAA,MACjC,QAAA,EAAU,KAAM,CAAA,UAAA,CAAW,QAAY,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"style-font-input.vue2.mjs","sources":["../../../src/style-font-input/src/style-font-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleFontInput',\n});\n</script>\n<template>\n <div class=\"dk-style-font-input\">\n <!-- 颜色、字号、粗细、风格、装饰-->\n <div style=\"display: flex; flex-flow: wrap; align-items: center\">\n <el-tooltip placement=\"top-end\" trigger=\"hover\" :show-after=\"showAfter\" :hide-after=\"hideAfter\">\n <template #content>\n 文字颜色\n <el-button\n size=\"small\"\n icon=\"Refresh\"\n color=\"var(--el-text-color-primary)\"\n :disabled=\"styles.color === ''\"\n @click=\"clear('color')\"\n >重置</el-button\n >\n </template>\n <!-- -->\n <template #default>\n <div class=\"m-b-5px\">\n <el-color-picker v-model=\"styles.color\"></el-color-picker>\n </div>\n </template>\n </el-tooltip>\n <div style=\"width: 100px\" class=\"m-b-5px\">\n <el-select\n v-model=\"styles.fontSize\"\n :remote-show-suffix=\"false\"\n placeholder=\"字号\"\n allow-create\n clearable\n :filterable=\"true\"\n >\n <el-option\n v-for=\"item in ['12px', '14px', '16px', '18px', '20px', '24px', '28px', '32px', '36px', '40px', '48px']\"\n :key=\"item\"\n :label=\"item\"\n :value=\"item\"\n />\n </el-select>\n </div>\n <div style=\"width: 100px\" class=\"m-r-5px m-b-5px\">\n <el-select\n v-model=\"styles.fontWeight\"\n :remote-show-suffix=\"false\"\n placeholder=\"粗细\"\n allow-create\n clearable\n :filterable=\"true\"\n >\n <el-option v-for=\"item in WeightValues\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\"></el-option>\n </el-select>\n </div>\n <div class=\"m-r-5px m-b-5px\">\n <el-button\n :type=\"styles.fontStyle ? 'primary' : ''\"\n @click=\"styles.fontStyle ? (styles.fontStyle = '') : (styles.fontStyle = 'italic')\"\n >\n <dk-icon icon=\"radix-icons:font-italic\" title=\"文字倾斜\"></dk-icon>\n </el-button>\n </div>\n <div class=\"m-b-5px\">\n <el-button-group>\n <el-button\n :type=\"styles.textDecoration == 'underline' ? 'primary' : ''\"\n @click=\"\n styles.textDecoration == 'underline'\n ? (styles.textDecoration = '')\n : (styles.textDecoration = 'underline')\n \"\n >\n <dk-icon icon=\"radix-icons:underline\" title=\"下划线\"></dk-icon>\n </el-button>\n <el-button\n :type=\"styles.textDecoration == 'line-through' ? 'primary' : ''\"\n @click=\"\n styles.textDecoration == 'line-through'\n ? (styles.textDecoration = '')\n : (styles.textDecoration = 'line-through')\n \"\n >\n <dk-icon icon=\"radix-icons:strikethrough\" title=\"删除线\"></dk-icon>\n </el-button>\n <el-button\n :type=\"styles.textDecoration == 'wavy underline' ? 'primary' : ''\"\n @click=\"\n styles.textDecoration == 'wavy underline'\n ? (styles.textDecoration = '')\n : (styles.textDecoration = 'wavy underline')\n \"\n >\n <dk-icon icon=\"mdi:format-underline-wavy\" title=\"波浪线\"></dk-icon>\n </el-button>\n </el-button-group>\n </div>\n <el-tooltip placement=\"top\" trigger=\"hover\" content=\"全部重置\" :show-after=\"showAfter\" :hide-after=\"hideAfter\">\n <template #default>\n <el-button type=\"danger\" plain icon=\"Delete\" class=\"m-l-5px m-b-5px\" @click=\"clear('all')\"></el-button>\n </template>\n </el-tooltip>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { styleFontInputProps } from './props'\nimport { reactive, watch } from 'vue'\n\n\n\nconst props = defineProps(styleFontInputProps)\n\nconst showAfter = 400\nconst hideAfter = 100\n\nconst styles: any = reactive({\n color: props.modelValue.color || '',\n fontSize: props.modelValue.fontSize || '',\n fontWeight: props.modelValue.fontWeight || '',\n fontStyle: props.modelValue.fontStyle || '',\n textDecoration: props.modelValue.textDecoration || '',\n})\n\nconst emit = defineEmits(['update:modelValue', 'change'])\nwatch(styles, (val) => {\n const _styles = Object.keys(styles).reduce((acc: any, key) => {\n if (styles[key] !== '') {\n acc[key] = styles[key]\n }\n return acc\n }, {})\n emit('update:modelValue', _styles)\n emit('change', _styles)\n})\n\nwatch(\n () => props.modelValue,\n () => {\n // styles.color = props.modelValue.color || ''\n // styles.fontSize = props.modelValue.fontSize || ''\n // styles.fontWeight = props.modelValue.fontWeight || ''\n // styles.fontStyle = props.modelValue.fontStyle || ''\n // styles.textDecoration = props.modelValue.textDecoration || ''\n const propertiesToWatch = ['color', 'fontSize', 'fontWeight', 'fontStyle', 'textDecoration']\n propertiesToWatch.forEach((property) => {\n styles[property] = props.modelValue[property] || ''\n })\n },\n { deep: true }\n)\n\nconst WeightValues = [\n { label: '普通', value: 'normal' },\n { label: '加粗', value: 'bold' },\n { label: '更粗', value: 'bolder' },\n { label: '更细', value: 'lighter' },\n { label: '100', value: '100' },\n { label: '200', value: '200' },\n { label: '300', value: '300' },\n { label: '400', value: '400' },\n { label: '500', value: '500' },\n { label: '600', value: '600' },\n { label: '700', value: '700' },\n { label: '800', value: '800' },\n { label: '900', value: '900' },\n]\n\nconst clear = (type: string) => {\n if (type === 'all') {\n Object.keys(styles).forEach((key) => {\n styles[key] = ''\n })\n } else {\n styles[type] = ''\n }\n}\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,kBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAi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KAAA;AACnC,UAAA,MAAA,CAAO,GAAG,CAAI,GAAA,EAAA,CAAA;AAAA,SACf,CAAA,CAAA;AAAA,OACI,MAAA;AACL,QAAA,MAAA,CAAO,IAAI,CAAI,GAAA,EAAA,CAAA;AAAA,OACjB;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -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-if=\"!props.isDrawer\" v-model=\"activeNames\">\n <el-collapse-item v-for=\"(item, key) in _components\" :key=\"key\" title=\"\" :name=\"key\">\n <template #title>\n {{ item.title }}\n </template>\n <component\n :is=\"item.name\"\n v-if=\"activeNames.includes(key)\"\n v-model=\"values[item.name]\"\n v-bind=\"item.props\"\n @change=\"onChange\"\n />\n </el-collapse-item>\n </el-collapse>\n <div v-else>\n <el-button type=\"primary\" plain style=\"width: 100%\" @click=\"drawer = true\"
|
1
|
+
{"version":3,"file":"style-input.vue2.mjs","sources":["../../../src/style-input/src/style-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleInput',\n});\n</script>\n<template>\n <div class=\"dk-style-input\">\n <div v-if=\"!loading\" class=\"p-5px\">\n <el-collapse v-if=\"!props.isDrawer\" v-model=\"activeNames\">\n <el-collapse-item v-for=\"(item, key) in _components\" :key=\"key\" title=\"\" :name=\"key\">\n <template #title>\n {{ item.title }}\n </template>\n <component\n :is=\"item.name\"\n v-if=\"activeNames.includes(key)\"\n v-model=\"values[item.name]\"\n v-bind=\"item.props\"\n @change=\"onChange\"\n />\n </el-collapse-item>\n </el-collapse>\n <div v-else>\n <el-button type=\"primary\" plain style=\"width: 100%\" size=\"small\" @click=\"drawer = true\">\n {{ props.drawerText }}\n </el-button>\n <el-drawer v-model=\"drawer\" v-bind=\"props.drawerProps\">\n <el-collapse v-model=\"activeNames\">\n <el-collapse-item v-for=\"(item, key) in _components\" :key=\"key\" title=\"\" :name=\"key\">\n <template #title>\n {{ item.title }}\n </template>\n <component\n :is=\"item.name\"\n v-if=\"activeNames.includes(key)\"\n v-model=\"values[item.name]\"\n v-bind=\"item.props\"\n @change=\"onChange\"\n />\n </el-collapse-item>\n </el-collapse>\n </el-drawer>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { styleInputProps } from './props'\nimport { onMounted, ref, watch } from 'vue'\n\n\nconst props = defineProps(styleInputProps)\nconst drawer = ref(false)\nconst activeNames = ref([0])\nconst values: any = ref({})\nconst loading = ref(true)\n\nconst emit = defineEmits(['update:modelValue'])\nconst onChange = () => {\n const obj: any = {}\n Object.keys(values.value).forEach((key) => {\n Object.keys(values.value[key]).forEach((k) => {\n obj[k] = values.value[key][k]\n })\n })\n emit('update:modelValue', obj)\n}\n\nconst _components: any = ref([])\nconst init = () => {\n _components.value = props.components.filter((item: any) => {\n return !props.hideComponents.includes(item.name)\n })\n const obj: any = {}\n _components.value.forEach((item: any) => {\n const params = item.params\n const paramsObj: any = {}\n Object.keys(params).forEach((key) => {\n const param = params[key]\n if (props.modelValue[param]) {\n paramsObj[param] = props.modelValue[param]\n }\n })\n obj[item.name] = paramsObj\n })\n values.value = obj\n loading.value = false\n}\n\nwatch(\n () => props.modelValue,\n ()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|
21
|
-
shadows.value.push("
|
21
|
+
shadows.value.push("2px 2px 3px 2px #E7E5E5FF");
|
22
22
|
activeName.value = shadows.value.length - 1 + "";
|
23
23
|
};
|
24
24
|
const delShadow = (index) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"style-shadow-input.vue2.mjs","sources":["../../../src/style-shadow-input/src/style-shadow-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleShadowInput',\n});\n</script>\n<template>\n <div class=\"dk-style-shadow-input\">\n <el-collapse v-if=\"type === 'collapse'\" v-model=\"activeName\" accordion>\n <el-collapse-item v-for=\"(item, key) in shadows\" :key=\"key\" :title=\"item\" :name=\"key + ''\">\n <dk-style-shadow-content v-model=\"shadows[key]\"></dk-style-shadow-content>\n </el-collapse-item>\n </el-collapse>\n <ul v-else class=\"shadow-list\">\n <li v-for=\"(item, key) in shadows\" :key=\"key\">\n <el-input v-model=\"shadows[key]\" disabled>\n <template #append>\n <el-popover placement=\"right-start\" title=\"\" width=\"380\" trigger=\"click\">\n <template #reference>\n <el-button>设置</el-button>\n </template>\n <dk-style-shadow-content v-model=\"shadows[key]\"></dk-style-shadow-content>\n </el-popover>\n </template>\n </el-input>\n <dk-icon class=\"close-shadow\" icon=\"Close\" hover-color=\"#f00\" @click=\"delShadow(key)\"></dk-icon>\n </li>\n </ul>\n <el-button class=\"m-t-10px w-100%\" @click=\"addShadow\">\n <dk-icon icon=\"Plus\"></dk-icon>\n </el-button>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { shadowInputProps } from './props'\nimport { computed, onMounted, ref, watch } from 'vue'\n\n\n\nconst props = defineProps(shadowInputProps)\n\nconst shadows: any = ref([])\n\nconst activeName = ref('1')\nconst addShadow = () => {\n shadows.value.push('
|
1
|
+
{"version":3,"file":"style-shadow-input.vue2.mjs","sources":["../../../src/style-shadow-input/src/style-shadow-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleShadowInput',\n});\n</script>\n<template>\n <div class=\"dk-style-shadow-input\">\n <el-collapse v-if=\"type === 'collapse'\" v-model=\"activeName\" accordion>\n <el-collapse-item v-for=\"(item, key) in shadows\" :key=\"key\" :title=\"item\" :name=\"key + ''\">\n <dk-style-shadow-content v-model=\"shadows[key]\"></dk-style-shadow-content>\n </el-collapse-item>\n </el-collapse>\n <ul v-else class=\"shadow-list\">\n <li v-for=\"(item, key) in shadows\" :key=\"key\">\n <el-input v-model=\"shadows[key]\" disabled>\n <template #append>\n <el-popover placement=\"right-start\" title=\"\" width=\"380\" trigger=\"click\">\n <template #reference>\n <el-button>设置</el-button>\n </template>\n <dk-style-shadow-content v-model=\"shadows[key]\"></dk-style-shadow-content>\n </el-popover>\n </template>\n </el-input>\n <dk-icon class=\"close-shadow\" icon=\"Close\" hover-color=\"#f00\" @click=\"delShadow(key)\"></dk-icon>\n </li>\n </ul>\n <el-button class=\"m-t-10px w-100%\" @click=\"addShadow\">\n <dk-icon icon=\"Plus\"></dk-icon>\n </el-button>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { shadowInputProps } from './props'\nimport { computed, onMounted, ref, watch } from 'vue'\n\n\n\nconst props = defineProps(shadowInputProps)\n\nconst shadows: any = ref([])\n\nconst activeName = ref('1')\nconst addShadow = () => {\n shadows.value.push('2px 2px 3px 2px #E7E5E5FF')\n activeName.value = shadows.value.length - 1 + ''\n}\n\nconst delShadow = (index: number) => {\n shadows.value.splice(index, 1)\n}\n\nconst init = () => {\n if (props.modelValue.boxShadow) {\n shadows.value = props.modelValue.boxShadow.split(',')\n }\n}\n\nconst emit = defineEmits(['update:modelValue', 'change'])\n\nconst boxShadow = computed(() => {\n return shadows.value.join(',')\n})\n\nwatch(boxShadow, (n, o) => {\n emit('update:modelValue', { boxShadow: boxShadow.value })\n emit('change', { boxShadow: boxShadow.value })\n})\n\nwatch(\n () => props.modelValue,\n () => {\n init()\n },\n { deep: true }\n)\n\nonMounted(() => {\n init()\n})\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,oBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAsCD,IAAM,MAAA,OAAA,GAAe,GAAI,CAAA,EAAE,CAAA,CAAA;AAE3B,IAAM,MAAA,UAAA,GAAa,IAAI,GAAG,CAAA,CAAA;AAC1B,IAAA,MAAM,YAAY,MAAM;AACtB,MAAQ,OAAA,CAAA,KAAA,CAAM,KAAK,2BAA2B,CAAA,CAAA;AAC9C,MAAA,UAAA,CAAW,KAAQ,GAAA,OAAA,CAAQ,KAAM,CAAA,MAAA,GAAS,CAAI,GAAA,EAAA,CAAA;AAAA,KAChD,CAAA;AAEA,IAAM,MAAA,SAAA,GAAY,CAAC,KAAkB,KAAA;AACnC,MAAQ,OAAA,CAAA,KAAA,CAAM,MAAO,CAAA,KAAA,EAAO,CAAC,CAAA,CAAA;AAAA,KAC/B,CAAA;AAEA,IAAA,MAAM,OAAO,MAAM;AACjB,MAAI,IAAA,KAAA,CAAM,WAAW,SAAW,EAAA;AAC9B,QAAA,OAAA,CAAQ,KAAQ,GAAA,KAAA,CAAM,UAAW,CAAA,SAAA,CAAU,MAAM,GAAG,CAAA,CAAA;AAAA,OACtD;AAAA,KACF,CAAA;AAIA,IAAM,MAAA,SAAA,GAAY,SAAS,MAAM;AAC/B,MAAO,OAAA,OAAA,CAAQ,KAAM,CAAA,IAAA,CAAK,GAAG,CAAA,CAAA;AAAA,KAC9B,CAAA,CAAA;AAED,IAAM,KAAA,CAAA,SAAA,EAAW,CAAC,CAAA,EAAG,CAAM,KAAA;AACzB,MAAA,IAAA,CAAK,mBAAqB,EAAA,EAAE,SAAW,EAAA,SAAA,CAAU,OAAO,CAAA,CAAA;AACxD,MAAA,IAAA,CAAK,QAAU,EAAA,EAAE,SAAW,EAAA,SAAA,CAAU,OAAO,CAAA,CAAA;AAAA,KAC9C,CAAA,CAAA;AAED,IAAA,KAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,MAAM;AACJ,QAAK,IAAA,EAAA,CAAA;AAAA,OACP;AAAA,MACA,EAAE,MAAM,IAAK,EAAA;AAAA,KACf,CAAA;AAEA,IAAA,SAAA,CAAU,MAAM;AACd,MAAK,IAAA,EAAA,CAAA;AAAA,KACN,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/es/test/index.d.ts
CHANGED
@@ -7,7 +7,7 @@ export declare const Test: import("@vipl520/utils").WithInstall<import("vue").De
|
|
7
7
|
default: string;
|
8
8
|
type: StringConstructor;
|
9
9
|
};
|
10
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChooseUrl"[], "onChooseUrl", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
11
11
|
type: {
|
12
12
|
type: import("vue").PropType<string>;
|
13
13
|
default: string;
|
@@ -16,7 +16,9 @@ export declare const Test: import("@vipl520/utils").WithInstall<import("vue").De
|
|
16
16
|
default: string;
|
17
17
|
type: StringConstructor;
|
18
18
|
};
|
19
|
-
}
|
19
|
+
}>> & {
|
20
|
+
onOnChooseUrl?: ((...args: any[]) => any) | undefined;
|
21
|
+
}, {
|
20
22
|
type: string;
|
21
23
|
test: string;
|
22
24
|
}, {}>>;
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
7
7
|
default: string;
|
8
8
|
type: StringConstructor;
|
9
9
|
};
|
10
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChooseUrl"[], "onChooseUrl", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
11
11
|
type: {
|
12
12
|
type: import("vue").PropType<string>;
|
13
13
|
default: string;
|
@@ -16,7 +16,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
16
16
|
default: string;
|
17
17
|
type: StringConstructor;
|
18
18
|
};
|
19
|
-
}
|
19
|
+
}>> & {
|
20
|
+
onOnChooseUrl?: ((...args: any[]) => any) | undefined;
|
21
|
+
}, {
|
20
22
|
type: string;
|
21
23
|
test: string;
|
22
24
|
}, {}>;
|
@@ -9,8 +9,12 @@ const __default__ = defineComponent({
|
|
9
9
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
10
10
|
...__default__,
|
11
11
|
props: testProps,
|
12
|
-
|
12
|
+
emits: ["onChooseUrl"],
|
13
|
+
setup(__props, { emit }) {
|
13
14
|
const [_, bem] = createNamespace("test");
|
15
|
+
const chooseUrl = () => {
|
16
|
+
emit("onChooseUrl", "\u9009\u4E2D\u7684\u94FE\u63A5\u5730\u5740");
|
17
|
+
};
|
14
18
|
return (_ctx, _cache) => {
|
15
19
|
const _component_el_button = resolveComponent("el-button");
|
16
20
|
const _component_van_button = resolveComponent("van-button");
|
@@ -20,14 +24,21 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
24
|
[
|
21
25
|
createVNode(_component_el_button, { class: "dk-test" }, {
|
22
26
|
default: withCtx(() => [
|
23
|
-
createTextVNode("
|
27
|
+
createTextVNode("el\u6309\u94AE")
|
24
28
|
]),
|
25
29
|
_: 1
|
26
30
|
/* STABLE */
|
27
31
|
}),
|
28
32
|
createVNode(_component_van_button, null, {
|
29
33
|
default: withCtx(() => [
|
30
|
-
createTextVNode("
|
34
|
+
createTextVNode("van\u6309\u94AE")
|
35
|
+
]),
|
36
|
+
_: 1
|
37
|
+
/* STABLE */
|
38
|
+
}),
|
39
|
+
createVNode(_component_el_button, { onClick: chooseUrl }, {
|
40
|
+
default: withCtx(() => [
|
41
|
+
createTextVNode("\u9009\u62E9\u94FE\u63A5")
|
31
42
|
]),
|
32
43
|
_: 1
|
33
44
|
/* STABLE */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"test.vue2.mjs","sources":["../../../src/test/src/test.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkTest',\n});\n</script>\n<template>\n <el-button class=\"dk-test\">
|
1
|
+
{"version":3,"file":"test.vue2.mjs","sources":["../../../src/test/src/test.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkTest',\n});\n</script>\n<template>\n <el-button class=\"dk-test\">el按钮</el-button>\n <van-button>van按钮</van-button>\n <el-button @click=\"chooseUrl\">选择链接</el-button>\n <div class=\"mr-10px bg-black\">{{ test }}</div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { createNamespace } from '@vipl520/utils'\nimport { testProps } from './props'\nconst emit = defineEmits(['onChooseUrl'])\nconst [_, bem] = createNamespace('test')\n\n\nconst chooseUrl = () => {\n emit('onChooseUrl', '选中的链接地址')\n}\ndefineProps(testProps)\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,QAAA;AACR,CAAC,CAAA,CAAA;;;;;;AAaD,IAAA,MAAM,CAAC,CAAA,EAAG,GAAG,CAAA,GAAI,gBAAgB,MAAM,CAAA,CAAA;AAGvC,IAAA,MAAM,YAAY,MAAM;AACtB,MAAA,IAAA,CAAK,eAAe,4CAAS,CAAA,CAAA;AAAA,KAC/B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -37,7 +37,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
37
37
|
images_upload_handler: handleImageUpload,
|
38
38
|
initialContent: "Loading editor..."
|
39
39
|
});
|
40
|
-
const tinymceSrc = ref("https://
|
40
|
+
const tinymceSrc = ref("https://cdn-1251560393.cos.ap-chengdu.myqcloud.com/lib/tinymce/tinymce.min.js");
|
41
41
|
const attachmentRef = ref();
|
42
42
|
const editorRef = ref();
|
43
43
|
const showDialog = computed(() => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tiny-editor.vue2.mjs","sources":["../../../src/tiny-editor/src/tiny-editor.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkTinyEditor',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-tiny-editor\">\n <div v-if=\"showDialog\">\n <Editor ref=\"editorRef\" v-model=\"content\" :init=\"init\" :tinymce-script-src=\"tinymceSrc\" @dblclick=\"ondblclick\" />\n </div>\n <div v-else>\n <el-button type=\"primary\" plain style=\"width: 100%\" @click=\"showEditor = true\">{{ props.buttonText }}</el-button>\n <dk-dialog v-model=\"showEditor\" title=\"编辑\" width=\"900px\" :z-index=\"1298\">\n <Editor\n ref=\"editorRef\"\n v-model=\"content\"\n :init=\"init\"\n :tinymce-script-src=\"tinymceSrc\"\n @dblclick=\"ondblclick\"\n />\n <template #footer>\n <div class=\"text-center\">\n <el-button type=\"primary\" style=\"width: 200px\" @click=\"showEditor = false\">确定</el-button>\n </div>\n </template>\n </dk-dialog>\n </div>\n <dk-attachment-dialog ref=\"attachmentRef\" :type=\"1\" @confirm=\"onSubmit\" />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport config from './config'\nimport Editor from '@tinymce/tinymce-vue'\nimport { nextTick, onMounted, ref, watch, computed } from 'vue'\nimport { UploadAttachment } from '../../api'\nimport { tinyEditorProps } from './props'\nimport { useElementSize } from '@vueuse/core'\nconst el: any = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\n\nconst props = defineProps(tinyEditorProps)\nconst content = ref(props.modelValue)\nconst showEditor = ref(false)\n// 上传的地址\nconst handleImageUpload = (blobInfo: any, progress: any) =>\n new Promise((resolve, reject) => {\n UploadAttachment(blobInfo.blob())\n .then((res) => {\n progress(100)\n resolve(res.data.url)\n })\n .catch((err) => {\n reject(err)\n })\n })\n\nconst init = ref({\n ...config,\n height: props.height,\n content_css: props.document ? 'document' : '',\n images_upload_handler: handleImageUpload,\n initialContent: 'Loading editor...',\n})\n\
|
1
|
+
{"version":3,"file":"tiny-editor.vue2.mjs","sources":["../../../src/tiny-editor/src/tiny-editor.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkTinyEditor',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-tiny-editor\">\n <div v-if=\"showDialog\">\n <Editor ref=\"editorRef\" v-model=\"content\" :init=\"init\" :tinymce-script-src=\"tinymceSrc\" @dblclick=\"ondblclick\" />\n </div>\n <div v-else>\n <el-button type=\"primary\" plain style=\"width: 100%\" @click=\"showEditor = true\">{{ props.buttonText }}</el-button>\n <dk-dialog v-model=\"showEditor\" title=\"编辑\" width=\"900px\" :z-index=\"1298\">\n <Editor\n ref=\"editorRef\"\n v-model=\"content\"\n :init=\"init\"\n :tinymce-script-src=\"tinymceSrc\"\n @dblclick=\"ondblclick\"\n />\n <template #footer>\n <div class=\"text-center\">\n <el-button type=\"primary\" style=\"width: 200px\" @click=\"showEditor = false\">确定</el-button>\n </div>\n </template>\n </dk-dialog>\n </div>\n <dk-attachment-dialog ref=\"attachmentRef\" :type=\"1\" @confirm=\"onSubmit\" />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport config from './config'\nimport Editor from '@tinymce/tinymce-vue'\nimport { nextTick, onMounted, ref, watch, computed } from 'vue'\nimport { UploadAttachment } from '../../api'\nimport { tinyEditorProps } from './props'\nimport { useElementSize } from '@vueuse/core'\nconst el: any = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\n\nconst props = defineProps(tinyEditorProps)\nconst content = ref(props.modelValue)\nconst showEditor = ref(false)\n// 上传的地址\nconst handleImageUpload = (blobInfo: any, progress: any) =>\n new Promise((resolve, reject) => {\n UploadAttachment(blobInfo.blob())\n .then((res) => {\n progress(100)\n resolve(res.data.url)\n })\n .catch((err) => {\n reject(err)\n })\n })\n\nconst init = ref({\n ...config,\n height: props.height,\n content_css: props.document ? 'document' : '',\n images_upload_handler: handleImageUpload,\n initialContent: 'Loading editor...',\n})\n\n// const tinymceSrc = ref('https://unpkg.com/dk-tinymce@latest/tinymce.min.js')\n// const tinymceSrc = ref('https://cdn.jsdelivr.net/npm/dk-tinymce/tinymce.min.js')\nconst tinymceSrc = ref('https://cdn-1251560393.cos.ap-chengdu.myqcloud.com/lib/tinymce/tinymce.min.js')\n// const tinymceSrc = ref('https://cdn.staticfile.net/tinymce/6.8.2/tinymce.min.js')\nconst attachmentRef = ref()\nconst editorRef = ref()\nconst emit = defineEmits(['input', 'update:modelValue', 'change'])\n\nconst showDialog = computed(() => {\n return width.value >= props.showDialogWidth\n})\n\nwatch(\n () => props.modelValue,\n (newValue) => {\n content.value = newValue\n }\n)\n\nwatch(\n () => content.value,\n (newValue) => {\n emit('update:modelValue', newValue)\n emit('input', newValue)\n emit('change', newValue)\n }\n)\n\nonMounted(() => {\n nextTick(() => {\n initShowImage()\n })\n})\n\nwatch(\n () => editorRef.value,\n () => {\n if (editorRef.value?.getEditor()) {\n editorRef.value.getEditor().on('showImage', () => {\n attachmentRef.value.open()\n })\n }\n }\n)\n\nconst initShowImage = () => {\n if (!editorRef.value?.getEditor()) {\n setTimeout(() => {\n initShowImage()\n }, 1000)\n } else {\n editorRef.value.getEditor().on('showImage', () => {\n attachmentRef.value.open()\n })\n }\n}\n\nconst onSubmit = (chooseFileList: any) => {\n const editor = editorRef.value.getEditor()\n let html = ''\n chooseFileList.forEach((item: any) => {\n html += '<img src=\"' + item.url + '\" alt=\"\" width=\"100%\">'\n })\n editor.insertContent(html)\n}\n\nconst ondblclick = (editor: any) => {\n console.log(editor)\n}\n</script>\n"],"names":["__MACROS_defineComponent","init","config"],"mappings":";;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAmCD,IAAM,MAAA,EAAA,GAAU,IAAI,IAAI,CAAA,CAAA;AACxB,IAAA,MAAM,EAAE,KAAA,EAAU,GAAA,cAAA,CAAe,EAAE,CAAA,CAAA;AAInC,IAAM,MAAA,OAAA,GAAU,GAAI,CAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AACpC,IAAM,MAAA,UAAA,GAAa,IAAI,KAAK,CAAA,CAAA;AAE5B,IAAM,MAAA,iBAAA,GAAoB,CAAC,QAAe,EAAA,QAAA,KACxC,IAAI,OAAQ,CAAA,CAAC,SAAS,MAAW,KAAA;AAC/B,MAAA,gBAAA,CAAiB,SAAS,IAAK,EAAC,CAC7B,CAAA,IAAA,CAAK,CAAC,GAAQ,KAAA;AACb,QAAA,QAAA,CAAS,GAAG,CAAA,CAAA;AACZ,QAAQ,OAAA,CAAA,GAAA,CAAI,KAAK,GAAG,CAAA,CAAA;AAAA,OACrB,CAAA,CACA,KAAM,CAAA,CAAC,GAAQ,KAAA;AACd,QAAA,MAAA,CAAO,GAAG,CAAA,CAAA;AAAA,OACX,CAAA,CAAA;AAAA,KACJ,CAAA,CAAA;AAEH,IAAA,MAAMC,SAAO,GAAI,CAAA;AAAA,MACf,GAAGC,IAAA;AAAA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1"}.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://
|
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://cdn-1251560393.cos.ap-chengdu.myqcloud.com/font/uniicons.ttf)}.dk-uni-icon{font-family:uniicons;text-decoration:none;text-align:center;font-style:normal}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
export declare const UrlInput: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<{
|
2
|
+
modelValue: {
|
3
|
+
default: string;
|
4
|
+
type: StringConstructor;
|
5
|
+
};
|
6
|
+
jumpMinApp: {
|
7
|
+
default: boolean;
|
8
|
+
type: BooleanConstructor;
|
9
|
+
};
|
10
|
+
urlData: {
|
11
|
+
default: () => never[];
|
12
|
+
type: ArrayConstructor;
|
13
|
+
};
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
15
|
+
modelValue: {
|
16
|
+
default: string;
|
17
|
+
type: StringConstructor;
|
18
|
+
};
|
19
|
+
jumpMinApp: {
|
20
|
+
default: boolean;
|
21
|
+
type: BooleanConstructor;
|
22
|
+
};
|
23
|
+
urlData: {
|
24
|
+
default: () => never[];
|
25
|
+
type: ArrayConstructor;
|
26
|
+
};
|
27
|
+
}>> & {
|
28
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
29
|
+
}, {
|
30
|
+
modelValue: string;
|
31
|
+
urlData: unknown[];
|
32
|
+
jumpMinApp: boolean;
|
33
|
+
}, {}>>;
|
34
|
+
export default UrlInput;
|
35
|
+
export * from './src/props';
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { withInstall } from '@vipl520/utils';
|
2
|
+
import _UrlInput from './src/url-input.vue.mjs';
|
3
|
+
export { urlInputProps } from './src/props.mjs';
|
4
|
+
|
5
|
+
const UrlInput = withInstall(_UrlInput);
|
6
|
+
|
7
|
+
export { UrlInput, UrlInput as default };
|
8
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../src/url-input/index.ts"],"sourcesContent":["import { withInstall } from '@vipl520/utils'\nimport _UrlInput from './src/url-input.vue'\n\nexport const UrlInput = withInstall(_UrlInput)\nexport default UrlInput\n\nexport * from './src/props'\n"],"names":[],"mappings":";;;;AAGa,MAAA,QAAA,GAAW,YAAY,SAAS;;;;"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const urlInputProps: {
|
3
|
+
modelValue: {
|
4
|
+
default: string;
|
5
|
+
type: StringConstructor;
|
6
|
+
};
|
7
|
+
jumpMinApp: {
|
8
|
+
default: boolean;
|
9
|
+
type: BooleanConstructor;
|
10
|
+
};
|
11
|
+
urlData: {
|
12
|
+
default: () => never[];
|
13
|
+
type: ArrayConstructor;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
export type UrlInputProps = ExtractPropTypes<typeof urlInputProps>;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
const urlInputProps = {
|
2
|
+
modelValue: { default: "", type: String },
|
3
|
+
jumpMinApp: { default: false, type: Boolean },
|
4
|
+
urlData: {
|
5
|
+
default: () => {
|
6
|
+
return [];
|
7
|
+
},
|
8
|
+
type: Array
|
9
|
+
}
|
10
|
+
};
|
11
|
+
|
12
|
+
export { urlInputProps };
|
13
|
+
//# sourceMappingURL=props.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"props.mjs","sources":["../../../src/url-input/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const urlInputProps = {\n modelValue: { default: '', type: String },\n jumpMinApp: { default: false, type: Boolean },\n urlData: {\n default: () => {\n return []\n },\n type: Array,\n },\n}\n\nexport type UrlInputProps = ExtractPropTypes<typeof urlInputProps>\n"],"names":[],"mappings":"AAEO,MAAM,aAAgB,GAAA;AAAA,EAC3B,UAAY,EAAA,EAAE,OAAS,EAAA,EAAA,EAAI,MAAM,MAAO,EAAA;AAAA,EACxC,UAAY,EAAA,EAAE,OAAS,EAAA,KAAA,EAAO,MAAM,OAAQ,EAAA;AAAA,EAC5C,OAAS,EAAA;AAAA,IACP,SAAS,MAAM;AACb,MAAA,OAAO,EAAC,CAAA;AAAA,KACV;AAAA,IACA,IAAM,EAAA,KAAA;AAAA,GACR;AACF;;;;"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
urlData: {
|
3
|
+
default: () => never[];
|
4
|
+
type: ArrayConstructor;
|
5
|
+
};
|
6
|
+
jumpMinApp: {
|
7
|
+
default: boolean;
|
8
|
+
type: BooleanConstructor;
|
9
|
+
};
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
11
|
+
urlData: {
|
12
|
+
default: () => never[];
|
13
|
+
type: ArrayConstructor;
|
14
|
+
};
|
15
|
+
jumpMinApp: {
|
16
|
+
default: boolean;
|
17
|
+
type: BooleanConstructor;
|
18
|
+
};
|
19
|
+
}>> & {
|
20
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
21
|
+
}, {
|
22
|
+
urlData: unknown[];
|
23
|
+
jumpMinApp: boolean;
|
24
|
+
}, {}>;
|
25
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import _sfc_main from './url-input-content.vue2.mjs';
|
2
|
+
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
|
3
|
+
|
4
|
+
var DkUrlInputContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\url-input\\src\\url-input-content.vue"]]);
|
5
|
+
|
6
|
+
export { DkUrlInputContent as default };
|
7
|
+
//# sourceMappingURL=url-input-content.vue.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"url-input-content.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|