@sprawlify/vue 0.0.72 → 0.0.74
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/accordion-anatomy-SnniqySz.js +3 -0
- package/dist/accordion-anatomy-rCL5aWqn.d.ts +2 -0
- package/dist/angle-slider-anatomy-BcpYlzjU.js +3 -0
- package/dist/angle-slider-anatomy-Dx77gXPi.d.ts +2 -0
- package/dist/avatar-anatomy-DkaRck8U.js +3 -0
- package/dist/avatar-anatomy-DqwdmVib.d.ts +2 -0
- package/dist/bottom-sheet-anatomy-CATwdEhi.d.ts +2 -0
- package/dist/bottom-sheet-anatomy-lHEnPDuf.js +3 -0
- package/dist/carousel-anatomy-CP646ljY.d.ts +6 -0
- package/dist/carousel-anatomy-Dozyhz87.js +7 -0
- package/dist/checkbox-anatomy-DGrjF6ri.d.ts +6 -0
- package/dist/checkbox-anatomy-DrTfnRdC.js +7 -0
- package/dist/clipboard-anatomy-Btcms62_.js +3 -0
- package/dist/clipboard-anatomy-BtxJPw4p.d.ts +2 -0
- package/dist/collapsible-anatomy-Bz0a8LAr.js +3 -0
- package/dist/collapsible-anatomy-C-2X58M2.d.ts +2 -0
- package/dist/{collapsible-jX9S7WYj.js → collapsible-kw6uns8K.js} +3 -4
- package/dist/{collection-DGKjEgOz.js → collection-BHgAE3BH.js} +1 -1
- package/dist/color-picker-anatomy-C18pJhHu.d.ts +6 -0
- package/dist/color-picker-anatomy-DJP6gg1F.js +7 -0
- package/dist/combobox-anatomy-CwdkDJPn.d.ts +6 -0
- package/dist/combobox-anatomy-DccBa7f5.js +7 -0
- package/dist/components/accordion/index.d.ts +21 -20
- package/dist/components/accordion/index.js +6 -6
- package/dist/components/anatomy.d.ts +51 -0
- package/dist/components/anatomy.js +53 -0
- package/dist/components/angle-slider/index.d.ts +18 -17
- package/dist/components/angle-slider/index.js +3 -3
- package/dist/components/avatar/index.d.ts +13 -12
- package/dist/components/avatar/index.js +3 -3
- package/dist/components/bottom-sheet/index.d.ts +24 -23
- package/dist/components/bottom-sheet/index.js +6 -6
- package/dist/components/carousel/index.d.ts +24 -27
- package/dist/components/carousel/index.js +3 -7
- package/dist/components/checkbox/index.d.ts +22 -25
- package/dist/components/checkbox/index.js +8 -10
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +17 -16
- package/dist/components/clipboard/index.js +3 -3
- package/dist/components/collapsible/index.d.ts +17 -16
- package/dist/components/collapsible/index.js +3 -2
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +55 -58
- package/dist/components/color-picker/index.js +8 -10
- package/dist/components/combobox/index.d.ts +38 -41
- package/dist/components/combobox/index.js +8 -11
- package/dist/components/date-picker/index.d.ts +48 -51
- package/dist/components/date-picker/index.js +6 -9
- package/dist/components/dialog/index.d.ts +37 -36
- package/dist/components/dialog/index.js +5 -5
- package/dist/components/download-trigger/index.d.ts +4 -4
- package/dist/components/download-trigger/index.js +1 -1
- package/dist/components/editable/index.d.ts +29 -28
- package/dist/components/editable/index.js +5 -4
- package/dist/components/field/index.d.ts +24 -27
- package/dist/components/field/index.js +3 -2
- package/dist/components/fieldset/index.d.ts +12 -15
- package/dist/components/fieldset/index.js +3 -2
- package/dist/components/file-upload/index.d.ts +27 -26
- package/dist/components/file-upload/index.js +5 -4
- package/dist/components/floating-panel/index.d.ts +29 -27
- package/dist/components/floating-panel/index.js +4 -4
- package/dist/components/focus-trap/index.d.ts +5 -5
- package/dist/components/focus-trap/index.js +2 -2
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/frame/index.d.ts +6 -6
- package/dist/components/highlight/index.d.ts +4 -4
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +28 -27
- package/dist/components/hover-card/index.js +5 -5
- package/dist/components/image-cropper/index.d.ts +15 -18
- package/dist/components/image-cropper/index.js +4 -7
- package/dist/components/json-tree-view/index.d.ts +13 -13
- package/dist/components/json-tree-view/index.js +6 -6
- package/dist/components/listbox/index.d.ts +23 -26
- package/dist/components/listbox/index.js +4 -8
- package/dist/components/marquee/index.d.ts +25 -24
- package/dist/components/marquee/index.js +3 -3
- package/dist/components/menu/index.d.ts +60 -58
- package/dist/components/menu/index.js +5 -5
- package/dist/components/navigation-menu/index.d.ts +22 -21
- package/dist/components/navigation-menu/index.js +5 -5
- package/dist/components/number-input/index.d.ts +24 -23
- package/dist/components/number-input/index.js +5 -4
- package/dist/components/pagination/index.d.ts +19 -18
- package/dist/components/pagination/index.js +3 -3
- package/dist/components/password-input/index.d.ts +26 -25
- package/dist/components/password-input/index.js +5 -4
- package/dist/components/pin-input/index.d.ts +21 -20
- package/dist/components/pin-input/index.js +5 -4
- package/dist/components/popover/index.d.ts +39 -38
- package/dist/components/popover/index.js +5 -5
- package/dist/components/presence/index.d.ts +2 -2
- package/dist/components/presence/index.js +2 -2
- package/dist/components/progress/index.d.ts +17 -16
- package/dist/components/progress/index.js +3 -3
- package/dist/components/qr-code/index.d.ts +13 -12
- package/dist/components/qr-code/index.js +3 -3
- package/dist/components/radio-group/index.d.ts +19 -18
- package/dist/components/radio-group/index.js +6 -5
- package/dist/components/rating-group/index.d.ts +17 -16
- package/dist/components/rating-group/index.js +5 -4
- package/dist/components/scroll-area/index.d.ts +14 -13
- package/dist/components/scroll-area/index.js +3 -3
- package/dist/components/segment-group/index.d.ts +17 -20
- package/dist/components/segment-group/index.js +3 -8
- package/dist/components/select/index.d.ts +41 -40
- package/dist/components/select/index.js +8 -7
- package/dist/components/signature-pad/index.d.ts +18 -17
- package/dist/components/signature-pad/index.js +5 -4
- package/dist/components/slider/index.d.ts +23 -22
- package/dist/components/slider/index.js +3 -3
- package/dist/components/splitter/index.d.ts +14 -13
- package/dist/components/splitter/index.js +4 -3
- package/dist/components/steps/index.d.ts +22 -21
- package/dist/components/steps/index.js +3 -3
- package/dist/components/switch/index.d.ts +18 -17
- package/dist/components/switch/index.js +5 -4
- package/dist/components/tabs/index.d.ts +18 -17
- package/dist/components/tabs/index.js +5 -5
- package/dist/components/tags-input/index.d.ts +35 -34
- package/dist/components/tags-input/index.js +5 -4
- package/dist/components/timer/index.d.ts +16 -15
- package/dist/components/timer/index.js +3 -3
- package/dist/components/toast/index.d.ts +155 -0
- package/dist/components/toast/index.js +265 -0
- package/dist/components/toggle/index.d.ts +98 -0
- package/dist/components/toggle/index.js +126 -0
- package/dist/components/toggle-group/index.d.ts +128 -0
- package/dist/components/toggle-group/index.js +207 -0
- package/dist/components/tooltip/index.d.ts +202 -0
- package/dist/components/tooltip/index.js +349 -0
- package/dist/components/tour/index.d.ts +305 -0
- package/dist/components/tour/index.js +502 -0
- package/dist/components/tree-view/index.d.ts +6 -5
- package/dist/components/tree-view/index.js +6 -5
- package/dist/date-picker-anatomy-B3KhAu53.d.ts +6 -0
- package/dist/date-picker-anatomy-BbB7oLLk.js +7 -0
- package/dist/dialog-anatomy--8BPzYvc.d.ts +2 -0
- package/dist/dialog-anatomy-DZW7OUW_.js +3 -0
- package/dist/editable-anatomy-D1eyySPH.js +3 -0
- package/dist/editable-anatomy-qX6giV4Y.d.ts +2 -0
- package/dist/{field-CtPR24u6.js → field-C6iB3Tje.js} +3 -8
- package/dist/field-anatomy-DOCpzb4B.js +8 -0
- package/dist/field-anatomy-meDug-96.d.ts +6 -0
- package/dist/{fieldset-D5SznrKY.js → fieldset-B1bn9yHW.js} +3 -8
- package/dist/fieldset-anatomy-BENizr4L.d.ts +6 -0
- package/dist/fieldset-anatomy-DmZTaMK6.js +8 -0
- package/dist/file-upload-anatomy-BFGZTW-d.d.ts +2 -0
- package/dist/file-upload-anatomy-CZ2VnScd.js +3 -0
- package/dist/floating-panel-anatomy-DBrl1Bp0.js +3 -0
- package/dist/floating-panel-anatomy-aRL0nEuA.d.ts +2 -0
- package/dist/hover-card-anatomy-BL8G0P5L.d.ts +2 -0
- package/dist/hover-card-anatomy-D3wEfkuu.js +3 -0
- package/dist/image-cropper-anatomy-Q-TC-Ntz.d.ts +6 -0
- package/dist/image-cropper-anatomy-vcTNTTGP.js +7 -0
- package/dist/{index-DwWFWpls.d.ts → index-CKLWua9t.d.ts} +35 -35
- package/dist/{index-B_UiXhk3.d.ts → index-DLfVD7U5.d.ts} +11 -11
- package/dist/{index-xb1q4_02.d.ts → index-_AirUBz0.d.ts} +7 -7
- package/dist/index.d.ts +3 -3
- package/dist/listbox-anatomy-CHgk_go8.d.ts +6 -0
- package/dist/listbox-anatomy-D2r-4uq6.js +7 -0
- package/dist/marquee-anatomy-BSMR6X4B.d.ts +2 -0
- package/dist/marquee-anatomy-sKw9g-dJ.js +3 -0
- package/dist/menu-anatomy-2i8La6ak.d.ts +2 -0
- package/dist/menu-anatomy-DbCORryZ.js +3 -0
- package/dist/navigation-menu-anatomy-kSlLw4EL.d.ts +2 -0
- package/dist/navigation-menu-anatomy-nwZUxyMV.js +3 -0
- package/dist/number-input-anatomy-BrKnd1U3.d.ts +2 -0
- package/dist/number-input-anatomy-hB3PpB4j.js +3 -0
- package/dist/pagination-anatomy-D8yk0Puf.js +3 -0
- package/dist/pagination-anatomy-NpCn-mYm.d.ts +2 -0
- package/dist/password-input-anatomy-BJPXSE6T.d.ts +2 -0
- package/dist/password-input-anatomy-D0nhl7MJ.js +3 -0
- package/dist/pin-input-anatomy-Blh9Y2sq.js +3 -0
- package/dist/pin-input-anatomy-OckZj-cF.d.ts +2 -0
- package/dist/popover-anatomy-Ce31QPso.d.ts +2 -0
- package/dist/popover-anatomy-DXWeYlnF.js +3 -0
- package/dist/{presence-B4-UhJY9.js → presence-Byk0B_Vq.js} +1 -1
- package/dist/progress-anatomy-DUD4W7vg.d.ts +2 -0
- package/dist/progress-anatomy-lioRhIrB.js +3 -0
- package/dist/qr-code-anatomy-CIy9Wai6.js +3 -0
- package/dist/qr-code-anatomy-Dmh5IV3m.d.ts +2 -0
- package/dist/radio-group-anatomy-C7L8dkhn.js +3 -0
- package/dist/radio-group-anatomy-CXwS1OoR.d.ts +2 -0
- package/dist/rating-group-anatomy-CBhzoESK.js +3 -0
- package/dist/rating-group-anatomy-DMTutKxa.d.ts +2 -0
- package/dist/scroll-area-anatomy-B-FlUOdc.js +3 -0
- package/dist/scroll-area-anatomy-Cxkrq_al.d.ts +2 -0
- package/dist/segment-group-anatomy-CNtzx5Yr.d.ts +6 -0
- package/dist/segment-group-anatomy-CPdu1efW.js +8 -0
- package/dist/select-anatomy-CiNHi2Kx.js +3 -0
- package/dist/select-anatomy-Elu3b3Op.d.ts +2 -0
- package/dist/signature-pad-anatomy-B-OK1170.d.ts +2 -0
- package/dist/signature-pad-anatomy-Mz3w_i5B.js +3 -0
- package/dist/slider-anatomy-3KpCBnz3.js +3 -0
- package/dist/slider-anatomy-Ctfd4geR.d.ts +2 -0
- package/dist/splitter-anatomy-CN7s6WdQ.d.ts +2 -0
- package/dist/splitter-anatomy-D2RNa-hA.js +3 -0
- package/dist/steps-anatomy-CSfgiyVI.js +3 -0
- package/dist/steps-anatomy-DrtAi5Mk.d.ts +2 -0
- package/dist/switch-anatomy-DDL1v5Fs.js +3 -0
- package/dist/switch-anatomy-Z4qGqnte.d.ts +2 -0
- package/dist/tabs-anatomy-BL3YLH_t.d.ts +2 -0
- package/dist/tabs-anatomy-DlQHg-E8.js +3 -0
- package/dist/tags-input-anatomy-AHepxK3s.d.ts +2 -0
- package/dist/tags-input-anatomy-DYSi98Bx.js +3 -0
- package/dist/timer-anatomy-Be-Fa71t.d.ts +2 -0
- package/dist/timer-anatomy-C9bTbrUf.js +3 -0
- package/dist/toast-anatomy-CssUp7TT.js +3 -0
- package/dist/toast-anatomy-_k_zeUjw.d.ts +2 -0
- package/dist/toggle-anatomy-D8XJQLnW.js +8 -0
- package/dist/toggle-anatomy-DFzkjtVR.d.ts +6 -0
- package/dist/toggle-group-anatomy-DD8PvB75.js +3 -0
- package/dist/toggle-group-anatomy-L0_56E8r.d.ts +2 -0
- package/dist/tooltip-anatomy-CPw1wOXd.js +3 -0
- package/dist/tooltip-anatomy-jbsTMGov.d.ts +2 -0
- package/dist/tour-anatomy-CDmnjoPR.js +7 -0
- package/dist/tour-anatomy-CgFQsxyi.d.ts +6 -0
- package/dist/{tree-view-Ctpu5RjE.js → tree-view-BBC0paRq.js} +6 -7
- package/dist/tree-view-anatomy-BM2MLpUa.d.ts +2 -0
- package/dist/tree-view-anatomy-BW_ruJ-g.js +3 -0
- package/package.json +26 -2
- /package/dist/{boolean-CpMsIRK4.js → boolean-L5YmbZkb.js} +0 -0
- /package/dist/{clean-props-D2R4tz5e.js → clean-props-DsGHTEpm.js} +0 -0
- /package/dist/{create-split-props-0RD5_O4P.js → create-split-props-BQ6yvpdF.js} +0 -0
- /package/dist/{factory-B5zr8_kk.d.ts → factory-D5HMCjkS.d.ts} +0 -0
- /package/dist/{factory-Co08Aw8u.js → factory-DxZQviAU.js} +0 -0
- /package/dist/{index-CCRVRFFQ.d.ts → index-DmKzfNVe.d.ts} +0 -0
- /package/dist/{index-DhFoJHfp.d.ts → index-e9UjgIag.d.ts} +0 -0
- /package/dist/{presence-types-BJRr8tqd.d.ts → presence-types-CaUy1bPc.d.ts} +0 -0
- /package/dist/{types-DIEO6uP3.d.ts → types-DVbnnQPS.d.ts} +0 -0
- /package/dist/{use-render-strategy-DA33j31C.js → use-render-strategy-Bx4OiQlo.js} +0 -0
- /package/dist/{use-render-strategy-U5NxU252.d.ts → use-render-strategy-DsagWQCm.d.ts} +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
-
import
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DVbnnQPS.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
4
|
+
import { t as tagsInputAnatomy } from "../../tags-input-anatomy-AHepxK3s.js";
|
|
5
|
+
import * as vue895 from "vue";
|
|
5
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
|
-
import * as
|
|
7
|
+
import * as _sprawlify_primitives_machines_bottom_sheet13 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
7
8
|
import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
8
|
-
import { FocusOutsideEvent, FocusOutsideEvent as TagsInputFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as TagsInputHighlightChangeDetails, InputValueChangeDetails, InputValueChangeDetails as TagsInputInputValueChangeDetails, InteractOutsideEvent, InteractOutsideEvent as TagsInputInteractOutsideEvent, ItemProps
|
|
9
|
+
import { FocusOutsideEvent, FocusOutsideEvent as TagsInputFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as TagsInputHighlightChangeDetails, InputValueChangeDetails, InputValueChangeDetails as TagsInputInputValueChangeDetails, InteractOutsideEvent, InteractOutsideEvent as TagsInputInteractOutsideEvent, ItemProps, ItemState, PointerDownOutsideEvent, PointerDownOutsideEvent as TagsInputPointerDownOutsideEvent, ValidityChangeDetails, ValidityChangeDetails as TagsInputValidityChangeDetails, ValueChangeDetails, ValueChangeDetails as TagsInputValueChangeDetails } from "@sprawlify/primitives/machines/tags-input";
|
|
9
10
|
|
|
10
11
|
//#region src/components/tags-input/tags-input-clear-trigger.vue.d.ts
|
|
11
12
|
interface TagsInputClearTriggerBaseProps extends PolymorphicProps {}
|
|
@@ -15,7 +16,7 @@ interface TagsInputClearTriggerProps extends TagsInputClearTriggerBaseProps,
|
|
|
15
16
|
*/
|
|
16
17
|
ButtonHTMLAttributes {}
|
|
17
18
|
declare const _default: typeof __VLS_export$13;
|
|
18
|
-
declare const __VLS_export$13: __VLS_WithSlots$13<
|
|
19
|
+
declare const __VLS_export$13: __VLS_WithSlots$13<vue895.DefineComponent<TagsInputClearTriggerProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputClearTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
19
20
|
default?: (props: {}) => any;
|
|
20
21
|
}>;
|
|
21
22
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -87,7 +88,7 @@ interface TagsInputContextProps extends SlotsType<{
|
|
|
87
88
|
default: UnwrapRef<UseTagsInputContext>;
|
|
88
89
|
}> {}
|
|
89
90
|
declare const _default$1: typeof __VLS_export$12;
|
|
90
|
-
declare const __VLS_export$12: __VLS_WithSlots$12<
|
|
91
|
+
declare const __VLS_export$12: __VLS_WithSlots$12<vue895.DefineComponent<{}, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, true, {}, any>, {
|
|
91
92
|
default(tagsInput: UnwrapRef<UseTagsInputContext>): unknown;
|
|
92
93
|
}>;
|
|
93
94
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -104,7 +105,7 @@ interface TagsInputControlProps extends TagsInputControlBaseProps,
|
|
|
104
105
|
*/
|
|
105
106
|
HTMLAttributes {}
|
|
106
107
|
declare const _default$2: typeof __VLS_export$11;
|
|
107
|
-
declare const __VLS_export$11: __VLS_WithSlots$11<
|
|
108
|
+
declare const __VLS_export$11: __VLS_WithSlots$11<vue895.DefineComponent<TagsInputControlProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
108
109
|
default?: (props: {}) => any;
|
|
109
110
|
}>;
|
|
110
111
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -121,7 +122,7 @@ interface TagsInputHiddenInputProps extends TagsInputHiddenInputBaseProps,
|
|
|
121
122
|
*/
|
|
122
123
|
InputHTMLAttributes {}
|
|
123
124
|
declare const _default$3: typeof __VLS_export$10;
|
|
124
|
-
declare const __VLS_export$10: __VLS_WithSlots$10<
|
|
125
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<vue895.DefineComponent<TagsInputHiddenInputProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
125
126
|
default?: (props: {}) => any;
|
|
126
127
|
}>;
|
|
127
128
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -138,7 +139,7 @@ interface TagsInputInputProps extends TagsInputInputBaseProps,
|
|
|
138
139
|
*/
|
|
139
140
|
InputHTMLAttributes {}
|
|
140
141
|
declare const _default$4: typeof __VLS_export$9;
|
|
141
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
142
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue895.DefineComponent<TagsInputInputProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
142
143
|
default?: (props: {}) => any;
|
|
143
144
|
}>;
|
|
144
145
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -155,7 +156,7 @@ interface TagsInputItemContextProps extends SlotsType<{
|
|
|
155
156
|
default: UnwrapRef<UseTagsInputItemContext>;
|
|
156
157
|
}> {}
|
|
157
158
|
declare const _default$6: typeof __VLS_export$8;
|
|
158
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
159
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue895.DefineComponent<{}, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, true, {}, any>, {
|
|
159
160
|
default(tagsInput: UnwrapRef<UseTagsInputItemContext>): unknown;
|
|
160
161
|
}>;
|
|
161
162
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -172,7 +173,7 @@ interface TagsInputItemDeleteTriggerProps extends TagsInputItemDeleteTriggerBase
|
|
|
172
173
|
*/
|
|
173
174
|
ButtonHTMLAttributes {}
|
|
174
175
|
declare const _default$7: typeof __VLS_export$7;
|
|
175
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
176
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue895.DefineComponent<TagsInputItemDeleteTriggerProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputItemDeleteTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
176
177
|
default?: (props: {}) => any;
|
|
177
178
|
}>;
|
|
178
179
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -189,7 +190,7 @@ interface TagsInputItemInputProps extends TagsInputItemInputBaseProps,
|
|
|
189
190
|
*/
|
|
190
191
|
InputHTMLAttributes {}
|
|
191
192
|
declare const _default$8: typeof __VLS_export$6;
|
|
192
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
193
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue895.DefineComponent<TagsInputItemInputProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputItemInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
193
194
|
default?: (props: {}) => any;
|
|
194
195
|
}>;
|
|
195
196
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -206,7 +207,7 @@ interface TagsInputItemPreviewProps extends TagsInputItemPreviewBaseProps,
|
|
|
206
207
|
*/
|
|
207
208
|
HTMLAttributes {}
|
|
208
209
|
declare const _default$9: typeof __VLS_export$5;
|
|
209
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
210
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue895.DefineComponent<TagsInputItemPreviewProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputItemPreviewProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
210
211
|
default?: (props: {}) => any;
|
|
211
212
|
}>;
|
|
212
213
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -223,7 +224,7 @@ interface TagsInputItemTextProps extends TagsInputItemTextBaseProps,
|
|
|
223
224
|
*/
|
|
224
225
|
HTMLAttributes {}
|
|
225
226
|
declare const _default$10: typeof __VLS_export$4;
|
|
226
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
227
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue895.DefineComponent<TagsInputItemTextProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
227
228
|
default?: (props: {}) => any;
|
|
228
229
|
}>;
|
|
229
230
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -233,14 +234,14 @@ type __VLS_WithSlots$4<T, S> = T & {
|
|
|
233
234
|
};
|
|
234
235
|
//#endregion
|
|
235
236
|
//#region src/components/tags-input/tags-input-item.vue.d.ts
|
|
236
|
-
interface TagsInputItemBaseProps extends ItemProps
|
|
237
|
+
interface TagsInputItemBaseProps extends ItemProps, PolymorphicProps {}
|
|
237
238
|
interface TagsInputItemProps extends TagsInputItemBaseProps,
|
|
238
239
|
/**
|
|
239
240
|
* @vue-ignore
|
|
240
241
|
*/
|
|
241
242
|
HTMLAttributes {}
|
|
242
243
|
declare const _default$5: typeof __VLS_export$3;
|
|
243
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
244
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue895.DefineComponent<TagsInputItemProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
244
245
|
default?: (props: {}) => any;
|
|
245
246
|
}>;
|
|
246
247
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -257,7 +258,7 @@ interface TagsInputLabelProps extends TagsInputLabelBaseProps,
|
|
|
257
258
|
*/
|
|
258
259
|
LabelHTMLAttributes {}
|
|
259
260
|
declare const _default$11: typeof __VLS_export$2;
|
|
260
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
261
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue895.DefineComponent<TagsInputLabelProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
261
262
|
default?: (props: {}) => any;
|
|
262
263
|
}>;
|
|
263
264
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -277,7 +278,7 @@ interface TagsInputRootProviderProps extends TagsInputRootProviderBaseProps,
|
|
|
277
278
|
*/
|
|
278
279
|
HTMLAttributes {}
|
|
279
280
|
declare const _default$13: typeof __VLS_export$1;
|
|
280
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
281
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue895.DefineComponent<TagsInputRootProviderProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {}, string, vue895.PublicProps, Readonly<TagsInputRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
281
282
|
default?: (props: {}) => any;
|
|
282
283
|
}>;
|
|
283
284
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -295,36 +296,36 @@ interface TagsInputRootProps extends TagsInputRootBaseProps,
|
|
|
295
296
|
HTMLAttributes {}
|
|
296
297
|
interface TagsInputRootEmits extends RootEmits {}
|
|
297
298
|
declare const _default$12: typeof __VLS_export;
|
|
298
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
299
|
+
declare const __VLS_export: __VLS_WithSlots<vue895.DefineComponent<TagsInputRootProps, {}, {}, {}, {}, vue895.ComponentOptionsMixin, vue895.ComponentOptionsMixin, {
|
|
299
300
|
valueChange: (details: tagsInput.ValueChangeDetails) => any;
|
|
300
|
-
valueInvalid: (details: tagsInput.ValidityChangeDetails) => any;
|
|
301
301
|
"update:modelValue": (value: string[]) => any;
|
|
302
|
-
focusOutside: (event:
|
|
303
|
-
interactOutside: (event: _sprawlify_primitives_machines_menu5.InteractOutsideEvent) => any;
|
|
304
|
-
pointerDownOutside: (event: _sprawlify_primitives_machines_menu5.PointerDownOutsideEvent) => any;
|
|
302
|
+
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet13.FocusOutsideEvent) => any;
|
|
305
303
|
highlightChange: (details: tagsInput.HighlightChangeDetails) => any;
|
|
306
304
|
inputValueChange: (details: tagsInput.InputValueChangeDetails) => any;
|
|
305
|
+
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet13.InteractOutsideEvent) => any;
|
|
306
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet13.PointerDownOutsideEvent) => any;
|
|
307
307
|
"update:inputValue": (value: string) => any;
|
|
308
|
-
|
|
308
|
+
valueInvalid: (details: tagsInput.ValidityChangeDetails) => any;
|
|
309
|
+
}, string, vue895.PublicProps, Readonly<TagsInputRootProps> & Readonly<{
|
|
309
310
|
onValueChange?: ((details: tagsInput.ValueChangeDetails) => any) | undefined;
|
|
310
|
-
onValueInvalid?: ((details: tagsInput.ValidityChangeDetails) => any) | undefined;
|
|
311
311
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
312
|
-
onFocusOutside?: ((event:
|
|
313
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_menu5.InteractOutsideEvent) => any) | undefined;
|
|
314
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_menu5.PointerDownOutsideEvent) => any) | undefined;
|
|
312
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet13.FocusOutsideEvent) => any) | undefined;
|
|
315
313
|
onHighlightChange?: ((details: tagsInput.HighlightChangeDetails) => any) | undefined;
|
|
316
314
|
onInputValueChange?: ((details: tagsInput.InputValueChangeDetails) => any) | undefined;
|
|
315
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet13.InteractOutsideEvent) => any) | undefined;
|
|
316
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet13.PointerDownOutsideEvent) => any) | undefined;
|
|
317
317
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
318
|
+
onValueInvalid?: ((details: tagsInput.ValidityChangeDetails) => any) | undefined;
|
|
318
319
|
}>, {
|
|
319
|
-
required: boolean;
|
|
320
320
|
disabled: boolean;
|
|
321
|
+
required: boolean;
|
|
321
322
|
invalid: boolean;
|
|
322
323
|
readOnly: boolean;
|
|
323
324
|
autoFocus: boolean;
|
|
324
|
-
editable: boolean;
|
|
325
|
-
addOnPaste: boolean;
|
|
326
325
|
allowOverflow: boolean;
|
|
327
|
-
|
|
326
|
+
addOnPaste: boolean;
|
|
327
|
+
editable: boolean;
|
|
328
|
+
}, {}, {}, {}, string, vue895.ComponentProvideOptions, false, {}, any>, {
|
|
328
329
|
default?: (props: {}) => any;
|
|
329
330
|
}>;
|
|
330
331
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,12 +3,13 @@ import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
6
|
+
import "../../field-anatomy-DOCpzb4B.js";
|
|
7
|
+
import { t as tagsInputAnatomy } from "../../tags-input-anatomy-DYSi98Bx.js";
|
|
8
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
9
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
10
|
+
import { p as useFieldContext } from "../../field-C6iB3Tje.js";
|
|
9
11
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
10
12
|
import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
11
|
-
import { anatomy as tagsInputAnatomy } from "@sprawlify/primitives/machines/tags-input";
|
|
12
13
|
|
|
13
14
|
//#region src/components/tags-input/use-tags-input-context.ts
|
|
14
15
|
const [TagsInputProvider, useTagsInputContext] = createContext("TagsInputContext");
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
-
import
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DVbnnQPS.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
4
|
+
import { t as timerAnatomy } from "../../timer-anatomy-Be-Fa71t.js";
|
|
5
|
+
import * as vue845 from "vue";
|
|
5
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
7
|
import * as timer from "@sprawlify/primitives/machines/timer";
|
|
7
|
-
import { ActionTriggerProps, ItemProps, TickDetails
|
|
8
|
+
import { ActionTriggerProps, ItemProps, TickDetails } from "@sprawlify/primitives/machines/timer";
|
|
8
9
|
|
|
9
10
|
//#region src/components/timer/timer-action-trigger.vue.d.ts
|
|
10
11
|
interface TimerActionTriggerBaseProps extends ActionTriggerProps, PolymorphicProps {}
|
|
@@ -14,7 +15,7 @@ interface TimerActionTriggerProps extends TimerActionTriggerBaseProps,
|
|
|
14
15
|
*/
|
|
15
16
|
ButtonHTMLAttributes {}
|
|
16
17
|
declare const _default: typeof __VLS_export$7;
|
|
17
|
-
declare const __VLS_export$7: __VLS_WithSlots$6<
|
|
18
|
+
declare const __VLS_export$7: __VLS_WithSlots$6<vue845.DefineComponent<TimerActionTriggerProps, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {}, string, vue845.PublicProps, Readonly<TimerActionTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue845.ComponentProvideOptions, false, {}, any>, {
|
|
18
19
|
default?: (props: {}) => any;
|
|
19
20
|
}>;
|
|
20
21
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -54,7 +55,7 @@ interface TimerContextProps extends SlotsType<{
|
|
|
54
55
|
default: UnwrapRef<UseTimerContext>;
|
|
55
56
|
}> {}
|
|
56
57
|
declare const _default$2: typeof __VLS_export$6;
|
|
57
|
-
declare const __VLS_export$6: __VLS_WithSlots$5<
|
|
58
|
+
declare const __VLS_export$6: __VLS_WithSlots$5<vue845.DefineComponent<{}, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {}, string, vue845.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue845.ComponentProvideOptions, true, {}, any>, {
|
|
58
59
|
default(timer: UnwrapRef<UseTimerContext>): unknown;
|
|
59
60
|
}>;
|
|
60
61
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -71,7 +72,7 @@ interface TimerItemProps extends TimerItemBaseProps,
|
|
|
71
72
|
*/
|
|
72
73
|
HTMLAttributes {}
|
|
73
74
|
declare const _default$4: typeof __VLS_export$5;
|
|
74
|
-
declare const __VLS_export$5:
|
|
75
|
+
declare const __VLS_export$5: vue845.DefineComponent<TimerItemProps, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {}, string, vue845.PublicProps, Readonly<TimerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue845.ComponentProvideOptions, false, {}, any>;
|
|
75
76
|
//#endregion
|
|
76
77
|
//#region src/components/timer/timer-area.vue.d.ts
|
|
77
78
|
interface TimerAreaBaseProps extends PolymorphicProps {}
|
|
@@ -81,7 +82,7 @@ interface TimerAreaProps extends TimerAreaBaseProps,
|
|
|
81
82
|
*/
|
|
82
83
|
HTMLAttributes {}
|
|
83
84
|
declare const _default$1: typeof __VLS_export$4;
|
|
84
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
85
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue845.DefineComponent<TimerAreaProps, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {}, string, vue845.PublicProps, Readonly<TimerAreaProps> & Readonly<{}>, {}, {}, {}, {}, string, vue845.ComponentProvideOptions, false, {}, any>, {
|
|
85
86
|
default?: (props: {}) => any;
|
|
86
87
|
}>;
|
|
87
88
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -98,7 +99,7 @@ interface TimerControlProps extends TimerControlBaseProps,
|
|
|
98
99
|
*/
|
|
99
100
|
HTMLAttributes {}
|
|
100
101
|
declare const _default$3: typeof __VLS_export$3;
|
|
101
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
102
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue845.DefineComponent<TimerControlProps, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {}, string, vue845.PublicProps, Readonly<TimerControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue845.ComponentProvideOptions, false, {}, any>, {
|
|
102
103
|
default?: (props: {}) => any;
|
|
103
104
|
}>;
|
|
104
105
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -118,7 +119,7 @@ interface TimerRootProviderProps extends TimerRootProviderBaseProps,
|
|
|
118
119
|
*/
|
|
119
120
|
HTMLAttributes {}
|
|
120
121
|
declare const _default$6: typeof __VLS_export$2;
|
|
121
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
122
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue845.DefineComponent<TimerRootProviderProps, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {}, string, vue845.PublicProps, Readonly<TimerRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue845.ComponentProvideOptions, false, {}, any>, {
|
|
122
123
|
default?: (props: {}) => any;
|
|
123
124
|
}>;
|
|
124
125
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -136,16 +137,16 @@ interface TimerRootProps extends TimerRootBaseProps,
|
|
|
136
137
|
HTMLAttributes {}
|
|
137
138
|
interface TimerRootEmits extends RootEmits {}
|
|
138
139
|
declare const _default$5: typeof __VLS_export$1;
|
|
139
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
140
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue845.DefineComponent<TimerRootProps, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {
|
|
140
141
|
complete: () => any;
|
|
141
142
|
tick: (details: timer.TickDetails) => any;
|
|
142
|
-
}, string,
|
|
143
|
+
}, string, vue845.PublicProps, Readonly<TimerRootProps> & Readonly<{
|
|
143
144
|
onComplete?: (() => any) | undefined;
|
|
144
145
|
onTick?: ((details: timer.TickDetails) => any) | undefined;
|
|
145
146
|
}>, {
|
|
146
147
|
autoStart: boolean;
|
|
147
148
|
countdown: boolean;
|
|
148
|
-
}, {}, {}, {}, string,
|
|
149
|
+
}, {}, {}, {}, string, vue845.ComponentProvideOptions, false, {}, any>, {
|
|
149
150
|
default?: (props: {}) => any;
|
|
150
151
|
}>;
|
|
151
152
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -162,7 +163,7 @@ interface TimerSeparatorProps extends TimerSeparatorBaseProps,
|
|
|
162
163
|
*/
|
|
163
164
|
HTMLAttributes {}
|
|
164
165
|
declare const _default$7: typeof __VLS_export;
|
|
165
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
166
|
+
declare const __VLS_export: __VLS_WithSlots<vue845.DefineComponent<TimerSeparatorProps, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {}, string, vue845.PublicProps, Readonly<TimerSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue845.ComponentProvideOptions, false, {}, any>, {
|
|
166
167
|
default?: (props: {}) => any;
|
|
167
168
|
}>;
|
|
168
169
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,11 +3,11 @@ import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
|
3
3
|
import { c as useEnvironmentContext, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
6
|
+
import { t as timerAnatomy } from "../../timer-anatomy-C9bTbrUf.js";
|
|
7
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
8
9
|
import { computed, createBlock, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toDisplayString, toValue, unref, useId, withCtx } from "vue";
|
|
9
10
|
import * as timer from "@sprawlify/primitives/machines/timer";
|
|
10
|
-
import { anatomy as timerAnatomy } from "@sprawlify/primitives/machines/timer";
|
|
11
11
|
|
|
12
12
|
//#region src/components/timer/use-timer-context.ts
|
|
13
13
|
const [TimerProvider, useTimerContext] = createContext("TimerContext");
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { a as Optional } from "../../types-DVbnnQPS.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
4
|
+
import { t as toastAnatomy } from "../../toast-anatomy-_k_zeUjw.js";
|
|
5
|
+
import * as vue2391 from "vue";
|
|
6
|
+
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, SlotsType, UnwrapRef, VNodeChild } from "vue";
|
|
7
|
+
import * as toast from "@sprawlify/primitives/machines/toast";
|
|
8
|
+
import { ActionOptions, ActionOptions as ToastActionOptions, Placement, Placement as ToastPlacement, PromiseOptions, PromiseOptions as ToastPromiseOptions, Status, Status as ToastStatus, StatusChangeDetails, StatusChangeDetails as ToastStatusChangeDetails, StoreProps, StoreProps as ToastStoreProps, Type, Type as ToastType } from "@sprawlify/primitives/machines/toast";
|
|
9
|
+
|
|
10
|
+
//#region src/components/toast/create-toaster.d.ts
|
|
11
|
+
interface CreateToasterProps extends Optional<Partial<toast.StoreProps>, 'placement'> {
|
|
12
|
+
placement: toast.Placement;
|
|
13
|
+
}
|
|
14
|
+
interface CreateToasterReturn extends toast.Store<VNodeChild> {}
|
|
15
|
+
declare const createToaster: (props: CreateToasterProps) => CreateToasterReturn;
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/components/toast/toast-action-trigger.vue.d.ts
|
|
18
|
+
interface ToastActionTriggerBaseProps extends PolymorphicProps {}
|
|
19
|
+
interface ToastActionTriggerProps extends ToastActionTriggerBaseProps,
|
|
20
|
+
/**
|
|
21
|
+
* @vue-ignore
|
|
22
|
+
*/
|
|
23
|
+
ButtonHTMLAttributes {}
|
|
24
|
+
declare const _default: typeof __VLS_export$6;
|
|
25
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue2391.DefineComponent<ToastActionTriggerProps, {}, {}, {}, {}, vue2391.ComponentOptionsMixin, vue2391.ComponentOptionsMixin, {}, string, vue2391.PublicProps, Readonly<ToastActionTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2391.ComponentProvideOptions, false, {}, any>, {
|
|
26
|
+
default?: (props: {}) => any;
|
|
27
|
+
}>;
|
|
28
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/toast/toast-close-trigger.vue.d.ts
|
|
35
|
+
interface ToastCloseTriggerBaseProps extends PolymorphicProps {}
|
|
36
|
+
interface ToastCloseTriggerProps extends ToastCloseTriggerBaseProps,
|
|
37
|
+
/**
|
|
38
|
+
* @vue-ignore
|
|
39
|
+
*/
|
|
40
|
+
ButtonHTMLAttributes {}
|
|
41
|
+
declare const _default$1: typeof __VLS_export$5;
|
|
42
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue2391.DefineComponent<ToastCloseTriggerProps, {}, {}, {}, {}, vue2391.ComponentOptionsMixin, vue2391.ComponentOptionsMixin, {}, string, vue2391.PublicProps, Readonly<ToastCloseTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2391.ComponentProvideOptions, false, {}, any>, {
|
|
43
|
+
default?: (props: {}) => any;
|
|
44
|
+
}>;
|
|
45
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/components/toast/use-toast-context.d.ts
|
|
52
|
+
interface UseToastContext extends ComputedRef<toast.Api<PropTypes>> {}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/components/toast/toast-context.vue.d.ts
|
|
55
|
+
interface ToastContextProps extends SlotsType<{
|
|
56
|
+
default: UnwrapRef<UseToastContext>;
|
|
57
|
+
}> {}
|
|
58
|
+
declare const _default$2: typeof __VLS_export$4;
|
|
59
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue2391.DefineComponent<{}, {}, {}, {}, {}, vue2391.ComponentOptionsMixin, vue2391.ComponentOptionsMixin, {}, string, vue2391.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2391.ComponentProvideOptions, true, {}, any>, {
|
|
60
|
+
default(toast: UnwrapRef<UseToastContext>): unknown;
|
|
61
|
+
}>;
|
|
62
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
63
|
+
new (): {
|
|
64
|
+
$slots: S;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/components/toast/toast-description.vue.d.ts
|
|
69
|
+
interface ToastDescriptionBaseProps extends PolymorphicProps {}
|
|
70
|
+
interface ToastDescriptionProps extends ToastDescriptionBaseProps,
|
|
71
|
+
/**
|
|
72
|
+
* @vue-ignore
|
|
73
|
+
*/
|
|
74
|
+
HTMLAttributes {}
|
|
75
|
+
declare const _default$3: typeof __VLS_export$3;
|
|
76
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue2391.DefineComponent<ToastDescriptionProps, {}, {}, {}, {}, vue2391.ComponentOptionsMixin, vue2391.ComponentOptionsMixin, {}, string, vue2391.PublicProps, Readonly<ToastDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2391.ComponentProvideOptions, false, {}, any>, {
|
|
77
|
+
default?: (props: {}) => any;
|
|
78
|
+
}>;
|
|
79
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
80
|
+
new (): {
|
|
81
|
+
$slots: S;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/components/toast/toast-root.vue.d.ts
|
|
86
|
+
interface ToastRootBaseProps extends PolymorphicProps {}
|
|
87
|
+
interface ToastRootProps extends ToastRootBaseProps,
|
|
88
|
+
/**
|
|
89
|
+
* @vue-ignore
|
|
90
|
+
*/
|
|
91
|
+
HTMLAttributes {}
|
|
92
|
+
declare const _default$4: typeof __VLS_export$2;
|
|
93
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2391.DefineComponent<ToastRootProps, {}, {}, {}, {}, vue2391.ComponentOptionsMixin, vue2391.ComponentOptionsMixin, {}, string, vue2391.PublicProps, Readonly<ToastRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2391.ComponentProvideOptions, false, {}, any>, {
|
|
94
|
+
default?: (props: {}) => any;
|
|
95
|
+
}>;
|
|
96
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
97
|
+
new (): {
|
|
98
|
+
$slots: S;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region src/components/toast/toast-title.vue.d.ts
|
|
103
|
+
interface ToastTitleBaseProps extends PolymorphicProps {}
|
|
104
|
+
interface ToastTitleProps extends ToastTitleBaseProps,
|
|
105
|
+
/**
|
|
106
|
+
* @vue-ignore
|
|
107
|
+
*/
|
|
108
|
+
HTMLAttributes {}
|
|
109
|
+
declare const _default$5: typeof __VLS_export$1;
|
|
110
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2391.DefineComponent<ToastTitleProps, {}, {}, {}, {}, vue2391.ComponentOptionsMixin, vue2391.ComponentOptionsMixin, {}, string, vue2391.PublicProps, Readonly<ToastTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2391.ComponentProvideOptions, false, {}, any>, {
|
|
111
|
+
default?: (props: {}) => any;
|
|
112
|
+
}>;
|
|
113
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
114
|
+
new (): {
|
|
115
|
+
$slots: S;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region src/components/toast/toaster.vue.d.ts
|
|
120
|
+
type ToastOptions = toast.Options<VNodeChild>;
|
|
121
|
+
interface ToasterBaseProps extends PolymorphicProps {
|
|
122
|
+
toaster: CreateToasterReturn;
|
|
123
|
+
}
|
|
124
|
+
interface ToasterProps extends ToasterBaseProps, /** @vue-ignore */HTMLAttributes, /** @vue-ignore */SlotsType<{
|
|
125
|
+
default: ToastOptions;
|
|
126
|
+
}> {}
|
|
127
|
+
declare var __VLS_15: {
|
|
128
|
+
title?: VNodeChild;
|
|
129
|
+
description?: VNodeChild;
|
|
130
|
+
duration?: number | undefined;
|
|
131
|
+
removeDelay?: number | undefined;
|
|
132
|
+
id?: string | undefined;
|
|
133
|
+
type?: toast.Type | undefined;
|
|
134
|
+
onStatusChange?: ((details: toast.StatusChangeDetails) => void) | undefined;
|
|
135
|
+
action?: toast.ActionOptions | undefined;
|
|
136
|
+
closable?: boolean | undefined;
|
|
137
|
+
meta?: Record<string, any> | undefined;
|
|
138
|
+
promise?: Promise<any> | (() => Promise<any>) | undefined;
|
|
139
|
+
};
|
|
140
|
+
type __VLS_Slots = {} & {
|
|
141
|
+
default?: (props: typeof __VLS_15) => any;
|
|
142
|
+
};
|
|
143
|
+
declare const __VLS_base: vue2391.DefineComponent<{}, {}, {}, {}, {}, vue2391.ComponentOptionsMixin, vue2391.ComponentOptionsMixin, {}, string, vue2391.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2391.ComponentProvideOptions, false, {}, any>;
|
|
144
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
145
|
+
declare const _default$6: typeof __VLS_export;
|
|
146
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
147
|
+
new (): {
|
|
148
|
+
$slots: S;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
declare namespace toast_d_exports {
|
|
152
|
+
export { ActionOptions, _default as ActionTrigger, ToastActionTriggerBaseProps as ActionTriggerBaseProps, ToastActionTriggerProps as ActionTriggerProps, _default$1 as CloseTrigger, ToastCloseTriggerBaseProps as CloseTriggerBaseProps, ToastCloseTriggerProps as CloseTriggerProps, _default$2 as Context, ToastContextProps as ContextProps, _default$3 as Description, ToastDescriptionBaseProps as DescriptionBaseProps, ToastDescriptionProps as DescriptionProps, ToastOptions as Options, Placement, PromiseOptions, _default$4 as Root, ToastRootBaseProps as RootBaseProps, ToastRootProps as RootProps, Status, StatusChangeDetails, StoreProps, _default$5 as Title, ToastTitleBaseProps as TitleBaseProps, ToastTitleProps as TitleProps, Type };
|
|
153
|
+
}
|
|
154
|
+
//#endregion
|
|
155
|
+
export { type CreateToasterProps, type CreateToasterReturn, toast_d_exports as Toast, type ToastActionOptions, _default as ToastActionTrigger, type ToastActionTriggerBaseProps, type ToastActionTriggerProps, _default$1 as ToastCloseTrigger, type ToastCloseTriggerBaseProps, type ToastCloseTriggerProps, _default$2 as ToastContext, type ToastContextProps, _default$3 as ToastDescription, type ToastDescriptionBaseProps, type ToastDescriptionProps, type ToastOptions, type ToastPlacement, type ToastPromiseOptions, _default$4 as ToastRoot, type ToastRootBaseProps, type ToastRootProps, type ToastStatus, type ToastStatusChangeDetails, type ToastStoreProps, _default$5 as ToastTitle, type ToastTitleBaseProps, type ToastTitleProps, type ToastType, _default$6 as Toaster, type ToasterBaseProps, type ToasterProps, type UseToastContext, createToaster, toastAnatomy, useToastContext };
|