shopify-nuxt 0.0.1
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 +275 -0
- package/dist/module.d.mts +7 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +134 -0
- package/dist/runtime/components/ShopifyAppProvider.d.vue.ts +13 -0
- package/dist/runtime/components/ShopifyAppProvider.vue +11 -0
- package/dist/runtime/components/ShopifyAppProvider.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShAppNav.d.vue.ts +13 -0
- package/dist/runtime/components/polaris/ShAppNav.vue +9 -0
- package/dist/runtime/components/polaris/ShAppNav.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShAvatar.d.vue.ts +19 -0
- package/dist/runtime/components/polaris/ShAvatar.vue +15 -0
- package/dist/runtime/components/polaris/ShAvatar.vue.d.ts +19 -0
- package/dist/runtime/components/polaris/ShBadge.d.vue.ts +20 -0
- package/dist/runtime/components/polaris/ShBadge.vue +16 -0
- package/dist/runtime/components/polaris/ShBadge.vue.d.ts +20 -0
- package/dist/runtime/components/polaris/ShBanner.d.vue.ts +19 -0
- package/dist/runtime/components/polaris/ShBanner.vue +15 -0
- package/dist/runtime/components/polaris/ShBanner.vue.d.ts +19 -0
- package/dist/runtime/components/polaris/ShBox.d.vue.ts +39 -0
- package/dist/runtime/components/polaris/ShBox.vue +35 -0
- package/dist/runtime/components/polaris/ShBox.vue.d.ts +39 -0
- package/dist/runtime/components/polaris/ShButton.d.vue.ts +28 -0
- package/dist/runtime/components/polaris/ShButton.vue +24 -0
- package/dist/runtime/components/polaris/ShButton.vue.d.ts +28 -0
- package/dist/runtime/components/polaris/ShButtonGroup.d.vue.ts +17 -0
- package/dist/runtime/components/polaris/ShButtonGroup.vue +13 -0
- package/dist/runtime/components/polaris/ShButtonGroup.vue.d.ts +17 -0
- package/dist/runtime/components/polaris/ShCheckbox.d.vue.ts +28 -0
- package/dist/runtime/components/polaris/ShCheckbox.vue +24 -0
- package/dist/runtime/components/polaris/ShCheckbox.vue.d.ts +28 -0
- package/dist/runtime/components/polaris/ShChip.d.vue.ts +17 -0
- package/dist/runtime/components/polaris/ShChip.vue +13 -0
- package/dist/runtime/components/polaris/ShChip.vue.d.ts +17 -0
- package/dist/runtime/components/polaris/ShChoice.d.vue.ts +20 -0
- package/dist/runtime/components/polaris/ShChoice.vue +16 -0
- package/dist/runtime/components/polaris/ShChoice.vue.d.ts +20 -0
- package/dist/runtime/components/polaris/ShChoiceList.d.vue.ts +23 -0
- package/dist/runtime/components/polaris/ShChoiceList.vue +19 -0
- package/dist/runtime/components/polaris/ShChoiceList.vue.d.ts +23 -0
- package/dist/runtime/components/polaris/ShClickable.d.vue.ts +48 -0
- package/dist/runtime/components/polaris/ShClickable.vue +44 -0
- package/dist/runtime/components/polaris/ShClickable.vue.d.ts +48 -0
- package/dist/runtime/components/polaris/ShClickableChip.d.vue.ts +24 -0
- package/dist/runtime/components/polaris/ShClickableChip.vue +20 -0
- package/dist/runtime/components/polaris/ShClickableChip.vue.d.ts +24 -0
- package/dist/runtime/components/polaris/ShColorField.d.vue.ts +29 -0
- package/dist/runtime/components/polaris/ShColorField.vue +25 -0
- package/dist/runtime/components/polaris/ShColorField.vue.d.ts +29 -0
- package/dist/runtime/components/polaris/ShColorPicker.d.vue.ts +19 -0
- package/dist/runtime/components/polaris/ShColorPicker.vue +15 -0
- package/dist/runtime/components/polaris/ShColorPicker.vue.d.ts +19 -0
- package/dist/runtime/components/polaris/ShDateField.d.vue.ts +34 -0
- package/dist/runtime/components/polaris/ShDateField.vue +30 -0
- package/dist/runtime/components/polaris/ShDateField.vue.d.ts +34 -0
- package/dist/runtime/components/polaris/ShDatePicker.d.vue.ts +25 -0
- package/dist/runtime/components/polaris/ShDatePicker.vue +21 -0
- package/dist/runtime/components/polaris/ShDatePicker.vue.d.ts +25 -0
- package/dist/runtime/components/polaris/ShDivider.d.vue.ts +17 -0
- package/dist/runtime/components/polaris/ShDivider.vue +13 -0
- package/dist/runtime/components/polaris/ShDivider.vue.d.ts +17 -0
- package/dist/runtime/components/polaris/ShDropZone.d.vue.ts +25 -0
- package/dist/runtime/components/polaris/ShDropZone.vue +21 -0
- package/dist/runtime/components/polaris/ShDropZone.vue.d.ts +25 -0
- package/dist/runtime/components/polaris/ShEmailField.d.vue.ts +30 -0
- package/dist/runtime/components/polaris/ShEmailField.vue +26 -0
- package/dist/runtime/components/polaris/ShEmailField.vue.d.ts +30 -0
- package/dist/runtime/components/polaris/ShGrid.d.vue.ts +50 -0
- package/dist/runtime/components/polaris/ShGrid.vue +46 -0
- package/dist/runtime/components/polaris/ShGrid.vue.d.ts +50 -0
- package/dist/runtime/components/polaris/ShGridItem.d.vue.ts +41 -0
- package/dist/runtime/components/polaris/ShGridItem.vue +37 -0
- package/dist/runtime/components/polaris/ShGridItem.vue.d.ts +41 -0
- package/dist/runtime/components/polaris/ShHeading.d.vue.ts +18 -0
- package/dist/runtime/components/polaris/ShHeading.vue +14 -0
- package/dist/runtime/components/polaris/ShHeading.vue.d.ts +18 -0
- package/dist/runtime/components/polaris/ShIcon.d.vue.ts +20 -0
- package/dist/runtime/components/polaris/ShIcon.vue +16 -0
- package/dist/runtime/components/polaris/ShIcon.vue.d.ts +20 -0
- package/dist/runtime/components/polaris/ShImage.d.vue.ts +18 -0
- package/dist/runtime/components/polaris/ShImage.vue +14 -0
- package/dist/runtime/components/polaris/ShImage.vue.d.ts +18 -0
- package/dist/runtime/components/polaris/ShLink.d.vue.ts +24 -0
- package/dist/runtime/components/polaris/ShLink.vue +20 -0
- package/dist/runtime/components/polaris/ShLink.vue.d.ts +24 -0
- package/dist/runtime/components/polaris/ShListItem.d.vue.ts +13 -0
- package/dist/runtime/components/polaris/ShListItem.vue +9 -0
- package/dist/runtime/components/polaris/ShListItem.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShMenu.d.vue.ts +16 -0
- package/dist/runtime/components/polaris/ShMenu.vue +12 -0
- package/dist/runtime/components/polaris/ShMenu.vue.d.ts +16 -0
- package/dist/runtime/components/polaris/ShModal.d.vue.ts +19 -0
- package/dist/runtime/components/polaris/ShModal.vue +15 -0
- package/dist/runtime/components/polaris/ShModal.vue.d.ts +19 -0
- package/dist/runtime/components/polaris/ShMoneyField.d.vue.ts +30 -0
- package/dist/runtime/components/polaris/ShMoneyField.vue +26 -0
- package/dist/runtime/components/polaris/ShMoneyField.vue.d.ts +30 -0
- package/dist/runtime/components/polaris/ShNumberField.d.vue.ts +34 -0
- package/dist/runtime/components/polaris/ShNumberField.vue +30 -0
- package/dist/runtime/components/polaris/ShNumberField.vue.d.ts +34 -0
- package/dist/runtime/components/polaris/ShOption.d.vue.ts +19 -0
- package/dist/runtime/components/polaris/ShOption.vue +15 -0
- package/dist/runtime/components/polaris/ShOption.vue.d.ts +19 -0
- package/dist/runtime/components/polaris/ShOptionGroup.d.vue.ts +17 -0
- package/dist/runtime/components/polaris/ShOptionGroup.vue +13 -0
- package/dist/runtime/components/polaris/ShOptionGroup.vue.d.ts +17 -0
- package/dist/runtime/components/polaris/ShOrderedList.d.vue.ts +13 -0
- package/dist/runtime/components/polaris/ShOrderedList.vue +9 -0
- package/dist/runtime/components/polaris/ShOrderedList.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShPage.d.vue.ts +17 -0
- package/dist/runtime/components/polaris/ShPage.vue +13 -0
- package/dist/runtime/components/polaris/ShPage.vue.d.ts +17 -0
- package/dist/runtime/components/polaris/ShParagraph.d.vue.ts +21 -0
- package/dist/runtime/components/polaris/ShParagraph.vue +17 -0
- package/dist/runtime/components/polaris/ShParagraph.vue.d.ts +21 -0
- package/dist/runtime/components/polaris/ShPasswordField.d.vue.ts +30 -0
- package/dist/runtime/components/polaris/ShPasswordField.vue +26 -0
- package/dist/runtime/components/polaris/ShPasswordField.vue.d.ts +30 -0
- package/dist/runtime/components/polaris/ShPopover.d.vue.ts +21 -0
- package/dist/runtime/components/polaris/ShPopover.vue +17 -0
- package/dist/runtime/components/polaris/ShPopover.vue.d.ts +21 -0
- package/dist/runtime/components/polaris/ShQueryContainer.d.vue.ts +16 -0
- package/dist/runtime/components/polaris/ShQueryContainer.vue +12 -0
- package/dist/runtime/components/polaris/ShQueryContainer.vue.d.ts +16 -0
- package/dist/runtime/components/polaris/ShSearchField.d.vue.ts +30 -0
- package/dist/runtime/components/polaris/ShSearchField.vue +26 -0
- package/dist/runtime/components/polaris/ShSearchField.vue.d.ts +30 -0
- package/dist/runtime/components/polaris/ShSection.d.vue.ts +18 -0
- package/dist/runtime/components/polaris/ShSection.vue +14 -0
- package/dist/runtime/components/polaris/ShSection.vue.d.ts +18 -0
- package/dist/runtime/components/polaris/ShSelect.d.vue.ts +26 -0
- package/dist/runtime/components/polaris/ShSelect.vue +22 -0
- package/dist/runtime/components/polaris/ShSelect.vue.d.ts +26 -0
- package/dist/runtime/components/polaris/ShSpinner.d.vue.ts +17 -0
- package/dist/runtime/components/polaris/ShSpinner.vue +13 -0
- package/dist/runtime/components/polaris/ShSpinner.vue.d.ts +17 -0
- package/dist/runtime/components/polaris/ShStack.d.vue.ts +46 -0
- package/dist/runtime/components/polaris/ShStack.vue +42 -0
- package/dist/runtime/components/polaris/ShStack.vue.d.ts +46 -0
- package/dist/runtime/components/polaris/ShSwitch.d.vue.ts +27 -0
- package/dist/runtime/components/polaris/ShSwitch.vue +23 -0
- package/dist/runtime/components/polaris/ShSwitch.vue.d.ts +27 -0
- package/dist/runtime/components/polaris/ShTable.d.vue.ts +20 -0
- package/dist/runtime/components/polaris/ShTable.vue +16 -0
- package/dist/runtime/components/polaris/ShTable.vue.d.ts +20 -0
- package/dist/runtime/components/polaris/ShTableBody.d.vue.ts +13 -0
- package/dist/runtime/components/polaris/ShTableBody.vue +9 -0
- package/dist/runtime/components/polaris/ShTableBody.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShTableCell.d.vue.ts +13 -0
- package/dist/runtime/components/polaris/ShTableCell.vue +9 -0
- package/dist/runtime/components/polaris/ShTableCell.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShTableHeader.d.vue.ts +17 -0
- package/dist/runtime/components/polaris/ShTableHeader.vue +13 -0
- package/dist/runtime/components/polaris/ShTableHeader.vue.d.ts +17 -0
- package/dist/runtime/components/polaris/ShTableHeaderRow.d.vue.ts +13 -0
- package/dist/runtime/components/polaris/ShTableHeaderRow.vue +9 -0
- package/dist/runtime/components/polaris/ShTableHeaderRow.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShTableRow.d.vue.ts +16 -0
- package/dist/runtime/components/polaris/ShTableRow.vue +12 -0
- package/dist/runtime/components/polaris/ShTableRow.vue.d.ts +16 -0
- package/dist/runtime/components/polaris/ShText.d.vue.ts +22 -0
- package/dist/runtime/components/polaris/ShText.vue +18 -0
- package/dist/runtime/components/polaris/ShText.vue.d.ts +22 -0
- package/dist/runtime/components/polaris/ShTextArea.d.vue.ts +31 -0
- package/dist/runtime/components/polaris/ShTextArea.vue +27 -0
- package/dist/runtime/components/polaris/ShTextArea.vue.d.ts +31 -0
- package/dist/runtime/components/polaris/ShTextField.d.vue.ts +33 -0
- package/dist/runtime/components/polaris/ShTextField.vue +29 -0
- package/dist/runtime/components/polaris/ShTextField.vue.d.ts +33 -0
- package/dist/runtime/components/polaris/ShThumbnail.d.vue.ts +18 -0
- package/dist/runtime/components/polaris/ShThumbnail.vue +14 -0
- package/dist/runtime/components/polaris/ShThumbnail.vue.d.ts +18 -0
- package/dist/runtime/components/polaris/ShTooltip.d.vue.ts +13 -0
- package/dist/runtime/components/polaris/ShTooltip.vue +9 -0
- package/dist/runtime/components/polaris/ShTooltip.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShUnorderedList.d.vue.ts +13 -0
- package/dist/runtime/components/polaris/ShUnorderedList.vue +9 -0
- package/dist/runtime/components/polaris/ShUnorderedList.vue.d.ts +13 -0
- package/dist/runtime/components/polaris/ShUrlField.d.vue.ts +30 -0
- package/dist/runtime/components/polaris/ShUrlField.vue +26 -0
- package/dist/runtime/components/polaris/ShUrlField.vue.d.ts +30 -0
- package/dist/runtime/components/polaris/types.d.ts +1 -0
- package/dist/runtime/components/polaris/types.js +0 -0
- package/dist/runtime/composables/useAppBridge.d.ts +8 -0
- package/dist/runtime/composables/useAppBridge.js +21 -0
- package/dist/runtime/composables/useShopifyFetch.d.ts +4 -0
- package/dist/runtime/composables/useShopifyFetch.js +32 -0
- package/dist/runtime/middleware/shopify-auth.d.ts +2 -0
- package/dist/runtime/middleware/shopify-auth.js +11 -0
- package/dist/runtime/plugin.d.ts +1 -0
- package/dist/runtime/plugin.js +1 -0
- package/dist/runtime/plugins/app-bridge.d.ts +12 -0
- package/dist/runtime/plugins/app-bridge.js +28 -0
- package/dist/runtime/plugins/polaris.d.ts +1 -0
- package/dist/runtime/plugins/polaris.js +0 -0
- package/dist/runtime/server/index.d.ts +2 -0
- package/dist/runtime/server/index.js +7 -0
- package/dist/runtime/server/routes/auth-callback.d.ts +6 -0
- package/dist/runtime/server/routes/auth-callback.js +45 -0
- package/dist/runtime/server/routes/auth-exit-iframe.d.ts +6 -0
- package/dist/runtime/server/routes/auth-exit-iframe.js +11 -0
- package/dist/runtime/server/routes/auth-session-token.d.ts +7 -0
- package/dist/runtime/server/routes/auth-session-token.js +27 -0
- package/dist/runtime/server/routes/auth.d.ts +6 -0
- package/dist/runtime/server/routes/auth.js +23 -0
- package/dist/runtime/server/services/shopify.d.ts +38 -0
- package/dist/runtime/server/services/shopify.js +89 -0
- package/dist/runtime/server/test-helpers/index.d.ts +25 -0
- package/dist/runtime/server/test-helpers/index.js +25 -0
- package/dist/runtime/server/test-helpers/package.json +4 -0
- package/dist/runtime/server/tsconfig.json +3 -0
- package/dist/runtime/server/utils/authenticate-admin.d.ts +17 -0
- package/dist/runtime/server/utils/authenticate-admin.js +197 -0
- package/dist/runtime/server/utils/authenticate-flow.d.ts +17 -0
- package/dist/runtime/server/utils/authenticate-flow.js +70 -0
- package/dist/runtime/server/utils/authenticate-fulfillment-service.d.ts +16 -0
- package/dist/runtime/server/utils/authenticate-fulfillment-service.js +54 -0
- package/dist/runtime/server/utils/authenticate-pos.d.ts +18 -0
- package/dist/runtime/server/utils/authenticate-pos.js +31 -0
- package/dist/runtime/server/utils/authenticate-public.d.ts +17 -0
- package/dist/runtime/server/utils/authenticate-public.js +31 -0
- package/dist/runtime/server/utils/authenticate-webhook.d.ts +26 -0
- package/dist/runtime/server/utils/authenticate-webhook.js +76 -0
- package/dist/runtime/server/utils/clients.d.ts +25 -0
- package/dist/runtime/server/utils/clients.js +36 -0
- package/dist/runtime/server/utils/helpers.d.ts +10 -0
- package/dist/runtime/server/utils/helpers.js +96 -0
- package/dist/runtime/server/utils/login.d.ts +17 -0
- package/dist/runtime/server/utils/login.js +44 -0
- package/dist/runtime/server/utils/register-webhooks.d.ts +19 -0
- package/dist/runtime/server/utils/register-webhooks.js +5 -0
- package/dist/runtime/server/utils/unauthenticated-admin.d.ts +21 -0
- package/dist/runtime/server/utils/unauthenticated-admin.js +15 -0
- package/dist/runtime/server/utils/unauthenticated-storefront.d.ts +24 -0
- package/dist/runtime/server/utils/unauthenticated-storefront.js +21 -0
- package/dist/runtime/types.d.ts +141 -0
- package/dist/runtime/types.js +11 -0
- package/dist/types.d.mts +3 -0
- package/package.json +66 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
heading?: string;
|
|
3
|
+
tone?: 'info' | 'success' | 'warning' | 'critical' | 'auto';
|
|
4
|
+
hidden?: boolean;
|
|
5
|
+
dismissible?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
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>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
accessibilityRole?: string;
|
|
3
|
+
background?: string;
|
|
4
|
+
blockSize?: string;
|
|
5
|
+
minBlockSize?: string;
|
|
6
|
+
maxBlockSize?: string;
|
|
7
|
+
inlineSize?: string;
|
|
8
|
+
minInlineSize?: string;
|
|
9
|
+
maxInlineSize?: string;
|
|
10
|
+
overflow?: 'visible' | 'hidden';
|
|
11
|
+
padding?: string;
|
|
12
|
+
paddingBlock?: string;
|
|
13
|
+
paddingBlockStart?: string;
|
|
14
|
+
paddingBlockEnd?: string;
|
|
15
|
+
paddingInline?: string;
|
|
16
|
+
paddingInlineStart?: string;
|
|
17
|
+
paddingInlineEnd?: string;
|
|
18
|
+
border?: string;
|
|
19
|
+
borderWidth?: string;
|
|
20
|
+
borderStyle?: string;
|
|
21
|
+
borderColor?: string;
|
|
22
|
+
borderRadius?: string;
|
|
23
|
+
accessibilityLabel?: string;
|
|
24
|
+
accessibilityVisibility?: 'visible' | 'hidden' | 'exclusive';
|
|
25
|
+
display?: string;
|
|
26
|
+
};
|
|
27
|
+
declare var __VLS_8: {};
|
|
28
|
+
type __VLS_Slots = {} & {
|
|
29
|
+
default?: (props: typeof __VLS_8) => any;
|
|
30
|
+
};
|
|
31
|
+
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>;
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<s-box v-bind="$attrs">
|
|
3
|
+
<slot />
|
|
4
|
+
</s-box>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
defineOptions({ name: "ShBox", inheritAttrs: false });
|
|
9
|
+
defineProps({
|
|
10
|
+
accessibilityRole: { type: String, required: false },
|
|
11
|
+
background: { type: String, required: false },
|
|
12
|
+
blockSize: { type: String, required: false },
|
|
13
|
+
minBlockSize: { type: String, required: false },
|
|
14
|
+
maxBlockSize: { type: String, required: false },
|
|
15
|
+
inlineSize: { type: String, required: false },
|
|
16
|
+
minInlineSize: { type: String, required: false },
|
|
17
|
+
maxInlineSize: { type: String, required: false },
|
|
18
|
+
overflow: { type: String, required: false },
|
|
19
|
+
padding: { type: String, required: false },
|
|
20
|
+
paddingBlock: { type: String, required: false },
|
|
21
|
+
paddingBlockStart: { type: String, required: false },
|
|
22
|
+
paddingBlockEnd: { type: String, required: false },
|
|
23
|
+
paddingInline: { type: String, required: false },
|
|
24
|
+
paddingInlineStart: { type: String, required: false },
|
|
25
|
+
paddingInlineEnd: { type: String, required: false },
|
|
26
|
+
border: { type: String, required: false },
|
|
27
|
+
borderWidth: { type: String, required: false },
|
|
28
|
+
borderStyle: { type: String, required: false },
|
|
29
|
+
borderColor: { type: String, required: false },
|
|
30
|
+
borderRadius: { type: String, required: false },
|
|
31
|
+
accessibilityLabel: { type: String, required: false },
|
|
32
|
+
accessibilityVisibility: { type: String, required: false },
|
|
33
|
+
display: { type: String, required: false }
|
|
34
|
+
});
|
|
35
|
+
</script>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
accessibilityRole?: string;
|
|
3
|
+
background?: string;
|
|
4
|
+
blockSize?: string;
|
|
5
|
+
minBlockSize?: string;
|
|
6
|
+
maxBlockSize?: string;
|
|
7
|
+
inlineSize?: string;
|
|
8
|
+
minInlineSize?: string;
|
|
9
|
+
maxInlineSize?: string;
|
|
10
|
+
overflow?: 'visible' | 'hidden';
|
|
11
|
+
padding?: string;
|
|
12
|
+
paddingBlock?: string;
|
|
13
|
+
paddingBlockStart?: string;
|
|
14
|
+
paddingBlockEnd?: string;
|
|
15
|
+
paddingInline?: string;
|
|
16
|
+
paddingInlineStart?: string;
|
|
17
|
+
paddingInlineEnd?: string;
|
|
18
|
+
border?: string;
|
|
19
|
+
borderWidth?: string;
|
|
20
|
+
borderStyle?: string;
|
|
21
|
+
borderColor?: string;
|
|
22
|
+
borderRadius?: string;
|
|
23
|
+
accessibilityLabel?: string;
|
|
24
|
+
accessibilityVisibility?: 'visible' | 'hidden' | 'exclusive';
|
|
25
|
+
display?: string;
|
|
26
|
+
};
|
|
27
|
+
declare var __VLS_8: {};
|
|
28
|
+
type __VLS_Slots = {} & {
|
|
29
|
+
default?: (props: typeof __VLS_8) => any;
|
|
30
|
+
};
|
|
31
|
+
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>;
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
icon?: string;
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
variant?: 'auto' | 'primary' | 'secondary' | 'tertiary';
|
|
6
|
+
tone?: 'auto' | 'critical' | 'neutral';
|
|
7
|
+
target?: 'auto' | '_blank' | '_self' | '_parent' | '_top' | (string & {});
|
|
8
|
+
href?: string;
|
|
9
|
+
download?: string;
|
|
10
|
+
type?: 'button' | 'reset' | 'submit';
|
|
11
|
+
accessibilityLabel?: string;
|
|
12
|
+
command?: '--auto' | '--show' | '--hide' | '--toggle';
|
|
13
|
+
commandFor?: string;
|
|
14
|
+
interestFor?: string;
|
|
15
|
+
};
|
|
16
|
+
declare var __VLS_8: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
default?: (props: typeof __VLS_8) => any;
|
|
19
|
+
};
|
|
20
|
+
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>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<s-button v-bind="$attrs">
|
|
3
|
+
<slot />
|
|
4
|
+
</s-button>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
defineOptions({ name: "ShButton", inheritAttrs: false });
|
|
9
|
+
defineProps({
|
|
10
|
+
disabled: { type: Boolean, required: false },
|
|
11
|
+
icon: { type: String, required: false },
|
|
12
|
+
loading: { type: Boolean, required: false },
|
|
13
|
+
variant: { type: String, required: false },
|
|
14
|
+
tone: { type: String, required: false },
|
|
15
|
+
target: { type: [String, Object], required: false },
|
|
16
|
+
href: { type: String, required: false },
|
|
17
|
+
download: { type: String, required: false },
|
|
18
|
+
type: { type: String, required: false },
|
|
19
|
+
accessibilityLabel: { type: String, required: false },
|
|
20
|
+
command: { type: String, required: false },
|
|
21
|
+
commandFor: { type: String, required: false },
|
|
22
|
+
interestFor: { type: String, required: false }
|
|
23
|
+
});
|
|
24
|
+
</script>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
icon?: string;
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
variant?: 'auto' | 'primary' | 'secondary' | 'tertiary';
|
|
6
|
+
tone?: 'auto' | 'critical' | 'neutral';
|
|
7
|
+
target?: 'auto' | '_blank' | '_self' | '_parent' | '_top' | (string & {});
|
|
8
|
+
href?: string;
|
|
9
|
+
download?: string;
|
|
10
|
+
type?: 'button' | 'reset' | 'submit';
|
|
11
|
+
accessibilityLabel?: string;
|
|
12
|
+
command?: '--auto' | '--show' | '--hide' | '--toggle';
|
|
13
|
+
commandFor?: string;
|
|
14
|
+
interestFor?: string;
|
|
15
|
+
};
|
|
16
|
+
declare var __VLS_8: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
default?: (props: typeof __VLS_8) => any;
|
|
19
|
+
};
|
|
20
|
+
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>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
gap?: 'base' | 'none';
|
|
3
|
+
accessibilityLabel?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<s-button-group v-bind="$attrs">
|
|
3
|
+
<slot />
|
|
4
|
+
</s-button-group>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
defineOptions({ name: "ShButtonGroup", inheritAttrs: false });
|
|
9
|
+
defineProps({
|
|
10
|
+
gap: { type: String, required: false },
|
|
11
|
+
accessibilityLabel: { type: String, required: false }
|
|
12
|
+
});
|
|
13
|
+
</script>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
gap?: 'base' | 'none';
|
|
3
|
+
accessibilityLabel?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
indeterminate?: boolean;
|
|
3
|
+
defaultIndeterminate?: boolean;
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
value?: string;
|
|
6
|
+
defaultChecked?: boolean;
|
|
7
|
+
accessibilityLabel?: string;
|
|
8
|
+
details?: string;
|
|
9
|
+
error?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
id?: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
};
|
|
16
|
+
declare var __VLS_8: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
default?: (props: typeof __VLS_8) => any;
|
|
19
|
+
};
|
|
20
|
+
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>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<s-checkbox v-bind="$attrs">
|
|
3
|
+
<slot />
|
|
4
|
+
</s-checkbox>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
defineOptions({ name: "ShCheckbox", inheritAttrs: false });
|
|
9
|
+
defineProps({
|
|
10
|
+
indeterminate: { type: Boolean, required: false },
|
|
11
|
+
defaultIndeterminate: { type: Boolean, required: false },
|
|
12
|
+
checked: { type: Boolean, required: false },
|
|
13
|
+
value: { type: String, required: false },
|
|
14
|
+
defaultChecked: { type: Boolean, required: false },
|
|
15
|
+
accessibilityLabel: { type: String, required: false },
|
|
16
|
+
details: { type: String, required: false },
|
|
17
|
+
error: { type: String, required: false },
|
|
18
|
+
label: { type: String, required: false },
|
|
19
|
+
required: { type: Boolean, required: false },
|
|
20
|
+
disabled: { type: Boolean, required: false },
|
|
21
|
+
id: { type: String, required: false },
|
|
22
|
+
name: { type: String, required: false }
|
|
23
|
+
});
|
|
24
|
+
</script>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
indeterminate?: boolean;
|
|
3
|
+
defaultIndeterminate?: boolean;
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
value?: string;
|
|
6
|
+
defaultChecked?: boolean;
|
|
7
|
+
accessibilityLabel?: string;
|
|
8
|
+
details?: string;
|
|
9
|
+
error?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
id?: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
};
|
|
16
|
+
declare var __VLS_8: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
default?: (props: typeof __VLS_8) => any;
|
|
19
|
+
};
|
|
20
|
+
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>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
color?: string;
|
|
3
|
+
accessibilityLabel?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<s-chip v-bind="$attrs">
|
|
3
|
+
<slot />
|
|
4
|
+
</s-chip>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
defineOptions({ name: "ShChip", inheritAttrs: false });
|
|
9
|
+
defineProps({
|
|
10
|
+
color: { type: String, required: false },
|
|
11
|
+
accessibilityLabel: { type: String, required: false }
|
|
12
|
+
});
|
|
13
|
+
</script>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
color?: string;
|
|
3
|
+
accessibilityLabel?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
selected?: boolean;
|
|
4
|
+
value?: string;
|
|
5
|
+
accessibilityLabel?: string;
|
|
6
|
+
defaultSelected?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_8: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_8) => any;
|
|
11
|
+
};
|
|
12
|
+
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>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<s-choice v-bind="$attrs">
|
|
3
|
+
<slot />
|
|
4
|
+
</s-choice>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
defineOptions({ name: "ShChoice", inheritAttrs: false });
|
|
9
|
+
defineProps({
|
|
10
|
+
disabled: { type: Boolean, required: false },
|
|
11
|
+
selected: { type: Boolean, required: false },
|
|
12
|
+
value: { type: String, required: false },
|
|
13
|
+
accessibilityLabel: { type: String, required: false },
|
|
14
|
+
defaultSelected: { type: Boolean, required: false }
|
|
15
|
+
});
|
|
16
|
+
</script>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
selected?: boolean;
|
|
4
|
+
value?: string;
|
|
5
|
+
accessibilityLabel?: string;
|
|
6
|
+
defaultSelected?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_8: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_8) => any;
|
|
11
|
+
};
|
|
12
|
+
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>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
name?: string;
|
|
4
|
+
error?: string;
|
|
5
|
+
details?: string;
|
|
6
|
+
multiple?: boolean;
|
|
7
|
+
label?: string;
|
|
8
|
+
labelAccessibilityVisibility?: 'visible' | 'exclusive';
|
|
9
|
+
values?: string[];
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_8: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_8) => any;
|
|
14
|
+
};
|
|
15
|
+
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>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<s-choice-list v-bind="$attrs">
|
|
3
|
+
<slot />
|
|
4
|
+
</s-choice-list>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
defineOptions({ name: "ShChoiceList", inheritAttrs: false });
|
|
9
|
+
defineProps({
|
|
10
|
+
disabled: { type: Boolean, required: false },
|
|
11
|
+
name: { type: String, required: false },
|
|
12
|
+
error: { type: String, required: false },
|
|
13
|
+
details: { type: String, required: false },
|
|
14
|
+
multiple: { type: Boolean, required: false },
|
|
15
|
+
label: { type: String, required: false },
|
|
16
|
+
labelAccessibilityVisibility: { type: String, required: false },
|
|
17
|
+
values: { type: Array, required: false }
|
|
18
|
+
});
|
|
19
|
+
</script>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
name?: string;
|
|
4
|
+
error?: string;
|
|
5
|
+
details?: string;
|
|
6
|
+
multiple?: boolean;
|
|
7
|
+
label?: string;
|
|
8
|
+
labelAccessibilityVisibility?: 'visible' | 'exclusive';
|
|
9
|
+
values?: string[];
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_8: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_8) => any;
|
|
14
|
+
};
|
|
15
|
+
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>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
target?: 'auto' | '_blank' | '_self' | '_parent' | '_top' | (string & {});
|
|
5
|
+
href?: string;
|
|
6
|
+
download?: string;
|
|
7
|
+
type?: 'button' | 'reset' | 'submit';
|
|
8
|
+
accessibilityRole?: string;
|
|
9
|
+
background?: string;
|
|
10
|
+
blockSize?: string;
|
|
11
|
+
minBlockSize?: string;
|
|
12
|
+
maxBlockSize?: string;
|
|
13
|
+
inlineSize?: string;
|
|
14
|
+
minInlineSize?: string;
|
|
15
|
+
maxInlineSize?: string;
|
|
16
|
+
overflow?: 'visible' | 'hidden';
|
|
17
|
+
padding?: string;
|
|
18
|
+
paddingBlock?: string;
|
|
19
|
+
paddingBlockStart?: string;
|
|
20
|
+
paddingBlockEnd?: string;
|
|
21
|
+
paddingInline?: string;
|
|
22
|
+
paddingInlineStart?: string;
|
|
23
|
+
paddingInlineEnd?: string;
|
|
24
|
+
border?: string;
|
|
25
|
+
borderWidth?: string;
|
|
26
|
+
borderStyle?: string;
|
|
27
|
+
borderColor?: string;
|
|
28
|
+
borderRadius?: string;
|
|
29
|
+
accessibilityLabel?: string;
|
|
30
|
+
accessibilityVisibility?: 'visible' | 'hidden' | 'exclusive';
|
|
31
|
+
display?: string;
|
|
32
|
+
command?: '--auto' | '--show' | '--hide' | '--toggle';
|
|
33
|
+
commandFor?: string;
|
|
34
|
+
interestFor?: string;
|
|
35
|
+
};
|
|
36
|
+
declare var __VLS_8: {};
|
|
37
|
+
type __VLS_Slots = {} & {
|
|
38
|
+
default?: (props: typeof __VLS_8) => any;
|
|
39
|
+
};
|
|
40
|
+
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>;
|
|
41
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
|
+
declare const _default: typeof __VLS_export;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<s-clickable v-bind="$attrs">
|
|
3
|
+
<slot />
|
|
4
|
+
</s-clickable>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
defineOptions({ name: "ShClickable", inheritAttrs: false });
|
|
9
|
+
defineProps({
|
|
10
|
+
disabled: { type: Boolean, required: false },
|
|
11
|
+
loading: { type: Boolean, required: false },
|
|
12
|
+
target: { type: [String, Object], required: false },
|
|
13
|
+
href: { type: String, required: false },
|
|
14
|
+
download: { type: String, required: false },
|
|
15
|
+
type: { type: String, required: false },
|
|
16
|
+
accessibilityRole: { type: String, required: false },
|
|
17
|
+
background: { type: String, required: false },
|
|
18
|
+
blockSize: { type: String, required: false },
|
|
19
|
+
minBlockSize: { type: String, required: false },
|
|
20
|
+
maxBlockSize: { type: String, required: false },
|
|
21
|
+
inlineSize: { type: String, required: false },
|
|
22
|
+
minInlineSize: { type: String, required: false },
|
|
23
|
+
maxInlineSize: { type: String, required: false },
|
|
24
|
+
overflow: { type: String, required: false },
|
|
25
|
+
padding: { type: String, required: false },
|
|
26
|
+
paddingBlock: { type: String, required: false },
|
|
27
|
+
paddingBlockStart: { type: String, required: false },
|
|
28
|
+
paddingBlockEnd: { type: String, required: false },
|
|
29
|
+
paddingInline: { type: String, required: false },
|
|
30
|
+
paddingInlineStart: { type: String, required: false },
|
|
31
|
+
paddingInlineEnd: { type: String, required: false },
|
|
32
|
+
border: { type: String, required: false },
|
|
33
|
+
borderWidth: { type: String, required: false },
|
|
34
|
+
borderStyle: { type: String, required: false },
|
|
35
|
+
borderColor: { type: String, required: false },
|
|
36
|
+
borderRadius: { type: String, required: false },
|
|
37
|
+
accessibilityLabel: { type: String, required: false },
|
|
38
|
+
accessibilityVisibility: { type: String, required: false },
|
|
39
|
+
display: { type: String, required: false },
|
|
40
|
+
command: { type: String, required: false },
|
|
41
|
+
commandFor: { type: String, required: false },
|
|
42
|
+
interestFor: { type: String, required: false }
|
|
43
|
+
});
|
|
44
|
+
</script>
|