@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
package/dist/switch/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e } from "../config-
|
|
1
|
+
import { o as e } from "../config-CTLkobga.js";
|
|
2
2
|
import "./style.js";
|
|
3
3
|
import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, mergeProps as s, normalizeClass as c, openBlock as l, renderSlot as u, toDisplayString as d, unref as f, useAttrs as p } from "vue";
|
|
4
4
|
//#region src/components/Switch/Switch.vue?vue&type=script&setup=true&lang.ts
|
package/dist/switch/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
483
|
+
.wi-textarea-field__help--invalid,
|
|
484
|
+
.wi-select-field__help--invalid {
|
|
485
485
|
color: var(--wi-color-danger);
|
|
486
486
|
}
|
|
487
487
|
|
|
@@ -500,9 +500,8 @@
|
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.wi-textarea--invalid:focus-visible,
|
|
503
|
-
.wi-
|
|
504
|
-
.wi-select--
|
|
505
|
-
.wi-select--error:focus-visible {
|
|
503
|
+
.wi-select--invalid.wi-select--open,
|
|
504
|
+
.wi-select--invalid:focus-visible {
|
|
506
505
|
border-color: var(--wi-color-danger);
|
|
507
506
|
box-shadow: var(--wi-focus-shadow-danger);
|
|
508
507
|
}
|
package/dist/table/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "../Icon-
|
|
2
|
-
import { t } from "../Checkbox-
|
|
3
|
-
import { t as n } from "../Pagination-
|
|
1
|
+
import { t as e } from "../Icon-DHGs8l-M.js";
|
|
2
|
+
import { t } from "../Checkbox-CoovLjt_.js";
|
|
3
|
+
import { t as n } from "../Pagination-UvgyUKB1.js";
|
|
4
4
|
import { t as r } from "../Renderable-IhqISc5E.js";
|
|
5
|
-
import { t as i } from "../ProgressSpinner-
|
|
6
|
-
import { o as a } from "../config-
|
|
7
|
-
import { n as o, t as s } from "../locale-
|
|
5
|
+
import { t as i } from "../ProgressSpinner-BTijCc7l.js";
|
|
6
|
+
import { o as a } from "../config-CTLkobga.js";
|
|
7
|
+
import { n as o, t as s } from "../locale-DxAvgqgB.js";
|
|
8
8
|
import "./style.js";
|
|
9
9
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as ee, createVNode as m, defineComponent as h, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as te, onMounted as ne, openBlock as v, ref as y, renderList as b, renderSlot as x, toDisplayString as S, unref as C, watch as w, withModifiers as T } from "vue";
|
|
10
10
|
function E(e) {
|
|
@@ -305,7 +305,7 @@ var ae = ["aria-sort"], oe = { class: "wi-table__th-inner" }, se = ["onClick"],
|
|
|
305
305
|
});
|
|
306
306
|
}
|
|
307
307
|
function Ve(e) {
|
|
308
|
-
return j.value === e ? M.value === "asc" ? "
|
|
308
|
+
return j.value === e ? M.value === "asc" ? "arrow-up" : M.value === "desc" ? "arrow-down" : "sort" : "sort";
|
|
309
309
|
}
|
|
310
310
|
function He(e, t) {
|
|
311
311
|
let n = {
|
|
@@ -391,7 +391,10 @@ var ae = ["aria-sort"], oe = { class: "wi-table__th-inner" }, se = ["onClick"],
|
|
|
391
391
|
type: "button",
|
|
392
392
|
class: "wi-table__sort",
|
|
393
393
|
onClick: (e) => Be(t.key, !0)
|
|
394
|
-
}, [p("span", null, S(t.label), 1), p("span", ce,
|
|
394
|
+
}, [p("span", null, S(t.label), 1), p("span", ce, [m(e, {
|
|
395
|
+
name: Ve(t.key),
|
|
396
|
+
size: "sm"
|
|
397
|
+
}, null, 8, ["name"])])], 8, se)) : (v(), f("span", le, S(t.label), 1)), t.filterable ? (v(), f("div", ue, [p("button", {
|
|
395
398
|
type: "button",
|
|
396
399
|
class: "wi-table__filter-btn",
|
|
397
400
|
"aria-expanded": L.value === t.key,
|
|
@@ -421,12 +424,12 @@ var ae = ["aria-sort"], oe = { class: "wi-table__th-inner" }, se = ["onClick"],
|
|
|
421
424
|
onInput: (e) => He(t.key, e.target.value)
|
|
422
425
|
}, null, 40, he))])) : d("", !0)])) : d("", !0)])], 14, ae))), 128))
|
|
423
426
|
])]),
|
|
424
|
-
p("tbody", null, [(v(!0), f(c, null, b(J.value, (
|
|
427
|
+
p("tbody", null, [(v(!0), f(c, null, b(J.value, (n, i) => (v(), f(c, { key: String(z(n, i)) }, [p("tr", {
|
|
425
428
|
class: g({
|
|
426
|
-
"wi-table__row--selected": Z(
|
|
427
|
-
"wi-table__row--current": h.highlightCurrent && I.value === z(
|
|
429
|
+
"wi-table__row--selected": Z(n, i),
|
|
430
|
+
"wi-table__row--current": h.highlightCurrent && I.value === z(n, i)
|
|
428
431
|
}),
|
|
429
|
-
onClick: (
|
|
432
|
+
onClick: (e) => We(n, i)
|
|
430
433
|
}, [
|
|
431
434
|
h.selectionMode ? (v(), f("td", {
|
|
432
435
|
key: 0,
|
|
@@ -434,9 +437,9 @@ var ae = ["aria-sort"], oe = { class: "wi-table__th-inner" }, se = ["onClick"],
|
|
|
434
437
|
style: _(K()),
|
|
435
438
|
onClick: o[1] ||= T(() => {}, ["stop"])
|
|
436
439
|
}, [m(t, {
|
|
437
|
-
"model-value": Z(
|
|
438
|
-
"aria-label": C(s)(C(k).selectRow, { index:
|
|
439
|
-
"onUpdate:modelValue": (
|
|
440
|
+
"model-value": Z(n, i),
|
|
441
|
+
"aria-label": C(s)(C(k).selectRow, { index: i + 1 }),
|
|
442
|
+
"onUpdate:modelValue": (e) => Re(n, i)
|
|
440
443
|
}, null, 8, [
|
|
441
444
|
"model-value",
|
|
442
445
|
"aria-label",
|
|
@@ -447,33 +450,36 @@ var ae = ["aria-sort"], oe = { class: "wi-table__th-inner" }, se = ["onClick"],
|
|
|
447
450
|
class: "wi-table__expand wi-table__cell--fixed-left",
|
|
448
451
|
style: _(Ne()),
|
|
449
452
|
onClick: o[2] ||= T(() => {}, ["stop"])
|
|
450
|
-
}, [Ge(
|
|
453
|
+
}, [Ge(n) ? (v(), f("button", {
|
|
451
454
|
key: 0,
|
|
452
455
|
type: "button",
|
|
453
456
|
class: "wi-table__expand-btn",
|
|
454
|
-
"aria-expanded": Q(
|
|
455
|
-
"aria-label": Q(
|
|
456
|
-
onClick: (
|
|
457
|
-
},
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
457
|
+
"aria-expanded": Q(n, i),
|
|
458
|
+
"aria-label": Q(n, i) ? C(k).collapse : C(k).expand,
|
|
459
|
+
onClick: (e) => Ke(n, i)
|
|
460
|
+
}, [m(e, {
|
|
461
|
+
name: Q(n, i) ? "chevron-down" : "chevron-right",
|
|
462
|
+
size: "sm"
|
|
463
|
+
}, null, 8, ["name"])], 8, _e)) : d("", !0)], 4)) : d("", !0),
|
|
464
|
+
(v(!0), f(c, null, b(h.columns, (e) => (v(), f("td", {
|
|
465
|
+
key: e.key,
|
|
466
|
+
class: g([`wi-table__cell--${e.align ?? "start"}`, $(e)]),
|
|
467
|
+
style: _(G(e))
|
|
462
468
|
}, [x(a.$slots, "body-cell", {
|
|
463
|
-
row:
|
|
464
|
-
column:
|
|
465
|
-
value: e
|
|
466
|
-
}, () => [x(a.$slots, `cell-${
|
|
467
|
-
row:
|
|
468
|
-
value: e
|
|
469
|
-
}, () => [
|
|
469
|
+
row: n,
|
|
470
|
+
column: e,
|
|
471
|
+
value: n[e.key]
|
|
472
|
+
}, () => [x(a.$slots, `cell-${e.key}`, {
|
|
473
|
+
row: n,
|
|
474
|
+
value: n[e.key]
|
|
475
|
+
}, () => [e.render ? (v(), u(C(r), {
|
|
470
476
|
key: 0,
|
|
471
|
-
value:
|
|
472
|
-
}, null, 8, ["value"])) : (v(), f(c, { key: 1 }, [ee(S(e
|
|
473
|
-
], 10, ge), h.expandable && Q(
|
|
477
|
+
value: e.render(n, e)
|
|
478
|
+
}, null, 8, ["value"])) : (v(), f(c, { key: 1 }, [ee(S(n[e.key]), 1)], 64))])])], 6))), 128))
|
|
479
|
+
], 10, ge), h.expandable && Q(n, i) ? (v(), f("tr", ve, [p("td", {
|
|
474
480
|
class: "wi-table__expansion",
|
|
475
481
|
colspan: Le.value
|
|
476
|
-
}, [x(a.$slots, "expansion", { row:
|
|
482
|
+
}, [x(a.$slots, "expansion", { row: n })], 8, ye)])) : d("", !0)], 64))), 128)), Ie.value ? (v(), f("tr", be, [p("td", {
|
|
477
483
|
class: "wi-table__empty",
|
|
478
484
|
colspan: Le.value
|
|
479
485
|
}, [x(a.$slots, "empty", {}, () => [p("div", Se, [
|
package/dist/table/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
483
|
+
.wi-textarea-field__help--invalid,
|
|
484
|
+
.wi-select-field__help--invalid {
|
|
485
485
|
color: var(--wi-color-danger);
|
|
486
486
|
}
|
|
487
487
|
|
|
@@ -500,9 +500,8 @@
|
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.wi-textarea--invalid:focus-visible,
|
|
503
|
-
.wi-
|
|
504
|
-
.wi-select--
|
|
505
|
-
.wi-select--error:focus-visible {
|
|
503
|
+
.wi-select--invalid.wi-select--open,
|
|
504
|
+
.wi-select--invalid:focus-visible {
|
|
506
505
|
border-color: var(--wi-color-danger);
|
|
507
506
|
box-shadow: var(--wi-focus-shadow-danger);
|
|
508
507
|
}
|
package/dist/tabs/index.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as e } from "../Icon-DHGs8l-M.js";
|
|
2
|
+
import { n as t } from "../locale-DxAvgqgB.js";
|
|
2
3
|
import "./style.js";
|
|
3
|
-
import { Fragment as
|
|
4
|
+
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, nextTick as l, normalizeClass as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, watch as y, withModifiers as b } from "vue";
|
|
4
5
|
//#region src/components/Tabs/Tabs.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var
|
|
6
|
+
var x = { class: "wi-tabs__bar" }, S = ["aria-label"], C = ["aria-label"], w = [
|
|
6
7
|
"id",
|
|
7
8
|
"aria-selected",
|
|
8
9
|
"disabled",
|
|
9
10
|
"onClick",
|
|
10
11
|
"onKeydown"
|
|
11
|
-
],
|
|
12
|
+
], T = [
|
|
12
13
|
"aria-label",
|
|
13
14
|
"disabled",
|
|
14
15
|
"onClick"
|
|
15
|
-
],
|
|
16
|
+
], E = ["aria-label"], D = ["aria-label"], O = {
|
|
16
17
|
key: 3,
|
|
17
18
|
class: "wi-tabs__extra"
|
|
18
|
-
},
|
|
19
|
+
}, k = {
|
|
19
20
|
class: "wi-tabs__panel",
|
|
20
21
|
role: "tabpanel"
|
|
21
|
-
},
|
|
22
|
+
}, A = /* @__PURE__ */ c({
|
|
22
23
|
__name: "Tabs",
|
|
23
24
|
props: {
|
|
24
25
|
modelValue: {},
|
|
@@ -39,20 +40,20 @@ var y = { class: "wi-tabs__bar" }, b = ["aria-label"], x = ["aria-label"], S = [
|
|
|
39
40
|
"close",
|
|
40
41
|
"add"
|
|
41
42
|
],
|
|
42
|
-
setup(
|
|
43
|
-
let
|
|
44
|
-
function
|
|
45
|
-
|
|
43
|
+
setup(c, { emit: A }) {
|
|
44
|
+
let j = c, M = A, N = t(), P = m(null), F = m(!1), I = r(() => j.modelValue ?? j.tabs.find((e) => !e.disabled)?.value);
|
|
45
|
+
function L(e) {
|
|
46
|
+
M("update:modelValue", e), M("change", e);
|
|
46
47
|
}
|
|
47
|
-
function
|
|
48
|
-
return e.closable ??
|
|
48
|
+
function R(e) {
|
|
49
|
+
return e.closable ?? j.closable;
|
|
49
50
|
}
|
|
50
|
-
function
|
|
51
|
-
if (e.disabled || (
|
|
52
|
-
let t =
|
|
53
|
-
t &&
|
|
51
|
+
function z(e) {
|
|
52
|
+
if (e.disabled || (M("close", e.value), I.value !== e.value)) return;
|
|
53
|
+
let t = j.tabs.find((t) => t.value !== e.value && !t.disabled);
|
|
54
|
+
t && L(t.value);
|
|
54
55
|
}
|
|
55
|
-
function
|
|
56
|
+
function B(e, t) {
|
|
56
57
|
if (![
|
|
57
58
|
"ArrowRight",
|
|
58
59
|
"ArrowLeft",
|
|
@@ -60,77 +61,89 @@ var y = { class: "wi-tabs__bar" }, b = ["aria-label"], x = ["aria-label"], S = [
|
|
|
60
61
|
"End"
|
|
61
62
|
].includes(e.key)) return;
|
|
62
63
|
e.preventDefault();
|
|
63
|
-
let n =
|
|
64
|
-
i && (
|
|
64
|
+
let n = j.tabs.filter((e) => !e.disabled), r = n.findIndex((e) => e.value === j.tabs[t]?.value), i = n[e.key === "Home" ? 0 : e.key === "End" ? n.length - 1 : (r + (e.key === "ArrowRight" ? 1 : -1) + n.length) % n.length];
|
|
65
|
+
i && (L(i.value), requestAnimationFrame(() => document.getElementById(`wi-tab-${i.value}`)?.focus({ preventScroll: !0 })));
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
-
let e =
|
|
68
|
-
|
|
67
|
+
function V() {
|
|
68
|
+
let e = P.value;
|
|
69
|
+
F.value = !!(e && e.scrollWidth > e.clientWidth + 1);
|
|
69
70
|
}
|
|
70
|
-
function
|
|
71
|
-
|
|
71
|
+
function H(e) {
|
|
72
|
+
P.value?.scrollBy({
|
|
72
73
|
left: e,
|
|
73
74
|
behavior: "smooth"
|
|
74
75
|
});
|
|
75
76
|
}
|
|
76
|
-
let
|
|
77
|
-
return
|
|
78
|
-
|
|
79
|
-
}),
|
|
80
|
-
|
|
81
|
-
}, { deep: !0 }),
|
|
82
|
-
|
|
77
|
+
let U;
|
|
78
|
+
return f(() => {
|
|
79
|
+
V(), !(!P.value || typeof ResizeObserver > "u") && (U = new ResizeObserver(() => V()), U.observe(P.value));
|
|
80
|
+
}), y(() => j.tabs, () => {
|
|
81
|
+
l(V);
|
|
82
|
+
}, { deep: !0 }), d(() => U?.disconnect()), (t, r) => (p(), a("div", { class: u(["wi-tabs", `wi-tabs--${c.type}`]) }, [o("div", x, [
|
|
83
|
+
F.value ? (p(), a("button", {
|
|
83
84
|
key: 0,
|
|
84
85
|
type: "button",
|
|
85
86
|
class: "wi-tabs__scroll",
|
|
86
|
-
"aria-label":
|
|
87
|
-
onClick:
|
|
88
|
-
},
|
|
89
|
-
|
|
87
|
+
"aria-label": v(N).prev,
|
|
88
|
+
onClick: r[0] ||= (e) => H(-160)
|
|
89
|
+
}, [s(e, {
|
|
90
|
+
name: "chevron-left",
|
|
91
|
+
size: "sm"
|
|
92
|
+
})], 8, S)) : i("", !0),
|
|
93
|
+
o("div", {
|
|
90
94
|
ref_key: "scroller",
|
|
91
|
-
ref:
|
|
95
|
+
ref: P,
|
|
92
96
|
class: "wi-tabs__scroller"
|
|
93
|
-
}, [
|
|
97
|
+
}, [o("div", {
|
|
94
98
|
class: "wi-tabs__list",
|
|
95
99
|
role: "tablist",
|
|
96
|
-
"aria-label":
|
|
97
|
-
}, [(
|
|
98
|
-
key:
|
|
99
|
-
class:
|
|
100
|
-
}, [
|
|
101
|
-
id: `wi-tab-${
|
|
102
|
-
class:
|
|
100
|
+
"aria-label": v(N).tabs
|
|
101
|
+
}, [(p(!0), a(n, null, h(c.tabs, (t, n) => (p(), a("div", {
|
|
102
|
+
key: t.value,
|
|
103
|
+
class: u(["wi-tabs__item", { "wi-tabs__item--active": I.value === t.value }])
|
|
104
|
+
}, [o("button", {
|
|
105
|
+
id: `wi-tab-${t.value}`,
|
|
106
|
+
class: u(["wi-tabs__tab", { "wi-tabs__tab--active": I.value === t.value }]),
|
|
103
107
|
type: "button",
|
|
104
108
|
role: "tab",
|
|
105
|
-
"aria-selected":
|
|
106
|
-
disabled:
|
|
107
|
-
onClick: (
|
|
108
|
-
onKeydown: (e) =>
|
|
109
|
-
},
|
|
109
|
+
"aria-selected": I.value === t.value,
|
|
110
|
+
disabled: t.disabled,
|
|
111
|
+
onClick: (e) => L(t.value),
|
|
112
|
+
onKeydown: (e) => B(e, n)
|
|
113
|
+
}, _(t.label), 43, w), R(t) ? (p(), a("button", {
|
|
110
114
|
key: 0,
|
|
111
115
|
type: "button",
|
|
112
116
|
class: "wi-tabs__close",
|
|
113
|
-
"aria-label":
|
|
114
|
-
disabled:
|
|
115
|
-
onClick:
|
|
116
|
-
},
|
|
117
|
-
|
|
117
|
+
"aria-label": v(N).closeTab,
|
|
118
|
+
disabled: t.disabled,
|
|
119
|
+
onClick: b((e) => z(t), ["stop"])
|
|
120
|
+
}, [s(e, {
|
|
121
|
+
name: "close",
|
|
122
|
+
size: "sm"
|
|
123
|
+
})], 8, T)) : i("", !0)], 2))), 128))], 8, C)], 512),
|
|
124
|
+
F.value ? (p(), a("button", {
|
|
118
125
|
key: 1,
|
|
119
126
|
type: "button",
|
|
120
127
|
class: "wi-tabs__scroll",
|
|
121
|
-
"aria-label":
|
|
122
|
-
onClick:
|
|
123
|
-
},
|
|
124
|
-
|
|
128
|
+
"aria-label": v(N).next,
|
|
129
|
+
onClick: r[1] ||= (e) => H(160)
|
|
130
|
+
}, [s(e, {
|
|
131
|
+
name: "chevron-right",
|
|
132
|
+
size: "sm"
|
|
133
|
+
})], 8, E)) : i("", !0),
|
|
134
|
+
c.addable ? (p(), a("button", {
|
|
125
135
|
key: 2,
|
|
126
136
|
type: "button",
|
|
127
137
|
class: "wi-tabs__add",
|
|
128
|
-
"aria-label":
|
|
129
|
-
onClick:
|
|
130
|
-
},
|
|
131
|
-
|
|
132
|
-
|
|
138
|
+
"aria-label": v(N).addTab,
|
|
139
|
+
onClick: r[2] ||= (e) => M("add")
|
|
140
|
+
}, [s(e, {
|
|
141
|
+
name: "plus",
|
|
142
|
+
size: "sm"
|
|
143
|
+
})], 8, D)) : i("", !0),
|
|
144
|
+
t.$slots.extra ? (p(), a("div", O, [g(t.$slots, "extra")])) : i("", !0)
|
|
145
|
+
]), o("div", k, [g(t.$slots, "default", { activeValue: I.value })])], 2));
|
|
133
146
|
}
|
|
134
147
|
});
|
|
135
148
|
//#endregion
|
|
136
|
-
export {
|
|
149
|
+
export { A as WiTabs };
|
package/dist/tabs/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
483
|
+
.wi-textarea-field__help--invalid,
|
|
484
|
+
.wi-select-field__help--invalid {
|
|
485
485
|
color: var(--wi-color-danger);
|
|
486
486
|
}
|
|
487
487
|
|
|
@@ -500,9 +500,8 @@
|
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.wi-textarea--invalid:focus-visible,
|
|
503
|
-
.wi-
|
|
504
|
-
.wi-select--
|
|
505
|
-
.wi-select--error:focus-visible {
|
|
503
|
+
.wi-select--invalid.wi-select--open,
|
|
504
|
+
.wi-select--invalid:focus-visible {
|
|
506
505
|
border-color: var(--wi-color-danger);
|
|
507
506
|
box-shadow: var(--wi-focus-shadow-danger);
|
|
508
507
|
}
|
|
@@ -750,6 +749,45 @@
|
|
|
750
749
|
line-height: 1;
|
|
751
750
|
}
|
|
752
751
|
|
|
752
|
+
.wi-icon {
|
|
753
|
+
display: inline-flex;
|
|
754
|
+
height: 1rem;
|
|
755
|
+
width: 1rem;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
.wi-icon svg {
|
|
759
|
+
height: 100%;
|
|
760
|
+
width: 100%;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
.wi-icon--sm,
|
|
764
|
+
.wi-icon--small {
|
|
765
|
+
height: 0.875rem;
|
|
766
|
+
width: 0.875rem;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.wi-icon--md,
|
|
770
|
+
.wi-icon--normal {
|
|
771
|
+
height: 1rem;
|
|
772
|
+
width: 1rem;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.wi-icon--lg,
|
|
776
|
+
.wi-icon--large {
|
|
777
|
+
height: 1.25rem;
|
|
778
|
+
width: 1.25rem;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.wi-icon--spin svg {
|
|
782
|
+
animation: wi-icon-spin 0.8s linear infinite;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
@keyframes wi-icon-spin {
|
|
786
|
+
to {
|
|
787
|
+
transform: rotate(360deg);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
753
791
|
.wi-tabs {
|
|
754
792
|
font-family: var(--wi-font-sans);
|
|
755
793
|
}
|
package/dist/tabs/style.js
CHANGED
package/dist/tag/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "../types-tV3SEv3Q.js";
|
|
2
|
-
import { t } from "../Icon-
|
|
3
|
-
import { o as n } from "../config-
|
|
4
|
-
import { n as r } from "../locale-
|
|
2
|
+
import { t } from "../Icon-DHGs8l-M.js";
|
|
3
|
+
import { o as n } from "../config-CTLkobga.js";
|
|
4
|
+
import { n as r } from "../locale-DxAvgqgB.js";
|
|
5
5
|
import "./style.js";
|
|
6
|
-
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c,
|
|
6
|
+
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, renderSlot as m, toDisplayString as h, unref as g } from "vue";
|
|
7
7
|
//#region src/components/Tag/Tag.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var
|
|
8
|
+
var _ = ["disabled", "aria-label"], v = /* @__PURE__ */ u({
|
|
9
9
|
__name: "Tag",
|
|
10
10
|
props: {
|
|
11
11
|
value: {},
|
|
@@ -31,43 +31,46 @@ var g = ["disabled", "aria-label"], _ = /* @__PURE__ */ l({
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
emits: ["close"],
|
|
34
|
-
setup(
|
|
35
|
-
let
|
|
34
|
+
setup(u, { emit: v }) {
|
|
35
|
+
let y = u, b = v, x = r(), S = n("Tag", () => y.size), C = i(() => e(y.severity) ?? "primary"), w = i(() => [
|
|
36
36
|
"wi-tag",
|
|
37
|
+
`wi-tag--${C.value}`,
|
|
37
38
|
`wi-tag--${S.value}`,
|
|
38
|
-
`wi-tag--${x.value}`,
|
|
39
39
|
{
|
|
40
|
-
"wi-tag--rounded":
|
|
41
|
-
"wi-tag--bordered":
|
|
42
|
-
"wi-tag--closable":
|
|
43
|
-
"wi-tag--disabled":
|
|
44
|
-
"wi-tag--custom": !!
|
|
40
|
+
"wi-tag--rounded": y.rounded,
|
|
41
|
+
"wi-tag--bordered": y.bordered,
|
|
42
|
+
"wi-tag--closable": y.closable,
|
|
43
|
+
"wi-tag--disabled": y.disabled,
|
|
44
|
+
"wi-tag--custom": !!y.color
|
|
45
45
|
}
|
|
46
|
-
]),
|
|
47
|
-
function
|
|
48
|
-
|
|
46
|
+
]), T = i(() => y.color ? { "--wi-tag-color": y.color } : void 0);
|
|
47
|
+
function E(e) {
|
|
48
|
+
y.disabled || (e.stopPropagation(), b("close", e));
|
|
49
49
|
}
|
|
50
|
-
return (e, n) => (
|
|
51
|
-
class:
|
|
52
|
-
style:
|
|
50
|
+
return (e, n) => (p(), s("span", {
|
|
51
|
+
class: d(w.value),
|
|
52
|
+
style: f(T.value)
|
|
53
53
|
}, [
|
|
54
|
-
|
|
54
|
+
u.icon ? (p(), a(t, {
|
|
55
55
|
key: 0,
|
|
56
56
|
class: "wi-tag__icon",
|
|
57
|
-
name:
|
|
57
|
+
name: u.icon,
|
|
58
58
|
size: "sm"
|
|
59
59
|
}, null, 8, ["name"])) : o("", !0),
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
m(e.$slots, "default", {}, () => [c(h(u.value), 1)]),
|
|
61
|
+
u.closable ? (p(), s("button", {
|
|
62
62
|
key: 1,
|
|
63
63
|
type: "button",
|
|
64
64
|
class: "wi-tag__close",
|
|
65
|
-
disabled:
|
|
66
|
-
"aria-label":
|
|
67
|
-
onClick:
|
|
68
|
-
},
|
|
65
|
+
disabled: u.disabled,
|
|
66
|
+
"aria-label": g(x).close,
|
|
67
|
+
onClick: E
|
|
68
|
+
}, [l(t, {
|
|
69
|
+
name: "close",
|
|
70
|
+
size: "sm"
|
|
71
|
+
})], 8, _)) : o("", !0)
|
|
69
72
|
], 6));
|
|
70
73
|
}
|
|
71
74
|
});
|
|
72
75
|
//#endregion
|
|
73
|
-
export {
|
|
76
|
+
export { v as WiTag };
|
package/dist/tag/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
483
|
+
.wi-textarea-field__help--invalid,
|
|
484
|
+
.wi-select-field__help--invalid {
|
|
485
485
|
color: var(--wi-color-danger);
|
|
486
486
|
}
|
|
487
487
|
|
|
@@ -500,9 +500,8 @@
|
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.wi-textarea--invalid:focus-visible,
|
|
503
|
-
.wi-
|
|
504
|
-
.wi-select--
|
|
505
|
-
.wi-select--error:focus-visible {
|
|
503
|
+
.wi-select--invalid.wi-select--open,
|
|
504
|
+
.wi-select--invalid:focus-visible {
|
|
506
505
|
border-color: var(--wi-color-danger);
|
|
507
506
|
box-shadow: var(--wi-focus-shadow-danger);
|
|
508
507
|
}
|
package/dist/terminal/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../locale-
|
|
1
|
+
import { n as e } from "../locale-DxAvgqgB.js";
|
|
2
2
|
import "./style.js";
|
|
3
3
|
import { Fragment as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, nextTick as o, openBlock as s, ref as c, renderList as l, toDisplayString as u, unref as d, vModelText as f, withDirectives as p, withModifiers as m } from "vue";
|
|
4
4
|
//#region src/components/Terminal/Terminal.vue?vue&type=script&setup=true&lang.ts
|
package/dist/terminal/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
483
|
+
.wi-textarea-field__help--invalid,
|
|
484
|
+
.wi-select-field__help--invalid {
|
|
485
485
|
color: var(--wi-color-danger);
|
|
486
486
|
}
|
|
487
487
|
|
|
@@ -500,9 +500,8 @@
|
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.wi-textarea--invalid:focus-visible,
|
|
503
|
-
.wi-
|
|
504
|
-
.wi-select--
|
|
505
|
-
.wi-select--error:focus-visible {
|
|
503
|
+
.wi-select--invalid.wi-select--open,
|
|
504
|
+
.wi-select--invalid:focus-visible {
|
|
506
505
|
border-color: var(--wi-color-danger);
|
|
507
506
|
box-shadow: var(--wi-focus-shadow-danger);
|
|
508
507
|
}
|
|
@@ -752,10 +751,10 @@
|
|
|
752
751
|
|
|
753
752
|
/* —— Misc: Terminal —— */
|
|
754
753
|
.wi-terminal {
|
|
755
|
-
--wi-terminal-bg:
|
|
756
|
-
--wi-terminal-fg:
|
|
757
|
-
--wi-terminal-prompt:
|
|
758
|
-
--wi-terminal-border: color-mix(in srgb,
|
|
754
|
+
--wi-terminal-bg: var(--wi-color-contrast);
|
|
755
|
+
--wi-terminal-fg: var(--wi-color-contrast-fg);
|
|
756
|
+
--wi-terminal-prompt: var(--wi-color-success);
|
|
757
|
+
--wi-terminal-border: color-mix(in srgb, var(--wi-color-on-emphasis) 12%, transparent);
|
|
759
758
|
--wi-terminal-min-height: 12rem;
|
|
760
759
|
background: var(--wi-terminal-bg);
|
|
761
760
|
border: 1px solid var(--wi-color-border);
|
|
@@ -793,10 +792,10 @@
|
|
|
793
792
|
}
|
|
794
793
|
|
|
795
794
|
[data-theme="dark"] .wi-terminal {
|
|
796
|
-
--wi-terminal-bg:
|
|
797
|
-
--wi-terminal-fg:
|
|
798
|
-
--wi-terminal-prompt:
|
|
799
|
-
--wi-terminal-border: color-mix(in srgb,
|
|
795
|
+
--wi-terminal-bg: color-mix(in srgb, var(--wi-color-text) 6%, var(--wi-color-surface));
|
|
796
|
+
--wi-terminal-fg: var(--wi-color-text);
|
|
797
|
+
--wi-terminal-prompt: var(--wi-color-success);
|
|
798
|
+
--wi-terminal-border: color-mix(in srgb, var(--wi-color-on-emphasis) 14%, transparent);
|
|
800
799
|
}
|
|
801
800
|
|
|
802
801
|
.wi-terminal__input {
|