@opentinyvue/vue-base-select 2.22.2 → 2.24.0
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/lib/mobile-first.js +17 -17
- package/lib/pc.js +18 -18
- package/package.json +18 -18
package/lib/mobile-first.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { renderless, api } from '@opentinyvue/vue-renderless/select/vue';
|
|
2
2
|
import { defineComponent, directive, props, setup } from '@opentinyvue/vue-common';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
3
|
+
import Tag from '@opentinyvue/vue-tag';
|
|
4
|
+
import Input from '@opentinyvue/vue-input';
|
|
5
|
+
import Option from '@opentinyvue/vue-option';
|
|
6
|
+
import Scrollbar from '@opentinyvue/vue-scrollbar';
|
|
7
|
+
import SelectDropdown from '@opentinyvue/vue-select-dropdown';
|
|
8
8
|
import { Clickoutside } from '@opentinyvue/vue-directive';
|
|
9
9
|
import { iconClose, iconCopy, iconHalfselect, iconCheck, iconCheckedSur, iconLoading, iconChevronRight } from '@opentinyvue/vue-icon';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
10
|
+
import Tree from '@opentinyvue/vue-tree';
|
|
11
|
+
import Tooltip from '@opentinyvue/vue-tooltip';
|
|
12
|
+
import FilterBox from '@opentinyvue/vue-filter-box';
|
|
13
13
|
import RecycleScroller from '@opentinyvue/vue-recycle-scroller';
|
|
14
14
|
|
|
15
15
|
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
|
@@ -44,7 +44,7 @@ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTe
|
|
|
44
44
|
|
|
45
45
|
var classes = {
|
|
46
46
|
"caret": "text-base rotate-0 transition-transform duration-300 fill-color-text-placeholder cursor-pointer ",
|
|
47
|
-
"select-tags": "absolute leading-normal whitespace-normal sm:pl-3 pr-2 z-[1] top-1/2 -translate-y-2/4 flex items-center flex-wrap [&_[data-tag=tiny-tag]]:my-0.5 [&_[data-tag=tiny-tag]]:h-7 [&_[data-tag=tiny-tag]]:
|
|
47
|
+
"select-tags": "absolute leading-normal whitespace-normal sm:pl-3 pr-2 z-[1] top-1/2 -translate-y-2/4 flex items-center flex-wrap [&_[data-tag=tiny-tag]]:my-0.5 [&_[data-tag=tiny-tag]]:h-7 [&_[data-tag=tiny-tag]]:sm:h-5 [&_[data-tag=tiny-tag]_svg]:shrink-0",
|
|
48
48
|
"tags-text": "inline-block w-full whitespace-nowrap text-ellipsis overflow-hidden align-bottom",
|
|
49
49
|
"tag-info": "whitespace-nowrap text-ellipsis overflow-hidden inline-flex justify-start items-center border-transparent text-color-text-primary"
|
|
50
50
|
};
|
|
@@ -737,16 +737,16 @@ var __vue2_script = defineComponent({
|
|
|
737
737
|
}
|
|
738
738
|
}),
|
|
739
739
|
components: {
|
|
740
|
-
TinyTag,
|
|
741
|
-
TinyInput,
|
|
742
|
-
TinyOption,
|
|
743
|
-
TinyTree,
|
|
744
|
-
TinyScrollbar,
|
|
745
|
-
TinyFilterBox,
|
|
746
|
-
TinyTooltip,
|
|
740
|
+
TinyTag: Tag,
|
|
741
|
+
TinyInput: Input,
|
|
742
|
+
TinyOption: Option,
|
|
743
|
+
TinyTree: Tree,
|
|
744
|
+
TinyScrollbar: Scrollbar,
|
|
745
|
+
TinyFilterBox: FilterBox,
|
|
746
|
+
TinyTooltip: Tooltip,
|
|
747
747
|
IconClose: iconClose(),
|
|
748
748
|
IconCopy: iconCopy(),
|
|
749
|
-
TinySelectDropdown,
|
|
749
|
+
TinySelectDropdown: SelectDropdown,
|
|
750
750
|
IconHalfselect: iconHalfselect(),
|
|
751
751
|
IconCheck: iconCheck(),
|
|
752
752
|
IconCheckedSur: iconCheckedSur(),
|
package/lib/pc.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { renderless, api } from '@opentinyvue/vue-renderless/base-select/vue';
|
|
2
2
|
import { defineComponent, directive, props, setup } from '@opentinyvue/vue-common';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
3
|
+
import Tag from '@opentinyvue/vue-tag';
|
|
4
|
+
import Input from '@opentinyvue/vue-input';
|
|
5
|
+
import Option from '@opentinyvue/vue-option';
|
|
6
|
+
import Scrollbar from '@opentinyvue/vue-scrollbar';
|
|
7
|
+
import SelectDropdown from '@opentinyvue/vue-select-dropdown';
|
|
8
|
+
import Button from '@opentinyvue/vue-button';
|
|
9
9
|
import { Clickoutside } from '@opentinyvue/vue-directive';
|
|
10
10
|
import { IconClose, IconCopy, iconAddCircle, iconLoadingShadow, IconHalfselect, IconCheck, IconCheckedSur, IconSearch, IconDeltaDown, IconEllipsis, IconChevronUp } from '@opentinyvue/vue-icon';
|
|
11
|
-
import
|
|
12
|
-
import
|
|
11
|
+
import Tooltip from '@opentinyvue/vue-tooltip';
|
|
12
|
+
import FilterBox from '@opentinyvue/vue-filter-box';
|
|
13
13
|
import RecycleScroller from '@opentinyvue/vue-recycle-scroller';
|
|
14
|
-
import
|
|
14
|
+
import Checkbox from '@opentinyvue/vue-checkbox';
|
|
15
15
|
import '@opentinyvue/vue-theme/select/index.css';
|
|
16
16
|
import '@opentinyvue/vue-theme/base-select/index.css';
|
|
17
17
|
|
|
@@ -71,27 +71,27 @@ var __vue2_script = defineComponent({
|
|
|
71
71
|
}
|
|
72
72
|
}),
|
|
73
73
|
components: {
|
|
74
|
-
TinyTag,
|
|
75
|
-
TinyInput,
|
|
76
|
-
TinyOption,
|
|
77
|
-
TinyButton,
|
|
74
|
+
TinyTag: Tag,
|
|
75
|
+
TinyInput: Input,
|
|
76
|
+
TinyOption: Option,
|
|
77
|
+
TinyButton: Button,
|
|
78
78
|
IconClose: IconClose(),
|
|
79
|
-
TinyScrollbar,
|
|
79
|
+
TinyScrollbar: Scrollbar,
|
|
80
80
|
IconCopy: IconCopy(),
|
|
81
81
|
IconAddCircle: iconAddCircle(),
|
|
82
82
|
IconLoadingShadow: iconLoadingShadow(),
|
|
83
|
-
TinySelectDropdown,
|
|
83
|
+
TinySelectDropdown: SelectDropdown,
|
|
84
84
|
IconHalfselect: IconHalfselect(),
|
|
85
85
|
IconCheck: IconCheck(),
|
|
86
86
|
IconCheckedSur: IconCheckedSur(),
|
|
87
|
-
TinyFilterBox,
|
|
88
|
-
TinyTooltip,
|
|
87
|
+
TinyFilterBox: FilterBox,
|
|
88
|
+
TinyTooltip: Tooltip,
|
|
89
89
|
TinyRecycleScroller: RecycleScroller,
|
|
90
90
|
// tiny 新增,
|
|
91
91
|
IconSearch: IconSearch(),
|
|
92
92
|
IconDeltaDown: IconDeltaDown(),
|
|
93
93
|
// 默认下拉图标
|
|
94
|
-
TinyCheckbox,
|
|
94
|
+
TinyCheckbox: Checkbox,
|
|
95
95
|
IconEllipsis: IconEllipsis(),
|
|
96
96
|
IconChevronUp: IconChevronUp()
|
|
97
97
|
},
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-base-select",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.24.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opentinyvue/vue-button": "~2.
|
|
12
|
-
"@opentinyvue/vue-checkbox": "~2.
|
|
13
|
-
"@opentinyvue/vue-common": "~2.
|
|
14
|
-
"@opentinyvue/vue-directive": "~2.
|
|
15
|
-
"@opentinyvue/vue-filter-box": "~2.
|
|
16
|
-
"@opentinyvue/vue-icon": "~2.
|
|
17
|
-
"@opentinyvue/vue-input": "~2.
|
|
18
|
-
"@opentinyvue/vue-locale": "~2.
|
|
19
|
-
"@opentinyvue/vue-option": "~2.
|
|
20
|
-
"@opentinyvue/vue-recycle-scroller": "~2.
|
|
21
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
22
|
-
"@opentinyvue/vue-scrollbar": "~2.
|
|
23
|
-
"@opentinyvue/vue-select-dropdown": "~2.
|
|
24
|
-
"@opentinyvue/vue-tag": "~2.
|
|
25
|
-
"@opentinyvue/vue-theme": "~3.
|
|
26
|
-
"@opentinyvue/vue-tooltip": "~2.
|
|
27
|
-
"@opentinyvue/vue-tree": "~2.
|
|
11
|
+
"@opentinyvue/vue-button": "~2.24.0",
|
|
12
|
+
"@opentinyvue/vue-checkbox": "~2.24.0",
|
|
13
|
+
"@opentinyvue/vue-common": "~2.24.0",
|
|
14
|
+
"@opentinyvue/vue-directive": "~2.24.0",
|
|
15
|
+
"@opentinyvue/vue-filter-box": "~2.24.0",
|
|
16
|
+
"@opentinyvue/vue-icon": "~2.24.0",
|
|
17
|
+
"@opentinyvue/vue-input": "~2.24.0",
|
|
18
|
+
"@opentinyvue/vue-locale": "~2.24.0",
|
|
19
|
+
"@opentinyvue/vue-option": "~2.24.0",
|
|
20
|
+
"@opentinyvue/vue-recycle-scroller": "~2.24.0",
|
|
21
|
+
"@opentinyvue/vue-renderless": "~3.24.0",
|
|
22
|
+
"@opentinyvue/vue-scrollbar": "~2.24.0",
|
|
23
|
+
"@opentinyvue/vue-select-dropdown": "~2.24.0",
|
|
24
|
+
"@opentinyvue/vue-tag": "~2.24.0",
|
|
25
|
+
"@opentinyvue/vue-theme": "~3.24.0",
|
|
26
|
+
"@opentinyvue/vue-tooltip": "~2.24.0",
|
|
27
|
+
"@opentinyvue/vue-tree": "~2.24.0"
|
|
28
28
|
},
|
|
29
29
|
"types": "index.d.ts",
|
|
30
30
|
"scripts": {
|