@vipl520/dk-ui 1.0.19 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/attributes.json +16 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1216 -674
- package/dist/index.min.js +7 -7
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +7 -7
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +1203 -665
- package/dist/tags.json +14 -0
- package/dist/web-types.json +69 -1
- package/es/animate-select/index.d.ts +19 -0
- package/es/animate-select/index.mjs +8 -0
- package/es/animate-select/index.mjs.map +1 -0
- package/es/animate-select/src/animate-select.vue.d.ts +18 -0
- package/es/animate-select/src/animate-select.vue.mjs +7 -0
- package/es/animate-select/src/animate-select.vue.mjs.map +1 -0
- package/es/animate-select/src/animate-select.vue2.mjs +168 -0
- package/es/animate-select/src/animate-select.vue2.mjs.map +1 -0
- package/es/animate-select/src/animates.d.ts +9 -0
- package/es/animate-select/src/animates.mjs +98 -0
- package/es/animate-select/src/animates.mjs.map +1 -0
- package/es/animate-select/src/props.d.ts +11 -0
- package/es/animate-select/src/props.mjs +11 -0
- package/es/animate-select/src/props.mjs.map +1 -0
- package/es/animate-select/style/index.css +1 -0
- package/es/animate-select/style/index.scss +41 -0
- package/es/audio-input/index.d.ts +4 -4
- package/es/audio-input/src/audio-input.vue.d.ts +4 -4
- package/es/audio-list-input/index.d.ts +3 -3
- package/es/audio-list-input/src/audio-list-input.vue.d.ts +3 -3
- package/es/box-size-input/index.d.ts +1 -1
- package/es/box-size-input/src/box-size-input.vue.d.ts +1 -1
- package/es/color-input/index.d.ts +3 -3
- package/es/color-input/src/color-input.vue.d.ts +3 -3
- package/es/dialog/index.d.ts +11 -11
- package/es/dialog/src/dialog.vue.d.ts +3 -3
- package/es/file-input/index.d.ts +4 -4
- package/es/file-input/src/file-input.vue.d.ts +4 -4
- package/es/file-list-input/index.d.ts +4 -4
- package/es/file-list-input/src/file-list-input.vue.d.ts +4 -4
- package/es/form/index.d.ts +10 -10
- package/es/form/src/form.vue.d.ts +2 -2
- package/es/group/index.d.ts +6 -6
- package/es/group/src/group.vue.d.ts +6 -6
- package/es/icon/index.d.ts +3 -3
- package/es/icon-input/index.d.ts +5 -5
- package/es/icon-input/src/icon-content.vue.d.ts +1 -1
- package/es/icon-input/src/icon-dialog.vue.d.ts +1 -1
- package/es/icon-input/src/icon-input.vue.d.ts +3 -3
- package/es/image-input/index.d.ts +4 -4
- package/es/image-input/src/image-input.vue.d.ts +4 -4
- package/es/image-list-input/index.d.ts +3 -3
- package/es/image-list-input/src/image-list-input.vue.d.ts +3 -3
- package/es/index.d.ts +2 -0
- package/es/index.mjs +9 -1
- package/es/index.mjs.map +1 -1
- package/es/index.scss +14 -0
- package/es/page-diy/index.d.ts +70 -4
- package/es/page-diy/src/components/DragTool.vue.d.ts +2 -1
- package/es/page-diy/src/components/DragTool.vue.mjs +12 -15
- package/es/page-diy/src/components/DragTool.vue.mjs.map +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue2.mjs +74 -2
- package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
- package/es/page-diy/src/config/base/dkSetting.d.ts +68 -2
- package/es/page-diy/src/config/base/dkSetting.mjs +83 -0
- package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +2 -1
- 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 +2 -0
- package/es/page-diy/src/config/rule/min/index.d.ts +2 -0
- package/es/page-diy/src/page-diy.vue.d.ts +70 -4
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +1 -1
- package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +1 -1
- package/es/page-diy/src/views/web/DkViewCommonBtn.vue.d.ts +2 -2
- package/es/page-diy/src/views/web/DkViewDialog.vue.d.ts +2 -2
- package/es/page-diy/src/views/web/DkViewGridCellList.vue.d.ts +1 -1
- package/es/page-diy/src/views/web/DkViewImage.vue.d.ts +2 -2
- package/es/page-diy/src/views/web/DkViewNoticeBar.vue.d.ts +2 -2
- package/es/page-diy/src/views/web/DkViewSwipe.vue.d.ts +1 -1
- package/es/page-diy/src/views/web/DkViewTitle.vue.d.ts +2 -2
- package/es/page-diy/style/drag-tool.css +1 -1
- package/es/page-diy/style/drag-tool.scss +1 -1
- package/es/page-diy/style/index.css +1 -1
- package/es/poster-input/index.d.ts +6 -6
- package/es/poster-input/src/component/poster.vue.d.ts +3 -3
- package/es/poster-input/src/poster-input.vue.d.ts +3 -3
- package/es/select/src/select.vue.d.ts +3 -3
- package/es/style-animation-input/index.d.ts +25 -0
- package/es/style-animation-input/index.mjs +8 -0
- package/es/style-animation-input/index.mjs.map +1 -0
- package/es/style-animation-input/src/props.d.ts +15 -0
- package/es/style-animation-input/src/props.mjs +16 -0
- package/es/style-animation-input/src/props.mjs.map +1 -0
- package/es/style-animation-input/src/style-animation-input.vue.d.ts +24 -0
- package/es/style-animation-input/src/style-animation-input.vue.mjs +7 -0
- package/es/style-animation-input/src/style-animation-input.vue.mjs.map +1 -0
- package/es/style-animation-input/src/style-animation-input.vue2.mjs +116 -0
- package/es/style-animation-input/src/style-animation-input.vue2.mjs.map +1 -0
- package/es/style-animation-input/style/index.css +1 -0
- package/es/style-animation-input/style/index.scss +14 -0
- package/es/style-box-input/index.d.ts +1 -1
- package/es/style-box-input/src/style-box-input.vue.d.ts +1 -1
- package/es/style-input/index.d.ts +1 -1
- package/es/style-input/src/style-input.vue.d.ts +1 -1
- package/es/style-number-input/index.d.ts +3 -2
- package/es/style-number-input/src/style-number-input.vue.d.ts +3 -2
- package/es/style-number-input/src/style-number-input.vue2.mjs +3 -2
- package/es/style-number-input/src/style-number-input.vue2.mjs.map +1 -1
- package/es/style-position-input/src/style-position-input.vue2.mjs +23 -39
- package/es/style-position-input/src/style-position-input.vue2.mjs.map +1 -1
- package/es/style-shadow-input/index.d.ts +2 -2
- package/es/style-shadow-input/src/style-shadow-content.vue.d.ts +1 -1
- package/es/style-shadow-input/src/style-shadow-input.vue.d.ts +1 -1
- package/es/table/index.d.ts +2 -2
- package/es/tiny-editor/index.d.ts +4 -4
- package/es/tiny-editor/src/tiny-editor.vue.d.ts +4 -4
- package/es/video-input/index.d.ts +4 -4
- package/es/video-input/src/video-input.vue.d.ts +4 -4
- package/es/video-list-input/index.d.ts +3 -3
- package/es/video-list-input/src/video-list-input.vue.d.ts +3 -3
- package/lib/animate-select/index.d.ts +19 -0
- package/lib/animate-select/index.js +14 -0
- package/lib/animate-select/index.js.map +1 -0
- package/lib/animate-select/src/animate-select.vue.d.ts +18 -0
- package/lib/animate-select/src/animate-select.vue.js +11 -0
- package/lib/animate-select/src/animate-select.vue.js.map +1 -0
- package/lib/animate-select/src/animate-select.vue2.js +172 -0
- package/lib/animate-select/src/animate-select.vue2.js.map +1 -0
- package/lib/animate-select/src/animates.d.ts +9 -0
- package/lib/animate-select/src/animates.js +102 -0
- package/lib/animate-select/src/animates.js.map +1 -0
- package/lib/animate-select/src/props.d.ts +11 -0
- package/lib/animate-select/src/props.js +13 -0
- package/lib/animate-select/src/props.js.map +1 -0
- package/lib/animate-select/style/index.css +1 -0
- package/lib/animate-select/style/index.scss +41 -0
- package/lib/audio-input/index.d.ts +4 -4
- package/lib/audio-input/src/audio-input.vue.d.ts +4 -4
- package/lib/audio-list-input/index.d.ts +3 -3
- package/lib/audio-list-input/src/audio-list-input.vue.d.ts +3 -3
- package/lib/box-size-input/index.d.ts +1 -1
- package/lib/box-size-input/src/box-size-input.vue.d.ts +1 -1
- package/lib/color-input/index.d.ts +3 -3
- package/lib/color-input/src/color-input.vue.d.ts +3 -3
- package/lib/dialog/index.d.ts +11 -11
- package/lib/dialog/src/dialog.vue.d.ts +3 -3
- package/lib/file-input/index.d.ts +4 -4
- package/lib/file-input/src/file-input.vue.d.ts +4 -4
- package/lib/file-list-input/index.d.ts +4 -4
- package/lib/file-list-input/src/file-list-input.vue.d.ts +4 -4
- package/lib/form/index.d.ts +10 -10
- package/lib/form/src/form.vue.d.ts +2 -2
- package/lib/group/index.d.ts +6 -6
- package/lib/group/src/group.vue.d.ts +6 -6
- package/lib/icon/index.d.ts +3 -3
- package/lib/icon-input/index.d.ts +5 -5
- package/lib/icon-input/src/icon-content.vue.d.ts +1 -1
- package/lib/icon-input/src/icon-dialog.vue.d.ts +1 -1
- package/lib/icon-input/src/icon-input.vue.d.ts +3 -3
- package/lib/image-input/index.d.ts +4 -4
- package/lib/image-input/src/image-input.vue.d.ts +4 -4
- package/lib/image-list-input/index.d.ts +3 -3
- package/lib/image-list-input/src/image-list-input.vue.d.ts +3 -3
- package/lib/index.d.ts +2 -0
- package/lib/index.js +14 -2
- package/lib/index.js.map +1 -1
- package/lib/index.scss +14 -0
- package/lib/page-diy/index.d.ts +70 -4
- package/lib/page-diy/src/components/DragTool.vue.d.ts +2 -1
- package/lib/page-diy/src/components/DragTool.vue.js +12 -15
- package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue2.js +73 -1
- package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
- package/lib/page-diy/src/config/base/dkSetting.d.ts +68 -2
- package/lib/page-diy/src/config/base/dkSetting.js +83 -0
- package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +2 -1
- 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 +2 -0
- package/lib/page-diy/src/config/rule/min/index.d.ts +2 -0
- package/lib/page-diy/src/page-diy.vue.d.ts +70 -4
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +1 -1
- package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +1 -1
- package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.d.ts +2 -2
- package/lib/page-diy/src/views/web/DkViewDialog.vue.d.ts +2 -2
- package/lib/page-diy/src/views/web/DkViewGridCellList.vue.d.ts +1 -1
- package/lib/page-diy/src/views/web/DkViewImage.vue.d.ts +2 -2
- package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.d.ts +2 -2
- package/lib/page-diy/src/views/web/DkViewSwipe.vue.d.ts +1 -1
- package/lib/page-diy/src/views/web/DkViewTitle.vue.d.ts +2 -2
- package/lib/page-diy/style/drag-tool.css +1 -1
- package/lib/page-diy/style/drag-tool.scss +1 -1
- package/lib/page-diy/style/index.css +1 -1
- package/lib/poster-input/index.d.ts +6 -6
- package/lib/poster-input/src/component/poster.vue.d.ts +3 -3
- package/lib/poster-input/src/poster-input.vue.d.ts +3 -3
- package/lib/select/src/select.vue.d.ts +3 -3
- package/lib/style-animation-input/index.d.ts +25 -0
- package/lib/style-animation-input/index.js +14 -0
- package/lib/style-animation-input/index.js.map +1 -0
- package/lib/style-animation-input/src/props.d.ts +15 -0
- package/lib/style-animation-input/src/props.js +18 -0
- package/lib/style-animation-input/src/props.js.map +1 -0
- package/lib/style-animation-input/src/style-animation-input.vue.d.ts +24 -0
- package/lib/style-animation-input/src/style-animation-input.vue.js +11 -0
- package/lib/style-animation-input/src/style-animation-input.vue.js.map +1 -0
- package/lib/style-animation-input/src/style-animation-input.vue2.js +120 -0
- package/lib/style-animation-input/src/style-animation-input.vue2.js.map +1 -0
- package/lib/style-animation-input/style/index.css +1 -0
- package/lib/style-animation-input/style/index.scss +14 -0
- package/lib/style-box-input/index.d.ts +1 -1
- package/lib/style-box-input/src/style-box-input.vue.d.ts +1 -1
- package/lib/style-input/index.d.ts +1 -1
- package/lib/style-input/src/style-input.vue.d.ts +1 -1
- package/lib/style-number-input/index.d.ts +3 -2
- package/lib/style-number-input/src/style-number-input.vue.d.ts +3 -2
- package/lib/style-number-input/src/style-number-input.vue2.js +3 -2
- package/lib/style-number-input/src/style-number-input.vue2.js.map +1 -1
- package/lib/style-position-input/src/style-position-input.vue2.js +22 -38
- package/lib/style-position-input/src/style-position-input.vue2.js.map +1 -1
- package/lib/style-shadow-input/index.d.ts +2 -2
- package/lib/style-shadow-input/src/style-shadow-content.vue.d.ts +1 -1
- package/lib/style-shadow-input/src/style-shadow-input.vue.d.ts +1 -1
- package/lib/table/index.d.ts +2 -2
- package/lib/tiny-editor/index.d.ts +4 -4
- package/lib/tiny-editor/src/tiny-editor.vue.d.ts +4 -4
- package/lib/video-input/index.d.ts +4 -4
- package/lib/video-input/src/video-input.vue.d.ts +4 -4
- package/lib/video-list-input/index.d.ts +3 -3
- package/lib/video-list-input/src/video-list-input.vue.d.ts +3 -3
- package/package.json +4 -4
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"style-position-input.vue2.js","sources":["../../../src/style-position-input/src/style-position-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStylePositionInput',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-style-position-input\">\n <el-form label-width=\"50px\" label-position=\"left\">\n <div>\n <el-form-item label=\"常用\">\n <el-radio-group @change=\"positionChange\">\n <el-radio-button v-for=\"(item, key) in positions\" :key=\"key\" :label=\"item.value\">\n {{ item.label }}\n </el-radio-button>\n </el-radio-group>\n
|
1
|
+
{"version":3,"file":"style-position-input.vue2.js","sources":["../../../src/style-position-input/src/style-position-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStylePositionInput',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-style-position-input\">\n <el-form label-width=\"50px\" label-position=\"left\">\n <div>\n <el-form-item label=\"常用\">\n <el-radio-group @change=\"positionChange\">\n <el-radio-button v-for=\"(item, key) in positions\" :key=\"key\" :label=\"item.value\">\n {{ item.label }}\n </el-radio-button>\n </el-radio-group>\n </el-form-item>\n </div>\n <div class=\"m-t-10px\">\n <el-row :gutter=\"20\">\n <el-col v-for=\"(item, key) in custom\" :key=\"key\" :span=\"span\" class=\"m-b-5px\">\n <el-form-item :label=\"item.label\">\n <template #label>\n <el-tooltip class=\"item\" effect=\"dark\" :content=\"item.tip\" placement=\"top\">\n <span\n style=\"cursor: pointer\"\n :style=\"form[item.value] ? 'color:var(--el-color-primary)' : ''\"\n @click=\"form[item.value] = ''\"\n >\n {{ item.label }}:</span\n >\n </el-tooltip>\n </template>\n <dk-style-number-input v-model=\"form[item.value]\" @input=\"change = false\"></dk-style-number-input>\n </el-form-item>\n </el-col>\n </el-row>\n </div>\n </el-form>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { stylePositionInputProps } from './props'\nimport { computed, ref, watch } from 'vue'\nimport { useElementSize } from '@vueuse/core'\n\nconst el: any = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\nconst span = computed(() => {\n if (width.value <= 300) {\n return 24\n } else if (width.value < 800) {\n return 12\n } else {\n return 6\n }\n})\n\n\n\nconst props = defineProps(stylePositionInputProps)\n\nconst form: any = ref({\n left: props.modelValue.left || '',\n top: props.modelValue.top || '',\n right: props.modelValue.right || '',\n bottom: props.modelValue.bottom || '',\n})\n\nconst custom = [\n { label: '上', value: 'top', tip: '当前距离顶部距离,点击清除' },\n { label: '右', value: 'right', tip: '当前距离右侧的距离,点击清除' },\n { label: '下', value: 'bottom', tip: '当前距离底部的距离,点击清除' },\n { label: '左', value: 'left', tip: '当前距离左侧的距离,点击清除' },\n]\n\nconst positions = [\n { label: '左上', value: 'left-top' },\n { label: '左下', value: 'left-down' },\n { label: '右上', value: 'right-top' },\n { label: '右下', value: 'right-down' },\n { label: '下居中', value: 'down-center' },\n { label: '上居中', value: 'up-center' },\n]\nconst emit = defineEmits(['update:modelValue'])\n\nconst change = ref(false)\n\nconst positionChange = (value: string) => {\n change.value = true\n switch (value) {\n case 'left-top':\n form.value = { left: '1px', top: '1px', right: '', bottom: '' }\n break\n case 'left-down':\n form.value = { left: '1px', bottom: '1px', right: '', up: '' }\n break\n case 'right-top':\n form.value = { top: '1px', right: '1px', left: '', bottom: '' }\n break\n case 'right-down':\n form.value = { right: '1px', bottom: '1px', left: '', up: '' }\n break\n case 'down-center':\n form.value = { left: '1px', right: '1px', bottom: '1px', up: '' }\n break\n case 'up-center':\n form.value = { left: '1px', top: '1px', right: '1px', bottom: '' }\n break\n }\n // emitValue()\n}\nconst emitValue = () => {\n const data = Object.keys(form.value).reduce((prev: any, cur) => {\n // 当 change.value 存在时检查是否不等于 '0px',否则只检查当前 key 是否不等于 'position'\n if ((change.value && form.value[cur] != '0px') || (!change.value && cur !== 'position')) {\n if (form.value[cur]) {\n prev[cur] = form.value[cur]\n }\n }\n return prev\n }, {})\n emit('update:modelValue', data)\n}\nwatch(\n () => form.value,\n () => {\n emitValue()\n },\n { deep: true }\n)\n\nwatch(\n () => props.modelValue,\n () => {\n Object.keys(props.modelValue).reduce((prev: any, cur) => {\n if (cur !== 'position') {\n prev[cur] = props.modelValue[cur]\n }\n return prev\n }, form.value)\n },\n { deep: true }\n)\n</script>\n"],"names":["__MACROS_defineComponent","ref","useElementSize","computed","watch"],"mappings":";;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,sBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AA2CD,IAAM,MAAA,EAAA,GAAUC,QAAI,IAAI,CAAA,CAAA;AACxB,IAAA,MAAM,EAAE,KAAA,EAAU,GAAAC,mBAAA,CAAe,EAAE,CAAA,CAAA;AAEnC,IAAM,MAAA,IAAA,GAAOC,aAAS,MAAM;AAC1B,MAAI,IAAA,KAAA,CAAM,SAAS,GAAK,EAAA;AACtB,QAAO,OAAA,EAAA,CAAA;AAAA,OACT,MAAA,IAAW,KAAM,CAAA,KAAA,GAAQ,GAAK,EAAA;AAC5B,QA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CAAA;AAAA,OACf;AAAA,MACA,EAAE,MAAM,IAAK,EAAA;AAAA,KACf,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -19,8 +19,8 @@ export declare const StyleShadowInput: import("@vipl520/utils").WithInstall<impo
|
|
19
19
|
}>> & {
|
20
20
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
21
21
|
}, {
|
22
|
-
type: "input" | "collapse";
|
23
22
|
modelValue: Record<string, any>;
|
23
|
+
type: "input" | "collapse";
|
24
24
|
}, {}>>;
|
25
25
|
export declare const StyleShadowContent: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<{
|
26
26
|
boxSize: {
|
@@ -73,9 +73,9 @@ export declare const StyleShadowContent: import("@vipl520/utils").WithInstall<im
|
|
73
73
|
}>> & {
|
74
74
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
75
75
|
}, {
|
76
|
+
modelValue: string;
|
76
77
|
max: number;
|
77
78
|
size: string;
|
78
|
-
modelValue: string;
|
79
79
|
boxSize: number;
|
80
80
|
defaultStyles: any;
|
81
81
|
}, {}>>;
|
@@ -49,9 +49,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
49
49
|
}>> & {
|
50
50
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
51
51
|
}, {
|
52
|
+
modelValue: string;
|
52
53
|
max: number;
|
53
54
|
size: string;
|
54
|
-
modelValue: string;
|
55
55
|
boxSize: number;
|
56
56
|
defaultStyles: any;
|
57
57
|
}, {}>;
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
19
19
|
}>> & {
|
20
20
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
21
21
|
}, {
|
22
|
-
type: "input" | "collapse";
|
23
22
|
modelValue: Record<string, any>;
|
23
|
+
type: "input" | "collapse";
|
24
24
|
}, {}>;
|
25
25
|
export default _default;
|
package/lib/table/index.d.ts
CHANGED
@@ -5,9 +5,8 @@ export declare const Table: import("@vipl520/utils").WithInstall<{
|
|
5
5
|
$props: {
|
6
6
|
tableApi?: string | undefined;
|
7
7
|
cacheTable?: boolean | undefined;
|
8
|
-
key?: string | number | symbol | undefined;
|
9
8
|
style?: unknown;
|
10
|
-
|
9
|
+
key?: string | number | symbol | undefined;
|
11
10
|
ref?: import("vue").VNodeRef | undefined;
|
12
11
|
ref_for?: boolean | undefined;
|
13
12
|
ref_key?: string | undefined;
|
@@ -49,6 +48,7 @@ export declare const Table: import("@vipl520/utils").WithInstall<{
|
|
49
48
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
50
49
|
[key: string]: any;
|
51
50
|
}>) => void)[] | undefined;
|
51
|
+
class?: unknown;
|
52
52
|
};
|
53
53
|
$attrs: {
|
54
54
|
[x: string]: unknown;
|
@@ -23,7 +23,7 @@ export declare const TinyEditor: import("@vipl520/utils").WithInstall<import("vu
|
|
23
23
|
type: NumberConstructor;
|
24
24
|
default: number;
|
25
25
|
};
|
26
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
26
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
27
27
|
disabled: {
|
28
28
|
type: BooleanConstructor;
|
29
29
|
default: boolean;
|
@@ -49,14 +49,14 @@ export declare const TinyEditor: import("@vipl520/utils").WithInstall<import("vu
|
|
49
49
|
default: number;
|
50
50
|
};
|
51
51
|
}>> & {
|
52
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
53
52
|
onInput?: ((...args: any[]) => any) | undefined;
|
54
53
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
54
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
55
55
|
}, {
|
56
|
-
document: boolean;
|
57
|
-
height: number;
|
58
56
|
modelValue: string;
|
59
57
|
disabled: boolean;
|
58
|
+
document: boolean;
|
59
|
+
height: number;
|
60
60
|
buttonText: string;
|
61
61
|
showDialogWidth: number;
|
62
62
|
}, {}>>;
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
23
23
|
type: NumberConstructor;
|
24
24
|
default: number;
|
25
25
|
};
|
26
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
26
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
27
27
|
disabled: {
|
28
28
|
type: BooleanConstructor;
|
29
29
|
default: boolean;
|
@@ -49,14 +49,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
49
49
|
default: number;
|
50
50
|
};
|
51
51
|
}>> & {
|
52
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
53
52
|
onInput?: ((...args: any[]) => any) | undefined;
|
54
53
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
54
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
55
55
|
}, {
|
56
|
-
document: boolean;
|
57
|
-
height: number;
|
58
56
|
modelValue: string;
|
59
57
|
disabled: boolean;
|
58
|
+
document: boolean;
|
59
|
+
height: number;
|
60
60
|
buttonText: string;
|
61
61
|
showDialogWidth: number;
|
62
62
|
}, {}>;
|
@@ -19,7 +19,7 @@ export declare const VideoInput: import("@vipl520/utils").WithInstall<import("vu
|
|
19
19
|
type: StringConstructor;
|
20
20
|
default: string;
|
21
21
|
};
|
22
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
23
23
|
modelValue: {
|
24
24
|
type: StringConstructor;
|
25
25
|
default: string;
|
@@ -41,13 +41,13 @@ export declare const VideoInput: import("@vipl520/utils").WithInstall<import("vu
|
|
41
41
|
default: string;
|
42
42
|
};
|
43
43
|
}>> & {
|
44
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
45
44
|
onInput?: ((...args: any[]) => any) | undefined;
|
46
45
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
46
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
47
47
|
}, {
|
48
|
-
accept: string;
|
49
|
-
placeholder: string;
|
50
48
|
modelValue: string;
|
49
|
+
placeholder: string;
|
50
|
+
accept: string;
|
51
51
|
showInput: boolean;
|
52
52
|
imgSize: number;
|
53
53
|
}, {}>>;
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
19
19
|
type: StringConstructor;
|
20
20
|
default: string;
|
21
21
|
};
|
22
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
23
23
|
modelValue: {
|
24
24
|
type: StringConstructor;
|
25
25
|
default: string;
|
@@ -41,13 +41,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
41
41
|
default: string;
|
42
42
|
};
|
43
43
|
}>> & {
|
44
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
45
44
|
onInput?: ((...args: any[]) => any) | undefined;
|
46
45
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
46
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
47
47
|
}, {
|
48
|
-
accept: string;
|
49
|
-
placeholder: string;
|
50
48
|
modelValue: string;
|
49
|
+
placeholder: string;
|
50
|
+
accept: string;
|
51
51
|
showInput: boolean;
|
52
52
|
imgSize: number;
|
53
53
|
}, {}>;
|
@@ -19,7 +19,7 @@ export declare const VideoListInput: import("@vipl520/utils").WithInstall<import
|
|
19
19
|
default: string;
|
20
20
|
type: StringConstructor;
|
21
21
|
};
|
22
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
23
23
|
modelValue: {
|
24
24
|
default: () => never[];
|
25
25
|
type: ArrayConstructor;
|
@@ -41,13 +41,13 @@ export declare const VideoListInput: import("@vipl520/utils").WithInstall<import
|
|
41
41
|
type: StringConstructor;
|
42
42
|
};
|
43
43
|
}>> & {
|
44
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
45
44
|
onInput?: ((...args: any[]) => any) | undefined;
|
46
45
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
46
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
47
47
|
}, {
|
48
|
-
accept: string;
|
49
48
|
modelValue: unknown[];
|
50
49
|
disabled: boolean;
|
50
|
+
accept: string;
|
51
51
|
imgSize: number;
|
52
52
|
limit: number;
|
53
53
|
}, {}>>;
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
19
19
|
default: string;
|
20
20
|
type: StringConstructor;
|
21
21
|
};
|
22
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
23
23
|
modelValue: {
|
24
24
|
default: () => never[];
|
25
25
|
type: ArrayConstructor;
|
@@ -41,13 +41,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
41
41
|
type: StringConstructor;
|
42
42
|
};
|
43
43
|
}>> & {
|
44
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
45
44
|
onInput?: ((...args: any[]) => any) | undefined;
|
46
45
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
46
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
47
47
|
}, {
|
48
|
-
accept: string;
|
49
48
|
modelValue: unknown[];
|
50
49
|
disabled: boolean;
|
50
|
+
accept: string;
|
51
51
|
imgSize: number;
|
52
52
|
limit: number;
|
53
53
|
}, {}>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vipl520/dk-ui",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.21",
|
4
4
|
"description": "Vant extension components.",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"module": "es/index.mjs",
|
@@ -34,10 +34,10 @@
|
|
34
34
|
"@vueuse/core": "^10.0.0",
|
35
35
|
"axios": "^1.4.0",
|
36
36
|
"element-plus": "^2.3.8",
|
37
|
+
"unocss": "^0.58.0",
|
37
38
|
"vant": "^4.7.0",
|
38
39
|
"vue": "^3.2.0",
|
39
|
-
"vue3-draggable-resizable": "^1.6.5"
|
40
|
-
"unocss": "^0.58.0"
|
40
|
+
"vue3-draggable-resizable": "^1.6.5"
|
41
41
|
},
|
42
42
|
"dependencies": {
|
43
43
|
"@form-create/utils": "^3.1.15",
|
@@ -48,8 +48,8 @@
|
|
48
48
|
"lodash": "^4.17.21",
|
49
49
|
"lodash-es": "^4.17.21",
|
50
50
|
"sortablejs": "1.15.0",
|
51
|
-
"vue3-draggable-resizable": "^1.6.5",
|
52
51
|
"unocss": "^0.56.5",
|
52
|
+
"vue3-draggable-resizable": "^1.6.5",
|
53
53
|
"vuedraggable": "4.1.0"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|