shopify-nuxt 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +157 -15
- package/dist/module.json +1 -1
- package/dist/runtime/components/ShLoadingIndicator.d.vue.ts +13 -0
- package/dist/runtime/components/ShLoadingIndicator.vue +16 -0
- package/dist/runtime/components/ShLoadingIndicator.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShButton.d.vue.ts +1 -1
- package/dist/runtime/components/polaris/ShButton.vue.d.ts +1 -1
- package/dist/runtime/components/polaris/ShCheckbox.d.vue.ts +2 -2
- package/dist/runtime/components/polaris/ShCheckbox.vue.d.ts +2 -2
- package/dist/runtime/components/polaris/ShChoiceList.d.vue.ts +2 -2
- package/dist/runtime/components/polaris/ShChoiceList.vue.d.ts +2 -2
- package/dist/runtime/components/polaris/ShColorField.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShColorField.vue.d.ts +4 -4
- package/dist/runtime/components/polaris/ShColorPicker.d.vue.ts +2 -2
- package/dist/runtime/components/polaris/ShColorPicker.vue.d.ts +2 -2
- package/dist/runtime/components/polaris/ShDateField.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShDateField.vue.d.ts +4 -4
- package/dist/runtime/components/polaris/ShDatePicker.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShDatePicker.vue.d.ts +4 -4
- package/dist/runtime/components/polaris/ShDropZone.d.vue.ts +2 -2
- package/dist/runtime/components/polaris/ShDropZone.vue.d.ts +2 -2
- package/dist/runtime/components/polaris/ShEmailField.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShEmailField.vue.d.ts +4 -4
- package/dist/runtime/components/polaris/ShMoneyField.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShMoneyField.vue.d.ts +4 -4
- package/dist/runtime/components/polaris/ShNumberField.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShNumberField.vue.d.ts +4 -4
- package/dist/runtime/components/polaris/ShPasswordField.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShPasswordField.vue.d.ts +4 -4
- package/dist/runtime/components/polaris/ShSearchField.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShSearchField.vue.d.ts +4 -4
- package/dist/runtime/components/polaris/ShSelect.d.vue.ts +2 -2
- package/dist/runtime/components/polaris/ShSelect.vue.d.ts +2 -2
- package/dist/runtime/components/polaris/ShSwitch.d.vue.ts +2 -2
- package/dist/runtime/components/polaris/ShSwitch.vue.d.ts +2 -2
- package/dist/runtime/components/polaris/ShTextArea.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShTextArea.vue.d.ts +4 -4
- package/dist/runtime/components/polaris/ShTextField.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShTextField.vue.d.ts +4 -4
- package/dist/runtime/components/polaris/ShUiModal.d.vue.ts +36 -0
- package/dist/runtime/components/polaris/ShUiModal.vue +39 -0
- package/dist/runtime/components/polaris/ShUiModal.vue.d.ts +36 -0
- package/dist/runtime/components/polaris/ShUiNavMenu.d.vue.ts +13 -0
- package/dist/runtime/components/polaris/ShUiNavMenu.vue +9 -0
- package/dist/runtime/components/polaris/ShUiNavMenu.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShUiSaveBar.d.vue.ts +31 -0
- package/dist/runtime/components/polaris/ShUiSaveBar.vue +36 -0
- package/dist/runtime/components/polaris/ShUiSaveBar.vue.d.ts +31 -0
- package/dist/runtime/components/polaris/ShUiTitleBar.d.vue.ts +16 -0
- package/dist/runtime/components/polaris/ShUiTitleBar.vue +14 -0
- package/dist/runtime/components/polaris/ShUiTitleBar.vue.d.ts +16 -0
- package/dist/runtime/components/polaris/ShUrlField.d.vue.ts +4 -4
- package/dist/runtime/components/polaris/ShUrlField.vue.d.ts +4 -4
- package/package.json +1 -1
|
@@ -25,15 +25,15 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
};
|
|
26
26
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
27
|
"update:modelValue": (v: string) => void;
|
|
28
|
-
input: (event: InputEvent) => void;
|
|
29
28
|
blur: (event: InputEvent) => void;
|
|
30
|
-
change: (event: InputEvent) => void;
|
|
31
29
|
focus: (event: InputEvent) => void;
|
|
30
|
+
change: (event: InputEvent) => void;
|
|
31
|
+
input: (event: InputEvent) => void;
|
|
32
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
34
33
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
35
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
36
34
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
35
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
36
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
37
37
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
38
38
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -25,15 +25,15 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
};
|
|
26
26
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
27
|
"update:modelValue": (v: string) => void;
|
|
28
|
-
input: (event: InputEvent) => void;
|
|
29
28
|
blur: (event: InputEvent) => void;
|
|
30
|
-
change: (event: InputEvent) => void;
|
|
31
29
|
focus: (event: InputEvent) => void;
|
|
30
|
+
change: (event: InputEvent) => void;
|
|
31
|
+
input: (event: InputEvent) => void;
|
|
32
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
34
33
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
35
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
36
34
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
35
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
36
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
37
37
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
38
38
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -21,15 +21,15 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
"update:modelValue": (v: string) => void;
|
|
24
|
-
input: (event: InputEvent) => void;
|
|
25
24
|
blur: (event: InputEvent) => void;
|
|
26
|
-
change: (event: InputEvent) => void;
|
|
27
25
|
focus: (event: InputEvent) => void;
|
|
26
|
+
change: (event: InputEvent) => void;
|
|
27
|
+
input: (event: InputEvent) => void;
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
30
29
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
31
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
30
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
31
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
33
33
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
34
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -21,15 +21,15 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
"update:modelValue": (v: string) => void;
|
|
24
|
-
input: (event: InputEvent) => void;
|
|
25
24
|
blur: (event: InputEvent) => void;
|
|
26
|
-
change: (event: InputEvent) => void;
|
|
27
25
|
focus: (event: InputEvent) => void;
|
|
26
|
+
change: (event: InputEvent) => void;
|
|
27
|
+
input: (event: InputEvent) => void;
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
30
29
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
31
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
30
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
31
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
33
33
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
34
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -21,15 +21,15 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
"update:modelValue": (v: string) => void;
|
|
24
|
-
input: (event: InputEvent) => void;
|
|
25
24
|
blur: (event: InputEvent) => void;
|
|
26
|
-
change: (event: InputEvent) => void;
|
|
27
25
|
focus: (event: InputEvent) => void;
|
|
26
|
+
change: (event: InputEvent) => void;
|
|
27
|
+
input: (event: InputEvent) => void;
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
30
29
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
31
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
30
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
31
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
33
33
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
34
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -21,15 +21,15 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
"update:modelValue": (v: string) => void;
|
|
24
|
-
input: (event: InputEvent) => void;
|
|
25
24
|
blur: (event: InputEvent) => void;
|
|
26
|
-
change: (event: InputEvent) => void;
|
|
27
25
|
focus: (event: InputEvent) => void;
|
|
26
|
+
change: (event: InputEvent) => void;
|
|
27
|
+
input: (event: InputEvent) => void;
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
30
29
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
31
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
30
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
31
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
33
33
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
34
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -17,11 +17,11 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
};
|
|
18
18
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (v: string) => void;
|
|
20
|
-
input: (event: Event) => void;
|
|
21
20
|
change: (event: Event) => void;
|
|
21
|
+
input: (event: Event) => void;
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
24
23
|
onChange?: ((event: Event) => any) | undefined;
|
|
24
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
25
25
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -17,11 +17,11 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
};
|
|
18
18
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (v: string) => void;
|
|
20
|
-
input: (event: Event) => void;
|
|
21
20
|
change: (event: Event) => void;
|
|
21
|
+
input: (event: Event) => void;
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
24
23
|
onChange?: ((event: Event) => any) | undefined;
|
|
24
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
25
25
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -17,11 +17,11 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
};
|
|
18
18
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (v: boolean) => void;
|
|
20
|
-
input: (event: Event) => void;
|
|
21
20
|
change: (event: Event) => void;
|
|
21
|
+
input: (event: Event) => void;
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
24
23
|
onChange?: ((event: Event) => any) | undefined;
|
|
24
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
25
25
|
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -17,11 +17,11 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
};
|
|
18
18
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (v: boolean) => void;
|
|
20
|
-
input: (event: Event) => void;
|
|
21
20
|
change: (event: Event) => void;
|
|
21
|
+
input: (event: Event) => void;
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
24
23
|
onChange?: ((event: Event) => any) | undefined;
|
|
24
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
25
25
|
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -22,15 +22,15 @@ type __VLS_Slots = {} & {
|
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
24
|
"update:modelValue": (v: string) => void;
|
|
25
|
-
input: (event: InputEvent) => void;
|
|
26
25
|
blur: (event: InputEvent) => void;
|
|
27
|
-
change: (event: InputEvent) => void;
|
|
28
26
|
focus: (event: InputEvent) => void;
|
|
27
|
+
change: (event: InputEvent) => void;
|
|
28
|
+
input: (event: InputEvent) => void;
|
|
29
29
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
31
30
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
32
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
33
31
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
32
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
33
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
34
34
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
35
35
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -22,15 +22,15 @@ type __VLS_Slots = {} & {
|
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
24
|
"update:modelValue": (v: string) => void;
|
|
25
|
-
input: (event: InputEvent) => void;
|
|
26
25
|
blur: (event: InputEvent) => void;
|
|
27
|
-
change: (event: InputEvent) => void;
|
|
28
26
|
focus: (event: InputEvent) => void;
|
|
27
|
+
change: (event: InputEvent) => void;
|
|
28
|
+
input: (event: InputEvent) => void;
|
|
29
29
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
31
30
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
32
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
33
31
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
32
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
33
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
34
34
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
35
35
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -24,15 +24,15 @@ type __VLS_Slots = {} & {
|
|
|
24
24
|
};
|
|
25
25
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
26
|
"update:modelValue": (v: string) => void;
|
|
27
|
-
input: (event: InputEvent) => void;
|
|
28
27
|
blur: (event: InputEvent) => void;
|
|
29
|
-
change: (event: InputEvent) => void;
|
|
30
28
|
focus: (event: InputEvent) => void;
|
|
29
|
+
change: (event: InputEvent) => void;
|
|
30
|
+
input: (event: InputEvent) => void;
|
|
31
31
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
33
32
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
34
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
35
33
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
34
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
35
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
36
36
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
37
37
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -24,15 +24,15 @@ type __VLS_Slots = {} & {
|
|
|
24
24
|
};
|
|
25
25
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
26
|
"update:modelValue": (v: string) => void;
|
|
27
|
-
input: (event: InputEvent) => void;
|
|
28
27
|
blur: (event: InputEvent) => void;
|
|
29
|
-
change: (event: InputEvent) => void;
|
|
30
28
|
focus: (event: InputEvent) => void;
|
|
29
|
+
change: (event: InputEvent) => void;
|
|
30
|
+
input: (event: InputEvent) => void;
|
|
31
31
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
33
32
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
34
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
35
33
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
34
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
35
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
36
36
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
37
37
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
variant?: 'small' | 'base' | 'large' | 'max';
|
|
4
|
+
src?: string;
|
|
5
|
+
};
|
|
6
|
+
declare function show(): any;
|
|
7
|
+
declare function hide(): any;
|
|
8
|
+
declare function toggle(): any;
|
|
9
|
+
declare var __VLS_12: {}, __VLS_14: {}, __VLS_16: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_12) => any;
|
|
12
|
+
} & {
|
|
13
|
+
'title-bar'?: (props: typeof __VLS_14) => any;
|
|
14
|
+
} & {
|
|
15
|
+
'save-bar'?: (props: typeof __VLS_16) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
18
|
+
show: typeof show;
|
|
19
|
+
hide: typeof hide;
|
|
20
|
+
toggle: typeof toggle;
|
|
21
|
+
el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
22
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
show: (event: Event) => void;
|
|
24
|
+
hide: (event: Event) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
onShow?: ((event: Event) => any) | undefined;
|
|
27
|
+
onHide?: ((event: Event) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-modal
|
|
3
|
+
ref="modalRef"
|
|
4
|
+
v-bind="polarisAttrs"
|
|
5
|
+
@show="emit('show', $event)"
|
|
6
|
+
@hide="emit('hide', $event)"
|
|
7
|
+
>
|
|
8
|
+
<slot />
|
|
9
|
+
<slot name="title-bar" />
|
|
10
|
+
<slot name="save-bar" />
|
|
11
|
+
</ui-modal>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script setup>
|
|
15
|
+
import { ref } from "vue";
|
|
16
|
+
import { usePolarisAttrs } from "./utils";
|
|
17
|
+
defineOptions({ name: "ShUiModal", inheritAttrs: false });
|
|
18
|
+
const props = defineProps({
|
|
19
|
+
id: { type: String, required: false },
|
|
20
|
+
variant: { type: String, required: false },
|
|
21
|
+
src: { type: String, required: false }
|
|
22
|
+
});
|
|
23
|
+
const emit = defineEmits(["show", "hide"]);
|
|
24
|
+
const polarisAttrs = usePolarisAttrs(props);
|
|
25
|
+
const modalRef = ref(null);
|
|
26
|
+
function getEl() {
|
|
27
|
+
return modalRef.value;
|
|
28
|
+
}
|
|
29
|
+
function show() {
|
|
30
|
+
return getEl()?.show?.();
|
|
31
|
+
}
|
|
32
|
+
function hide() {
|
|
33
|
+
return getEl()?.hide?.();
|
|
34
|
+
}
|
|
35
|
+
function toggle() {
|
|
36
|
+
return getEl()?.toggle?.();
|
|
37
|
+
}
|
|
38
|
+
defineExpose({ show, hide, toggle, el: modalRef });
|
|
39
|
+
</script>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
variant?: 'small' | 'base' | 'large' | 'max';
|
|
4
|
+
src?: string;
|
|
5
|
+
};
|
|
6
|
+
declare function show(): any;
|
|
7
|
+
declare function hide(): any;
|
|
8
|
+
declare function toggle(): any;
|
|
9
|
+
declare var __VLS_12: {}, __VLS_14: {}, __VLS_16: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_12) => any;
|
|
12
|
+
} & {
|
|
13
|
+
'title-bar'?: (props: typeof __VLS_14) => any;
|
|
14
|
+
} & {
|
|
15
|
+
'save-bar'?: (props: typeof __VLS_16) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
18
|
+
show: typeof show;
|
|
19
|
+
hide: typeof hide;
|
|
20
|
+
toggle: typeof toggle;
|
|
21
|
+
el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
22
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
show: (event: Event) => void;
|
|
24
|
+
hide: (event: Event) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
onShow?: ((event: Event) => any) | undefined;
|
|
27
|
+
onHide?: ((event: Event) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_8: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_8: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
discardConfirmation?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare function show(): any;
|
|
6
|
+
declare function hide(): any;
|
|
7
|
+
declare function toggle(): any;
|
|
8
|
+
declare var __VLS_12: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_12) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
13
|
+
show: typeof show;
|
|
14
|
+
hide: typeof hide;
|
|
15
|
+
toggle: typeof toggle;
|
|
16
|
+
el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
show: (event: Event) => void;
|
|
19
|
+
hide: (event: Event) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onShow?: ((event: Event) => any) | undefined;
|
|
22
|
+
onHide?: ((event: Event) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-save-bar
|
|
3
|
+
ref="saveBarRef"
|
|
4
|
+
v-bind="polarisAttrs"
|
|
5
|
+
@show="emit('show', $event)"
|
|
6
|
+
@hide="emit('hide', $event)"
|
|
7
|
+
>
|
|
8
|
+
<slot />
|
|
9
|
+
</ui-save-bar>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script setup>
|
|
13
|
+
import { ref } from "vue";
|
|
14
|
+
import { usePolarisAttrs } from "./utils";
|
|
15
|
+
defineOptions({ name: "ShUiSaveBar", inheritAttrs: false });
|
|
16
|
+
const props = defineProps({
|
|
17
|
+
id: { type: String, required: false },
|
|
18
|
+
discardConfirmation: { type: Boolean, required: false }
|
|
19
|
+
});
|
|
20
|
+
const emit = defineEmits(["show", "hide"]);
|
|
21
|
+
const polarisAttrs = usePolarisAttrs(props);
|
|
22
|
+
const saveBarRef = ref(null);
|
|
23
|
+
function getEl() {
|
|
24
|
+
return saveBarRef.value;
|
|
25
|
+
}
|
|
26
|
+
function show() {
|
|
27
|
+
return getEl()?.show?.();
|
|
28
|
+
}
|
|
29
|
+
function hide() {
|
|
30
|
+
return getEl()?.hide?.();
|
|
31
|
+
}
|
|
32
|
+
function toggle() {
|
|
33
|
+
return getEl()?.toggle?.();
|
|
34
|
+
}
|
|
35
|
+
defineExpose({ show, hide, toggle, el: saveBarRef });
|
|
36
|
+
</script>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
discardConfirmation?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare function show(): any;
|
|
6
|
+
declare function hide(): any;
|
|
7
|
+
declare function toggle(): any;
|
|
8
|
+
declare var __VLS_12: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_12) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
13
|
+
show: typeof show;
|
|
14
|
+
hide: typeof hide;
|
|
15
|
+
toggle: typeof toggle;
|
|
16
|
+
el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
show: (event: Event) => void;
|
|
19
|
+
hide: (event: Event) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onShow?: ((event: Event) => any) | undefined;
|
|
22
|
+
onHide?: ((event: Event) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_8: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_8) => any;
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-title-bar v-bind="polarisAttrs">
|
|
3
|
+
<slot />
|
|
4
|
+
</ui-title-bar>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
import { usePolarisAttrs } from "./utils";
|
|
9
|
+
defineOptions({ name: "ShUiTitleBar", inheritAttrs: false });
|
|
10
|
+
const props = defineProps({
|
|
11
|
+
title: { type: String, required: false }
|
|
12
|
+
});
|
|
13
|
+
const polarisAttrs = usePolarisAttrs(props);
|
|
14
|
+
</script>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_8: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_8) => any;
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -21,15 +21,15 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
"update:modelValue": (v: string) => void;
|
|
24
|
-
input: (event: InputEvent) => void;
|
|
25
24
|
blur: (event: InputEvent) => void;
|
|
26
|
-
change: (event: InputEvent) => void;
|
|
27
25
|
focus: (event: InputEvent) => void;
|
|
26
|
+
change: (event: InputEvent) => void;
|
|
27
|
+
input: (event: InputEvent) => void;
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
30
29
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
31
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
30
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
31
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
33
33
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
34
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -21,15 +21,15 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
"update:modelValue": (v: string) => void;
|
|
24
|
-
input: (event: InputEvent) => void;
|
|
25
24
|
blur: (event: InputEvent) => void;
|
|
26
|
-
change: (event: InputEvent) => void;
|
|
27
25
|
focus: (event: InputEvent) => void;
|
|
26
|
+
change: (event: InputEvent) => void;
|
|
27
|
+
input: (event: InputEvent) => void;
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
-
onInput?: ((event: InputEvent) => any) | undefined;
|
|
30
29
|
onBlur?: ((event: InputEvent) => any) | undefined;
|
|
31
|
-
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
30
|
onFocus?: ((event: InputEvent) => any) | undefined;
|
|
31
|
+
onChange?: ((event: InputEvent) => any) | undefined;
|
|
32
|
+
onInput?: ((event: InputEvent) => any) | undefined;
|
|
33
33
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
34
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/package.json
CHANGED