@ironsource/shared-ui 1.4.2-test.14 → 1.4.2-test.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/DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/components/appIcon/AppIcon.vue.d.ts +1 -1
- package/components/appIcon/AppIcon.vue.js +3 -3
- package/components/appIcon/index.d.ts +1 -1
- package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
- package/components/appTrigger/AppTrigger.vue.js +22 -25
- package/components/appTrigger/index.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +14 -16
- package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +7 -7
- package/components/autocompleteDropdown/GroupOption.vue.d.ts +1 -1
- package/components/autocompleteDropdown/GroupOption.vue.js +3 -4
- package/components/autocompleteDropdown/index.d.ts +1 -1
- package/components/banner/Banner.vue.d.ts +1 -1
- package/components/banner/Banner.vue.js +4 -4
- package/components/banner/index.d.ts +1 -1
- package/components/button/Button.vue.d.ts +1 -1
- package/components/button/Button.vue.js +12 -12
- package/components/button/ButtonBase.vue.d.ts +1 -1
- package/components/button/ButtonBase.vue.js +11 -12
- package/components/button/IconButton.vue.d.ts +1 -1
- package/components/button/IconButton.vue.js +5 -5
- package/components/button/ScrollButton.vue.d.ts +1 -1
- package/components/button/ScrollButton.vue.js +8 -9
- package/components/button/index.d.ts +3 -3
- package/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/components/checkbox/Checkbox.vue.js +15 -16
- package/components/checkbox/index.d.ts +1 -1
- package/components/chip/Chip.vue.d.ts +1 -1
- package/components/chip/Chip.vue.js +5 -5
- package/components/chip/index.d.ts +1 -1
- package/components/datePicker/DatePicker.vue.d.ts +1 -1
- package/components/datePicker/DatePicker.vue.js +11 -11
- package/components/datePicker/DatePickerMonth.vue.d.ts +1 -1
- package/components/datePicker/DatePickerMonth.vue.js +4 -4
- package/components/datePicker/index.d.ts +1 -1
- package/components/dateRange/CalendarMonth.vue.d.ts +1 -1
- package/components/dateRange/CalendarMonth.vue.js +19 -20
- package/components/dateRange/DateRange.vue.d.ts +1 -1
- package/components/dateRange/DateRange.vue.js +26 -28
- package/components/dateRange/DateRangePicker.vue.d.ts +1 -1
- package/components/dateRange/index.d.ts +1 -1
- package/components/dialog/Dialog.vue.d.ts +1 -1
- package/components/dialog/Dialog.vue.js +16 -16
- package/components/dialog/index.d.ts +1 -1
- package/components/dropdown/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/Dropdown.vue.js +57 -60
- package/components/dropdown/Label.vue.d.ts +1 -1
- package/components/dropdown/Label.vue.js +3 -4
- package/components/dropdown/Option.vue.d.ts +1 -1
- package/components/dropdown/Option.vue.js +16 -17
- package/components/dropdown/SearchInput.vue.d.ts +1 -1
- package/components/dropdown/SearchInput.vue.js +6 -6
- package/components/dropdown/index.d.ts +398 -1
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +19 -21
- package/components/emptyState/index.d.ts +1 -1
- package/components/filterDropdown/AddFilterButton.vue.d.ts +1 -1
- package/components/filterDropdown/AddFilterButton.vue.js +7 -7
- package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
- package/components/filterDropdown/FilterDropdown.vue.js +15 -17
- package/components/filterDropdown/index.d.ts +2 -2
- package/components/filtersPanel/FilterSearchInput.vue.d.ts +1 -1
- package/components/filtersPanel/FilterSearchInput.vue.js +7 -7
- package/components/filtersPanel/FiltersPanel.vue.d.ts +1 -1
- package/components/filtersPanel/FiltersPanel.vue.js +8 -8
- package/components/filtersPanel/index.d.ts +1 -1
- package/components/floatingToolbar/FloatingToolbar.vue.d.ts +1 -1
- package/components/floatingToolbar/FloatingToolbar.vue.js +3 -3
- package/components/floatingToolbar/index.d.ts +1 -1
- package/components/icon/Icon.vue.d.ts +1 -1
- package/components/icon/Icon.vue.js +4 -4
- package/components/icon/index.d.ts +1 -1
- package/components/icon/storyComponents/Code.vue.d.ts +1 -1
- package/components/icon/storyComponents/IconWrapper.vue.d.ts +1 -1
- package/components/icon/storyComponents/Page.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExclude.vue.js +50 -52
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +25 -26
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +19 -22
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +40 -42
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.js +21 -22
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +19 -19
- package/components/includeExclude/index.d.ts +5 -5
- package/components/input/DollarInput.vue.d.ts +2 -2
- package/components/input/DollarInput.vue.js +3 -4
- package/components/input/Input.vue.d.ts +1 -1
- package/components/input/Input.vue.js +30 -33
- package/components/input/PasswordInput.vue.d.ts +2 -2
- package/components/input/PasswordInput.vue.js +3 -4
- package/components/input/PercentageInput.vue.d.ts +2 -2
- package/components/input/PercentageInput.vue.js +3 -4
- package/components/input/index.d.ts +2 -2
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/Menu.vue.js +4 -4
- package/components/menu/index.d.ts +1 -1
- package/components/menuItem/MenuItem.vue.d.ts +1 -1
- package/components/menuItem/MenuItem.vue.js +3 -4
- package/components/menuItem/index.d.ts +1 -1
- package/components/popover/Popover.vue.d.ts +1 -1
- package/components/popover/Popover.vue.js +7 -7
- package/components/popover/index.d.ts +1 -1
- package/components/radioButton/RadioButton.vue.d.ts +1 -1
- package/components/radioButton/RadioButton.vue.js +9 -9
- package/components/radioButton/RadioGroup.vue.d.ts +1 -1
- package/components/radioButton/RadioGroup.vue.js +3 -3
- package/components/radioButton/index.d.ts +2 -2
- package/components/radioButton/useRadio.d.ts +1 -1
- package/components/search/Search.vue.d.ts +1 -1
- package/components/search/Search.vue.js +15 -15
- package/components/search/index.d.ts +1 -1
- package/components/skeleton/Skeleton.vue.d.ts +1 -1
- package/components/skeleton/Skeleton.vue.js +2 -2
- package/components/skeleton/index.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.js +26 -26
- package/components/switch/Switch.vue.d.ts +1 -1
- package/components/switch/Switch.vue.js +9 -9
- package/components/switch/index.d.ts +1 -1
- package/components/table/Pagination.vue.d.ts +1 -1
- package/components/table/Table.vue.d.ts +1 -1
- package/components/table/Table.vue.js +34 -37
- package/components/table/TableHeaderSorter.vue.d.ts +1 -1
- package/components/table/TableHeaderSorter.vue.js +4 -4
- package/components/table/index.d.ts +1 -1
- package/components/table-cells/Editable.vue.d.ts +1 -1
- package/components/table-cells/Editable.vue.js +4 -4
- package/components/table-cells/index.d.ts +1 -1
- package/components/tabs/Tabs.vue.d.ts +1 -1
- package/components/tabs/Tabs.vue.js +15 -16
- package/components/tabs/index.d.ts +1 -1
- package/components/textArea/TextArea.vue.d.ts +1 -1
- package/components/textArea/TextArea.vue.js +12 -13
- package/components/textArea/index.d.ts +1 -1
- package/components/toggle/Toggle.vue.d.ts +1 -1
- package/components/toggle/Toggle.vue.js +16 -17
- package/components/toggle/index.d.ts +1 -1
- package/components/tooltip/TextWithTitleContent.vue.d.ts +1 -1
- package/components/tooltip/TextWithTitleContent.vue.js +7 -8
- package/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/Tooltip.vue.js +10 -11
- package/components/tooltip/index.d.ts +1 -1
- package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +1 -1
- package/components/typography/Heading.vue.d.ts +1 -1
- package/components/typography/Heading.vue.js +4 -4
- package/components/typography/Text.vue.d.ts +1 -1
- package/components/typography/Text.vue.js +3 -3
- package/components/typography/index.d.ts +2 -2
- package/index.vue.js +3 -3
- package/package.json +3 -3
|
@@ -6,7 +6,7 @@ import LoaderCircleIcon from './icon/LoaderCircleIcon.vue.js';
|
|
|
6
6
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
7
7
|
|
|
8
8
|
import "../../IconButton.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
9
|
-
const _sfc_main = defineComponent({
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "IconButton",
|
|
11
11
|
props: {
|
|
12
12
|
size: { default: "md" },
|
|
@@ -17,22 +17,22 @@ const _sfc_main = defineComponent({
|
|
|
17
17
|
const loaderSize = computed(() => loaderSizeMap[props.size] + "px");
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
19
|
return openBlock(), createBlock(ButtonBase, mergeProps({
|
|
20
|
-
size:
|
|
20
|
+
size: __props.size,
|
|
21
21
|
"is-truncated": false
|
|
22
22
|
}, _ctx.$attrs, {
|
|
23
|
-
variant:
|
|
23
|
+
variant: __props.variant,
|
|
24
24
|
class: "icon-base"
|
|
25
25
|
}), {
|
|
26
26
|
content: withCtx(() => [
|
|
27
27
|
createElementVNode("div", {
|
|
28
|
-
class: normalizeClass(["icon", { [
|
|
28
|
+
class: normalizeClass(["icon", { [__props.size]: true, [__props.variant]: true }])
|
|
29
29
|
}, [
|
|
30
30
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31
31
|
], 2)
|
|
32
32
|
]),
|
|
33
33
|
loader: withCtx(() => [
|
|
34
34
|
createVNode(unref(Icon), {
|
|
35
|
-
"font-size": loaderSize
|
|
35
|
+
"font-size": unref(loaderSize),
|
|
36
36
|
class: "loading"
|
|
37
37
|
}, {
|
|
38
38
|
default: withCtx(() => [
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
25
|
iconName: string;
|
|
26
26
|
tooltipText: string;
|
|
27
27
|
position: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
28
|
-
}
|
|
28
|
+
}>;
|
|
29
29
|
export default _default;
|
|
30
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
31
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, createVNode, createCommentVNode } from 'vue';
|
|
2
2
|
import Icon from '../icon/Icon.vue.js';
|
|
3
|
-
import '
|
|
4
|
-
import IconButton from './IconButton.vue.js';
|
|
3
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
|
+
/* empty css *//* empty css *//* empty css */import IconButton from './IconButton.vue.js';
|
|
5
5
|
import _sfc_main$1 from '../tooltip/Tooltip.vue.js';
|
|
6
|
-
/* empty css */
|
|
7
|
-
|
|
6
|
+
/* empty css */
|
|
8
7
|
import "../../ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
9
|
-
const _sfc_main = defineComponent({
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
9
|
__name: "ScrollButton",
|
|
11
10
|
props: {
|
|
12
11
|
show: { type: Boolean, default: false },
|
|
@@ -20,9 +19,9 @@ const _sfc_main = defineComponent({
|
|
|
20
19
|
emit("scrolled");
|
|
21
20
|
};
|
|
22
21
|
return (_ctx, _cache) => {
|
|
23
|
-
return
|
|
22
|
+
return __props.show ? (openBlock(), createBlock(unref(IconButton), {
|
|
24
23
|
key: 0,
|
|
25
|
-
class: normalizeClass(["scroll-button",
|
|
24
|
+
class: normalizeClass(["scroll-button", __props.position]),
|
|
26
25
|
theme: "third",
|
|
27
26
|
variant: "borderless",
|
|
28
27
|
size: "lg",
|
|
@@ -30,11 +29,11 @@ const _sfc_main = defineComponent({
|
|
|
30
29
|
}, {
|
|
31
30
|
default: withCtx(() => [
|
|
32
31
|
createVNode(unref(_sfc_main$1), {
|
|
33
|
-
text:
|
|
32
|
+
text: __props.tooltipText,
|
|
34
33
|
delay: 400
|
|
35
34
|
}, {
|
|
36
35
|
default: withCtx(() => [
|
|
37
|
-
createVNode(unref(Icon), { name:
|
|
36
|
+
createVNode(unref(Icon), { name: __props.iconName }, null, 8, ["name"])
|
|
38
37
|
]),
|
|
39
38
|
_: 1
|
|
40
39
|
}, 8, ["text"])
|
|
@@ -37,7 +37,7 @@ declare const ButtonTypes: () => (import("vue").DefineComponent<{
|
|
|
37
37
|
size: "md" | "sm" | "lg";
|
|
38
38
|
leftIconName: "search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "table-edit" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad";
|
|
39
39
|
rightIconName: "search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "table-edit" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad";
|
|
40
|
-
}
|
|
40
|
+
}> | import("vue").DefineComponent<{
|
|
41
41
|
size: {
|
|
42
42
|
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
43
43
|
} & {
|
|
@@ -62,7 +62,7 @@ declare const ButtonTypes: () => (import("vue").DefineComponent<{
|
|
|
62
62
|
}>>, {
|
|
63
63
|
size: "md" | "sm" | "lg";
|
|
64
64
|
variant: "link" | "solid" | "border" | "borderless" | "ghost" | "colorized";
|
|
65
|
-
}
|
|
65
|
+
}> | import("vue").DefineComponent<{
|
|
66
66
|
show: {
|
|
67
67
|
type: import("vue").PropType<boolean>;
|
|
68
68
|
} & {
|
|
@@ -111,5 +111,5 @@ declare const ButtonTypes: () => (import("vue").DefineComponent<{
|
|
|
111
111
|
iconName: string;
|
|
112
112
|
tooltipText: string;
|
|
113
113
|
position: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
114
|
-
}
|
|
114
|
+
}>)[];
|
|
115
115
|
export { Button, IconButton, ScrollButton, ButtonTypes };
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
26
26
|
}, {
|
|
27
27
|
size: 'sm' | 'md' | 'lg';
|
|
28
28
|
label: string;
|
|
29
|
-
}
|
|
29
|
+
}>;
|
|
30
30
|
export default _default;
|
|
31
31
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
32
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps,
|
|
2
|
-
import '
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, unref, createVNode, withCtx, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, pushScopeId, popScopeId } from 'vue';
|
|
2
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
3
|
import Text from '../typography/Text.vue.js';
|
|
4
4
|
import Icon from '../icon/Icon.vue.js';
|
|
5
5
|
import Unchecked from './icons/unchecked.vue.js';
|
|
@@ -7,14 +7,13 @@ import Checked from './icons/checked.vue.js';
|
|
|
7
7
|
import Indeterminate from './icons/indeterminate.vue.js';
|
|
8
8
|
import useIsFocusVisible from '../../composables/useIsFocusVisible.vue.js';
|
|
9
9
|
import { useId } from '../../composables/useId.vue.js';
|
|
10
|
-
/* empty css */
|
|
11
|
-
|
|
10
|
+
/* empty css */
|
|
12
11
|
import "../../Checkbox.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
13
12
|
const _withScopeId = (n) => (pushScopeId("data-v-2662240e"), n = n(), popScopeId(), n);
|
|
14
13
|
const _hoisted_1 = { class: "checkboxes" };
|
|
15
14
|
const _hoisted_2 = ["disabled", "checked", ".indeterminate"];
|
|
16
15
|
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "checkbox__inner" }, null, -1));
|
|
17
|
-
const _sfc_main = defineComponent({
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
17
|
__name: "Checkbox",
|
|
19
18
|
props: {
|
|
20
19
|
isChecked: { type: Boolean },
|
|
@@ -55,16 +54,16 @@ const _sfc_main = defineComponent({
|
|
|
55
54
|
return (_ctx, _cache) => {
|
|
56
55
|
return openBlock(), createElementBlock("label", {
|
|
57
56
|
for: id,
|
|
58
|
-
class: normalizeClass([[
|
|
57
|
+
class: normalizeClass([[__props.size, { "focus-visible": isFocusVisible.value, disabled: __props.disabled }], "checkbox"])
|
|
59
58
|
}, [
|
|
60
59
|
createElementVNode("span", _hoisted_1, [
|
|
61
60
|
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
62
61
|
id,
|
|
63
62
|
ref: checkbox.value,
|
|
64
|
-
disabled:
|
|
65
|
-
checked: checked
|
|
63
|
+
disabled: __props.disabled,
|
|
64
|
+
checked: unref(checked),
|
|
66
65
|
class: "input",
|
|
67
|
-
".indeterminate": indeterminate
|
|
66
|
+
".indeterminate": unref(indeterminate),
|
|
68
67
|
type: "checkbox",
|
|
69
68
|
onBlur: handleBlur,
|
|
70
69
|
onFocus: handleFocus,
|
|
@@ -72,17 +71,17 @@ const _sfc_main = defineComponent({
|
|
|
72
71
|
onInput: updateValue
|
|
73
72
|
}), null, 16, _hoisted_2),
|
|
74
73
|
_hoisted_3,
|
|
75
|
-
createVNode(unref(Icon), { "font-size":
|
|
74
|
+
createVNode(unref(Icon), { "font-size": __props.size }, {
|
|
76
75
|
default: withCtx(() => [
|
|
77
|
-
checked
|
|
76
|
+
unref(checked) ? (openBlock(), createBlock(Checked, {
|
|
78
77
|
key: 0,
|
|
79
78
|
class: "checkbox-icon checked"
|
|
80
79
|
})) : createCommentVNode("", true),
|
|
81
|
-
indeterminate
|
|
80
|
+
unref(indeterminate) ? (openBlock(), createBlock(Indeterminate, {
|
|
82
81
|
key: 1,
|
|
83
82
|
class: "checkbox-icon indeterminate"
|
|
84
83
|
})) : createCommentVNode("", true),
|
|
85
|
-
unchecked
|
|
84
|
+
unref(unchecked) && !unref(indeterminate) ? (openBlock(), createBlock(Unchecked, {
|
|
86
85
|
key: 2,
|
|
87
86
|
class: "checkbox-icon unchecked"
|
|
88
87
|
})) : createCommentVNode("", true)
|
|
@@ -90,14 +89,14 @@ const _sfc_main = defineComponent({
|
|
|
90
89
|
_: 1
|
|
91
90
|
}, 8, ["font-size"])
|
|
92
91
|
]),
|
|
93
|
-
|
|
92
|
+
__props.label || _ctx.$slots.default ? (openBlock(), createBlock(unref(Text), {
|
|
94
93
|
key: 0,
|
|
95
|
-
size:
|
|
94
|
+
size: __props.size,
|
|
96
95
|
class: "checkbox-text"
|
|
97
96
|
}, {
|
|
98
97
|
default: withCtx(() => [
|
|
99
98
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
100
|
-
createTextVNode(toDisplayString(
|
|
99
|
+
createTextVNode(toDisplayString(__props.label), 1)
|
|
101
100
|
], true)
|
|
102
101
|
]),
|
|
103
102
|
_: 3
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
25
|
selected: boolean;
|
|
26
26
|
clearable: boolean;
|
|
27
27
|
prefix: string;
|
|
28
|
-
}
|
|
28
|
+
}>;
|
|
29
29
|
export default _default;
|
|
30
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
31
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -16,7 +16,7 @@ const _hoisted_4 = {
|
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "icon icon--end"
|
|
18
18
|
};
|
|
19
|
-
const _sfc_main = defineComponent({
|
|
19
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
20
|
__name: "Chip",
|
|
21
21
|
props: {
|
|
22
22
|
selected: { type: Boolean, default: false },
|
|
@@ -32,20 +32,20 @@ const _sfc_main = defineComponent({
|
|
|
32
32
|
};
|
|
33
33
|
return (_ctx, _cache) => {
|
|
34
34
|
return openBlock(), createElementBlock("button", {
|
|
35
|
-
class: normalizeClass(["chip-container", { selected:
|
|
36
|
-
disabled:
|
|
35
|
+
class: normalizeClass(["chip-container", { selected: __props.selected, disabled: __props.disabled }]),
|
|
36
|
+
disabled: __props.disabled
|
|
37
37
|
}, [
|
|
38
38
|
_ctx.$slots["icon-start"] ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
39
39
|
renderSlot(_ctx.$slots, "icon-start", {}, void 0, true)
|
|
40
40
|
])) : createCommentVNode("", true),
|
|
41
41
|
createElementVNode("span", null, [
|
|
42
|
-
!!
|
|
42
|
+
!!__props.prefix ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(__props.prefix) + ":", 1)) : createCommentVNode("", true),
|
|
43
43
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
44
44
|
]),
|
|
45
45
|
_ctx.$slots["icon-end"] ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
46
46
|
renderSlot(_ctx.$slots, "icon-end", {}, void 0, true)
|
|
47
47
|
])) : createCommentVNode("", true),
|
|
48
|
-
|
|
48
|
+
__props.clearable ? (openBlock(), createElementBlock("button", {
|
|
49
49
|
key: 2,
|
|
50
50
|
class: "clear-icon",
|
|
51
51
|
onClick: cleared
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
32
32
|
uniqueId: string | number;
|
|
33
33
|
allowFutureDates: boolean;
|
|
34
34
|
dateFormat: string;
|
|
35
|
-
}
|
|
35
|
+
}>;
|
|
36
36
|
export default _default;
|
|
37
37
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
38
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, openBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, unref, createElementVNode, renderSlot, withDirectives, isRef, vModelText, normalizeClass, createVNode, createCommentVNode } from 'vue';
|
|
2
2
|
import { onClickOutside } from '@vueuse/core';
|
|
3
3
|
import { useToggle } from '../../composables/useToggle.vue.js';
|
|
4
4
|
import DatePickerMonth from './DatePickerMonth.vue.js';
|
|
@@ -8,7 +8,7 @@ import { isValid, format, parse, isFuture } from 'date-fns';
|
|
|
8
8
|
import "../../DatePicker.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
9
9
|
const _hoisted_1 = ["id"];
|
|
10
10
|
const _hoisted_2 = ["placeholder"];
|
|
11
|
-
const _sfc_main = defineComponent({
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
12
|
__name: "DatePicker",
|
|
13
13
|
props: {
|
|
14
14
|
uniqueId: { default: Date.now() },
|
|
@@ -79,7 +79,7 @@ const _sfc_main = defineComponent({
|
|
|
79
79
|
);
|
|
80
80
|
return (_ctx, _cache) => {
|
|
81
81
|
return openBlock(), createElementBlock("div", {
|
|
82
|
-
id: componentId
|
|
82
|
+
id: unref(componentId),
|
|
83
83
|
ref_key: "datePicker",
|
|
84
84
|
ref: datePicker,
|
|
85
85
|
class: "date-picker"
|
|
@@ -89,17 +89,17 @@ const _sfc_main = defineComponent({
|
|
|
89
89
|
ref: buttonRef,
|
|
90
90
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(toggle)())
|
|
91
91
|
}, [
|
|
92
|
-
renderSlot(_ctx.$slots, "default", { formattedDate: formattedValue
|
|
92
|
+
renderSlot(_ctx.$slots, "default", { formattedDate: unref(formattedValue) }, () => [
|
|
93
93
|
withDirectives(createElementVNode("input", {
|
|
94
94
|
ref_key: "input",
|
|
95
95
|
ref: input,
|
|
96
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formattedValue.value = $event),
|
|
96
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(formattedValue) ? formattedValue.value = $event : null),
|
|
97
97
|
type: "text",
|
|
98
98
|
class: "input",
|
|
99
|
-
placeholder:
|
|
99
|
+
placeholder: __props.placeholder,
|
|
100
100
|
onInput: _cache[1] || (_cache[1] = ($event) => handleInput($event))
|
|
101
101
|
}, null, 40, _hoisted_2), [
|
|
102
|
-
[vModelText, formattedValue
|
|
102
|
+
[vModelText, unref(formattedValue)]
|
|
103
103
|
])
|
|
104
104
|
], true)
|
|
105
105
|
], 512),
|
|
@@ -107,12 +107,12 @@ const _sfc_main = defineComponent({
|
|
|
107
107
|
key: 0,
|
|
108
108
|
ref_key: "popup",
|
|
109
109
|
ref: popup,
|
|
110
|
-
class: normalizeClass(["date-picker-popup", { "align-right": nearTheEdge
|
|
110
|
+
class: normalizeClass(["date-picker-popup", { "align-right": unref(nearTheEdge) }])
|
|
111
111
|
}, [
|
|
112
112
|
createVNode(DatePickerMonth, {
|
|
113
|
-
id: componentId
|
|
114
|
-
"model-value": valueAsDate
|
|
115
|
-
"allow-future-dates":
|
|
113
|
+
id: unref(componentId) + "-month",
|
|
114
|
+
"model-value": unref(valueAsDate),
|
|
115
|
+
"allow-future-dates": __props.allowFutureDates,
|
|
116
116
|
"onUpdate:modelValue": updateValue
|
|
117
117
|
}, null, 8, ["id", "model-value", "allow-future-dates"])
|
|
118
118
|
], 2)) : createCommentVNode("", true)
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
25
|
uniqueId: string | number;
|
|
26
26
|
includeToday: boolean;
|
|
27
27
|
allowFutureDates: boolean;
|
|
28
|
-
}
|
|
28
|
+
}>;
|
|
29
29
|
export default _default;
|
|
30
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
31
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -6,7 +6,7 @@ import { startOfMonth, differenceInMonths, addMonths, subMonths } from 'date-fns
|
|
|
6
6
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
7
7
|
|
|
8
8
|
import "../../DatePickerMonth.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
9
|
-
const _sfc_main = defineComponent({
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "DatePickerMonth",
|
|
11
11
|
props: {
|
|
12
12
|
uniqueId: { default: Date.now() },
|
|
@@ -79,11 +79,11 @@ const _sfc_main = defineComponent({
|
|
|
79
79
|
};
|
|
80
80
|
return (_ctx, _cache) => {
|
|
81
81
|
return openBlock(), createBlock(CalendarMonth, {
|
|
82
|
-
id:
|
|
82
|
+
id: __props.uniqueId,
|
|
83
83
|
type: "month",
|
|
84
84
|
class: "date-picker-month",
|
|
85
|
-
range: selectedRange
|
|
86
|
-
navigation: navigation
|
|
85
|
+
range: unref(selectedRange),
|
|
86
|
+
navigation: unref(navigation),
|
|
87
87
|
year: unref(monthData).year,
|
|
88
88
|
days: unref(monthData).days,
|
|
89
89
|
weeks: unref(monthData).weeks,
|
|
@@ -60,6 +60,6 @@ declare const DatePickerTypes: () => import("vue").DefineComponent<{
|
|
|
60
60
|
uniqueId: string | number;
|
|
61
61
|
allowFutureDates: boolean;
|
|
62
62
|
dateFormat: string;
|
|
63
|
-
}
|
|
63
|
+
}>[];
|
|
64
64
|
export { default as DatePicker } from './DatePicker.vue';
|
|
65
65
|
export { DatePickerTypes };
|
|
@@ -46,7 +46,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
46
46
|
id: string | number;
|
|
47
47
|
allowedDays: number;
|
|
48
48
|
maxAllowedDate: Date;
|
|
49
|
-
}
|
|
49
|
+
}>;
|
|
50
50
|
export default _default;
|
|
51
51
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
52
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -3,30 +3,29 @@ import dateServices from './DateServices.vue.js';
|
|
|
3
3
|
import { navigatePrev, navigateNext } from './consts.vue.js';
|
|
4
4
|
import Heading from '../typography/Heading.vue.js';
|
|
5
5
|
import Text from '../typography/Text.vue.js';
|
|
6
|
-
import '../
|
|
7
|
-
import
|
|
8
|
-
import '../button/
|
|
9
|
-
|
|
6
|
+
import Icon from '../icon/Icon.vue.js';
|
|
7
|
+
import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
8
|
+
/* empty css *//* empty css */import IconButton from '../button/IconButton.vue.js';
|
|
9
|
+
/* empty css */import 'floating-vue';
|
|
10
|
+
/* empty css *//* empty css */import { isBefore, isAfter, isSameDay } from 'date-fns';
|
|
10
11
|
import AngleLeft from '../icon/icons/AngleLeft.vue.js';
|
|
11
12
|
import AngleRight from '../icon/icons/AngleRight.vue.js';
|
|
12
|
-
|
|
13
|
-
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
14
|
-
|
|
13
|
+
/* empty css */
|
|
15
14
|
import "../../CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
16
15
|
const _hoisted_1 = ["id"];
|
|
17
16
|
const _hoisted_2 = { class: "month-header" };
|
|
18
17
|
const _hoisted_3 = { class: "days-header" };
|
|
19
18
|
const _hoisted_4 = { class: "days-wrapper" };
|
|
20
|
-
const _sfc_main = defineComponent({
|
|
19
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
20
|
__name: "CalendarMonth",
|
|
22
21
|
props: {
|
|
23
|
-
year:
|
|
24
|
-
days:
|
|
25
|
-
weeks:
|
|
26
|
-
month:
|
|
27
|
-
navigation:
|
|
28
|
-
range:
|
|
29
|
-
type:
|
|
22
|
+
year: null,
|
|
23
|
+
days: null,
|
|
24
|
+
weeks: null,
|
|
25
|
+
month: null,
|
|
26
|
+
navigation: null,
|
|
27
|
+
range: null,
|
|
28
|
+
type: null,
|
|
30
29
|
id: { default: Date.now() },
|
|
31
30
|
allowedDays: { default: null },
|
|
32
31
|
maxAllowedDate: { default: null }
|
|
@@ -219,13 +218,13 @@ const _sfc_main = defineComponent({
|
|
|
219
218
|
});
|
|
220
219
|
return (_ctx, _cache) => {
|
|
221
220
|
return openBlock(), createElementBlock("div", {
|
|
222
|
-
id: "datepickerCalendar" +
|
|
221
|
+
id: "datepickerCalendar" + __props.id,
|
|
223
222
|
class: "calendar-month"
|
|
224
223
|
}, [
|
|
225
224
|
createElementVNode("span", {
|
|
226
225
|
onClick: _cache[0] || (_cache[0] = ($event) => navigate(unref(navigatePrev)))
|
|
227
226
|
}, [
|
|
228
|
-
|
|
227
|
+
__props.navigation === unref(navigatePrev) || __props.navigation === "all" ? (openBlock(), createBlock(unref(IconButton), {
|
|
229
228
|
key: 0,
|
|
230
229
|
variant: "borderless",
|
|
231
230
|
size: "md",
|
|
@@ -245,7 +244,7 @@ const _sfc_main = defineComponent({
|
|
|
245
244
|
createElementVNode("span", {
|
|
246
245
|
onClick: _cache[1] || (_cache[1] = ($event) => navigate(unref(navigateNext)))
|
|
247
246
|
}, [
|
|
248
|
-
|
|
247
|
+
__props.navigation === unref(navigateNext) || __props.navigation === "all" ? (openBlock(), createBlock(unref(IconButton), {
|
|
249
248
|
key: 0,
|
|
250
249
|
class: "next",
|
|
251
250
|
variant: "borderless",
|
|
@@ -265,7 +264,7 @@ const _sfc_main = defineComponent({
|
|
|
265
264
|
createElementVNode("div", _hoisted_2, [
|
|
266
265
|
createVNode(Heading, { level: "6" }, {
|
|
267
266
|
default: withCtx(() => [
|
|
268
|
-
createTextVNode(toDisplayString(monthName
|
|
267
|
+
createTextVNode(toDisplayString(unref(monthName)) + " " + toDisplayString(__props.year), 1)
|
|
269
268
|
]),
|
|
270
269
|
_: 1
|
|
271
270
|
}),
|
|
@@ -284,7 +283,7 @@ const _sfc_main = defineComponent({
|
|
|
284
283
|
])
|
|
285
284
|
]),
|
|
286
285
|
createElementVNode("div", _hoisted_4, [
|
|
287
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
286
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.weeks, (week, weekIndex) => {
|
|
288
287
|
return openBlock(), createElementBlock("div", { key: weekIndex }, [
|
|
289
288
|
(openBlock(true), createElementBlock(Fragment, null, renderList(week, (day, dayIndex) => {
|
|
290
289
|
return openBlock(), createBlock(unref(Text), {
|
|
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
84
84
|
openOnTop: boolean;
|
|
85
85
|
showPresets: boolean;
|
|
86
86
|
maxDate: Date;
|
|
87
|
-
}
|
|
87
|
+
}>;
|
|
88
88
|
export default _default;
|
|
89
89
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
90
90
|
type __VLS_TypePropsToRuntimeProps<T> = {
|