@ironsource/shared-ui 1.4.2-test.12 → 1.4.2-test.14
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/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExclude.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/README.md +0 -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 +25 -22
- package/components/appTrigger/index.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +16 -14
- 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 +4 -3
- 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 +12 -11
- 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 +9 -8
- package/components/button/index.d.ts +3 -3
- package/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/components/checkbox/Checkbox.vue.js +16 -15
- 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 +20 -19
- package/components/dateRange/DateRange.vue.d.ts +1 -1
- package/components/dateRange/DateRange.vue.js +28 -26
- 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 +60 -57
- package/components/dropdown/Label.vue.d.ts +1 -1
- package/components/dropdown/Label.vue.js +4 -3
- package/components/dropdown/Option.vue.d.ts +1 -1
- package/components/dropdown/Option.vue.js +17 -16
- package/components/dropdown/SearchInput.vue.d.ts +1 -1
- package/components/dropdown/SearchInput.vue.js +6 -6
- package/components/dropdown/index.d.ts +1 -398
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +21 -19
- 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 +17 -15
- 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 +54 -51
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +26 -25
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +22 -19
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +42 -40
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.js +22 -21
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +23 -19
- package/components/includeExclude/index.d.ts +5 -5
- package/components/input/DollarInput.vue.d.ts +1 -1
- package/components/input/DollarInput.vue.js +3 -2
- package/components/input/Input.vue.d.ts +1 -1
- package/components/input/Input.vue.js +33 -30
- package/components/input/PasswordInput.vue.d.ts +1 -1
- package/components/input/PasswordInput.vue.js +3 -2
- package/components/input/PercentageInput.vue.d.ts +1 -1
- package/components/input/PercentageInput.vue.js +3 -2
- 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 +4 -3
- 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 +4 -1
- package/components/table/Table.vue.js +38 -34
- package/components/table/TableHeaderSorter.vue.d.ts +1 -1
- package/components/table/TableHeaderSorter.vue.js +4 -4
- package/components/table/index.d.ts +4 -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 +16 -15
- package/components/tabs/index.d.ts +1 -1
- package/components/textArea/TextArea.vue.d.ts +1 -1
- package/components/textArea/TextArea.vue.js +13 -12
- package/components/textArea/index.d.ts +1 -1
- package/components/toggle/Toggle.vue.d.ts +1 -1
- package/components/toggle/Toggle.vue.js +17 -16
- package/components/toggle/index.d.ts +1 -1
- package/components/tooltip/TextWithTitleContent.vue.d.ts +1 -1
- package/components/tooltip/TextWithTitleContent.vue.js +8 -7
- package/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/Tooltip.vue.js +11 -10
- 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 +5 -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 =
|
|
9
|
+
const _sfc_main = defineComponent({
|
|
10
10
|
__name: "IconButton",
|
|
11
11
|
props: {
|
|
12
12
|
size: { default: "md" },
|
|
@@ -17,22 +17,22 @@ const _sfc_main = /* @__PURE__ */ 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: _ctx.size,
|
|
21
21
|
"is-truncated": false
|
|
22
22
|
}, _ctx.$attrs, {
|
|
23
|
-
variant:
|
|
23
|
+
variant: _ctx.variant,
|
|
24
24
|
class: "icon-base"
|
|
25
25
|
}), {
|
|
26
26
|
content: withCtx(() => [
|
|
27
27
|
createElementVNode("div", {
|
|
28
|
-
class: normalizeClass(["icon", { [
|
|
28
|
+
class: normalizeClass(["icon", { [_ctx.size]: true, [_ctx.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":
|
|
35
|
+
"font-size": loaderSize.value,
|
|
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,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, createVNode, createCommentVNode } from 'vue';
|
|
2
2
|
import Icon from '../icon/Icon.vue.js';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import './Button.vue.js';
|
|
4
|
+
import IconButton from './IconButton.vue.js';
|
|
5
5
|
import _sfc_main$1 from '../tooltip/Tooltip.vue.js';
|
|
6
|
-
/* empty css */
|
|
6
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
7
|
+
|
|
7
8
|
import "../../ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
|
-
const _sfc_main =
|
|
9
|
+
const _sfc_main = defineComponent({
|
|
9
10
|
__name: "ScrollButton",
|
|
10
11
|
props: {
|
|
11
12
|
show: { type: Boolean, default: false },
|
|
@@ -19,9 +20,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
20
|
emit("scrolled");
|
|
20
21
|
};
|
|
21
22
|
return (_ctx, _cache) => {
|
|
22
|
-
return
|
|
23
|
+
return _ctx.show ? (openBlock(), createBlock(unref(IconButton), {
|
|
23
24
|
key: 0,
|
|
24
|
-
class: normalizeClass(["scroll-button",
|
|
25
|
+
class: normalizeClass(["scroll-button", _ctx.position]),
|
|
25
26
|
theme: "third",
|
|
26
27
|
variant: "borderless",
|
|
27
28
|
size: "lg",
|
|
@@ -29,11 +30,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
30
|
}, {
|
|
30
31
|
default: withCtx(() => [
|
|
31
32
|
createVNode(unref(_sfc_main$1), {
|
|
32
|
-
text:
|
|
33
|
+
text: _ctx.tooltipText,
|
|
33
34
|
delay: 400
|
|
34
35
|
}, {
|
|
35
36
|
default: withCtx(() => [
|
|
36
|
-
createVNode(unref(Icon), { name:
|
|
37
|
+
createVNode(unref(Icon), { name: _ctx.iconName }, null, 8, ["name"])
|
|
37
38
|
]),
|
|
38
39
|
_: 1
|
|
39
40
|
}, 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
|
-
}> | import("vue").DefineComponent<{
|
|
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
|
-
}> | import("vue").DefineComponent<{
|
|
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
|
-
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, createVNode, unref, withCtx, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, pushScopeId, popScopeId } from 'vue';
|
|
2
|
+
import '../typography/Heading.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,13 +7,14 @@ 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 */
|
|
10
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
11
|
+
|
|
11
12
|
import "../../Checkbox.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
12
13
|
const _withScopeId = (n) => (pushScopeId("data-v-2662240e"), n = n(), popScopeId(), n);
|
|
13
14
|
const _hoisted_1 = { class: "checkboxes" };
|
|
14
15
|
const _hoisted_2 = ["disabled", "checked", ".indeterminate"];
|
|
15
16
|
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "checkbox__inner" }, null, -1));
|
|
16
|
-
const _sfc_main =
|
|
17
|
+
const _sfc_main = defineComponent({
|
|
17
18
|
__name: "Checkbox",
|
|
18
19
|
props: {
|
|
19
20
|
isChecked: { type: Boolean },
|
|
@@ -54,16 +55,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
55
|
return (_ctx, _cache) => {
|
|
55
56
|
return openBlock(), createElementBlock("label", {
|
|
56
57
|
for: id,
|
|
57
|
-
class: normalizeClass([[
|
|
58
|
+
class: normalizeClass([[_ctx.size, { "focus-visible": isFocusVisible.value, disabled: _ctx.disabled }], "checkbox"])
|
|
58
59
|
}, [
|
|
59
60
|
createElementVNode("span", _hoisted_1, [
|
|
60
61
|
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
61
62
|
id,
|
|
62
63
|
ref: checkbox.value,
|
|
63
|
-
disabled:
|
|
64
|
-
checked:
|
|
64
|
+
disabled: _ctx.disabled,
|
|
65
|
+
checked: checked.value,
|
|
65
66
|
class: "input",
|
|
66
|
-
".indeterminate":
|
|
67
|
+
".indeterminate": indeterminate.value,
|
|
67
68
|
type: "checkbox",
|
|
68
69
|
onBlur: handleBlur,
|
|
69
70
|
onFocus: handleFocus,
|
|
@@ -71,17 +72,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
72
|
onInput: updateValue
|
|
72
73
|
}), null, 16, _hoisted_2),
|
|
73
74
|
_hoisted_3,
|
|
74
|
-
createVNode(unref(Icon), { "font-size":
|
|
75
|
+
createVNode(unref(Icon), { "font-size": _ctx.size }, {
|
|
75
76
|
default: withCtx(() => [
|
|
76
|
-
|
|
77
|
+
checked.value ? (openBlock(), createBlock(Checked, {
|
|
77
78
|
key: 0,
|
|
78
79
|
class: "checkbox-icon checked"
|
|
79
80
|
})) : createCommentVNode("", true),
|
|
80
|
-
|
|
81
|
+
indeterminate.value ? (openBlock(), createBlock(Indeterminate, {
|
|
81
82
|
key: 1,
|
|
82
83
|
class: "checkbox-icon indeterminate"
|
|
83
84
|
})) : createCommentVNode("", true),
|
|
84
|
-
|
|
85
|
+
unchecked.value && !indeterminate.value ? (openBlock(), createBlock(Unchecked, {
|
|
85
86
|
key: 2,
|
|
86
87
|
class: "checkbox-icon unchecked"
|
|
87
88
|
})) : createCommentVNode("", true)
|
|
@@ -89,14 +90,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
90
|
_: 1
|
|
90
91
|
}, 8, ["font-size"])
|
|
91
92
|
]),
|
|
92
|
-
|
|
93
|
+
_ctx.label || _ctx.$slots.default ? (openBlock(), createBlock(unref(Text), {
|
|
93
94
|
key: 0,
|
|
94
|
-
size:
|
|
95
|
+
size: _ctx.size,
|
|
95
96
|
class: "checkbox-text"
|
|
96
97
|
}, {
|
|
97
98
|
default: withCtx(() => [
|
|
98
99
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
99
|
-
createTextVNode(toDisplayString(
|
|
100
|
+
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
100
101
|
], true)
|
|
101
102
|
]),
|
|
102
103
|
_: 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 =
|
|
19
|
+
const _sfc_main = defineComponent({
|
|
20
20
|
__name: "Chip",
|
|
21
21
|
props: {
|
|
22
22
|
selected: { type: Boolean, default: false },
|
|
@@ -32,20 +32,20 @@ const _sfc_main = /* @__PURE__ */ 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: _ctx.selected, disabled: _ctx.disabled }]),
|
|
36
|
+
disabled: _ctx.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
|
+
!!_ctx.prefix ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(_ctx.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
|
+
_ctx.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, createElementVNode, unref, renderSlot, withDirectives, 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 =
|
|
11
|
+
const _sfc_main = defineComponent({
|
|
12
12
|
__name: "DatePicker",
|
|
13
13
|
props: {
|
|
14
14
|
uniqueId: { default: Date.now() },
|
|
@@ -79,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
79
79
|
);
|
|
80
80
|
return (_ctx, _cache) => {
|
|
81
81
|
return openBlock(), createElementBlock("div", {
|
|
82
|
-
id:
|
|
82
|
+
id: componentId.value,
|
|
83
83
|
ref_key: "datePicker",
|
|
84
84
|
ref: datePicker,
|
|
85
85
|
class: "date-picker"
|
|
@@ -89,17 +89,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
89
|
ref: buttonRef,
|
|
90
90
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(toggle)())
|
|
91
91
|
}, [
|
|
92
|
-
renderSlot(_ctx.$slots, "default", { formattedDate:
|
|
92
|
+
renderSlot(_ctx.$slots, "default", { formattedDate: formattedValue.value }, () => [
|
|
93
93
|
withDirectives(createElementVNode("input", {
|
|
94
94
|
ref_key: "input",
|
|
95
95
|
ref: input,
|
|
96
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
96
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formattedValue.value = $event),
|
|
97
97
|
type: "text",
|
|
98
98
|
class: "input",
|
|
99
|
-
placeholder:
|
|
99
|
+
placeholder: _ctx.placeholder,
|
|
100
100
|
onInput: _cache[1] || (_cache[1] = ($event) => handleInput($event))
|
|
101
101
|
}, null, 40, _hoisted_2), [
|
|
102
|
-
[vModelText,
|
|
102
|
+
[vModelText, formattedValue.value]
|
|
103
103
|
])
|
|
104
104
|
], true)
|
|
105
105
|
], 512),
|
|
@@ -107,12 +107,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
107
|
key: 0,
|
|
108
108
|
ref_key: "popup",
|
|
109
109
|
ref: popup,
|
|
110
|
-
class: normalizeClass(["date-picker-popup", { "align-right":
|
|
110
|
+
class: normalizeClass(["date-picker-popup", { "align-right": nearTheEdge.value }])
|
|
111
111
|
}, [
|
|
112
112
|
createVNode(DatePickerMonth, {
|
|
113
|
-
id:
|
|
114
|
-
"model-value":
|
|
115
|
-
"allow-future-dates":
|
|
113
|
+
id: componentId.value + "-month",
|
|
114
|
+
"model-value": valueAsDate.value,
|
|
115
|
+
"allow-future-dates": _ctx.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 =
|
|
9
|
+
const _sfc_main = defineComponent({
|
|
10
10
|
__name: "DatePickerMonth",
|
|
11
11
|
props: {
|
|
12
12
|
uniqueId: { default: Date.now() },
|
|
@@ -79,11 +79,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
79
79
|
};
|
|
80
80
|
return (_ctx, _cache) => {
|
|
81
81
|
return openBlock(), createBlock(CalendarMonth, {
|
|
82
|
-
id:
|
|
82
|
+
id: _ctx.uniqueId,
|
|
83
83
|
type: "month",
|
|
84
84
|
class: "date-picker-month",
|
|
85
|
-
range:
|
|
86
|
-
navigation:
|
|
85
|
+
range: selectedRange.value,
|
|
86
|
+
navigation: navigation.value,
|
|
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,29 +3,30 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
/* empty css *//* empty css */import { isBefore, isAfter, isSameDay } from 'date-fns';
|
|
6
|
+
import '../button/Button.vue.js';
|
|
7
|
+
import IconButton from '../button/IconButton.vue.js';
|
|
8
|
+
import '../button/ScrollButton.vue.js';
|
|
9
|
+
import { isBefore, isAfter, isSameDay } from 'date-fns';
|
|
11
10
|
import AngleLeft from '../icon/icons/AngleLeft.vue.js';
|
|
12
11
|
import AngleRight from '../icon/icons/AngleRight.vue.js';
|
|
13
|
-
|
|
12
|
+
import Icon from '../icon/Icon.vue.js';
|
|
13
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
14
|
+
|
|
14
15
|
import "../../CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
15
16
|
const _hoisted_1 = ["id"];
|
|
16
17
|
const _hoisted_2 = { class: "month-header" };
|
|
17
18
|
const _hoisted_3 = { class: "days-header" };
|
|
18
19
|
const _hoisted_4 = { class: "days-wrapper" };
|
|
19
|
-
const _sfc_main =
|
|
20
|
+
const _sfc_main = defineComponent({
|
|
20
21
|
__name: "CalendarMonth",
|
|
21
22
|
props: {
|
|
22
|
-
year:
|
|
23
|
-
days:
|
|
24
|
-
weeks:
|
|
25
|
-
month:
|
|
26
|
-
navigation:
|
|
27
|
-
range:
|
|
28
|
-
type:
|
|
23
|
+
year: {},
|
|
24
|
+
days: {},
|
|
25
|
+
weeks: {},
|
|
26
|
+
month: {},
|
|
27
|
+
navigation: {},
|
|
28
|
+
range: {},
|
|
29
|
+
type: {},
|
|
29
30
|
id: { default: Date.now() },
|
|
30
31
|
allowedDays: { default: null },
|
|
31
32
|
maxAllowedDate: { default: null }
|
|
@@ -218,13 +219,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
218
219
|
});
|
|
219
220
|
return (_ctx, _cache) => {
|
|
220
221
|
return openBlock(), createElementBlock("div", {
|
|
221
|
-
id: "datepickerCalendar" +
|
|
222
|
+
id: "datepickerCalendar" + _ctx.id,
|
|
222
223
|
class: "calendar-month"
|
|
223
224
|
}, [
|
|
224
225
|
createElementVNode("span", {
|
|
225
226
|
onClick: _cache[0] || (_cache[0] = ($event) => navigate(unref(navigatePrev)))
|
|
226
227
|
}, [
|
|
227
|
-
|
|
228
|
+
_ctx.navigation === unref(navigatePrev) || _ctx.navigation === "all" ? (openBlock(), createBlock(unref(IconButton), {
|
|
228
229
|
key: 0,
|
|
229
230
|
variant: "borderless",
|
|
230
231
|
size: "md",
|
|
@@ -244,7 +245,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
244
245
|
createElementVNode("span", {
|
|
245
246
|
onClick: _cache[1] || (_cache[1] = ($event) => navigate(unref(navigateNext)))
|
|
246
247
|
}, [
|
|
247
|
-
|
|
248
|
+
_ctx.navigation === unref(navigateNext) || _ctx.navigation === "all" ? (openBlock(), createBlock(unref(IconButton), {
|
|
248
249
|
key: 0,
|
|
249
250
|
class: "next",
|
|
250
251
|
variant: "borderless",
|
|
@@ -264,7 +265,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
264
265
|
createElementVNode("div", _hoisted_2, [
|
|
265
266
|
createVNode(Heading, { level: "6" }, {
|
|
266
267
|
default: withCtx(() => [
|
|
267
|
-
createTextVNode(toDisplayString(
|
|
268
|
+
createTextVNode(toDisplayString(monthName.value) + " " + toDisplayString(_ctx.year), 1)
|
|
268
269
|
]),
|
|
269
270
|
_: 1
|
|
270
271
|
}),
|
|
@@ -283,7 +284,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
283
284
|
])
|
|
284
285
|
]),
|
|
285
286
|
createElementVNode("div", _hoisted_4, [
|
|
286
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
287
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.weeks, (week, weekIndex) => {
|
|
287
288
|
return openBlock(), createElementBlock("div", { key: weekIndex }, [
|
|
288
289
|
(openBlock(true), createElementBlock(Fragment, null, renderList(week, (day, dayIndex) => {
|
|
289
290
|
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> = {
|