ll-plus 2.0.15 → 2.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/component.mjs +6 -2
- package/es/component.mjs.map +1 -1
- package/es/components/advanced-filtering/index.d.ts +67 -52
- package/es/components/advanced-filtering/index.mjs +1 -1
- package/es/components/advanced-filtering/src/advanced-filtering.d.ts +17 -2
- package/es/components/advanced-filtering/src/advanced-filtering.mjs +13 -1
- package/es/components/advanced-filtering/src/advanced-filtering.mjs.map +1 -1
- package/es/components/advanced-filtering/src/advanced-filtering.vue.d.ts +38 -29
- package/es/components/advanced-filtering/src/advanced-filtering.vue2.mjs +2 -2
- package/es/components/advanced-filtering/src/advanced-filtering.vue2.mjs.map +1 -1
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +19 -16
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue2.mjs +2 -2
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue2.mjs.map +1 -1
- package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +10 -7
- package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.mjs +3 -4
- package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.mjs.map +1 -1
- package/es/components/checkbox/index.d.ts +1914 -196
- package/es/components/checkbox/index.mjs +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +1613 -148
- package/es/components/checkbox/src/checkbox-group.vue2.mjs +62 -48
- package/es/components/checkbox/src/checkbox-group.vue2.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.d.ts +199 -63
- package/es/components/checkbox/src/checkbox.mjs +15 -12
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +308 -55
- package/es/components/checkbox/src/checkbox.vue2.mjs +32 -48
- package/es/components/checkbox/src/checkbox.vue2.mjs.map +1 -1
- package/es/components/drawer/index.d.ts +15 -10
- package/es/components/drawer/index.mjs +1 -1
- package/es/components/drawer/src/drawer.d.ts +23 -0
- package/es/components/drawer/src/drawer.mjs +23 -1
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +15 -10
- package/es/components/drawer/src/drawer.vue2.mjs +2 -4
- package/es/components/drawer/src/drawer.vue2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +11 -7
- package/es/components/dropdown/index.mjs +1 -1
- package/es/components/dropdown/src/dropdown-button.vue.d.ts +5 -3
- package/es/components/dropdown/src/dropdown-button.vue2.mjs +2 -2
- package/es/components/dropdown/src/dropdown-button.vue2.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +8 -0
- package/es/components/dropdown/src/dropdown.mjs +7 -1
- package/es/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +6 -4
- package/es/components/dropdown/src/dropdown.vue2.mjs +3 -3
- package/es/components/dropdown/src/dropdown.vue2.mjs.map +1 -1
- package/es/components/form/index.d.ts +10 -10
- package/es/components/form/src/form.vue.d.ts +10 -10
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +12 -11
- package/es/components/index.mjs.map +1 -1
- package/es/components/input/index.d.ts +2 -2
- package/es/components/input/src/input.vue.d.ts +2 -2
- package/es/components/input-number/index.d.ts +9 -6
- package/es/components/input-number/index.mjs +1 -1
- package/es/components/input-number/src/input-number.d.ts +5 -0
- package/es/components/input-number/src/input-number.mjs +5 -1
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +9 -6
- package/es/components/input-number/src/input-number.vue2.mjs +2 -2
- package/es/components/input-number/src/input-number.vue2.mjs.map +1 -1
- package/es/components/modal/index.d.ts +12 -8
- package/es/components/modal/index.mjs +1 -1
- package/es/components/modal/src/modal.d.ts +12 -0
- package/es/components/modal/src/modal.mjs +12 -1
- package/es/components/modal/src/modal.mjs.map +1 -1
- package/es/components/modal/src/modal.vue.d.ts +12 -8
- package/es/components/modal/src/modal.vue2.mjs +3 -3
- package/es/components/modal/src/modal.vue2.mjs.map +1 -1
- package/es/components/select/index.d.ts +848 -26
- package/es/components/select/index.mjs +6 -2
- package/es/components/select/index.mjs.map +1 -1
- package/es/components/select/src/select-opt-group.vue.d.ts +26 -0
- package/es/components/select/src/select-opt-group.vue.mjs +8 -0
- package/es/components/select/src/select-opt-group.vue.mjs.map +1 -0
- package/es/components/select/src/select-opt-group.vue2.mjs +36 -0
- package/es/components/select/src/select-opt-group.vue2.mjs.map +1 -0
- package/es/components/select/src/select-option.vue.d.ts +45 -0
- package/es/components/select/src/select-option.vue.mjs +8 -0
- package/es/components/select/src/select-option.vue.mjs.map +1 -0
- package/es/components/select/src/select-option.vue2.mjs +36 -0
- package/es/components/select/src/select-option.vue2.mjs.map +1 -0
- package/es/components/select/src/select.d.ts +24 -7
- package/es/components/select/src/select.mjs +21 -8
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +780 -31
- package/es/components/select/src/select.vue2.mjs +7 -28
- package/es/components/select/src/select.vue2.mjs.map +1 -1
- package/es/components/switch/index.d.ts +213 -52
- package/es/components/switch/index.mjs +1 -1
- package/es/components/switch/src/switch.d.ts +3 -18
- package/es/components/switch/src/switch.mjs +0 -19
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch.vue.d.ts +213 -52
- package/es/components/switch/src/switch.vue2.mjs +18 -52
- package/es/components/switch/src/switch.vue2.mjs.map +1 -1
- package/es/components/table/src/components/header-search.vue2.mjs.map +1 -1
- package/es/components/tabs-simple/index.d.ts +9 -6
- package/es/components/tabs-simple/index.mjs +1 -1
- package/es/components/tabs-simple/src/tabs-simple.d.ts +5 -0
- package/es/components/tabs-simple/src/tabs-simple.mjs +5 -1
- package/es/components/tabs-simple/src/tabs-simple.mjs.map +1 -1
- package/es/components/tabs-simple/src/tabs-simple.vue.d.ts +9 -6
- package/es/components/tabs-simple/src/tabs-simple.vue2.mjs +2 -2
- package/es/components/tabs-simple/src/tabs-simple.vue2.mjs.map +1 -1
- package/es/components/tree/index.d.ts +18 -27
- package/es/components/tree/index.mjs +1 -1
- package/es/components/tree/src/tree.d.ts +10 -10
- package/es/components/tree/src/tree.mjs +11 -4
- package/es/components/tree/src/tree.mjs.map +1 -1
- package/es/components/tree/src/tree.vue.d.ts +18 -27
- package/es/components/tree/src/tree.vue2.mjs +2 -2
- package/es/components/tree/src/tree.vue2.mjs.map +1 -1
- package/es/components/upload-drag/index.d.ts +109 -0
- package/es/components/upload-drag/index.mjs +10 -0
- package/es/components/upload-drag/index.mjs.map +1 -0
- package/es/components/upload-drag/src/upload-drag.d.ts +26 -0
- package/es/components/upload-drag/src/upload-drag.mjs +30 -0
- package/es/components/upload-drag/src/upload-drag.mjs.map +1 -0
- package/es/components/upload-drag/src/upload-drag.vue.d.ts +102 -0
- package/es/components/upload-drag/src/upload-drag.vue.mjs +8 -0
- package/es/components/upload-drag/src/upload-drag.vue.mjs.map +1 -0
- package/es/components/upload-drag/src/upload-drag.vue2.mjs +191 -0
- package/es/components/upload-drag/src/upload-drag.vue2.mjs.map +1 -0
- package/es/index.mjs +12 -11
- package/es/index.mjs.map +1 -1
- package/index.full.js +640 -364
- package/index.full.min.js +20 -20
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +19 -19
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +624 -362
- package/lib/component.js +5 -1
- package/lib/component.js.map +1 -1
- package/lib/components/advanced-filtering/index.d.ts +67 -52
- package/lib/components/advanced-filtering/index.js +3 -0
- package/lib/components/advanced-filtering/index.js.map +1 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.d.ts +17 -2
- package/lib/components/advanced-filtering/src/advanced-filtering.js +15 -0
- package/lib/components/advanced-filtering/src/advanced-filtering.js.map +1 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.vue.d.ts +38 -29
- package/lib/components/advanced-filtering/src/advanced-filtering.vue2.js +1 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.vue2.js.map +1 -1
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +19 -16
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue2.js +1 -1
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue2.js.map +1 -1
- package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +10 -7
- package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.js +2 -3
- package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.js.map +1 -1
- package/lib/components/checkbox/index.d.ts +1914 -196
- package/lib/components/checkbox/index.js +1 -2
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +1613 -148
- package/lib/components/checkbox/src/checkbox-group.vue2.js +61 -47
- package/lib/components/checkbox/src/checkbox-group.vue2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.d.ts +199 -63
- package/lib/components/checkbox/src/checkbox.js +15 -13
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +308 -55
- package/lib/components/checkbox/src/checkbox.vue2.js +31 -47
- package/lib/components/checkbox/src/checkbox.vue2.js.map +1 -1
- package/lib/components/drawer/index.d.ts +15 -10
- package/lib/components/drawer/index.js +2 -0
- package/lib/components/drawer/index.js.map +1 -1
- package/lib/components/drawer/src/drawer.d.ts +23 -0
- package/lib/components/drawer/src/drawer.js +24 -0
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +15 -10
- package/lib/components/drawer/src/drawer.vue2.js +2 -4
- package/lib/components/drawer/src/drawer.vue2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +11 -7
- package/lib/components/dropdown/index.js +2 -0
- package/lib/components/dropdown/index.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-button.vue.d.ts +5 -3
- package/lib/components/dropdown/src/dropdown-button.vue2.js +1 -1
- package/lib/components/dropdown/src/dropdown-button.vue2.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +8 -0
- package/lib/components/dropdown/src/dropdown.js +8 -0
- package/lib/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +6 -4
- package/lib/components/dropdown/src/dropdown.vue2.js +2 -2
- package/lib/components/dropdown/src/dropdown.vue2.js.map +1 -1
- package/lib/components/form/index.d.ts +10 -10
- package/lib/components/form/src/form.vue.d.ts +10 -10
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +20 -5
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/index.d.ts +2 -2
- package/lib/components/input/src/input.vue.d.ts +2 -2
- package/lib/components/input-number/index.d.ts +9 -6
- package/lib/components/input-number/index.js +1 -0
- package/lib/components/input-number/index.js.map +1 -1
- package/lib/components/input-number/src/input-number.d.ts +5 -0
- package/lib/components/input-number/src/input-number.js +5 -0
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +9 -6
- package/lib/components/input-number/src/input-number.vue2.js +1 -1
- package/lib/components/input-number/src/input-number.vue2.js.map +1 -1
- package/lib/components/modal/index.d.ts +12 -8
- package/lib/components/modal/index.js +1 -0
- package/lib/components/modal/index.js.map +1 -1
- package/lib/components/modal/src/modal.d.ts +12 -0
- package/lib/components/modal/src/modal.js +12 -0
- package/lib/components/modal/src/modal.js.map +1 -1
- package/lib/components/modal/src/modal.vue.d.ts +12 -8
- package/lib/components/modal/src/modal.vue2.js +2 -2
- package/lib/components/modal/src/modal.vue2.js.map +1 -1
- package/lib/components/select/index.d.ts +848 -26
- package/lib/components/select/index.js +8 -1
- package/lib/components/select/index.js.map +1 -1
- package/lib/components/select/src/select-opt-group.vue.d.ts +26 -0
- package/lib/components/select/src/select-opt-group.vue.js +12 -0
- package/lib/components/select/src/select-opt-group.vue.js.map +1 -0
- package/lib/components/select/src/select-opt-group.vue2.js +40 -0
- package/lib/components/select/src/select-opt-group.vue2.js.map +1 -0
- package/lib/components/select/src/select-option.vue.d.ts +45 -0
- package/lib/components/select/src/select-option.vue.js +12 -0
- package/lib/components/select/src/select-option.vue.js.map +1 -0
- package/lib/components/select/src/select-option.vue2.js +40 -0
- package/lib/components/select/src/select-option.vue2.js.map +1 -0
- package/lib/components/select/src/select.d.ts +24 -7
- package/lib/components/select/src/select.js +22 -8
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +780 -31
- package/lib/components/select/src/select.vue2.js +6 -27
- package/lib/components/select/src/select.vue2.js.map +1 -1
- package/lib/components/switch/index.d.ts +213 -52
- package/lib/components/switch/index.js +3 -4
- package/lib/components/switch/index.js.map +1 -1
- package/lib/components/switch/src/switch.d.ts +3 -18
- package/lib/components/switch/src/switch.js +0 -19
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +213 -52
- package/lib/components/switch/src/switch.vue2.js +17 -51
- package/lib/components/switch/src/switch.vue2.js.map +1 -1
- package/lib/components/table/src/components/header-search.vue2.js.map +1 -1
- package/lib/components/tabs-simple/index.d.ts +9 -6
- package/lib/components/tabs-simple/index.js +1 -0
- package/lib/components/tabs-simple/index.js.map +1 -1
- package/lib/components/tabs-simple/src/tabs-simple.d.ts +5 -0
- package/lib/components/tabs-simple/src/tabs-simple.js +5 -0
- package/lib/components/tabs-simple/src/tabs-simple.js.map +1 -1
- package/lib/components/tabs-simple/src/tabs-simple.vue.d.ts +9 -6
- package/lib/components/tabs-simple/src/tabs-simple.vue2.js +1 -1
- package/lib/components/tabs-simple/src/tabs-simple.vue2.js.map +1 -1
- package/lib/components/tree/index.d.ts +18 -27
- package/lib/components/tree/index.js +1 -0
- package/lib/components/tree/index.js.map +1 -1
- package/lib/components/tree/src/tree.d.ts +10 -10
- package/lib/components/tree/src/tree.js +11 -3
- package/lib/components/tree/src/tree.js.map +1 -1
- package/lib/components/tree/src/tree.vue.d.ts +18 -27
- package/lib/components/tree/src/tree.vue2.js +1 -1
- package/lib/components/tree/src/tree.vue2.js.map +1 -1
- package/lib/components/upload-drag/index.d.ts +109 -0
- package/lib/components/upload-drag/index.js +16 -0
- package/lib/components/upload-drag/index.js.map +1 -0
- package/lib/components/upload-drag/src/upload-drag.d.ts +26 -0
- package/lib/components/upload-drag/src/upload-drag.js +32 -0
- package/lib/components/upload-drag/src/upload-drag.js.map +1 -0
- package/lib/components/upload-drag/src/upload-drag.vue.d.ts +102 -0
- package/lib/components/upload-drag/src/upload-drag.vue.js +12 -0
- package/lib/components/upload-drag/src/upload-drag.vue.js.map +1 -0
- package/lib/components/upload-drag/src/upload-drag.vue2.js +195 -0
- package/lib/components/upload-drag/src/upload-drag.vue2.js.map +1 -0
- package/lib/index.js +20 -5
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/theme-chalk/css/upload-drag.css +0 -0
- package/types/packages/components/advanced-filtering/index.d.ts +67 -52
- package/types/packages/components/advanced-filtering/src/advanced-filtering.d.ts +17 -2
- package/types/packages/components/advanced-filtering/src/advanced-filtering.vue.d.ts +38 -29
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +19 -16
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +10 -7
- package/types/packages/components/checkbox/index.d.ts +1914 -196
- package/types/packages/components/checkbox/src/checkbox-group.vue.d.ts +1613 -148
- package/types/packages/components/checkbox/src/checkbox.d.ts +199 -63
- package/types/packages/components/checkbox/src/checkbox.vue.d.ts +308 -55
- package/types/packages/components/drawer/index.d.ts +15 -10
- package/types/packages/components/drawer/src/drawer.d.ts +23 -0
- package/types/packages/components/drawer/src/drawer.vue.d.ts +15 -10
- package/types/packages/components/dropdown/index.d.ts +11 -7
- package/types/packages/components/dropdown/src/dropdown-button.vue.d.ts +5 -3
- package/types/packages/components/dropdown/src/dropdown.d.ts +8 -0
- package/types/packages/components/dropdown/src/dropdown.vue.d.ts +6 -4
- package/types/packages/components/form/index.d.ts +10 -10
- package/types/packages/components/form/src/form.vue.d.ts +10 -10
- package/types/packages/components/index.d.ts +1 -0
- package/types/packages/components/input/index.d.ts +2 -2
- package/types/packages/components/input/src/input.vue.d.ts +2 -2
- package/types/packages/components/input-number/index.d.ts +9 -6
- package/types/packages/components/input-number/src/input-number.d.ts +5 -0
- package/types/packages/components/input-number/src/input-number.vue.d.ts +9 -6
- package/types/packages/components/modal/index.d.ts +12 -8
- package/types/packages/components/modal/src/modal.d.ts +12 -0
- package/types/packages/components/modal/src/modal.vue.d.ts +12 -8
- package/types/packages/components/select/index.d.ts +848 -26
- package/types/packages/components/select/src/select-opt-group.vue.d.ts +26 -0
- package/types/packages/components/select/src/select-option.vue.d.ts +45 -0
- package/types/packages/components/select/src/select.d.ts +24 -7
- package/types/packages/components/select/src/select.vue.d.ts +780 -31
- package/types/packages/components/switch/index.d.ts +213 -52
- package/types/packages/components/switch/src/switch.d.ts +3 -18
- package/types/packages/components/switch/src/switch.vue.d.ts +213 -52
- package/types/packages/components/tabs-simple/index.d.ts +9 -6
- package/types/packages/components/tabs-simple/src/tabs-simple.d.ts +5 -0
- package/types/packages/components/tabs-simple/src/tabs-simple.vue.d.ts +9 -6
- package/types/packages/components/tree/index.d.ts +18 -27
- package/types/packages/components/tree/src/tree.d.ts +10 -10
- package/types/packages/components/tree/src/tree.vue.d.ts +18 -27
- package/types/packages/components/upload-drag/index.d.ts +109 -0
- package/types/packages/components/upload-drag/src/upload-drag.d.ts +26 -0
- package/types/packages/components/upload-drag/src/upload-drag.vue.d.ts +102 -0
- package/es/components/drawer/src/config/drawer.d.ts +0 -7
- package/es/components/drawer/src/config/drawer.mjs +0 -11
- package/es/components/drawer/src/config/drawer.mjs.map +0 -1
- package/es/components/drawer/src/config/index.d.ts +0 -1
- package/es/components/drawer/src/config/index.mjs +0 -4
- package/es/components/drawer/src/config/index.mjs.map +0 -1
- package/lib/components/drawer/src/config/drawer.d.ts +0 -7
- package/lib/components/drawer/src/config/drawer.js +0 -13
- package/lib/components/drawer/src/config/drawer.js.map +0 -1
- package/lib/components/drawer/src/config/index.d.ts +0 -1
- package/lib/components/drawer/src/config/index.js +0 -8
- package/lib/components/drawer/src/config/index.js.map +0 -1
- package/types/packages/components/drawer/src/config/drawer.d.ts +0 -7
- package/types/packages/components/drawer/src/config/index.d.ts +0 -1
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var antDesignVue = require('ant-design-vue');
|
|
7
|
+
var uploadDrag = require('./upload-drag.js');
|
|
8
|
+
require('../../../utils/index.js');
|
|
9
|
+
var createNamespace = require('../../../utils/create-namespace.js');
|
|
10
|
+
|
|
11
|
+
"use strict";
|
|
12
|
+
const _hoisted_1 = { class: "ant-upload-drag-icon" };
|
|
13
|
+
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode(
|
|
14
|
+
"p",
|
|
15
|
+
{ class: "ant-upload-text" },
|
|
16
|
+
[
|
|
17
|
+
/* @__PURE__ */ vue.createTextVNode(" \u5C06\u6587\u4EF6\u62D6\u5230\u6B64\u5904\uFF0C\u6216 "),
|
|
18
|
+
/* @__PURE__ */ vue.createElementVNode("a", null, "\u70B9\u51FB\u4E0A\u4F20")
|
|
19
|
+
],
|
|
20
|
+
-1
|
|
21
|
+
/* HOISTED */
|
|
22
|
+
);
|
|
23
|
+
const _hoisted_3 = { class: "ant-upload-hint" };
|
|
24
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
25
|
+
...{ name: "LlUploadDrag" },
|
|
26
|
+
__name: "upload-drag",
|
|
27
|
+
props: uploadDrag.ILlUploadDragProps,
|
|
28
|
+
emits: [
|
|
29
|
+
"update:value",
|
|
30
|
+
"customRequest",
|
|
31
|
+
"cancel",
|
|
32
|
+
"confirm"
|
|
33
|
+
],
|
|
34
|
+
setup(__props, { emit: __emit }) {
|
|
35
|
+
const attrs = vue.useAttrs();
|
|
36
|
+
const props = __props;
|
|
37
|
+
const emits = __emit;
|
|
38
|
+
const bem = createNamespace.createNamespace("upload-drag");
|
|
39
|
+
const visible = vue.ref(false);
|
|
40
|
+
const originalFileList = vue.ref([]);
|
|
41
|
+
vue.watchEffect(() => {
|
|
42
|
+
if (visible.value) {
|
|
43
|
+
originalFileList.value = [...props.value];
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
const fileList = vue.ref([]);
|
|
47
|
+
vue.watch(
|
|
48
|
+
() => props.value,
|
|
49
|
+
(arr) => {
|
|
50
|
+
fileList.value = arr;
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
const checkFileType = (file) => {
|
|
54
|
+
const fileType = file.type.toLowerCase().split("/")[1];
|
|
55
|
+
const isType = !props.accept ? true : props.accept.includes(fileType);
|
|
56
|
+
if (!isType && !!props.accept) {
|
|
57
|
+
antDesignVue.message.error(
|
|
58
|
+
`${file.name} \u9700\u8981\u4E3A${props.accept.split(",").map((ext) => ext.substring(1)).join("/")}\u683C\u5F0F`
|
|
59
|
+
);
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return true;
|
|
63
|
+
};
|
|
64
|
+
const checkFileSize = (file) => {
|
|
65
|
+
const isSize = !props.fileSize ? true : file.size <= props.fileSize;
|
|
66
|
+
if (!isSize) {
|
|
67
|
+
antDesignVue.message.error(`${file.name} \u6587\u4EF6\u8FC7\u5927`);
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return true;
|
|
71
|
+
};
|
|
72
|
+
const beforeUpload = async (file) => {
|
|
73
|
+
return checkFileType(file) && checkFileSize(file);
|
|
74
|
+
};
|
|
75
|
+
const customRequest = async (res) => {
|
|
76
|
+
fileList.value.push(res.file);
|
|
77
|
+
emits("customRequest", res);
|
|
78
|
+
console.log(fileList.value, "fileList.value123");
|
|
79
|
+
};
|
|
80
|
+
const handleRemove = async (e) => {
|
|
81
|
+
fileList.value = fileList.value.filter((item) => item.uid !== e.uid);
|
|
82
|
+
};
|
|
83
|
+
const handleDragReject = () => {
|
|
84
|
+
antDesignVue.message.error("\u8BF7\u4E0A\u4F20\u6B63\u786E\u7684\u6587\u4EF6\u683C\u5F0F");
|
|
85
|
+
};
|
|
86
|
+
const handleClickCancelBtn = () => {
|
|
87
|
+
fileList.value = originalFileList.value;
|
|
88
|
+
emits("update:value", originalFileList.value);
|
|
89
|
+
emits("cancel");
|
|
90
|
+
visible.value = false;
|
|
91
|
+
};
|
|
92
|
+
const handleClickOkBtn = () => {
|
|
93
|
+
console.log(fileList.value, "fileList.value");
|
|
94
|
+
emits("update:value", fileList.value);
|
|
95
|
+
emits("confirm");
|
|
96
|
+
visible.value = false;
|
|
97
|
+
};
|
|
98
|
+
return (_ctx, _cache) => {
|
|
99
|
+
const _component_ll_icon = vue.resolveComponent("ll-icon");
|
|
100
|
+
const _component_a_upload_dragger = vue.resolveComponent("a-upload-dragger");
|
|
101
|
+
const _component_ll_modal = vue.resolveComponent("ll-modal");
|
|
102
|
+
const _component_ll_button = vue.resolveComponent("ll-button");
|
|
103
|
+
return vue.openBlock(), vue.createElementBlock(
|
|
104
|
+
vue.Fragment,
|
|
105
|
+
null,
|
|
106
|
+
[
|
|
107
|
+
vue.createVNode(_component_ll_modal, {
|
|
108
|
+
class: vue.normalizeClass(vue.unref(bem).b()),
|
|
109
|
+
type: "upload",
|
|
110
|
+
title: "\u4E0A\u4F20\u6587\u4EF6",
|
|
111
|
+
open: visible.value,
|
|
112
|
+
keyboard: false,
|
|
113
|
+
"mask-closable": false,
|
|
114
|
+
width: "900px",
|
|
115
|
+
onCancel: handleClickCancelBtn,
|
|
116
|
+
onOk: handleClickOkBtn
|
|
117
|
+
}, {
|
|
118
|
+
default: vue.withCtx(() => [
|
|
119
|
+
vue.createElementVNode("div", null, [
|
|
120
|
+
vue.createVNode(_component_a_upload_dragger, vue.mergeProps(vue.unref(attrs), {
|
|
121
|
+
accept: props.accept,
|
|
122
|
+
multiple: props.multiple,
|
|
123
|
+
"file-size": props.fileSize,
|
|
124
|
+
"before-upload": beforeUpload,
|
|
125
|
+
"custom-request": customRequest,
|
|
126
|
+
"file-list": fileList.value,
|
|
127
|
+
onReject: handleDragReject,
|
|
128
|
+
onRemove: handleRemove
|
|
129
|
+
}), {
|
|
130
|
+
iconRender: vue.withCtx(() => [
|
|
131
|
+
vue.createVNode(_component_ll_icon, { "icon-name": "icon-connect" })
|
|
132
|
+
]),
|
|
133
|
+
removeIcon: vue.withCtx(() => [
|
|
134
|
+
vue.createVNode(_component_ll_icon, { "icon-name": "icon-delete" })
|
|
135
|
+
]),
|
|
136
|
+
default: vue.withCtx(() => [
|
|
137
|
+
vue.createElementVNode("p", _hoisted_1, [
|
|
138
|
+
vue.createVNode(_component_ll_icon, {
|
|
139
|
+
"icon-name": "icon-file",
|
|
140
|
+
color: "#1890ff"
|
|
141
|
+
})
|
|
142
|
+
]),
|
|
143
|
+
_hoisted_2,
|
|
144
|
+
vue.createElementVNode(
|
|
145
|
+
"p",
|
|
146
|
+
_hoisted_3,
|
|
147
|
+
vue.toDisplayString(props.tip ? props.tip : "\u652F\u6301\u5355\u4E2A\u6216\u591A\u4E2A\u4E0A\u4F20\uFF0C\u4E25\u7981\u4E0A\u4F20\u516C\u53F8\u6570\u636E\u6216\u5176\u4ED6\u88AB\u7981\u6B62\u7684\u6587\u4EF6\uFF01"),
|
|
148
|
+
1
|
|
149
|
+
/* TEXT */
|
|
150
|
+
)
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
/* STABLE */
|
|
154
|
+
}, 16, ["accept", "multiple", "file-size", "file-list"])
|
|
155
|
+
])
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
/* STABLE */
|
|
159
|
+
}, 8, ["class", "open"]),
|
|
160
|
+
!_ctx.$slots.buttonContent ? (vue.openBlock(), vue.createBlock(_component_ll_button, {
|
|
161
|
+
key: 0,
|
|
162
|
+
disabled: props.disabled,
|
|
163
|
+
onClick: _cache[0] || (_cache[0] = ($event) => visible.value = true)
|
|
164
|
+
}, {
|
|
165
|
+
icon: vue.withCtx(() => [
|
|
166
|
+
vue.createVNode(_component_ll_icon, { "icon-name": "icon-upload" })
|
|
167
|
+
]),
|
|
168
|
+
default: vue.withCtx(() => [
|
|
169
|
+
vue.createTextVNode(" \u4E0A\u4F20\u6587\u4EF6 ")
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
/* STABLE */
|
|
173
|
+
}, 8, ["disabled"])) : (vue.openBlock(), vue.createBlock(_component_ll_button, {
|
|
174
|
+
key: 1,
|
|
175
|
+
type: "link",
|
|
176
|
+
class: "button-content-btn",
|
|
177
|
+
disabled: props.disabled,
|
|
178
|
+
onClick: _cache[1] || (_cache[1] = ($event) => visible.value = true)
|
|
179
|
+
}, {
|
|
180
|
+
default: vue.withCtx(() => [
|
|
181
|
+
vue.renderSlot(_ctx.$slots, "buttonContent")
|
|
182
|
+
]),
|
|
183
|
+
_: 3
|
|
184
|
+
/* FORWARDED */
|
|
185
|
+
}, 8, ["disabled"]))
|
|
186
|
+
],
|
|
187
|
+
64
|
|
188
|
+
/* STABLE_FRAGMENT */
|
|
189
|
+
);
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
exports.default = _sfc_main;
|
|
195
|
+
//# sourceMappingURL=upload-drag.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-drag.vue2.js","sources":["../../../../../packages/components/upload-drag/src/upload-drag.vue"],"sourcesContent":["<template>\r\n <ll-modal\r\n :class=\"bem.b()\"\r\n type=\"upload\"\r\n title=\"上传文件\"\r\n :open=\"visible\"\r\n :keyboard=\"false\"\r\n :mask-closable=\"false\"\r\n :width=\"'900px'\"\r\n @cancel=\"handleClickCancelBtn\"\r\n @ok=\"handleClickOkBtn\"\r\n >\r\n <div>\r\n <a-upload-dragger\r\n v-bind=\"attrs\"\r\n :accept=\"props.accept\"\r\n :multiple=\"props.multiple\"\r\n :file-size=\"props.fileSize\"\r\n :before-upload=\"beforeUpload\"\r\n :custom-request=\"customRequest\"\r\n :file-list=\"fileList\"\r\n @reject=\"handleDragReject\"\r\n @remove=\"handleRemove\"\r\n >\r\n <template #iconRender>\r\n <ll-icon icon-name=\"icon-connect\" />\r\n </template>\r\n <template #removeIcon>\r\n <ll-icon icon-name=\"icon-delete\" />\r\n </template>\r\n <p class=\"ant-upload-drag-icon\">\r\n <ll-icon icon-name=\"icon-file\" color=\"#1890ff\" />\r\n </p>\r\n <p class=\"ant-upload-text\">\r\n 将文件拖到此处,或\r\n <a>点击上传</a>\r\n </p>\r\n <p class=\"ant-upload-hint\">\r\n {{\r\n props.tip\r\n ? props.tip\r\n : '支持单个或多个上传,严禁上传公司数据或其他被禁止的文件!'\r\n }}\r\n </p>\r\n </a-upload-dragger>\r\n </div>\r\n </ll-modal>\r\n <ll-button\r\n v-if=\"!$slots.buttonContent\"\r\n :disabled=\"props.disabled\"\r\n @click=\"visible = true\"\r\n >\r\n <template #icon>\r\n <ll-icon icon-name=\"icon-upload\" />\r\n </template>\r\n 上传文件\r\n </ll-button>\r\n <ll-button\r\n v-else\r\n type=\"link\"\r\n class=\"button-content-btn\"\r\n :disabled=\"props.disabled\"\r\n @click=\"visible = true\"\r\n >\r\n <slot name=\"buttonContent\" />\r\n </ll-button>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\n// import * as fileApi from '@/api/file'\r\n\r\nimport { ref, watch, watchEffect, useAttrs } from 'vue'\r\nimport { message } from 'ant-design-vue'\r\nimport type { UploadProps } from 'ant-design-vue'\r\nimport { ILlUploadDragProps } from './upload-drag'\r\n\r\nimport { createNamespace } from '@ll-plus/utils'\r\nconst attrs = useAttrs()\r\ndefineOptions({ name: 'LlUploadDrag' })\r\n\r\nconst props = defineProps(ILlUploadDragProps)\r\nconst emits = defineEmits([\r\n 'update:value',\r\n 'customRequest',\r\n 'cancel',\r\n 'confirm'\r\n])\r\nconst bem = createNamespace('upload-drag')\r\nconst visible = ref(false)\r\nconst originalFileList = ref<any[]>([])\r\n\r\nwatchEffect(() => {\r\n if (visible.value) {\r\n originalFileList.value = [...props.value] // 使用浅拷贝代替深拷贝\r\n }\r\n})\r\n\r\nconst fileList = ref<any[]>([])\r\nwatch(\r\n () => props.value,\r\n arr => {\r\n fileList.value = arr\r\n }\r\n)\r\nconst checkFileType = (file: any) => {\r\n const fileType = file.type.toLowerCase().split('/')[1]\r\n const isType = !props.accept ? true : props.accept.includes(fileType)\r\n if (!isType && !!props.accept) {\r\n message.error(\r\n `${file.name} 需要为${props.accept\r\n .split(',')\r\n .map(ext => ext.substring(1))\r\n .join('/')}格式`\r\n )\r\n return false\r\n }\r\n return true\r\n}\r\nconst checkFileSize = (file: any) => {\r\n const isSize = !props.fileSize ? true : file.size <= props.fileSize\r\n if (!isSize) {\r\n message.error(`${file.name} 文件过大`)\r\n return false\r\n }\r\n return true\r\n}\r\n\r\nconst beforeUpload: UploadProps['beforeUpload'] = async file => {\r\n return checkFileType(file) && checkFileSize(file)\r\n}\r\nconst customRequest: UploadProps['customRequest'] = async (res: any) => {\r\n fileList.value.push(res.file)\r\n emits('customRequest', res)\r\n console.log(fileList.value, 'fileList.value123')\r\n}\r\nconst handleRemove = async (e: any) => {\r\n fileList.value = fileList.value.filter(item => item.uid !== e.uid)\r\n}\r\n// 拖拽不符合accept的\r\nconst handleDragReject = () => {\r\n message.error('请上传正确的文件格式')\r\n}\r\nconst handleClickCancelBtn = () => {\r\n fileList.value = originalFileList.value\r\n emits('update:value', originalFileList.value)\r\n emits('cancel')\r\n visible.value = false\r\n}\r\nconst handleClickOkBtn = () => {\r\n console.log(fileList.value, 'fileList.value')\r\n emits('update:value', fileList.value)\r\n emits('confirm')\r\n visible.value = false\r\n}\r\n</script>\r\n"],"names":["useAttrs","createNamespace","ref","watchEffect","watch","message"],"mappings":"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"}
|
package/lib/index.js
CHANGED
|
@@ -46,7 +46,6 @@ var selectGroup = require('./components/select-group/src/select-group.js');
|
|
|
46
46
|
var index$m = require('./components/select-group/index.js');
|
|
47
47
|
var index$n = require('./components/space/index.js');
|
|
48
48
|
var index$o = require('./components/steps/index.js');
|
|
49
|
-
var _switch = require('./components/switch/src/switch.js');
|
|
50
49
|
var index$p = require('./components/switch/index.js');
|
|
51
50
|
var headerSearch = require('./components/table/src/config/header-search.js');
|
|
52
51
|
var mainTable = require('./components/table/src/config/main-table.js');
|
|
@@ -68,13 +67,18 @@ var tree = require('./components/tree/src/tree.js');
|
|
|
68
67
|
var index$w = require('./components/tree/index.js');
|
|
69
68
|
var dropdown = require('./components/dropdown/src/dropdown.js');
|
|
70
69
|
var index$x = require('./components/dropdown/index.js');
|
|
70
|
+
var uploadDrag = require('./components/upload-drag/src/upload-drag.js');
|
|
71
|
+
var index$y = require('./components/upload-drag/index.js');
|
|
71
72
|
|
|
72
73
|
"use strict";
|
|
73
74
|
const install = defaults.default.install;
|
|
74
75
|
|
|
75
76
|
exports.default = defaults.default;
|
|
77
|
+
exports.advancedFilteringEmits = advancedFiltering.advancedFilteringEmits;
|
|
78
|
+
exports.advancedFilteringParamsEmits = advancedFiltering.advancedFilteringParamsEmits;
|
|
76
79
|
exports.advancedFilteringParamsProps = advancedFiltering.advancedFilteringParamsProps;
|
|
77
80
|
exports.advancedFilteringProps = advancedFiltering.advancedFilteringProps;
|
|
81
|
+
exports.advancedFilteringTagsEmits = advancedFiltering.advancedFilteringTagsEmits;
|
|
78
82
|
exports.LlAdvancedFiltering = index.LlAdvancedFiltering;
|
|
79
83
|
exports.LlAdvancedFilteringParams = index.LlAdvancedFilteringParams;
|
|
80
84
|
exports.LlAdvancedFilteringTags = index.LlAdvancedFilteringTags;
|
|
@@ -85,8 +89,7 @@ exports.LlAvatar = index$1.LlAvatar;
|
|
|
85
89
|
exports.buttonProps = button.buttonProps;
|
|
86
90
|
exports.LlButton = index$2.LlButton;
|
|
87
91
|
exports.LlCascader = index$3.LlCascader;
|
|
88
|
-
exports.
|
|
89
|
-
exports.CheckboxProps = checkbox.CheckboxProps;
|
|
92
|
+
exports.checkboxGroupProps = checkbox.checkboxGroupProps;
|
|
90
93
|
exports.LlCheckbox = index$4.LlCheckbox;
|
|
91
94
|
exports.LlCheckboxGroup = index$4.LlCheckboxGroup;
|
|
92
95
|
exports.LlConfigProvider = index$5.LlConfigProvider;
|
|
@@ -96,6 +99,8 @@ exports.descriptionsProps = descriptions.descriptionsProps;
|
|
|
96
99
|
exports.LlDescriptions = index$8.LlDescriptions;
|
|
97
100
|
exports.descriptionsItemProps = descriptionsItem.descriptionsItemProps;
|
|
98
101
|
exports.LlDescriptionsItem = index$9.LlDescriptionsItem;
|
|
102
|
+
exports.drawerEmits = drawer.drawerEmits;
|
|
103
|
+
exports.drawerOptions = drawer.drawerOptions;
|
|
99
104
|
exports.drawerProps = drawer.drawerProps;
|
|
100
105
|
exports.LlDrawer = index$a.LlDrawer;
|
|
101
106
|
exports.emptyProps = empty.emptyProps;
|
|
@@ -111,16 +116,21 @@ exports.iconTypes = iconBase.iconTypes;
|
|
|
111
116
|
exports.LlIconBase = index$f.LlIconBase;
|
|
112
117
|
exports.inputProps = input.inputProps;
|
|
113
118
|
exports.LlInput = index$g.LlInput;
|
|
119
|
+
exports.inputNumberEmits = inputNumber.inputNumberEmits;
|
|
114
120
|
exports.inputNumberProps = inputNumber.inputNumberProps;
|
|
115
121
|
exports.LlInputNumber = index$h.LlInputNumber;
|
|
122
|
+
exports.modalEmits = modal.modalEmits;
|
|
116
123
|
exports.modalProps = modal.modalProps;
|
|
117
124
|
exports.LlModal = index$i.LlModal;
|
|
118
125
|
exports.operateIconEmits = operateIcon.operateIconEmits;
|
|
119
126
|
exports.operateIconProps = operateIcon.operateIconProps;
|
|
120
127
|
exports.LlOperateIcon = index$j.LlOperateIcon;
|
|
121
128
|
exports.LlSegmented = index$k.LlSegmented;
|
|
122
|
-
exports.
|
|
129
|
+
exports.selectOptGroupProps = select.selectOptGroupProps;
|
|
130
|
+
exports.selectOptionProps = select.selectOptionProps;
|
|
123
131
|
exports.LlSelect = index$l.LlSelect;
|
|
132
|
+
exports.LlSelectOptGroup = index$l.LlSelectOptGroup;
|
|
133
|
+
exports.LlSelectOption = index$l.LlSelectOption;
|
|
124
134
|
exports.selectGroupData = selectGroup.selectGroupData;
|
|
125
135
|
exports.selectGroupEmits = selectGroup.selectGroupEmits;
|
|
126
136
|
exports.selectGroupFormType = selectGroup.selectGroupFormType;
|
|
@@ -128,7 +138,6 @@ exports.selectGroupProps = selectGroup.selectGroupProps;
|
|
|
128
138
|
exports.LlSelectGroup = index$m.LlSelectGroup;
|
|
129
139
|
exports.LlSpace = index$n.LlSpace;
|
|
130
140
|
exports.LlSteps = index$o.LlSteps;
|
|
131
|
-
exports.SwitchProps = _switch.SwitchProps;
|
|
132
141
|
exports.LlSwitch = index$p.LlSwitch;
|
|
133
142
|
exports.ImenuSwitchType = headerSearch.ImenuSwitchType;
|
|
134
143
|
exports.menuSwitchRadioList = headerSearch.menuSwitchRadioList;
|
|
@@ -139,6 +148,7 @@ exports.mainTableProps = mainTable.mainTableProps;
|
|
|
139
148
|
exports.tablePaginationProps = pagination.tablePaginationProps;
|
|
140
149
|
exports.tableProps = table.tableProps;
|
|
141
150
|
exports.LlTable = index$q.LlTable;
|
|
151
|
+
exports.tabsSimpleEmits = tabsSimple.tabsSimpleEmits;
|
|
142
152
|
exports.tabsSimpleProps = tabsSimple.tabsSimpleProps;
|
|
143
153
|
exports.LlTabsSimple = index$r.LlTabsSimple;
|
|
144
154
|
exports.LlTimePicker = index$s.LlTimePicker;
|
|
@@ -157,11 +167,16 @@ exports.treeSearchEmits = treeSearch.treeSearchEmits;
|
|
|
157
167
|
exports.treeSearchOperateWayType = treeSearch.treeSearchOperateWayType;
|
|
158
168
|
exports.treeSearchProps = treeSearch.treeSearchProps;
|
|
159
169
|
exports.LlTreeSearch = index$v.LlTreeSearch;
|
|
170
|
+
exports.treeEmits = tree.treeEmits;
|
|
160
171
|
exports.treeProps = tree.treeProps;
|
|
161
172
|
exports.LlTree = index$w.LlTree;
|
|
173
|
+
exports.dropdownButtonEmits = dropdown.dropdownButtonEmits;
|
|
162
174
|
exports.dropdownButtonProps = dropdown.dropdownButtonProps;
|
|
175
|
+
exports.dropdownEmits = dropdown.dropdownEmits;
|
|
163
176
|
exports.dropdownProps = dropdown.dropdownProps;
|
|
164
177
|
exports.LlDropdown = index$x.LlDropdown;
|
|
165
178
|
exports.LlDropdownButton = index$x.LlDropdownButton;
|
|
179
|
+
exports.ILlUploadDragProps = uploadDrag.ILlUploadDragProps;
|
|
180
|
+
exports.LlUploadDrag = index$y.LlUploadDrag;
|
|
166
181
|
exports.install = install;
|
|
167
182
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../packages/ll-plus/index.ts"],"sourcesContent":["import installer from './defaults'\n// 按需导入 import {ZIcon} from 'll-plus'\nexport * from '@ll-plus/components/index'\n\nexport const install = installer.install\nexport default installer\n"],"names":["installer"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../packages/ll-plus/index.ts"],"sourcesContent":["import installer from './defaults'\n// 按需导入 import {ZIcon} from 'll-plus'\nexport * from '@ll-plus/components/index'\n\nexport const install = installer.install\nexport default installer\n"],"names":["installer"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIO,MAAM,UAAUA,gBAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
File without changes
|
|
@@ -1131,10 +1131,10 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
1131
1131
|
};
|
|
1132
1132
|
}>>;
|
|
1133
1133
|
readonly overlayStyle: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | undefined) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | undefined))[], unknown, unknown>;
|
|
1134
|
-
readonly onChange?: ((
|
|
1135
|
-
readonly "onUpdate:value"?: ((
|
|
1134
|
+
readonly onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
1135
|
+
readonly "onUpdate:value"?: ((value: Record<string, any>) => any) | undefined;
|
|
1136
1136
|
} & {}>;
|
|
1137
|
-
emits: (event: "change"
|
|
1137
|
+
emits: ((event: "change", value: Record<string, any>) => void) & ((event: "update:value", value: Record<string, any>) => void);
|
|
1138
1138
|
bem: {
|
|
1139
1139
|
b: (blockSuffix?: string) => string;
|
|
1140
1140
|
e: (element?: string) => string;
|
|
@@ -2414,10 +2414,10 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
2414
2414
|
};
|
|
2415
2415
|
}>>;
|
|
2416
2416
|
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2417
|
-
readonly onClose?: ((
|
|
2418
|
-
readonly onConfirm?: ((
|
|
2417
|
+
readonly onClose?: (() => any) | undefined;
|
|
2418
|
+
readonly onConfirm?: (() => any) | undefined;
|
|
2419
2419
|
} & {}>;
|
|
2420
|
-
emits: (event: "close"
|
|
2420
|
+
emits: ((event: "close") => void) & ((event: "confirm") => void);
|
|
2421
2421
|
bem: {
|
|
2422
2422
|
b: (blockSuffix?: string) => string;
|
|
2423
2423
|
e: (element?: string) => string;
|
|
@@ -3751,11 +3751,6 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
3751
3751
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
3752
3752
|
};
|
|
3753
3753
|
}>>;
|
|
3754
|
-
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3755
|
-
readonly formColumns: any[];
|
|
3756
|
-
readonly formData: {
|
|
3757
|
-
[x: string]: any;
|
|
3758
|
-
};
|
|
3759
3754
|
readonly rowOptions: Partial<import("vue").ExtractPropTypes<{
|
|
3760
3755
|
align: {
|
|
3761
3756
|
type: import("vue").PropType<"middle" | "top" | "bottom" | "stretch" | {
|
|
@@ -3803,6 +3798,11 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
3803
3798
|
default: any;
|
|
3804
3799
|
};
|
|
3805
3800
|
}>>;
|
|
3801
|
+
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3802
|
+
readonly formColumns: any[];
|
|
3803
|
+
readonly formData: {
|
|
3804
|
+
[x: string]: any;
|
|
3805
|
+
};
|
|
3806
3806
|
} & {}>;
|
|
3807
3807
|
bem: {
|
|
3808
3808
|
b: (blockSuffix?: string) => string;
|
|
@@ -5141,11 +5141,6 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
5141
5141
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
5142
5142
|
};
|
|
5143
5143
|
}>>;
|
|
5144
|
-
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
5145
|
-
readonly formColumns: any[];
|
|
5146
|
-
readonly formData: {
|
|
5147
|
-
[x: string]: any;
|
|
5148
|
-
};
|
|
5149
5144
|
readonly rowOptions: Partial<import("vue").ExtractPropTypes<{
|
|
5150
5145
|
align: {
|
|
5151
5146
|
type: import("vue").PropType<"middle" | "top" | "bottom" | "stretch" | {
|
|
@@ -5193,8 +5188,16 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
5193
5188
|
default: any;
|
|
5194
5189
|
};
|
|
5195
5190
|
}>>;
|
|
5191
|
+
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
5192
|
+
readonly formColumns: any[];
|
|
5193
|
+
readonly formData: {
|
|
5194
|
+
[x: string]: any;
|
|
5195
|
+
};
|
|
5196
5196
|
}, {}>>;
|
|
5197
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5197
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5198
|
+
close: () => boolean;
|
|
5199
|
+
confirm: () => boolean;
|
|
5200
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5198
5201
|
readonly filterColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
5199
5202
|
readonly value: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
5200
5203
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -6094,8 +6097,8 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
6094
6097
|
}, boolean>;
|
|
6095
6098
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
6096
6099
|
}>> & {
|
|
6097
|
-
onClose?: ((
|
|
6098
|
-
onConfirm?: ((
|
|
6100
|
+
onClose?: (() => any) | undefined;
|
|
6101
|
+
onConfirm?: (() => any) | undefined;
|
|
6099
6102
|
}, {
|
|
6100
6103
|
readonly filterColumns: any[];
|
|
6101
6104
|
readonly value: Record<string, any>;
|
|
@@ -7455,10 +7458,10 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
7455
7458
|
};
|
|
7456
7459
|
}>>;
|
|
7457
7460
|
readonly overlayStyle: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | undefined) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | undefined))[], unknown, unknown>;
|
|
7458
|
-
readonly onChange?: ((
|
|
7459
|
-
readonly "onUpdate:value"?: ((
|
|
7461
|
+
readonly onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
7462
|
+
readonly "onUpdate:value"?: ((value: Record<string, any>) => any) | undefined;
|
|
7460
7463
|
} & {}>;
|
|
7461
|
-
emits: (event: "change"
|
|
7464
|
+
emits: ((event: "change", value: Record<string, any>) => void) & ((event: "update:value", value: Record<string, any>) => void);
|
|
7462
7465
|
bem: {
|
|
7463
7466
|
b: (blockSuffix?: string) => string;
|
|
7464
7467
|
e: (element?: string) => string;
|
|
@@ -7480,9 +7483,12 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
7480
7483
|
treeDataFormat: (arr: any[] | undefined, fieldNames: {
|
|
7481
7484
|
[key: string]: string;
|
|
7482
7485
|
}) => any[];
|
|
7483
|
-
findLabelByValue: (tree: any, value:
|
|
7486
|
+
findLabelByValue: (tree: any, value: any) => string;
|
|
7484
7487
|
getTags: (filterColumns: any[], value: Record<string, any>) => import("./src/advanced-filtering").IAvancedFilteringTag[];
|
|
7485
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
7488
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7489
|
+
change: (value: Record<string, any>) => boolean;
|
|
7490
|
+
'update:value': (value: Record<string, any>) => boolean;
|
|
7491
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7486
7492
|
readonly filterColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
7487
7493
|
readonly value: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
7488
7494
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -8384,8 +8390,8 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
8384
8390
|
width: string;
|
|
8385
8391
|
}, boolean>;
|
|
8386
8392
|
}>> & {
|
|
8387
|
-
onChange?: ((
|
|
8388
|
-
"onUpdate:value"?: ((
|
|
8393
|
+
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
8394
|
+
"onUpdate:value"?: ((value: Record<string, any>) => any) | undefined;
|
|
8389
8395
|
}, {
|
|
8390
8396
|
readonly filterColumns: any[];
|
|
8391
8397
|
readonly value: Record<string, any>;
|
|
@@ -8615,7 +8621,10 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
8615
8621
|
}>>;
|
|
8616
8622
|
readonly overlayStyle: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | undefined) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | undefined))[], unknown, unknown>;
|
|
8617
8623
|
}, {}>;
|
|
8618
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
8624
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8625
|
+
change: (value: Record<string, any>) => boolean;
|
|
8626
|
+
'update:value': (value: Record<string, any>) => boolean;
|
|
8627
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8619
8628
|
readonly filterColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
8620
8629
|
readonly value: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
8621
8630
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -9517,8 +9526,8 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
9517
9526
|
width: string;
|
|
9518
9527
|
}, boolean>;
|
|
9519
9528
|
}>> & {
|
|
9520
|
-
onChange?: ((
|
|
9521
|
-
"onUpdate:value"?: ((
|
|
9529
|
+
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
9530
|
+
"onUpdate:value"?: ((value: Record<string, any>) => any) | undefined;
|
|
9522
9531
|
}, {
|
|
9523
9532
|
readonly filterColumns: any[];
|
|
9524
9533
|
readonly value: Record<string, any>;
|
|
@@ -10876,10 +10885,10 @@ export declare const LlAdvancedFilteringParams: import("ll-plus/es/utils").SFCWi
|
|
|
10876
10885
|
};
|
|
10877
10886
|
}>>;
|
|
10878
10887
|
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
10879
|
-
readonly onClose?: ((
|
|
10880
|
-
readonly onConfirm?: ((
|
|
10888
|
+
readonly onClose?: (() => any) | undefined;
|
|
10889
|
+
readonly onConfirm?: (() => any) | undefined;
|
|
10881
10890
|
} & {}>;
|
|
10882
|
-
emits: (event: "close"
|
|
10891
|
+
emits: ((event: "close") => void) & ((event: "confirm") => void);
|
|
10883
10892
|
bem: {
|
|
10884
10893
|
b: (blockSuffix?: string) => string;
|
|
10885
10894
|
e: (element?: string) => string;
|
|
@@ -12213,11 +12222,6 @@ export declare const LlAdvancedFilteringParams: import("ll-plus/es/utils").SFCWi
|
|
|
12213
12222
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
12214
12223
|
};
|
|
12215
12224
|
}>>;
|
|
12216
|
-
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
12217
|
-
readonly formColumns: any[];
|
|
12218
|
-
readonly formData: {
|
|
12219
|
-
[x: string]: any;
|
|
12220
|
-
};
|
|
12221
12225
|
readonly rowOptions: Partial<import("vue").ExtractPropTypes<{
|
|
12222
12226
|
align: {
|
|
12223
12227
|
type: import("vue").PropType<"middle" | "top" | "bottom" | "stretch" | {
|
|
@@ -12265,6 +12269,11 @@ export declare const LlAdvancedFilteringParams: import("ll-plus/es/utils").SFCWi
|
|
|
12265
12269
|
default: any;
|
|
12266
12270
|
};
|
|
12267
12271
|
}>>;
|
|
12272
|
+
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
12273
|
+
readonly formColumns: any[];
|
|
12274
|
+
readonly formData: {
|
|
12275
|
+
[x: string]: any;
|
|
12276
|
+
};
|
|
12268
12277
|
} & {}>;
|
|
12269
12278
|
bem: {
|
|
12270
12279
|
b: (blockSuffix?: string) => string;
|
|
@@ -13603,11 +13612,6 @@ export declare const LlAdvancedFilteringParams: import("ll-plus/es/utils").SFCWi
|
|
|
13603
13612
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
13604
13613
|
};
|
|
13605
13614
|
}>>;
|
|
13606
|
-
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13607
|
-
readonly formColumns: any[];
|
|
13608
|
-
readonly formData: {
|
|
13609
|
-
[x: string]: any;
|
|
13610
|
-
};
|
|
13611
13615
|
readonly rowOptions: Partial<import("vue").ExtractPropTypes<{
|
|
13612
13616
|
align: {
|
|
13613
13617
|
type: import("vue").PropType<"middle" | "top" | "bottom" | "stretch" | {
|
|
@@ -13655,8 +13659,16 @@ export declare const LlAdvancedFilteringParams: import("ll-plus/es/utils").SFCWi
|
|
|
13655
13659
|
default: any;
|
|
13656
13660
|
};
|
|
13657
13661
|
}>>;
|
|
13662
|
+
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13663
|
+
readonly formColumns: any[];
|
|
13664
|
+
readonly formData: {
|
|
13665
|
+
[x: string]: any;
|
|
13666
|
+
};
|
|
13658
13667
|
}, {}>>;
|
|
13659
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
13668
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13669
|
+
close: () => boolean;
|
|
13670
|
+
confirm: () => boolean;
|
|
13671
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13660
13672
|
readonly filterColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
13661
13673
|
readonly value: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
13662
13674
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -14556,8 +14568,8 @@ export declare const LlAdvancedFilteringParams: import("ll-plus/es/utils").SFCWi
|
|
|
14556
14568
|
}, boolean>;
|
|
14557
14569
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14558
14570
|
}>> & {
|
|
14559
|
-
onClose?: ((
|
|
14560
|
-
onConfirm?: ((
|
|
14571
|
+
onClose?: (() => any) | undefined;
|
|
14572
|
+
onConfirm?: (() => any) | undefined;
|
|
14561
14573
|
}, {
|
|
14562
14574
|
readonly filterColumns: any[];
|
|
14563
14575
|
readonly value: Record<string, any>;
|
|
@@ -15917,10 +15929,10 @@ export declare const LlAdvancedFilteringTags: import("ll-plus/es/utils").SFCWith
|
|
|
15917
15929
|
};
|
|
15918
15930
|
}>>;
|
|
15919
15931
|
readonly overlayStyle: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | undefined) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | undefined))[], unknown, unknown>;
|
|
15920
|
-
readonly onChange?: ((
|
|
15921
|
-
readonly "onUpdate:value"?: ((
|
|
15932
|
+
readonly onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
15933
|
+
readonly "onUpdate:value"?: ((value: Record<string, any>) => any) | undefined;
|
|
15922
15934
|
} & {}>;
|
|
15923
|
-
emits: (event: "change"
|
|
15935
|
+
emits: ((event: "change", value: Record<string, any>) => void) & ((event: "update:value", value: Record<string, any>) => void);
|
|
15924
15936
|
bem: {
|
|
15925
15937
|
b: (blockSuffix?: string) => string;
|
|
15926
15938
|
e: (element?: string) => string;
|
|
@@ -15942,9 +15954,12 @@ export declare const LlAdvancedFilteringTags: import("ll-plus/es/utils").SFCWith
|
|
|
15942
15954
|
treeDataFormat: (arr: any[] | undefined, fieldNames: {
|
|
15943
15955
|
[key: string]: string;
|
|
15944
15956
|
}) => any[];
|
|
15945
|
-
findLabelByValue: (tree: any, value:
|
|
15957
|
+
findLabelByValue: (tree: any, value: any) => string;
|
|
15946
15958
|
getTags: (filterColumns: any[], value: Record<string, any>) => import("./src/advanced-filtering").IAvancedFilteringTag[];
|
|
15947
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
15959
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15960
|
+
change: (value: Record<string, any>) => boolean;
|
|
15961
|
+
'update:value': (value: Record<string, any>) => boolean;
|
|
15962
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15948
15963
|
readonly filterColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
15949
15964
|
readonly value: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
15950
15965
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -16846,8 +16861,8 @@ export declare const LlAdvancedFilteringTags: import("ll-plus/es/utils").SFCWith
|
|
|
16846
16861
|
width: string;
|
|
16847
16862
|
}, boolean>;
|
|
16848
16863
|
}>> & {
|
|
16849
|
-
onChange?: ((
|
|
16850
|
-
"onUpdate:value"?: ((
|
|
16864
|
+
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
16865
|
+
"onUpdate:value"?: ((value: Record<string, any>) => any) | undefined;
|
|
16851
16866
|
}, {
|
|
16852
16867
|
readonly filterColumns: any[];
|
|
16853
16868
|
readonly value: Record<string, any>;
|
|
@@ -1810,8 +1810,23 @@ export declare const advancedFilteringParamsProps: {
|
|
|
1810
1810
|
}, boolean>;
|
|
1811
1811
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1812
1812
|
};
|
|
1813
|
-
export
|
|
1814
|
-
|
|
1813
|
+
export declare const advancedFilteringEmits: {
|
|
1814
|
+
change: (value: Record<string, any>) => boolean;
|
|
1815
|
+
'update:value': (value: Record<string, any>) => boolean;
|
|
1816
|
+
};
|
|
1817
|
+
export declare const advancedFilteringParamsEmits: {
|
|
1818
|
+
close: () => boolean;
|
|
1819
|
+
confirm: () => boolean;
|
|
1820
|
+
};
|
|
1821
|
+
export declare const advancedFilteringTagsEmits: {
|
|
1822
|
+
change: (value: Record<string, any>) => boolean;
|
|
1823
|
+
'update:value': (value: Record<string, any>) => boolean;
|
|
1824
|
+
};
|
|
1825
|
+
export type AdvancedFilteringProps = ExtractPropTypes<typeof advancedFilteringProps>;
|
|
1826
|
+
export type AdvancedFilteringParamsProps = ExtractPropTypes<typeof advancedFilteringParamsProps>;
|
|
1827
|
+
export type AdvancedFilteringEmits = typeof advancedFilteringEmits;
|
|
1828
|
+
export type AdvancedFilteringParamsEmits = typeof advancedFilteringParamsEmits;
|
|
1829
|
+
export type AdvancedFilteringTagsEmits = typeof advancedFilteringTagsEmits;
|
|
1815
1830
|
export type AdvancedFilteringInstance = InstanceType<typeof advancedFiltering>;
|
|
1816
1831
|
export type AdvancedFilteringParamsInstance = InstanceType<typeof advancedFilteringParams>;
|
|
1817
1832
|
export type AdvancedFilteringTagsInstance = InstanceType<typeof advancedFilteringTags>;
|