@well-insight/ui 0.1.10 → 0.1.11
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/CHANGELOG.md +50 -0
- package/dist/{Button-B6-YxpOQ.js → Button-tnrMSwNg.js} +3 -7
- package/dist/{Checkbox-BvlOYFGs.js → Checkbox-CoovLjt_.js} +1 -1
- package/dist/{Icon-B6gOD07E.js → Icon-DHGs8l-M.js} +27 -1
- package/dist/Pagination-UvgyUKB1.js +155 -0
- package/dist/{ProgressSpinner-YThgaSzb.js → ProgressSpinner-BTijCc7l.js} +1 -1
- package/dist/accordion/style.css +4 -5
- package/dist/auto-complete/index.js +106 -99
- package/dist/auto-complete/style.css +4 -5
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/style.css +4 -5
- package/dist/badge/style.css +4 -5
- package/dist/block-ui/style.css +4 -5
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/style.css +4 -5
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +4 -5
- package/dist/card/style.css +4 -5
- package/dist/carousel/index.js +61 -54
- package/dist/carousel/style.css +43 -5
- package/dist/carousel/style.js +1 -0
- package/dist/cascade-select/index.js +143 -76
- package/dist/cascade-select/style.css +76 -10
- package/dist/cascade-select/style.js +1 -0
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +4 -5
- package/dist/chip/index.js +32 -29
- package/dist/chip/style.css +4 -5
- package/dist/command-menu/index.js +2 -2
- package/dist/command-menu/style.css +4 -5
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -0
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/types.d.ts +1 -0
- package/dist/components/AutoComplete/types.d.ts.map +1 -1
- package/dist/components/Button/Button.vue.d.ts +0 -1
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/types.d.ts +0 -2
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts +2 -2
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +6 -0
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/styles.css +33 -5
- package/dist/components/CascadeSelect/types.d.ts +11 -0
- package/dist/components/CascadeSelect/types.d.ts.map +1 -1
- package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/styles.css +33 -8
- package/dist/components/DatePicker/types.d.ts +1 -0
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts +3 -3
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Divider/types.d.ts +0 -5
- package/dist/components/Divider/types.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +2 -2
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
- package/dist/components/Fieldset/Fieldset.vue.d.ts +4 -4
- package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/styles.css +2 -2
- package/dist/components/FloatLabel/FloatLabel.vue.d.ts.map +1 -1
- package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
- package/dist/components/Icon/icons.d.ts +32 -0
- package/dist/components/Icon/icons.d.ts.map +1 -1
- package/dist/components/Input/Input.vue.d.ts +0 -1
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/styles.css +3 -5
- package/dist/components/Input/types.d.ts +1 -3
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
- package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/InputPassword.vue.d.ts +4 -4
- package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
- package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
- package/dist/components/Layout/Layout.vue.d.ts +1 -4
- package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutContent.vue.d.ts +1 -4
- package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutSider.vue.d.ts +1 -4
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +9 -0
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -0
- package/dist/components/Layout/composables/useLayoutScroll.d.ts +6 -0
- package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -0
- package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts +16 -0
- package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts.map +1 -0
- package/dist/components/Layout/styles.css +19 -49
- package/dist/components/Layout/types.d.ts +0 -22
- package/dist/components/Layout/types.d.ts.map +1 -1
- package/dist/components/Layout/utils.d.ts +3 -0
- package/dist/components/Layout/utils.d.ts.map +1 -0
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
- package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Panel/Panel.vue.d.ts +3 -3
- package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
- package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
- package/dist/components/Popover/styles.css +41 -0
- package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
- package/dist/components/Rating/styles.css +28 -23
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
- package/dist/components/Select/Select.vue.d.ts +1 -1
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/styles.css +8 -108
- package/dist/components/Select/types.d.ts +3 -3
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
- package/dist/components/Slider/types.d.ts +2 -0
- package/dist/components/Slider/types.d.ts.map +1 -1
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/Table/Table.vue.d.ts +9 -9
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
- package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
- package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Terminal/styles.css +8 -8
- package/dist/components/Textarea/Textarea.vue.d.ts +0 -2
- package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/Textarea/styles.css +1 -2
- package/dist/components/Textarea/types.d.ts +1 -5
- package/dist/components/Textarea/types.d.ts.map +1 -1
- package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +21 -12
- package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
- package/dist/{config-DWwce9jA.js → config-CTLkobga.js} +1 -0
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +7 -10
- package/dist/confirm-dialog/index.js +4 -4
- package/dist/confirm-dialog/style.css +4 -5
- package/dist/confirm-popup/index.js +62 -77
- package/dist/confirm-popup/style.css +4 -5
- package/dist/context-menu/index.js +69 -61
- package/dist/context-menu/style.css +4 -5
- package/dist/data-view/index.js +1 -1
- package/dist/data-view/style.css +4 -5
- package/dist/date-picker/index.js +144 -137
- package/dist/date-picker/style.css +76 -13
- package/dist/date-picker/style.js +1 -0
- package/dist/dialog/index.js +76 -70
- package/dist/dialog/style.css +4 -5
- package/dist/divider/index.js +1 -2
- package/dist/divider/style.css +4 -5
- package/dist/dock/style.css +4 -5
- package/dist/drawer/index.js +49 -45
- package/dist/drawer/style.css +43 -5
- package/dist/drawer/style.js +1 -0
- package/dist/dropdown/index.js +98 -97
- package/dist/dropdown/style.css +4 -5
- package/dist/fieldset/index.js +16 -12
- package/dist/fieldset/style.css +43 -5
- package/dist/fieldset/style.js +1 -0
- package/dist/file-upload/index.js +2 -2
- package/dist/file-upload/style.css +6 -7
- package/dist/flex/index.js +1 -1
- package/dist/flex/style.css +4 -5
- package/dist/float-label/index.js +15 -4
- package/dist/float-label/style.css +4 -5
- package/dist/fluid/style.css +4 -5
- package/dist/form/index.js +1 -1
- package/dist/form/style.css +4 -5
- package/dist/gallery/index.js +41 -34
- package/dist/gallery/style.css +43 -5
- package/dist/gallery/style.js +1 -0
- package/dist/grid/style.css +4 -5
- package/dist/icon/index.js +1 -1
- package/dist/icon/style.css +4 -5
- package/dist/icon-Cg5TeFqe.js +7 -0
- package/dist/icon-field/style.css +4 -5
- package/dist/index.js +2783 -2643
- package/dist/inplace/style.css +4 -5
- package/dist/input/index.js +65 -66
- package/dist/input/style.css +46 -10
- package/dist/input/style.js +1 -0
- package/dist/input-color/index.js +1 -1
- package/dist/input-color/style.css +4 -5
- package/dist/input-group/style.css +4 -5
- package/dist/input-number/index.js +82 -66
- package/dist/input-number/style.css +43 -5
- package/dist/input-number/style.js +1 -0
- package/dist/input-otp/index.js +3 -3
- package/dist/input-otp/style.css +4 -5
- package/dist/input-password/index.js +46 -43
- package/dist/input-password/style.css +4 -5
- package/dist/input-tags/index.js +50 -46
- package/dist/input-tags/style.css +43 -5
- package/dist/input-tags/style.js +1 -0
- package/dist/key-CaQYVkjh.js +6 -0
- package/dist/knob/style.css +4 -5
- package/dist/label/style.css +4 -5
- package/dist/layout/index.js +196 -271
- package/dist/layout/style.css +48 -140
- package/dist/layout/style.js +1 -1
- package/dist/listbox/index.js +1 -1
- package/dist/listbox/style.css +4 -5
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/types.d.ts +1 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/{locale-CYkJyRd1.js → locale-DxAvgqgB.js} +1 -1
- package/dist/mega-menu/index.js +47 -49
- package/dist/mega-menu/style.css +4 -5
- package/dist/menu/index.js +81 -76
- package/dist/menu/style.css +4 -5
- package/dist/menubar/index.js +75 -73
- package/dist/menubar/style.css +4 -5
- package/dist/message/index.js +3 -3
- package/dist/message/style.css +4 -5
- package/dist/meter-group/style.css +4 -5
- package/dist/order-list/index.js +2 -2
- package/dist/order-list/style.css +4 -5
- package/dist/overlayPlacement-CN1tuC95.js +51 -0
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +43 -5
- package/dist/pagination/style.js +1 -0
- package/dist/panel/index.js +27 -23
- package/dist/panel/style.css +43 -5
- package/dist/panel/style.js +1 -0
- package/dist/pick-list/index.js +2 -2
- package/dist/pick-list/style.css +4 -5
- package/dist/popover/index.js +79 -100
- package/dist/popover/style.css +45 -5
- package/dist/progress-bar/style.css +4 -5
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +4 -5
- package/dist/radio/index.js +1 -1
- package/dist/radio/style.css +4 -5
- package/dist/rating/index.js +54 -44
- package/dist/rating/style.css +71 -28
- package/dist/rating/style.js +1 -0
- package/dist/scroll-top/index.js +45 -41
- package/dist/scroll-top/style.css +43 -5
- package/dist/scroll-top/style.js +1 -0
- package/dist/scrollbar/index.js +382 -2
- package/dist/scrollbar/style.css +4 -5
- package/dist/select/index.js +149 -141
- package/dist/select/style.css +51 -113
- package/dist/select/style.js +1 -0
- package/dist/select-button/index.js +1 -1
- package/dist/select-button/style.css +4 -5
- package/dist/shared/componentDefaults.d.ts +5 -1
- package/dist/shared/componentDefaults.d.ts.map +1 -1
- package/dist/shared/menu/icon.d.ts +4 -0
- package/dist/shared/menu/icon.d.ts.map +1 -0
- package/dist/shared/menu/index.d.ts +4 -0
- package/dist/shared/menu/index.d.ts.map +1 -0
- package/dist/shared/menu/key.d.ts +4 -0
- package/dist/shared/menu/key.d.ts.map +1 -0
- package/dist/shared/menu/types.d.ts +11 -0
- package/dist/shared/menu/types.d.ts.map +1 -0
- package/dist/shared/overlayPlacement.d.ts +12 -0
- package/dist/shared/overlayPlacement.d.ts.map +1 -0
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +4 -5
- package/dist/skeleton/style.css +4 -5
- package/dist/slider/index.js +6 -3
- package/dist/slider/style.css +4 -5
- package/dist/space/index.js +1 -1
- package/dist/space/style.css +4 -5
- package/dist/speed-dial/index.js +55 -66
- package/dist/speed-dial/style.css +43 -5
- package/dist/speed-dial/style.js +1 -0
- package/dist/split-button/index.js +66 -63
- package/dist/split-button/style.css +43 -5
- package/dist/split-button/style.js +1 -0
- package/dist/splitter/index.js +1 -1
- package/dist/splitter/style.css +4 -5
- package/dist/stepper/style.css +4 -5
- package/dist/styles/base.css +4 -5
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/style.css +4 -5
- package/dist/table/index.js +41 -35
- package/dist/table/style.css +4 -5
- package/dist/tabs/index.js +78 -65
- package/dist/tabs/style.css +43 -5
- package/dist/tabs/style.js +1 -0
- package/dist/tag/index.js +31 -28
- package/dist/tag/style.css +4 -5
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/style.css +12 -13
- package/dist/textarea/index.js +69 -75
- package/dist/textarea/style.css +44 -7
- package/dist/textarea/style.js +1 -0
- package/dist/tiered-menu/index.js +66 -59
- package/dist/tiered-menu/style.css +43 -5
- package/dist/tiered-menu/style.js +1 -0
- package/dist/timeline/index.js +1 -1
- package/dist/timeline/style.css +4 -5
- package/dist/toast/index.js +93 -89
- package/dist/toast/style.css +43 -5
- package/dist/toast/style.js +1 -0
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +4 -5
- package/dist/toolbar/style.css +4 -5
- package/dist/tooltip/index.js +47 -71
- package/dist/tooltip/style.css +4 -5
- package/dist/tree/index.js +3 -3
- package/dist/tree/style.css +4 -5
- package/dist/tree-select/index.js +164 -155
- package/dist/tree-select/style.css +64 -17
- package/dist/tree-select/style.js +1 -0
- package/dist/tree-table/index.js +34 -30
- package/dist/tree-table/style.css +43 -5
- package/dist/tree-table/style.js +1 -0
- package/dist/virtual-scroller/style.css +4 -5
- package/package.json +4 -1
- package/dist/Pagination-BU-1IY0E.js +0 -148
- package/dist/Scrollbar-D-bR2noX.js +0 -382
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
.wi-layout__scroll {
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
display: flex;
|
|
35
|
+
flex: 1 1 auto;
|
|
35
36
|
flex-direction: column;
|
|
36
37
|
height: 100%;
|
|
37
38
|
min-height: 0;
|
|
@@ -47,22 +48,6 @@
|
|
|
47
48
|
flex-wrap: nowrap;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
.wi-layout__scrollbar {
|
|
51
|
-
box-sizing: border-box;
|
|
52
|
-
flex: 1 1 auto;
|
|
53
|
-
height: 100%;
|
|
54
|
-
min-height: 0;
|
|
55
|
-
min-width: 0;
|
|
56
|
-
width: 100%;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.wi-layout__scrollbar .wi-layout__scroll {
|
|
60
|
-
/* view hosts flex children; scrolling is on the wrap */
|
|
61
|
-
height: auto;
|
|
62
|
-
min-height: 100%;
|
|
63
|
-
overflow: visible;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
51
|
/* Nested layout / content grow to fill remaining space */
|
|
67
52
|
.wi-layout__scroll > .wi-layout,
|
|
68
53
|
.wi-layout__scroll > .wi-layout-content {
|
|
@@ -74,14 +59,16 @@
|
|
|
74
59
|
.wi-layout-content {
|
|
75
60
|
--wi-layout-padding: var(--wi-space-4);
|
|
76
61
|
--wi-layout-radius: 0;
|
|
62
|
+
display: flex;
|
|
77
63
|
flex: 1 1 auto;
|
|
64
|
+
flex-direction: column;
|
|
78
65
|
min-height: 0;
|
|
79
66
|
min-width: 0;
|
|
80
67
|
}
|
|
81
68
|
|
|
82
|
-
.wi-layout-content > .wi-layout__scroll
|
|
83
|
-
.wi-layout-content > .wi-layout__scrollbar {
|
|
69
|
+
.wi-layout-content > .wi-layout__scroll {
|
|
84
70
|
flex: 1 1 auto;
|
|
71
|
+
min-height: 0;
|
|
85
72
|
}
|
|
86
73
|
|
|
87
74
|
.wi-layout-header,
|
|
@@ -99,13 +86,13 @@
|
|
|
99
86
|
|
|
100
87
|
.wi-layout-header {
|
|
101
88
|
--wi-layout-header-height: 56px;
|
|
102
|
-
--wi-layout-padding: var(--wi-space-4);
|
|
89
|
+
--wi-layout-padding: 0 var(--wi-space-4);
|
|
103
90
|
--wi-layout-radius: 0;
|
|
104
91
|
}
|
|
105
92
|
|
|
106
93
|
.wi-layout-footer {
|
|
107
94
|
--wi-layout-footer-height: 48px;
|
|
108
|
-
--wi-layout-padding: var(--wi-space-4);
|
|
95
|
+
--wi-layout-padding: 0 var(--wi-space-4);
|
|
109
96
|
--wi-layout-radius: 0;
|
|
110
97
|
}
|
|
111
98
|
|
|
@@ -167,8 +154,10 @@
|
|
|
167
154
|
box-sizing: border-box;
|
|
168
155
|
color: var(--wi-color-text);
|
|
169
156
|
display: flex;
|
|
157
|
+
flex-basis: var(--wi-layout-sider-width);
|
|
170
158
|
flex-shrink: 0;
|
|
171
159
|
justify-content: flex-end;
|
|
160
|
+
min-width: 0;
|
|
172
161
|
/* Do not clip the collapse trigger (it sits half outside the sider edge).
|
|
173
162
|
Collapsed transform overflow is clipped by `.wi-layout { overflow: hidden }`. */
|
|
174
163
|
overflow: visible;
|
|
@@ -176,6 +165,7 @@
|
|
|
176
165
|
transition:
|
|
177
166
|
color var(--wi-motion-normal) var(--wi-motion-ease),
|
|
178
167
|
border-color var(--wi-motion-normal) var(--wi-motion-ease),
|
|
168
|
+
width var(--wi-motion-normal) var(--wi-motion-ease),
|
|
179
169
|
max-width var(--wi-motion-normal) var(--wi-motion-ease),
|
|
180
170
|
background-color var(--wi-motion-normal) var(--wi-motion-ease);
|
|
181
171
|
z-index: 1;
|
|
@@ -187,34 +177,21 @@
|
|
|
187
177
|
|
|
188
178
|
.wi-layout-sider__scroll {
|
|
189
179
|
box-sizing: border-box;
|
|
190
|
-
flex
|
|
191
|
-
flex-shrink: 0;
|
|
180
|
+
flex: 1 1 auto;
|
|
192
181
|
height: 100%;
|
|
193
182
|
max-width: 100%;
|
|
183
|
+
min-height: 0;
|
|
184
|
+
min-width: 0;
|
|
194
185
|
opacity: 0;
|
|
195
186
|
overflow: hidden;
|
|
187
|
+
overflow-x: hidden;
|
|
196
188
|
transition: opacity var(--wi-motion-normal) var(--wi-motion-ease);
|
|
197
189
|
width: 100%;
|
|
198
190
|
}
|
|
199
191
|
|
|
200
|
-
.wi-layout-
|
|
201
|
-
box-sizing: border-box;
|
|
202
|
-
flex-grow: 1;
|
|
192
|
+
.wi-layout-sider--collapse-transform > .wi-layout-sider__scroll {
|
|
203
193
|
flex-shrink: 0;
|
|
204
|
-
|
|
205
|
-
max-width: 100%;
|
|
206
|
-
min-width: 0;
|
|
207
|
-
opacity: 0;
|
|
208
|
-
transition: opacity var(--wi-motion-normal) var(--wi-motion-ease);
|
|
209
|
-
width: 100%;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.wi-layout-sider__scrollbar .wi-layout-sider__scroll {
|
|
213
|
-
height: auto;
|
|
214
|
-
max-width: none;
|
|
215
|
-
min-height: 100%;
|
|
216
|
-
opacity: 1;
|
|
217
|
-
overflow: visible;
|
|
194
|
+
min-width: var(--wi-layout-sider-width);
|
|
218
195
|
}
|
|
219
196
|
|
|
220
197
|
.wi-layout-sider--show-content > .wi-layout-sider__scroll {
|
|
@@ -222,12 +199,7 @@
|
|
|
222
199
|
overflow: auto;
|
|
223
200
|
}
|
|
224
201
|
|
|
225
|
-
.wi-layout-sider--
|
|
226
|
-
opacity: 1;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.wi-layout-sider--collapse-width > .wi-layout-sider__scroll,
|
|
230
|
-
.wi-layout-sider--collapse-width > .wi-layout-sider__scrollbar {
|
|
202
|
+
.wi-layout-sider--collapse-width > .wi-layout-sider__scroll {
|
|
231
203
|
flex-shrink: 1;
|
|
232
204
|
min-width: 0;
|
|
233
205
|
}
|
|
@@ -241,13 +213,11 @@
|
|
|
241
213
|
width: var(--wi-border-width);
|
|
242
214
|
}
|
|
243
215
|
|
|
244
|
-
.wi-layout-sider--left-placement > .wi-layout-sider__border
|
|
245
|
-
.wi-layout-sider--left > .wi-layout-sider__border {
|
|
216
|
+
.wi-layout-sider--left-placement > .wi-layout-sider__border {
|
|
246
217
|
right: 0;
|
|
247
218
|
}
|
|
248
219
|
|
|
249
|
-
.wi-layout-sider--right-placement > .wi-layout-sider__border
|
|
250
|
-
.wi-layout-sider--right > .wi-layout-sider__border {
|
|
220
|
+
.wi-layout-sider--right-placement > .wi-layout-sider__border {
|
|
251
221
|
left: 0;
|
|
252
222
|
}
|
|
253
223
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { ScrollbarProps } from '../Scrollbar/types';
|
|
3
2
|
export type LayoutPosition = "static" | "absolute";
|
|
4
3
|
export type LayoutSiderPlacement = "left" | "right";
|
|
5
4
|
export type LayoutCollapseMode = "width" | "transform";
|
|
@@ -18,13 +17,6 @@ export interface LayoutProps {
|
|
|
18
17
|
hasSider?: boolean;
|
|
19
18
|
/** Sider side when `hasSider`. */
|
|
20
19
|
siderPlacement?: LayoutSiderPlacement;
|
|
21
|
-
/**
|
|
22
|
-
* Use the browser native scrollbar (default).
|
|
23
|
-
* Set `false` to wrap content with `WiScrollbar`.
|
|
24
|
-
*/
|
|
25
|
-
nativeScrollbar?: boolean;
|
|
26
|
-
/** Extra props forwarded to `WiScrollbar` when `nativeScrollbar` is false. */
|
|
27
|
-
scrollbarProps?: Partial<ScrollbarProps>;
|
|
28
20
|
/** Extra class on the scroll / content wrapper. */
|
|
29
21
|
contentClass?: string;
|
|
30
22
|
/** Extra style on the scroll / content wrapper. */
|
|
@@ -56,13 +48,6 @@ export interface LayoutContentProps {
|
|
|
56
48
|
/** Soft background. */
|
|
57
49
|
embedded?: boolean;
|
|
58
50
|
position?: LayoutPosition;
|
|
59
|
-
/**
|
|
60
|
-
* Use the browser native scrollbar (default).
|
|
61
|
-
* Set `false` to wrap content with `WiScrollbar`.
|
|
62
|
-
*/
|
|
63
|
-
nativeScrollbar?: boolean;
|
|
64
|
-
/** Extra props forwarded to `WiScrollbar` when `nativeScrollbar` is false. */
|
|
65
|
-
scrollbarProps?: Partial<ScrollbarProps>;
|
|
66
51
|
contentClass?: string;
|
|
67
52
|
contentStyle?: string | CSSProperties;
|
|
68
53
|
}
|
|
@@ -92,13 +77,6 @@ export interface LayoutSiderProps {
|
|
|
92
77
|
triggerStyle?: string | CSSProperties;
|
|
93
78
|
collapsedTriggerClass?: string;
|
|
94
79
|
collapsedTriggerStyle?: string | CSSProperties;
|
|
95
|
-
/**
|
|
96
|
-
* Use the browser native scrollbar (default).
|
|
97
|
-
* Set `false` to wrap content with `WiScrollbar`.
|
|
98
|
-
*/
|
|
99
|
-
nativeScrollbar?: boolean;
|
|
100
|
-
/** Extra props forwarded to `WiScrollbar` when `nativeScrollbar` is false. */
|
|
101
|
-
scrollbarProps?: Partial<ScrollbarProps>;
|
|
102
80
|
contentClass?: string;
|
|
103
81
|
contentStyle?: string | CSSProperties;
|
|
104
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEzC,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,UAAU,CAAC;AACnD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,OAAO,CAAC;AACpD,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,WAAW,CAAC;AACvD,mFAAmF;AACnF,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,cAAc,CAAC;AAEvE,MAAM,WAAW,WAAW;IAC1B,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kCAAkC;IAClC,cAAc,CAAC,EAAE,oBAAoB,CAAC;IACtC,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;CACvC;AAED,MAAM,WAAW,iBAAiB;IAChC,mEAAmE;IACnE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,OAAO,CAAC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file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,wBAAgB,oBAAoB,CAChC,KAAK,EAAE,aAAa,GAAG,SAAS,GACjC,KAAK,GAAG,cAAc,GAAG,IAAI,CAI/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MegaMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MegaMenu/MegaMenu.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"MegaMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MegaMenu/MegaMenu.vue"],"names":[],"mappings":";AAsIA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAyN1D,QAAA,MAAM,YAAY;;;6EAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuNodes.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuNodes.vue"],"names":[],"mappings":";AAkGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAMvC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuNodes.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuNodes.vue"],"names":[],"mappings":";AAkGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAMvC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAC;AAqOF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menubar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Menubar/Menubar.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Menubar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Menubar/Menubar.vue"],"names":[],"mappings":";AAuKA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA6SxD,QAAA,MAAM,YAAY;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Pagination.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.vue"],"names":[],"mappings":";AA2HA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAuQ9C,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PanelProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare var __VLS_1: {},
|
|
3
|
+
declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
header?: (props: typeof __VLS_1) => any;
|
|
6
6
|
} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
} & {
|
|
9
|
-
footer?: (props: typeof
|
|
9
|
+
footer?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: DefineComponent<PanelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
12
|
"update:modelValue": (value: boolean) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/Panel.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Panel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/Panel.vue"],"names":[],"mappings":";AAmEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAkHzC,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAW,CAAE;AAC/D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Popover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.vue"],"names":[],"mappings":";AAqNA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAoR3C,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAShD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -63,3 +63,44 @@
|
|
|
63
63
|
transform: none;
|
|
64
64
|
z-index: var(--wi-z-toast);
|
|
65
65
|
}
|
|
66
|
+
|
|
67
|
+
.wi-popover-enter-active,
|
|
68
|
+
.wi-popover-leave-active {
|
|
69
|
+
transition:
|
|
70
|
+
opacity var(--wi-motion-normal) var(--wi-motion-ease),
|
|
71
|
+
transform var(--wi-motion-normal) var(--wi-motion-ease);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.wi-popover-enter-from,
|
|
75
|
+
.wi-popover-leave-to {
|
|
76
|
+
opacity: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.wi-popover-enter-from:not(.wi-popover__content--teleported),
|
|
80
|
+
.wi-popover-leave-to:not(.wi-popover__content--teleported) {
|
|
81
|
+
transform: translateY(calc(var(--wi-motion-distance) * -1));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.wi-popover__content--top.wi-popover-enter-from,
|
|
85
|
+
.wi-popover__content--top.wi-popover-leave-to {
|
|
86
|
+
transform: translate(-50%, calc(-100% - var(--wi-motion-distance)));
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.wi-popover__content--bottom.wi-popover-enter-from,
|
|
90
|
+
.wi-popover__content--bottom.wi-popover-leave-to,
|
|
91
|
+
.wi-popover__content--bottom-start.wi-popover-enter-from,
|
|
92
|
+
.wi-popover__content--bottom-start.wi-popover-leave-to,
|
|
93
|
+
.wi-popover__content--bottom-end.wi-popover-enter-from,
|
|
94
|
+
.wi-popover__content--bottom-end.wi-popover-leave-to {
|
|
95
|
+
transform: translateY(var(--wi-motion-distance));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.wi-popover__content--left.wi-popover-enter-from,
|
|
99
|
+
.wi-popover__content--left.wi-popover-leave-to {
|
|
100
|
+
transform: translate(calc(-100% - var(--wi-motion-distance)), -50%);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.wi-popover__content--right.wi-popover-enter-from,
|
|
104
|
+
.wi-popover__content--right.wi-popover-leave-to {
|
|
105
|
+
transform: translate(var(--wi-motion-distance), -50%);
|
|
106
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/Rating.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Rating.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/Rating.vue"],"names":[],"mappings":";AAgGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAkL1C,QAAA,MAAM,YAAY;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
align-items: center;
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
gap: var(--wi-space-1);
|
|
6
|
-
}
|
|
7
|
-
|
|
6
|
+
}
|
|
7
|
+
|
|
8
8
|
.wi-rating__star,
|
|
9
9
|
.wi-rating__cancel {
|
|
10
10
|
background: transparent;
|
|
@@ -16,41 +16,41 @@
|
|
|
16
16
|
font-size: 1.25rem;
|
|
17
17
|
line-height: 1;
|
|
18
18
|
padding: 0.15rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
19
|
+
}
|
|
20
|
+
|
|
21
21
|
.wi-rating__star--on {
|
|
22
22
|
color: var(--wi-color-warn);
|
|
23
|
-
}
|
|
24
|
-
|
|
23
|
+
}
|
|
24
|
+
|
|
25
25
|
.wi-rating__star:hover:not(:disabled),
|
|
26
26
|
.wi-rating__cancel:hover:not(:disabled) {
|
|
27
27
|
color: var(--wi-color-primary);
|
|
28
|
-
}
|
|
29
|
-
|
|
28
|
+
}
|
|
29
|
+
|
|
30
30
|
.wi-rating__star:focus-visible,
|
|
31
31
|
.wi-rating__cancel:focus-visible {
|
|
32
32
|
box-shadow: var(--wi-focus-shadow);
|
|
33
33
|
outline: none;
|
|
34
|
-
}
|
|
35
|
-
|
|
34
|
+
}
|
|
35
|
+
|
|
36
36
|
.wi-rating--disabled,
|
|
37
37
|
.wi-rating--readonly {
|
|
38
38
|
pointer-events: none;
|
|
39
|
-
}
|
|
40
|
-
|
|
39
|
+
}
|
|
40
|
+
|
|
41
41
|
.wi-rating--disabled {
|
|
42
42
|
opacity: var(--wi-opacity-disabled);
|
|
43
|
-
}
|
|
44
|
-
|
|
43
|
+
}
|
|
44
|
+
|
|
45
45
|
.wi-rating__star {
|
|
46
46
|
position: relative;
|
|
47
|
-
}
|
|
48
|
-
|
|
47
|
+
}
|
|
48
|
+
|
|
49
49
|
.wi-rating__star-off,
|
|
50
50
|
.wi-rating__star-on {
|
|
51
51
|
display: block;
|
|
52
|
-
}
|
|
53
|
-
|
|
52
|
+
}
|
|
53
|
+
|
|
54
54
|
.wi-rating__star-on {
|
|
55
55
|
color: var(--wi-color-warn);
|
|
56
56
|
left: 0;
|
|
@@ -58,13 +58,18 @@
|
|
|
58
58
|
position: absolute;
|
|
59
59
|
top: 0;
|
|
60
60
|
width: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.wi-rating__star-on .wi-icon svg {
|
|
64
|
+
fill: currentColor;
|
|
65
|
+
stroke: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
63
68
|
.wi-rating__star--on .wi-rating__star-on,
|
|
64
69
|
.wi-rating__star--half .wi-rating__star-on {
|
|
65
70
|
width: 100%;
|
|
66
|
-
}
|
|
67
|
-
|
|
71
|
+
}
|
|
72
|
+
|
|
68
73
|
.wi-rating__star--half .wi-rating__star-on {
|
|
69
74
|
width: 50%;
|
|
70
|
-
}
|
|
75
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollTop.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollTop/ScrollTop.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ScrollTop.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollTop/ScrollTop.vue"],"names":[],"mappings":";AAmHA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAmK7C,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAQ/C,QAAA,MAAM,UAAU;;;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -22,8 +22,8 @@ declare const __VLS_export: DefineComponent<SelectProps, {}, {}, {}, {}, Compone
|
|
|
22
22
|
filter: boolean;
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
required: boolean;
|
|
25
|
-
error: boolean;
|
|
26
25
|
loading: boolean;
|
|
26
|
+
clearable: boolean;
|
|
27
27
|
teleport: boolean;
|
|
28
28
|
showClear: boolean;
|
|
29
29
|
invalid: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.vue"],"names":[],"mappings":";AA4dA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAqsBvF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
.wi-select__control {
|
|
2
|
-
--wi-select-tag-gap: 0.15rem;
|
|
3
|
-
--wi-select-tag-padding: 0.1rem 0.2rem 0.1rem 0.4rem;
|
|
4
|
-
--wi-select-tag-remove-size: 1.1rem;
|
|
5
2
|
position: relative;
|
|
6
3
|
width: 100%;
|
|
7
4
|
}
|
|
8
5
|
|
|
9
|
-
.wi-select__control--clearable .wi-select {
|
|
10
|
-
padding-right: var(--wi-control-affix-gap);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
6
|
.wi-select {
|
|
14
7
|
align-items: center;
|
|
15
8
|
cursor: pointer;
|
|
16
9
|
display: flex;
|
|
17
10
|
font-size: var(--wi-control-font-medium);
|
|
18
|
-
justify-content: space-between;
|
|
19
11
|
min-height: var(--wi-control-height-medium);
|
|
20
12
|
padding: 0 var(--wi-control-padding-x-medium);
|
|
13
|
+
padding-right: var(--wi-control-end-padding);
|
|
21
14
|
position: relative;
|
|
22
15
|
text-align: left;
|
|
23
16
|
}
|
|
@@ -26,7 +19,8 @@
|
|
|
26
19
|
.wi-select--sm {
|
|
27
20
|
font-size: var(--wi-control-font-small);
|
|
28
21
|
min-height: var(--wi-control-height-small);
|
|
29
|
-
padding:
|
|
22
|
+
padding-left: var(--wi-control-padding-x-small);
|
|
23
|
+
padding-right: var(--wi-control-end-padding);
|
|
30
24
|
}
|
|
31
25
|
|
|
32
26
|
.wi-select--normal {
|
|
@@ -38,7 +32,8 @@
|
|
|
38
32
|
.wi-select--lg {
|
|
39
33
|
font-size: var(--wi-control-font-large);
|
|
40
34
|
min-height: var(--wi-control-height-large);
|
|
41
|
-
padding:
|
|
35
|
+
padding-left: var(--wi-control-padding-x-large);
|
|
36
|
+
padding-right: var(--wi-control-end-padding);
|
|
42
37
|
}
|
|
43
38
|
|
|
44
39
|
.wi-select--multiple {
|
|
@@ -57,60 +52,6 @@
|
|
|
57
52
|
min-width: 0;
|
|
58
53
|
}
|
|
59
54
|
|
|
60
|
-
.wi-select__tag {
|
|
61
|
-
align-items: center;
|
|
62
|
-
background: color-mix(
|
|
63
|
-
in srgb,
|
|
64
|
-
var(--wi-color-text-muted) 14%,
|
|
65
|
-
var(--wi-color-surface)
|
|
66
|
-
);
|
|
67
|
-
border-radius: var(--wi-radius-sm);
|
|
68
|
-
color: var(--wi-color-text);
|
|
69
|
-
display: inline-flex;
|
|
70
|
-
font-size: var(--wi-font-size-xs);
|
|
71
|
-
gap: var(--wi-select-tag-gap);
|
|
72
|
-
line-height: 1.2;
|
|
73
|
-
max-width: 100%;
|
|
74
|
-
padding: var(--wi-select-tag-padding);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.wi-select__tag-label {
|
|
78
|
-
min-width: 0;
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
text-overflow: ellipsis;
|
|
81
|
-
white-space: nowrap;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.wi-select__tag-remove {
|
|
85
|
-
align-items: center;
|
|
86
|
-
background: transparent;
|
|
87
|
-
border: 0;
|
|
88
|
-
border-radius: var(--wi-radius-sm);
|
|
89
|
-
color: var(--wi-color-text-muted);
|
|
90
|
-
cursor: pointer;
|
|
91
|
-
display: inline-flex;
|
|
92
|
-
font-size: var(--wi-font-size-md);
|
|
93
|
-
height: var(--wi-select-tag-remove-size);
|
|
94
|
-
justify-content: center;
|
|
95
|
-
line-height: 1;
|
|
96
|
-
padding: 0;
|
|
97
|
-
width: var(--wi-select-tag-remove-size);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.wi-select__tag-remove:hover:not(:disabled) {
|
|
101
|
-
color: var(--wi-color-text);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.wi-select__tag-remove:focus-visible {
|
|
105
|
-
box-shadow: var(--wi-focus-shadow);
|
|
106
|
-
outline: none;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.wi-select__tag--more {
|
|
110
|
-
color: var(--wi-color-text-muted);
|
|
111
|
-
padding-right: 0.4rem;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
55
|
.wi-select__spinner {
|
|
115
56
|
border: 2px solid
|
|
116
57
|
color-mix(in srgb, var(--wi-color-text-muted) 35%, transparent);
|
|
@@ -153,53 +94,13 @@
|
|
|
153
94
|
}
|
|
154
95
|
|
|
155
96
|
.wi-select__value {
|
|
97
|
+
flex: 1 1 auto;
|
|
156
98
|
min-width: 0;
|
|
157
99
|
overflow: hidden;
|
|
158
100
|
text-overflow: ellipsis;
|
|
159
101
|
white-space: nowrap;
|
|
160
102
|
}
|
|
161
103
|
|
|
162
|
-
.wi-select__clear {
|
|
163
|
-
align-items: center;
|
|
164
|
-
background: transparent;
|
|
165
|
-
border: 0;
|
|
166
|
-
border-radius: var(--wi-radius-sm);
|
|
167
|
-
color: var(--wi-color-text-muted);
|
|
168
|
-
cursor: pointer;
|
|
169
|
-
display: flex;
|
|
170
|
-
font-size: var(--wi-font-size-lg);
|
|
171
|
-
height: var(--wi-control-affix-size);
|
|
172
|
-
justify-content: center;
|
|
173
|
-
padding: 0;
|
|
174
|
-
position: absolute;
|
|
175
|
-
right: var(--wi-control-affix-size);
|
|
176
|
-
top: 50%;
|
|
177
|
-
transform: translateY(-50%);
|
|
178
|
-
width: var(--wi-control-affix-size);
|
|
179
|
-
z-index: 1;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.wi-select__clear:focus-visible {
|
|
183
|
-
box-shadow: var(--wi-focus-shadow);
|
|
184
|
-
outline: none;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.wi-select__indicator {
|
|
188
|
-
border-bottom: 1.5px solid currentColor;
|
|
189
|
-
border-right: 1.5px solid currentColor;
|
|
190
|
-
color: var(--wi-color-text-muted);
|
|
191
|
-
flex: 0 0 auto;
|
|
192
|
-
height: 0.48rem;
|
|
193
|
-
margin-left: var(--wi-space-3);
|
|
194
|
-
transform: rotate(45deg) translateY(-0.15rem);
|
|
195
|
-
transition: transform var(--wi-motion-fast) var(--wi-motion-ease);
|
|
196
|
-
width: 0.48rem;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.wi-select--open .wi-select__indicator {
|
|
200
|
-
transform: rotate(225deg) translateY(-0.1rem);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
104
|
.wi-select__menu {
|
|
204
105
|
--wi-select-menu-max-height: min(18rem, 45vh);
|
|
205
106
|
background: var(--wi-color-surface);
|
|
@@ -295,8 +196,7 @@
|
|
|
295
196
|
|
|
296
197
|
.wi-select__check {
|
|
297
198
|
color: var(--wi-color-primary);
|
|
298
|
-
|
|
299
|
-
font-weight: 700;
|
|
199
|
+
flex: 0 0 auto;
|
|
300
200
|
}
|
|
301
201
|
|
|
302
202
|
.wi-select__required-input {
|
|
@@ -312,7 +212,7 @@
|
|
|
312
212
|
width: 1px;
|
|
313
213
|
}
|
|
314
214
|
|
|
315
|
-
.wi-select--
|
|
215
|
+
.wi-select--invalid {
|
|
316
216
|
border-color: var(--wi-color-danger);
|
|
317
217
|
}
|
|
318
218
|
|
|
@@ -14,8 +14,6 @@ export interface SelectProps {
|
|
|
14
14
|
options: SelectOption[];
|
|
15
15
|
label?: string;
|
|
16
16
|
helpText?: string;
|
|
17
|
-
/** @deprecated Prefer `invalid`. */
|
|
18
|
-
error?: boolean;
|
|
19
17
|
invalid?: boolean;
|
|
20
18
|
/** Error copy under the field; implies invalid when set. */
|
|
21
19
|
errorMessage?: string;
|
|
@@ -41,8 +39,10 @@ export interface SelectProps {
|
|
|
41
39
|
loading?: boolean;
|
|
42
40
|
/** Collapse extra selected tags after this count. Ignored unless `multiple`. */
|
|
43
41
|
maxTagCount?: number;
|
|
44
|
-
/** Show clear button when a value is selected. */
|
|
42
|
+
/** Show clear button when a value is selected. Alias: `clearable`. */
|
|
45
43
|
showClear?: boolean;
|
|
44
|
+
/** Alias for `showClear`. */
|
|
45
|
+
clearable?: boolean;
|
|
46
46
|
/** Empty / no-match message. Falls back to ConfigProvider `locale.emptyOptions`. */
|
|
47
47
|
emptyMessage?: string;
|
|
48
48
|
/** Show a filter input when the menu is open (matches option labels unless `remote`). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,CAAA;AACzC,MAAM,MAAM,UAAU,GAAG,WAAW,CAAA;AACpC,2DAA2D;AAC3D,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,WAAW,EAAE,GAAG,SAAS,CAAA;AAEtE,MAAM,WAAW,Y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"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Slider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.vue"],"names":[],"mappings":";AA8IA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AA+N1C,QAAA,MAAM,YAAY;;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -12,6 +12,8 @@ export interface SliderProps {
|
|
|
12
12
|
tooltip?: boolean;
|
|
13
13
|
/** Render vertically. */
|
|
14
14
|
vertical?: boolean;
|
|
15
|
+
/** Accessible name for single-thumb mode. */
|
|
16
|
+
ariaLabel?: string;
|
|
15
17
|
}
|
|
16
18
|
export interface SliderEmits {
|
|
17
19
|
(event: 'update:modelValue', value: number | number[]): void;
|