eco-vue-js 0.19.1 → 0.19.2
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/dist/components/ActionsBar/WActionsBar.vue.d.ts +5 -2
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
- package/dist/components/ActionsBar/WActionsBar.vue_vue_type_script_setup_true_lang.js +13 -20
- package/dist/components/ActionsBar/WActionsBarFilter.vue.d.ts +2 -0
- package/dist/components/ActionsBar/WActionsBarFilter.vue.d.ts.map +1 -1
- package/dist/components/BorderSvg/WBorderSvg.vue.d.ts +8 -3
- package/dist/components/BorderSvg/WBorderSvg.vue.d.ts.map +1 -1
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts +9 -12
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
- package/dist/components/Button/WButton.vue.d.ts +1 -1
- package/dist/components/Button/WButton.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/Button/WButtonAction.vue.d.ts +18 -4
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonAction.vue_vue_type_script_setup_true_lang.js +20 -5
- package/dist/components/Button/WButtonCopy.vue.d.ts +1 -0
- package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/Button/WButtonInput.vue.d.ts +6 -0
- package/dist/components/Button/WButtonInput.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonInput.vue_vue_type_script_setup_true_lang.js +6 -1
- package/dist/components/Button/WButtonSelection.vue.d.ts +7 -0
- package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelection.vue_vue_type_script_setup_true_lang.js +6 -1
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts +17 -3
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelectionAction.vue_vue_type_script_setup_true_lang.js +4 -1
- package/dist/components/Button/WButtonSelectionState.vue.d.ts +3 -3
- package/dist/components/Button/WButtonSelectionState.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonTab.vue.d.ts +26 -13
- package/dist/components/Button/WButtonTab.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonUnselect.vue.d.ts +2 -0
- package/dist/components/Button/WButtonUnselect.vue.d.ts.map +1 -1
- package/dist/components/Chart/WChartHeatmap.vue.d.ts +6 -0
- package/dist/components/Chart/WChartHeatmap.vue.d.ts.map +1 -1
- package/dist/components/Chart/WChartLine.vue.d.ts +22 -11
- package/dist/components/Chart/WChartLine.vue.d.ts.map +1 -1
- package/dist/components/Chart/WChartLine.vue_vue_type_script_setup_true_lang.js +0 -1
- package/dist/components/Chart/WChartLinear.vue.d.ts +13 -0
- package/dist/components/Chart/WChartLinear.vue.d.ts.map +1 -1
- package/dist/components/Chart/types.d.ts +11 -3
- package/dist/components/Chart/types.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue_vue_type_script_setup_true_lang.js +4 -1
- package/dist/components/Checkbox/types.d.ts +4 -2
- package/dist/components/Checkbox/types.d.ts.map +1 -1
- package/dist/components/Chip/WChip.vue.d.ts +7 -4
- package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
- package/dist/components/Chip/WChip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts +4 -3
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
- package/dist/components/Counter/WCounter.vue.d.ts +6 -1
- package/dist/components/Counter/WCounter.vue.d.ts.map +1 -1
- package/dist/components/Counter/WCounter.vue_vue_type_script_setup_true_lang.js +4 -2
- package/dist/components/DatePicker/WDatePicker.vue.d.ts +6 -0
- package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +6 -2
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue_vue_type_script_setup_true_lang.js +0 -1
- package/dist/components/Dismissable/WDismissable.vue.d.ts +7 -5
- package/dist/components/Dismissable/WDismissable.vue.d.ts.map +1 -1
- package/dist/components/DragContainer/WDragContainer.vue.d.ts +6 -12
- package/dist/components/DragContainer/WDragContainer.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.d.ts +1 -0
- package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
- package/dist/components/EmptyComponent/WEmptyComponent.vue.d.ts +5 -3
- package/dist/components/EmptyComponent/WEmptyComponent.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansion.vue.d.ts +5 -3
- package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansionItem.vue.d.ts +8 -0
- package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansionItem.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +6 -0
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/types.d.ts +1 -1
- package/dist/components/FieldWrapper/types.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.d.ts +21 -15
- package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue_vue_type_script_setup_true_lang.js +5 -2
- package/dist/components/FilterWrapper/WFilterWrapper.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +7 -10
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue_vue_type_script_setup_true_lang.js +0 -1
- package/dist/components/HeaderBar/WHeaderBarSearch.vue.d.ts +2 -0
- package/dist/components/HeaderBar/WHeaderBarSearch.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts +3 -0
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +27 -50
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue_vue_type_script_setup_true_lang.js +8 -9
- package/dist/components/InfiniteList/WInfiniteListScrollingElement.vue.d.ts +4 -3
- package/dist/components/InfiniteList/WInfiniteListScrollingElement.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts +4 -0
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +0 -2
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue_vue_type_script_setup_true_lang.js +0 -2
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts +0 -2
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue_vue_type_script_setup_true_lang.js +1 -7
- package/dist/components/InfiniteList/types.d.ts +7 -0
- package/dist/components/InfiniteList/types.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCard.vue.d.ts +11 -7
- package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts +5 -3
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputDate.vue_vue_type_script_setup_true_lang.js +0 -2
- package/dist/components/Input/WInputToolbarButton.vue.d.ts.map +1 -1
- package/dist/components/Input/types.d.ts +6 -0
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/Link/WLink.vue.d.ts +10 -4
- package/dist/components/Link/WLink.vue.d.ts.map +1 -1
- package/dist/components/Link/WLink.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/Link/WLinkArrow.vue.d.ts +4 -3
- package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue_vue_type_script_setup_true_lang.js +0 -2
- package/dist/components/List/WListFilter.vue.d.ts +8 -1
- package/dist/components/List/WListFilter.vue.d.ts.map +1 -1
- package/dist/components/List/WListFilter.vue_vue_type_script_setup_true_lang.js +2 -7
- package/dist/components/List/WListHeader.vue.d.ts +12 -5
- package/dist/components/List/WListHeader.vue.d.ts.map +1 -1
- package/dist/components/List/WListHeaderItem.vue.d.ts +10 -1
- package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderExport.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderExport.vue_vue_type_script_setup_true_lang.js +6 -1
- package/dist/components/List/components/HeaderSettings.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettings.vue_vue_type_script_setup_true_lang.js +4 -1
- package/dist/components/List/components/HeaderSort.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSort.vue_vue_type_script_setup_true_lang.js +4 -1
- package/dist/components/List/components/ListFilterGlobal.vue.d.ts +0 -2
- package/dist/components/List/components/ListFilterGlobal.vue.d.ts.map +1 -1
- package/dist/components/List/components/ListFilterGlobal.vue_vue_type_script_setup_true_lang.js +1 -3
- package/dist/components/List/components/ListFilterGlobalItem.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/List/components/ListFilterLocal.vue.d.ts +0 -2
- package/dist/components/List/components/ListFilterLocal.vue.d.ts.map +1 -1
- package/dist/components/List/components/ListFilterLocal.vue_vue_type_script_setup_true_lang.js +1 -3
- package/dist/components/List/components/ListFilterLocalItem.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/List/components/ListFilterSelect.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/List/components/ListItem.vue.d.ts.map +1 -1
- package/dist/components/List/components/ListItem.vue_vue_type_script_setup_true_lang.js +7 -0
- package/dist/components/List/components/ListToolbar.vue.d.ts.map +1 -1
- package/dist/components/List/components/ListToolbar.vue_vue_type_script_setup_true_lang.js +6 -1
- package/dist/components/MenuItem/WMenuItem.vue.d.ts +9 -3
- package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModal.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/Modal/WModalExport.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalExport.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/Modal/WModalImport.vue.d.ts +7 -0
- package/dist/components/Modal/WModalImport.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalImport.vue_vue_type_script_setup_true_lang.js +5 -4
- package/dist/components/Modal/WModalStepper.vue.d.ts +10 -5
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/types.d.ts +12 -0
- package/dist/components/Modal/types.d.ts.map +1 -1
- package/dist/components/Nav/WNavBar.vue.d.ts +5 -5
- package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavBar.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/Nav/WNavItem.vue.d.ts +5 -5
- package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemExpand.vue.d.ts +2 -0
- package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemTransition.vue.d.ts +3 -3
- package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemTransition.vue.js +2 -17
- package/dist/components/Nav/WNavItemTransition.vue_vue_type_script_setup_true_lang.js +22 -0
- package/dist/components/Nav/types.d.ts +19 -0
- package/dist/components/Notify/components/NotifyCard.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/NumberFormatter/WNumberFormatter.vue.d.ts +5 -0
- package/dist/components/NumberFormatter/WNumberFormatter.vue.d.ts.map +1 -1
- package/dist/components/Page/WPage.vue.d.ts +25 -19
- package/dist/components/Page/WPage.vue.d.ts.map +1 -1
- package/dist/components/Page/WPage.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/Page/WPageNumerator.vue.d.ts +3 -3
- package/dist/components/Page/WPageNumerator.vue.d.ts.map +1 -1
- package/dist/components/Page/WPageNumerator.vue.js +2 -8
- package/dist/components/Page/WPageNumerator.vue_vue_type_script_setup_true_lang.js +13 -0
- package/dist/components/Page/WPageTitle.vue.d.ts +2 -0
- package/dist/components/Page/WPageTitle.vue.d.ts.map +1 -1
- package/dist/components/Progress/WProgress.vue.d.ts +1 -0
- package/dist/components/Progress/WProgress.vue.d.ts.map +1 -1
- package/dist/components/Progress/WProgressBar.vue.d.ts +2 -0
- package/dist/components/Progress/WProgressBar.vue.d.ts.map +1 -1
- package/dist/components/Progress/WProgressBar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/Progress/WProgressStriped.vue.d.ts +1 -0
- package/dist/components/Progress/WProgressStriped.vue.d.ts.map +1 -1
- package/dist/components/Progress/WProgressStriped.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/RouterLink/WRouterLink.vue.d.ts +4 -3
- package/dist/components/RouterLink/WRouterLink.vue.d.ts.map +1 -1
- package/dist/components/RouterLink/WRouterLink.vue_vue_type_script_setup_true_lang.js +3 -8
- package/dist/components/Select/WSelectAsyncList.vue.d.ts +15 -0
- package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectStringified.vue.d.ts +5 -0
- package/dist/components/Select/WSelectStringified.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncList.vue_vue_type_script_setup_true_lang.js +1 -4
- package/dist/components/Select/types.d.ts +2 -0
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/Skeleton/WSkeleton.vue.d.ts +3 -3
- package/dist/components/Skeleton/WSkeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider/WSlider.vue.d.ts +15 -7
- package/dist/components/Slider/WSlider.vue.d.ts.map +1 -1
- package/dist/components/Slider/WSlider.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/components/Slider/WSliderRange.vue.d.ts +14 -11
- package/dist/components/Slider/WSliderRange.vue.d.ts.map +1 -1
- package/dist/components/Slider/WSliderRange.vue_vue_type_script_setup_true_lang.js +8 -11
- package/dist/components/Status/WStatusIcon.vue.d.ts +2 -0
- package/dist/components/Status/WStatusIcon.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabsColumns.vue.d.ts +1 -0
- package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabTitleButton.vue.d.ts +6 -6
- package/dist/components/TextOverflow/WTextOverflow.vue.d.ts +3 -5
- package/dist/components/TextOverflow/WTextOverflow.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggleTheme.vue.d.ts.map +1 -1
- package/dist/components/Toggle/types.d.ts +1 -0
- package/dist/components/Toggle/types.d.ts.map +1 -1
- package/dist/components/Uniform/WUniform.vue.d.ts +27 -0
- package/dist/components/Uniform/WUniform.vue.d.ts.map +1 -1
- package/dist/components/Uniform/WUniformErrorMessage.vue.d.ts +1 -0
- package/dist/components/Uniform/WUniformErrorMessage.vue.d.ts.map +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
|
|
3
|
+
/** Title of the filter button and heading of the filter panel. */
|
|
4
4
|
textFilter?: string;
|
|
5
5
|
};
|
|
6
6
|
type __VLS_Slots = {
|
|
7
|
+
/** WButtonAction buttons at the top, above the filter button. */
|
|
7
8
|
top?: () => VNode[];
|
|
9
|
+
/** WButtonAction buttons under the filter button. */
|
|
8
10
|
bottom?: () => VNode[];
|
|
11
|
+
/** Content at the bottom of the bar, such as settings. */
|
|
9
12
|
footer?: () => VNode[];
|
|
10
13
|
};
|
|
11
14
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WActionsBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionsBar/WActionsBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WActionsBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionsBar/WActionsBar.vue"],"names":[],"mappings":"AA2EA;AA6HA,OAAO,EAAC,KAAK,KAAK,EAAyC,MAAM,KAAK,CAAA;AAYtE,KAAK,WAAW,GAAG;IACjB,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AAuBF,KAAK,WAAW,GAAG;IACjB,iEAAiE;IACjE,GAAG,CAAC,EAAE,MAAM,KAAK,EAAE,CAAA;IACnB,qDAAqD;IACrD,MAAM,CAAC,EAAE,MAAM,KAAK,EAAE,CAAA;IACtB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,KAAK,EAAE,CAAA;CACvB,CAAC;AA0PF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,29 +1,26 @@
|
|
|
1
|
-
import { wBaseZIndex } from "../../utils/utils.js";
|
|
2
1
|
import { SemanticType } from "../../utils/SemanticType.js";
|
|
2
|
+
import { wBaseZIndex } from "../../utils/utils.js";
|
|
3
3
|
import WButtonAction_default from "../Button/WButtonAction.vue.js";
|
|
4
4
|
import IconBack_default from "../../assets/icons/IconBack.js";
|
|
5
5
|
import IconFilter_default from "../../assets/icons/IconFilter.js";
|
|
6
6
|
import { useActionBarFilter } from "./use/useActionsBarFilter.js";
|
|
7
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, markRaw, normalizeClass, normalizeStyle,
|
|
7
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, markRaw, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch } from "vue";
|
|
8
8
|
//#region src/components/ActionsBar/WActionsBar.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var _hoisted_1 = { class: "no-scrollbar relative col-start-1 row-span-2 grid grid-cols-(--actions-bar-filter-width) justify-self-end overflow-y-auto overflow-x-hidden overscroll-contain" };
|
|
10
10
|
var _hoisted_2 = { class: "pb-16" };
|
|
11
|
-
var _hoisted_3 = { class: "
|
|
12
|
-
var _hoisted_4 =
|
|
13
|
-
var _hoisted_5 =
|
|
14
|
-
var _hoisted_6 = {
|
|
11
|
+
var _hoisted_3 = { class: "text-accent px---inner-margin h---header-height flex items-center text-xl font-semibold" };
|
|
12
|
+
var _hoisted_4 = { class: "relative row-span-2 grid h-full grid-cols-1 grid-rows-subgrid overflow-x-hidden overscroll-contain" };
|
|
13
|
+
var _hoisted_5 = ["aria-expanded"];
|
|
14
|
+
var _hoisted_6 = { class: "row-start-2 grid grid-rows-[1fr_auto]" };
|
|
15
|
+
var _hoisted_7 = {
|
|
15
16
|
key: 0,
|
|
16
17
|
class: "mx-1 my-2 h-0.5 rounded bg-gray-200 md:my-4 dark:bg-gray-700"
|
|
17
18
|
};
|
|
18
19
|
var WActionsBar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
19
20
|
__name: "WActionsBar",
|
|
20
|
-
props: {
|
|
21
|
-
bottom: {},
|
|
22
|
-
textFilter: {}
|
|
23
|
-
},
|
|
21
|
+
props: { textFilter: {} },
|
|
24
22
|
setup(__props) {
|
|
25
23
|
provide(wBaseZIndex, 40);
|
|
26
|
-
let closeModal = null;
|
|
27
24
|
const { filter, count } = useActionBarFilter();
|
|
28
25
|
const hasFilter = computed(() => filter.value !== void 0);
|
|
29
26
|
const isOpen = ref(false);
|
|
@@ -33,10 +30,6 @@ var WActionsBar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
33
30
|
const close = () => {
|
|
34
31
|
isOpen.value = false;
|
|
35
32
|
};
|
|
36
|
-
onUnmounted(() => {
|
|
37
|
-
closeModal?.();
|
|
38
|
-
closeModal = null;
|
|
39
|
-
});
|
|
40
33
|
watch(hasFilter, (value) => {
|
|
41
34
|
if (!value) close();
|
|
42
35
|
});
|
|
@@ -44,17 +37,17 @@ var WActionsBar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
44
37
|
return openBlock(), createElementBlock("div", {
|
|
45
38
|
class: normalizeClass(["height-full w-actions-bar sm-not:[--actions-bar-filter-width:calc(100vw-var(--w-actions-bar-width))] fixed right-(--right-margin,0px) top-0 grid grid-cols-[var(--actions-bar-filter-width-current,0)_var(--w-actions-bar-width)] grid-rows-[var(--header-height)_1fr] justify-end overflow-hidden transition-[grid-template-columns] duration-300 print:hidden", { "[--actions-bar-filter-width-current:var(--actions-bar-filter-width)]": isOpen.value && hasFilter.value }]),
|
|
46
39
|
style: normalizeStyle({ zIndex: unref(40) })
|
|
47
|
-
}, [createElementVNode("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [
|
|
40
|
+
}, [createElementVNode("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, toDisplayString(__props.textFilter ?? "Filters"), 1), (openBlock(true), createElementBlock(Fragment, null, renderList(unref(filter), (slot, index) => {
|
|
48
41
|
return openBlock(), createBlock(resolveDynamicComponent(slot), { key: index });
|
|
49
|
-
}), 128))])]), createElementVNode("div",
|
|
42
|
+
}), 128))])]), createElementVNode("div", _hoisted_4, [hasFilter.value ? (openBlock(), createElementBlock("button", {
|
|
50
43
|
key: 0,
|
|
51
44
|
class: "w-ripple w-ripple-hover relative row-start-1 flex cursor-pointer select-none items-center justify-center",
|
|
52
45
|
"aria-expanded": isOpen.value,
|
|
53
46
|
"aria-label": "Toggle filters",
|
|
54
47
|
onClick: toggle
|
|
55
|
-
}, [createVNode(unref(IconBack_default), { class: normalizeClass(["text-description square-4 transition-transform", { "transform-[rotateY(180deg)]": isOpen.value }]) }, null, 8, ["class"])], 8,
|
|
48
|
+
}, [createVNode(unref(IconBack_default), { class: normalizeClass(["text-description square-4 transition-transform", { "transform-[rotateY(180deg)]": isOpen.value }]) }, null, 8, ["class"])], 8, _hoisted_5)) : createCommentVNode("", true), createElementVNode("div", _hoisted_6, [createElementVNode("div", null, [
|
|
56
49
|
renderSlot(_ctx.$slots, "top"),
|
|
57
|
-
_ctx.$slots.top && (hasFilter.value ||
|
|
50
|
+
_ctx.$slots.top && (hasFilter.value || _ctx.$slots.bottom) ? (openBlock(), createElementBlock("div", _hoisted_7)) : createCommentVNode("", true),
|
|
58
51
|
hasFilter.value ? (openBlock(), createBlock(WButtonAction_default, {
|
|
59
52
|
key: 1,
|
|
60
53
|
title: __props.textFilter ?? "Filters",
|
|
@@ -70,7 +63,7 @@ var WActionsBar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
70
63
|
"count",
|
|
71
64
|
"semantic-type"
|
|
72
65
|
])) : createCommentVNode("", true),
|
|
73
|
-
renderSlot(_ctx.$slots, "bottom"
|
|
66
|
+
renderSlot(_ctx.$slots, "bottom")
|
|
74
67
|
]), renderSlot(_ctx.$slots, "footer")])])], 6);
|
|
75
68
|
};
|
|
76
69
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Number of filters set, shown as a badge on the filter button. */
|
|
3
4
|
count: number;
|
|
4
5
|
};
|
|
5
6
|
type __VLS_Slots = {
|
|
7
|
+
/** Filters, shown in the panel that slides out of the actions bar. */
|
|
6
8
|
default: () => VNode[];
|
|
7
9
|
};
|
|
8
10
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WActionsBarFilter.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionsBar/WActionsBarFilter.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WActionsBarFilter.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionsBar/WActionsBarFilter.vue"],"names":[],"mappings":"AA+BA,OAAO,EAAC,KAAK,KAAK,EAA6C,MAAM,KAAK,CAAA;AAI1E,KAAK,WAAW,GAAG;IACjB,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;AAkBF,KAAK,WAAW,GAAG;IACjB,sEAAsE;IACtE,OAAO,EAAE,MAAM,KAAK,EAAE,CAAA;CACvB,CAAC;AAgBF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { SVGAttributes } from 'vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Color of the border, e.g. `currentColor`. */
|
|
3
4
|
stroke?: string;
|
|
5
|
+
/** Dash pattern of the border, e.g. `4px 8px`. */
|
|
4
6
|
strokeDasharray?: string;
|
|
7
|
+
/** Offset of the dash pattern, e.g. to animate it. */
|
|
5
8
|
strokeDashoffset?: string;
|
|
9
|
+
/** Shape of the dashes' ends. */
|
|
6
10
|
strokeLinecap?: SVGAttributes['stroke-linecap'];
|
|
11
|
+
/** Class of the border's `rect`. */
|
|
7
12
|
rectClass?: string;
|
|
8
13
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
default?: (
|
|
14
|
+
type __VLS_Slots = {
|
|
15
|
+
/** SVG animation elements for the border, such as an `animate` of `stroke-dashoffset`. */
|
|
16
|
+
default?: () => void;
|
|
12
17
|
};
|
|
13
18
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WBorderSvg.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/BorderSvg/WBorderSvg.vue"],"names":[],"mappings":"AAyBA;
|
|
1
|
+
{"version":3,"file":"WBorderSvg.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/BorderSvg/WBorderSvg.vue"],"names":[],"mappings":"AAyBA;AAiDA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,KAAK,CAAA;AAEtC,KAAK,WAAW,GAAG;IACjB,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,kDAAkD;IAClD,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iCAAiC;IACjC,aAAa,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAA;IAC/C,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;AAGF,KAAK,WAAW,GAAG;IACjB,0FAA0F;IAC1F,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAC;AA+FF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Opens the sheet. */
|
|
2
3
|
isOpen: boolean;
|
|
3
4
|
};
|
|
4
|
-
|
|
5
|
-
unclickable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} & {
|
|
13
|
-
toggle?: (props: typeof __VLS_17) => any;
|
|
14
|
-
} & {
|
|
15
|
-
content?: (props: typeof __VLS_19) => any;
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
/** Element that opens the sheet, rendered in place and again at the top of the sheet — `unclickable` is `true` for the one in place and `false` for the copy. */
|
|
7
|
+
toggle?: (props: {
|
|
8
|
+
unclickable: boolean;
|
|
9
|
+
isTop?: boolean;
|
|
10
|
+
}) => void;
|
|
11
|
+
/** Content of the sheet, which scrolls under the toggle. */
|
|
12
|
+
content?: () => void;
|
|
16
13
|
};
|
|
17
14
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
15
|
close: () => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WBottomSheet.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/WBottomSheet.vue"],"names":[],"mappings":"AAoCA;
|
|
1
|
+
{"version":3,"file":"WBottomSheet.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/WBottomSheet.vue"],"names":[],"mappings":"AAoCA;AAuEA,KAAK,WAAW,GAAG;IACjB,uBAAuB;IACvB,MAAM,EAAE,OAAO,CAAA;CAChB,CAAC;AASF,KAAK,WAAW,GAAG;IACjB,iKAAiK;IACjK,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE;QAAC,WAAW,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,CAAA;KAAC,KAAK,IAAI,CAAA;IACjE,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAC;AAuHF,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -12,13 +12,13 @@ declare const __VLS_base: import('vue').DefineComponent<ButtonProps, {}, {}, {},
|
|
|
12
12
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
skeleton: boolean;
|
|
15
|
+
semanticType: SemanticType;
|
|
15
16
|
type: string;
|
|
16
17
|
href: string;
|
|
17
18
|
to: import('vue-router').RouterLinkProps["to"];
|
|
18
19
|
tag: keyof HTMLElementTagNameMap;
|
|
19
20
|
target: "_self" | "_blank" | "_parent" | "_top";
|
|
20
21
|
rel: string;
|
|
21
|
-
semanticType: SemanticType;
|
|
22
22
|
disabled: boolean;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { SemanticType, useSemanticTypeBackgroundMap, useSemanticTypeBorderComponentMap, useSemanticTypeBorderMap, useSemanticTypeButtonBackgroundMap } from "../../utils/SemanticType.js";
|
|
1
2
|
import WRouterLink_default from "../RouterLink/WRouterLink.vue.js";
|
|
2
3
|
import WShine_default from "../Shine/WShine.vue.js";
|
|
3
4
|
import WSkeleton_default from "../Skeleton/WSkeleton.vue.js";
|
|
4
5
|
import WTooltip_default from "../Tooltip/WTooltip.vue.js";
|
|
5
|
-
import { SemanticType, useSemanticTypeBackgroundMap, useSemanticTypeBorderComponentMap, useSemanticTypeBorderMap, useSemanticTypeButtonBackgroundMap } from "../../utils/SemanticType.js";
|
|
6
6
|
import WSpinner_default from "../Spinner/WSpinner.vue.js";
|
|
7
7
|
import { useComponentStatesButton } from "../../utils/useComponentStates.js";
|
|
8
8
|
import { useTabActiveListener } from "../../utils/useTabActiveListener.js";
|
|
@@ -1,24 +1,38 @@
|
|
|
1
1
|
import { LinkProps } from '../../types/types';
|
|
2
2
|
import { SemanticType } from '../../utils/SemanticType';
|
|
3
3
|
interface Props extends Partial<LinkProps> {
|
|
4
|
+
/** Icon of the button. The `icon` slot replaces it. */
|
|
4
5
|
icon?: SVGComponent;
|
|
6
|
+
/** Name of the action, shown in a tooltip — or under the icon with `titleText` — and read by screen readers. */
|
|
5
7
|
title: string;
|
|
8
|
+
/** Colors the icon primary, for a toggle that is on. Only with the default `SECONDARY` type. */
|
|
6
9
|
active?: boolean;
|
|
10
|
+
/** Element rendered without `to`: a `button`, or an `a` for an external link with `href`. */
|
|
7
11
|
tag?: 'button' | 'a';
|
|
8
12
|
/** Link target when `tag` is `a`. */
|
|
9
13
|
href?: string;
|
|
14
|
+
/** `target` attribute of the link when `tag` is `a`. */
|
|
10
15
|
target?: '_self' | '_blank' | '_parent' | '_top';
|
|
16
|
+
/** `rel` attribute of the link when `tag` is `a`. */
|
|
11
17
|
rel?: string;
|
|
18
|
+
/** Number in a badge on the corner, hidden at 0. */
|
|
12
19
|
count?: number;
|
|
20
|
+
/** Color scheme of the button. */
|
|
13
21
|
semanticType?: SemanticType;
|
|
22
|
+
/** Grays the button out and ignores clicks. */
|
|
14
23
|
disabled?: boolean;
|
|
24
|
+
/** Shows a placeholder instead of the button and ignores clicks. */
|
|
15
25
|
skeleton?: boolean;
|
|
26
|
+
/** Tooltip text instead of `title`. */
|
|
16
27
|
tooltipText?: string;
|
|
28
|
+
/** Shows `title` under the icon instead of in the tooltip. */
|
|
17
29
|
titleText?: boolean;
|
|
30
|
+
/** Runs a shimmer over the button while its action is in progress. */
|
|
31
|
+
loading?: boolean;
|
|
18
32
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
icon?: (
|
|
33
|
+
type __VLS_Slots = {
|
|
34
|
+
/** Content of the button, replacing `icon`. */
|
|
35
|
+
icon?: () => void;
|
|
22
36
|
};
|
|
23
37
|
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
38
|
click: (event: MouseEvent) => any;
|
|
@@ -27,13 +41,13 @@ declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, i
|
|
|
27
41
|
}>, {
|
|
28
42
|
skeleton: boolean;
|
|
29
43
|
count: number;
|
|
44
|
+
semanticType: SemanticType;
|
|
30
45
|
href: string;
|
|
31
46
|
to: import('vue-router').RouterLinkProps["to"];
|
|
32
47
|
icon: SVGComponent;
|
|
33
48
|
tag: "button" | "a";
|
|
34
49
|
target: "_self" | "_blank" | "_parent" | "_top";
|
|
35
50
|
rel: string;
|
|
36
|
-
semanticType: SemanticType;
|
|
37
51
|
disabled: boolean;
|
|
38
52
|
tooltipText: string;
|
|
39
53
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WButtonAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonAction.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WButtonAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonAction.vue"],"names":[],"mappings":"AA+EA;AAAA,OAqKO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAW5C,OAAO,EAAC,YAAY,EAA+B,MAAM,sBAAsB,CAAA;AAE/E,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,uDAAuD;IACvD,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,gHAAgH;IAChH,KAAK,EAAE,MAAM,CAAA;IACb,gGAAgG;IAChG,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6FAA6F;IAC7F,GAAG,CAAC,EAAE,QAAQ,GAAG,GAAG,CAAA;IACpB,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wDAAwD;IACxD,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,qDAAqD;IACrD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kCAAkC;IAClC,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AA0BD,KAAK,WAAW,GAAG;IACjB,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,IAAI,CAAA;CAClB,CAAC;AAyPF,QAAA,MAAM,UAAU;;;;;cA7RH,OAAO;WANV,MAAM;kBAEC,YAAY;UARpB,MAAM;;UARN,YAAY;SAMb,QAAQ,GAAG,GAAG;YAIX,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM;SAE1C,MAAM;cAMD,OAAO;iBAIJ,MAAM;6EA+RpB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { SemanticType, useSemanticTypeBackgroundMap } from "../../utils/SemanticType.js";
|
|
1
2
|
import WCounter_default from "../Counter/WCounter.vue.js";
|
|
2
3
|
import WRouterLink_default from "../RouterLink/WRouterLink.vue.js";
|
|
3
4
|
import WShine_default from "../Shine/WShine.vue.js";
|
|
4
5
|
import WSkeleton_default from "../Skeleton/WSkeleton.vue.js";
|
|
5
6
|
import WTooltip_default from "../Tooltip/WTooltip.vue.js";
|
|
6
7
|
import { useIsBackdrop } from "../Modal/use/useIsBackdrop.js";
|
|
7
|
-
import {
|
|
8
|
-
import { Fragment, createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, vShow, withCtx, withDirectives } from "vue";
|
|
8
|
+
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useTemplateRef, vShow, withCtx, withDirectives } from "vue";
|
|
9
9
|
//#region src/components/Button/WButtonAction.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var _hoisted_1 = {
|
|
11
|
+
key: 2,
|
|
12
|
+
class: "absolute inset-0 rounded-inherit overflow-clip text-primary-darkest/10 dark:text-primary-light/20"
|
|
13
|
+
};
|
|
10
14
|
var WButtonAction_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
11
15
|
__name: "WButtonAction",
|
|
12
16
|
props: {
|
|
@@ -29,12 +33,21 @@ var WButtonAction_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
29
33
|
},
|
|
30
34
|
tooltipText: { default: void 0 },
|
|
31
35
|
titleText: { type: Boolean },
|
|
36
|
+
loading: { type: Boolean },
|
|
32
37
|
to: { default: void 0 }
|
|
33
38
|
},
|
|
34
39
|
emits: ["click"],
|
|
35
|
-
setup(__props) {
|
|
40
|
+
setup(__props, { emit: __emit }) {
|
|
41
|
+
const props = __props;
|
|
42
|
+
const emit = __emit;
|
|
36
43
|
const semanticTypeBackgroundMap = useSemanticTypeBackgroundMap();
|
|
37
44
|
const isBackdrop = useIsBackdrop();
|
|
45
|
+
const tooltipRef = useTemplateRef("tooltip");
|
|
46
|
+
const handleClick = (event) => {
|
|
47
|
+
if (props.disabled || props.skeleton) return;
|
|
48
|
+
tooltipRef.value?.close();
|
|
49
|
+
emit("click", event);
|
|
50
|
+
};
|
|
38
51
|
return (_ctx, _cache) => {
|
|
39
52
|
return openBlock(), createBlock(resolveDynamicComponent(__props.to !== void 0 ? __props.disabled || __props.skeleton ? "a" : WRouterLink_default : __props.tag), mergeProps(__props.disabled || __props.skeleton ? void 0 : __props.to !== void 0 ? { to: __props.to } : __props.tag === "a" ? {
|
|
40
53
|
href: __props.href,
|
|
@@ -47,7 +60,7 @@ var WButtonAction_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
47
60
|
}],
|
|
48
61
|
disabled: __props.disabled || __props.skeleton,
|
|
49
62
|
"aria-label": __props.titleText ? void 0 : __props.title,
|
|
50
|
-
onClick:
|
|
63
|
+
onClick: handleClick
|
|
51
64
|
}), {
|
|
52
65
|
default: withCtx(() => [
|
|
53
66
|
__props.skeleton ? (openBlock(), createBlock(WSkeleton_default, {
|
|
@@ -71,7 +84,8 @@ var WButtonAction_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
71
84
|
key: 0,
|
|
72
85
|
class: normalizeClass(["square-6 w-svg-stroke-width-sm place-self-center transition-transform", { "group-hover:scale-120": !__props.disabled }])
|
|
73
86
|
}, null, 8, ["class"])) : createCommentVNode("", true)]),
|
|
74
|
-
!__props.disabled && !unref(isBackdrop) ? (openBlock(), createBlock(WShine_default, { key: 1 })) : createCommentVNode("", true)
|
|
87
|
+
!__props.disabled && !unref(isBackdrop) && !__props.loading ? (openBlock(), createBlock(WShine_default, { key: 1 })) : createCommentVNode("", true),
|
|
88
|
+
__props.loading ? (openBlock(), createElementBlock("div", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("div", { class: "absolute inset-0 bg-linear-90 from-current/0 to-current/0 via-current animate-ticker" }, null, -1)])])) : createCommentVNode("", true)
|
|
75
89
|
], 2)),
|
|
76
90
|
__props.titleText ? (openBlock(), createElementBlock("div", {
|
|
77
91
|
key: 2,
|
|
@@ -79,6 +93,7 @@ var WButtonAction_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
79
93
|
}, [__props.skeleton ? (openBlock(), createBlock(WSkeleton_default, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(__props.title), 1)], 64))], 2)) : createCommentVNode("", true),
|
|
80
94
|
__props.tooltipText || !__props.titleText && __props.title ? (openBlock(), createBlock(WTooltip_default, {
|
|
81
95
|
key: 3,
|
|
96
|
+
ref: "tooltip",
|
|
82
97
|
text: __props.tooltipText ?? (__props.titleText ? void 0 : __props.title),
|
|
83
98
|
left: ""
|
|
84
99
|
}, null, 8, ["text"])) : createCommentVNode("", true)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Text copied to the clipboard on click. */
|
|
2
3
|
value: string;
|
|
3
4
|
};
|
|
4
5
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WButtonCopy.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonCopy.vue"],"names":[],"mappings":"AAoBA;
|
|
1
|
+
{"version":3,"file":"WButtonCopy.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonCopy.vue"],"names":[],"mappings":"AAoBA;AA2CA,KAAK,WAAW,GAAG;IACjB,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;AAyEF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import WSkeleton_default from "../Skeleton/WSkeleton.vue.js";
|
|
2
1
|
import { SemanticType, useSemanticTypeBackgroundMap, useSemanticTypeButtonBackgroundMap } from "../../utils/SemanticType.js";
|
|
2
|
+
import WSkeleton_default from "../Skeleton/WSkeleton.vue.js";
|
|
3
3
|
import WSpinner_default from "../Spinner/WSpinner.vue.js";
|
|
4
4
|
import { useComponentStates } from "../../utils/useComponentStates.js";
|
|
5
5
|
import WFieldWrapper_default from "../FieldWrapper/WFieldWrapper.vue.js";
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { LinkProps } from '../../types/types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Icon of the button. */
|
|
3
4
|
icon: SVGComponent;
|
|
5
|
+
/** Router location — renders a router link. Needs vue-router installed in the app. */
|
|
4
6
|
to?: LinkProps['to'];
|
|
7
|
+
/** Tooltip text, which also names the button. */
|
|
5
8
|
tooltipText?: string;
|
|
9
|
+
/** Shows a spinner instead of the icon and ignores clicks. */
|
|
6
10
|
loading?: boolean;
|
|
11
|
+
/** Shows a placeholder instead of the button. */
|
|
7
12
|
skeleton?: boolean;
|
|
13
|
+
/** Grays the button out and ignores clicks. */
|
|
8
14
|
disabled?: boolean;
|
|
9
15
|
};
|
|
10
16
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WButtonInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WButtonInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonInput.vue"],"names":[],"mappings":"AA0CA;AAwEA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAO5C,KAAK,WAAW,GAAG;IACjB,0BAA0B;IAC1B,IAAI,EAAE,YAAY,CAAA;IAClB,sFAAsF;IACtF,EAAE,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IACpB,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAmKF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -27,6 +27,7 @@ var WButtonInput_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
27
27
|
"cursor-progress": __props.loading
|
|
28
28
|
}],
|
|
29
29
|
disabled: __props.disabled,
|
|
30
|
+
"aria-label": __props.tooltipText,
|
|
30
31
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => !__props.disabled && !__props.loading && _ctx.$emit("click", $event), ["stop", "prevent"])),
|
|
31
32
|
onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {}, ["stop", "prevent"]))
|
|
32
33
|
}), {
|
|
@@ -42,7 +43,11 @@ var WButtonInput_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
42
43
|
"no-touch": ""
|
|
43
44
|
}, null, 8, ["text"])) : createCommentVNode("", true)]),
|
|
44
45
|
_: 1
|
|
45
|
-
}, 16, [
|
|
46
|
+
}, 16, [
|
|
47
|
+
"class",
|
|
48
|
+
"disabled",
|
|
49
|
+
"aria-label"
|
|
50
|
+
]));
|
|
46
51
|
};
|
|
47
52
|
}
|
|
48
53
|
});
|
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Singular noun in the "Selected N items" counter. An "s" is added for more than one. */
|
|
3
4
|
title?: string;
|
|
5
|
+
/** Tooltip of the actions while nothing is selected, which also disables them. */
|
|
4
6
|
disableMessage?: string;
|
|
7
|
+
/** Number of selected items. While it is above 0, the counter with a clear button replaces the `settings` slot. */
|
|
5
8
|
selectedCount?: number;
|
|
9
|
+
/** Class of the More menu's toggle, e.g. to hide it while all actions fit. */
|
|
6
10
|
moreToggleClass?: string;
|
|
7
11
|
};
|
|
8
12
|
type __VLS_Slots = {
|
|
13
|
+
/** WButtonSelectionAction buttons. Pass them `disableMessage`, and `cssClass` for the dividers between them. */
|
|
9
14
|
default?: (props: {
|
|
10
15
|
disableMessage: string | undefined;
|
|
11
16
|
cssClass: string;
|
|
12
17
|
}) => VNode[];
|
|
18
|
+
/** Actions in the More menu at the end of the row. */
|
|
13
19
|
more?: (props: {
|
|
14
20
|
disableMessage: string | undefined;
|
|
15
21
|
cssClass: string;
|
|
16
22
|
}) => VNode[];
|
|
23
|
+
/** Content at the end of the bar while nothing is selected, such as list settings. */
|
|
17
24
|
settings?: () => VNode[];
|
|
18
25
|
};
|
|
19
26
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WButtonSelection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WButtonSelection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelection.vue"],"names":[],"mappings":"AAyDA;AAmHA,OAAO,EAAC,KAAK,KAAK,EAA0C,MAAM,KAAK,CAAA;AAcvE,KAAK,WAAW,GAAG;IACf,0FAA0F;IAC1F,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kFAAkF;IAClF,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,mHAAmH;IACnH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,8EAA8E;IAC9E,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC;AAyBJ,KAAK,WAAW,GAAG;IACjB,gHAAgH;IAChH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE;QAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,KAAK,KAAK,EAAE,CAAA;IACpF,sDAAsD;IACtD,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE;QAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,KAAK,KAAK,EAAE,CAAA;IACjF,sFAAsF;IACtF,QAAQ,CAAC,EAAE,MAAM,KAAK,EAAE,CAAA;CACzB,CAAC;AA+MF,QAAA,MAAM,UAAU;;;;;WAtPJ,MAAM;oBAEG,MAAM;mBAEP,MAAM;qBAEJ,MAAM;6EAoP1B,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -39,10 +39,15 @@ var WButtonSelection_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
39
39
|
toggle: withCtx(() => [createVNode(WButtonSelectionAction_default, {
|
|
40
40
|
title: "More",
|
|
41
41
|
icon: markRaw(unref(IconMore_default)),
|
|
42
|
+
"aria-expanded": isOpen.value,
|
|
42
43
|
"disable-message": disableMessageValue.value,
|
|
43
44
|
class: "border-l border-solid border-gray-300 dark:border-gray-700",
|
|
44
45
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
|
|
45
|
-
}, null, 8, [
|
|
46
|
+
}, null, 8, [
|
|
47
|
+
"icon",
|
|
48
|
+
"aria-expanded",
|
|
49
|
+
"disable-message"
|
|
50
|
+
])]),
|
|
46
51
|
content: withCtx(() => [createVNode(WClickOutside_default, {
|
|
47
52
|
class: "bg-default dark:bg-default-dark dropdown w-shine-hidden my-2 grid grid-cols-1 overflow-hidden rounded-xl shadow-md dark:outline-1 dark:outline-gray-800",
|
|
48
53
|
onClick: _cache[1] || (_cache[1] = ($event) => isOpen.value = false)
|
|
@@ -1,21 +1,35 @@
|
|
|
1
1
|
import { LinkProps } from '../../types/types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Text after the icon. Hidden on phones, except in the More menu. */
|
|
3
4
|
title?: string;
|
|
5
|
+
/** Name for screen readers. Defaults to `tooltipText`, then `title`. */
|
|
6
|
+
label?: string;
|
|
7
|
+
/** Icon of the action. */
|
|
4
8
|
icon: SVGComponent;
|
|
9
|
+
/** Disables the action and shows this text in its tooltip, e.g. "No selected items". */
|
|
5
10
|
disableMessage?: string;
|
|
11
|
+
/** Disables the action. */
|
|
6
12
|
disabled?: boolean;
|
|
13
|
+
/** Marks the action as on, e.g. a filter that is applied. */
|
|
7
14
|
active?: boolean;
|
|
15
|
+
/** Shows a spinner over the action and ignores clicks. */
|
|
8
16
|
loading?: boolean;
|
|
17
|
+
/** Tooltip text. */
|
|
9
18
|
tooltipText?: string;
|
|
19
|
+
/** Router location — renders a router link. Needs vue-router installed in the app. */
|
|
10
20
|
to?: LinkProps['to'];
|
|
21
|
+
/** Element rendered without `to`, e.g. `a` for a link with `href`. Defaults to `button`. */
|
|
11
22
|
tag?: keyof HTMLElementTagNameMap;
|
|
23
|
+
/** Link URL when `tag` is `a`. */
|
|
12
24
|
href?: string;
|
|
25
|
+
/** `target` attribute of the link. */
|
|
13
26
|
target?: '_self' | '_blank' | '_parent' | '_top';
|
|
27
|
+
/** Replaces the current history entry instead of adding one, with `to`. */
|
|
14
28
|
replace?: boolean;
|
|
15
29
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
tooltip?: (
|
|
30
|
+
type __VLS_Slots = {
|
|
31
|
+
/** Rich content of the tooltip, replacing `disableMessage` or `tooltipText`. */
|
|
32
|
+
tooltip?: () => void;
|
|
19
33
|
};
|
|
20
34
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
35
|
click: (value: MouseEvent) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WButtonSelectionAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelectionAction.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WButtonSelectionAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelectionAction.vue"],"names":[],"mappings":"AAwEA;AAAA,OA0HO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAO5C,KAAK,WAAW,GAAG;IACjB,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0BAA0B;IAC1B,IAAI,EAAE,YAAY,CAAA;IAClB,wFAAwF;IACxF,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oBAAoB;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,sFAAsF;IACtF,EAAE,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IACpB,4FAA4F;IAC5F,GAAG,CAAC,EAAE,MAAM,qBAAqB,CAAA;IACjC,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AASF,KAAK,WAAW,GAAG;IACjB,gFAAgF;IAChF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAC;AAyNF,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
package/dist/components/Button/WButtonSelectionAction.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -16,6 +16,7 @@ var WButtonSelectionAction_vue_vue_type_script_setup_true_lang_default = /*@__PU
|
|
|
16
16
|
__name: "WButtonSelectionAction",
|
|
17
17
|
props: {
|
|
18
18
|
title: {},
|
|
19
|
+
label: {},
|
|
19
20
|
icon: {},
|
|
20
21
|
disableMessage: {},
|
|
21
22
|
disabled: { type: Boolean },
|
|
@@ -40,7 +41,8 @@ var WButtonSelectionAction_vue_vue_type_script_setup_true_lang_default = /*@__PU
|
|
|
40
41
|
target: __props.target
|
|
41
42
|
} : {} }, {
|
|
42
43
|
disabled: __props.disabled || __props.disableMessage !== void 0,
|
|
43
|
-
"aria-label": __props.
|
|
44
|
+
"aria-label": __props.label ?? __props.tooltipText ?? __props.title,
|
|
45
|
+
"aria-busy": __props.loading || void 0,
|
|
44
46
|
class: ["disabled:text-description relative isolate flex select-none items-center bg-none no-underline outline-none disabled:cursor-not-allowed", {
|
|
45
47
|
"w-ripple w-ripple-hover before:text-primary dark:before:text-primary-dark hover:text-primary dark:hover:text-primary-dark cursor-pointer": !__props.disabled && !__props.disableMessage && !__props.loading,
|
|
46
48
|
"text-primary dark:text-primary-dark w-ripple-active": __props.active,
|
|
@@ -69,6 +71,7 @@ var WButtonSelectionAction_vue_vue_type_script_setup_true_lang_default = /*@__PU
|
|
|
69
71
|
}, 16, [
|
|
70
72
|
"disabled",
|
|
71
73
|
"aria-label",
|
|
74
|
+
"aria-busy",
|
|
72
75
|
"class"
|
|
73
76
|
]);
|
|
74
77
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
default?: (
|
|
1
|
+
type __VLS_Slots = {
|
|
2
|
+
/** The selection count, such as "Selected 3 items". */
|
|
3
|
+
default?: () => void;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
6
|
click: (value: MouseEvent) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WButtonSelectionState.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelectionState.vue"],"names":[],"mappings":"AAeA;
|
|
1
|
+
{"version":3,"file":"WButtonSelectionState.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelectionState.vue"],"names":[],"mappings":"AAeA;AAsCA,KAAK,WAAW,GAAG;IACjB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAC;AA0EF,QAAA,MAAM,UAAU;;;;iFAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|