shopify-nuxt 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +0 -6
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +2 -1
  5. package/dist/runtime/components/polaris/ShAvatar.vue +4 -2
  6. package/dist/runtime/components/polaris/ShBadge.vue +4 -2
  7. package/dist/runtime/components/polaris/ShBanner.vue +4 -2
  8. package/dist/runtime/components/polaris/ShBox.vue +4 -2
  9. package/dist/runtime/components/polaris/ShButton.d.vue.ts +11 -3
  10. package/dist/runtime/components/polaris/ShButton.vue +10 -2
  11. package/dist/runtime/components/polaris/ShButton.vue.d.ts +11 -3
  12. package/dist/runtime/components/polaris/ShButtonGroup.vue +4 -2
  13. package/dist/runtime/components/polaris/ShCheckbox.d.vue.ts +12 -5
  14. package/dist/runtime/components/polaris/ShCheckbox.vue +22 -5
  15. package/dist/runtime/components/polaris/ShCheckbox.vue.d.ts +12 -5
  16. package/dist/runtime/components/polaris/ShChip.vue +4 -2
  17. package/dist/runtime/components/polaris/ShChoice.vue +4 -2
  18. package/dist/runtime/components/polaris/ShChoiceList.d.vue.ts +12 -4
  19. package/dist/runtime/components/polaris/ShChoiceList.vue +21 -3
  20. package/dist/runtime/components/polaris/ShChoiceList.vue.d.ts +12 -4
  21. package/dist/runtime/components/polaris/ShClickable.vue +4 -2
  22. package/dist/runtime/components/polaris/ShClickableChip.vue +4 -2
  23. package/dist/runtime/components/polaris/ShColorField.d.vue.ts +16 -4
  24. package/dist/runtime/components/polaris/ShColorField.vue +24 -4
  25. package/dist/runtime/components/polaris/ShColorField.vue.d.ts +16 -4
  26. package/dist/runtime/components/polaris/ShColorPicker.d.vue.ts +12 -4
  27. package/dist/runtime/components/polaris/ShColorPicker.vue +21 -3
  28. package/dist/runtime/components/polaris/ShColorPicker.vue.d.ts +12 -4
  29. package/dist/runtime/components/polaris/ShDateField.d.vue.ts +20 -4
  30. package/dist/runtime/components/polaris/ShDateField.vue +25 -3
  31. package/dist/runtime/components/polaris/ShDateField.vue.d.ts +20 -4
  32. package/dist/runtime/components/polaris/ShDatePicker.d.vue.ts +18 -4
  33. package/dist/runtime/components/polaris/ShDatePicker.vue +24 -3
  34. package/dist/runtime/components/polaris/ShDatePicker.vue.d.ts +18 -4
  35. package/dist/runtime/components/polaris/ShDivider.vue +4 -2
  36. package/dist/runtime/components/polaris/ShDropZone.d.vue.ts +14 -4
  37. package/dist/runtime/components/polaris/ShDropZone.vue +22 -3
  38. package/dist/runtime/components/polaris/ShDropZone.vue.d.ts +14 -4
  39. package/dist/runtime/components/polaris/ShEmailField.d.vue.ts +16 -4
  40. package/dist/runtime/components/polaris/ShEmailField.vue +24 -4
  41. package/dist/runtime/components/polaris/ShEmailField.vue.d.ts +16 -4
  42. package/dist/runtime/components/polaris/ShGrid.vue +4 -2
  43. package/dist/runtime/components/polaris/ShGridItem.vue +4 -2
  44. package/dist/runtime/components/polaris/ShHeading.vue +4 -2
  45. package/dist/runtime/components/polaris/ShIcon.vue +4 -2
  46. package/dist/runtime/components/polaris/ShImage.vue +4 -2
  47. package/dist/runtime/components/polaris/ShLink.vue +4 -2
  48. package/dist/runtime/components/polaris/ShMenu.vue +4 -2
  49. package/dist/runtime/components/polaris/ShModal.vue +4 -2
  50. package/dist/runtime/components/polaris/ShMoneyField.d.vue.ts +16 -4
  51. package/dist/runtime/components/polaris/ShMoneyField.vue +24 -4
  52. package/dist/runtime/components/polaris/ShMoneyField.vue.d.ts +16 -4
  53. package/dist/runtime/components/polaris/ShNumberField.d.vue.ts +16 -4
  54. package/dist/runtime/components/polaris/ShNumberField.vue +24 -4
  55. package/dist/runtime/components/polaris/ShNumberField.vue.d.ts +16 -4
  56. package/dist/runtime/components/polaris/ShOption.vue +4 -2
  57. package/dist/runtime/components/polaris/ShOptionGroup.vue +4 -2
  58. package/dist/runtime/components/polaris/ShPage.vue +4 -2
  59. package/dist/runtime/components/polaris/ShParagraph.vue +4 -2
  60. package/dist/runtime/components/polaris/ShPasswordField.d.vue.ts +16 -4
  61. package/dist/runtime/components/polaris/ShPasswordField.vue +24 -4
  62. package/dist/runtime/components/polaris/ShPasswordField.vue.d.ts +16 -4
  63. package/dist/runtime/components/polaris/ShPopover.d.vue.ts +1 -0
  64. package/dist/runtime/components/polaris/ShPopover.vue +5 -2
  65. package/dist/runtime/components/polaris/ShPopover.vue.d.ts +1 -0
  66. package/dist/runtime/components/polaris/ShQueryContainer.vue +4 -2
  67. package/dist/runtime/components/polaris/ShSearchField.d.vue.ts +16 -4
  68. package/dist/runtime/components/polaris/ShSearchField.vue +24 -4
  69. package/dist/runtime/components/polaris/ShSearchField.vue.d.ts +16 -4
  70. package/dist/runtime/components/polaris/ShSection.vue +4 -2
  71. package/dist/runtime/components/polaris/ShSelect.d.vue.ts +12 -4
  72. package/dist/runtime/components/polaris/ShSelect.vue +22 -4
  73. package/dist/runtime/components/polaris/ShSelect.vue.d.ts +12 -4
  74. package/dist/runtime/components/polaris/ShSpinner.vue +4 -2
  75. package/dist/runtime/components/polaris/ShStack.vue +4 -2
  76. package/dist/runtime/components/polaris/ShSwitch.d.vue.ts +12 -5
  77. package/dist/runtime/components/polaris/ShSwitch.vue +22 -5
  78. package/dist/runtime/components/polaris/ShSwitch.vue.d.ts +12 -5
  79. package/dist/runtime/components/polaris/ShTable.vue +4 -2
  80. package/dist/runtime/components/polaris/ShTableHeader.vue +4 -2
  81. package/dist/runtime/components/polaris/ShTableRow.vue +4 -2
  82. package/dist/runtime/components/polaris/ShText.vue +4 -2
  83. package/dist/runtime/components/polaris/ShTextArea.d.vue.ts +16 -4
  84. package/dist/runtime/components/polaris/ShTextArea.vue +24 -4
  85. package/dist/runtime/components/polaris/ShTextArea.vue.d.ts +16 -4
  86. package/dist/runtime/components/polaris/ShTextField.d.vue.ts +16 -4
  87. package/dist/runtime/components/polaris/ShTextField.vue +24 -4
  88. package/dist/runtime/components/polaris/ShTextField.vue.d.ts +16 -4
  89. package/dist/runtime/components/polaris/ShThumbnail.vue +4 -2
  90. package/dist/runtime/components/polaris/ShTooltip.d.vue.ts +4 -1
  91. package/dist/runtime/components/polaris/ShTooltip.vue +6 -1
  92. package/dist/runtime/components/polaris/ShTooltip.vue.d.ts +4 -1
  93. package/dist/runtime/components/polaris/ShUrlField.d.vue.ts +16 -4
  94. package/dist/runtime/components/polaris/ShUrlField.vue +24 -4
  95. package/dist/runtime/components/polaris/ShUrlField.vue.d.ts +16 -4
  96. package/dist/runtime/components/polaris/utils.d.ts +7 -0
  97. package/dist/runtime/components/polaris/utils.js +13 -0
  98. package/dist/runtime/composables/useShopifyFetch.js +3 -1
  99. package/dist/runtime/server/utils/authenticate-admin.js +21 -6
  100. package/package.json +2 -1
  101. package/dist/runtime/components/ShopifyAppProvider.d.vue.ts +0 -13
  102. package/dist/runtime/components/ShopifyAppProvider.vue +0 -11
  103. package/dist/runtime/components/ShopifyAppProvider.vue.d.ts +0 -13
@@ -1,14 +1,16 @@
1
1
  <template>
2
- <s-thumbnail v-bind="$attrs">
2
+ <s-thumbnail v-bind="polarisAttrs">
3
3
  <slot />
4
4
  </s-thumbnail>
5
5
  </template>
6
6
 
7
7
  <script setup>
8
+ import { usePolarisAttrs } from "./utils";
8
9
  defineOptions({ name: "ShThumbnail", inheritAttrs: false });
9
- defineProps({
10
+ const props = defineProps({
10
11
  src: { type: String, required: false },
11
12
  alt: { type: String, required: false },
12
13
  size: { type: String, required: false }
13
14
  });
15
+ const polarisAttrs = usePolarisAttrs(props);
14
16
  </script>
@@ -1,8 +1,11 @@
1
+ type __VLS_Props = {
2
+ id: string;
3
+ };
1
4
  declare var __VLS_8: {};
2
5
  type __VLS_Slots = {} & {
3
6
  default?: (props: typeof __VLS_8) => any;
4
7
  };
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>;
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>;
6
9
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
10
  declare const _default: typeof __VLS_export;
8
11
  export default _default;
@@ -1,9 +1,14 @@
1
1
  <template>
2
- <s-tooltip v-bind="$attrs">
2
+ <s-tooltip v-bind="polarisAttrs">
3
3
  <slot />
4
4
  </s-tooltip>
5
5
  </template>
6
6
 
7
7
  <script setup>
8
+ import { usePolarisAttrs } from "./utils";
8
9
  defineOptions({ name: "ShTooltip", inheritAttrs: false });
10
+ const props = defineProps({
11
+ id: { type: String, required: true }
12
+ });
13
+ const polarisAttrs = usePolarisAttrs(props);
9
14
  </script>
@@ -1,8 +1,11 @@
1
+ type __VLS_Props = {
2
+ id: string;
3
+ };
1
4
  declare var __VLS_8: {};
2
5
  type __VLS_Slots = {} & {
3
6
  default?: (props: typeof __VLS_8) => any;
4
7
  };
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>;
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>;
6
9
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
10
  declare const _default: typeof __VLS_export;
8
11
  export default _default;
@@ -2,7 +2,6 @@ type __VLS_Props = {
2
2
  autocomplete?: string;
3
3
  maxLength?: number;
4
4
  minLength?: number;
5
- value?: string;
6
5
  defaultValue?: string;
7
6
  details?: string;
8
7
  error?: string;
@@ -14,12 +13,25 @@ type __VLS_Props = {
14
13
  disabled?: boolean;
15
14
  id?: string;
16
15
  name?: string;
16
+ modelValue?: string;
17
17
  };
18
- declare var __VLS_8: {};
18
+ declare var __VLS_13: {};
19
19
  type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_8) => any;
20
+ default?: (props: typeof __VLS_13) => any;
21
21
  };
22
- 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>;
22
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ "update:modelValue": (v: string) => void;
24
+ blur: (event: InputEvent) => void;
25
+ change: (event: InputEvent) => void;
26
+ focus: (event: InputEvent) => void;
27
+ input: (event: InputEvent) => void;
28
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
29
+ onBlur?: ((event: InputEvent) => any) | undefined;
30
+ onChange?: ((event: InputEvent) => any) | undefined;
31
+ onFocus?: ((event: InputEvent) => any) | undefined;
32
+ onInput?: ((event: InputEvent) => any) | undefined;
33
+ "onUpdate:modelValue"?: ((v: string) => any) | undefined;
34
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
35
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
36
  declare const _default: typeof __VLS_export;
25
37
  export default _default;
@@ -1,16 +1,29 @@
1
1
  <template>
2
- <s-url-field v-bind="$attrs">
2
+ <s-url-field
3
+ v-bind="polarisAttrs"
4
+ :value="modelValue"
5
+ @blur="emit('blur', $event)"
6
+ @change="emit('change', $event)"
7
+ @focus="emit('focus', $event)"
8
+ @input="
9
+ (evt) => {
10
+ emit('input', evt);
11
+ value = evt.currentTarget?.value || '';
12
+ }
13
+ "
14
+ >
3
15
  <slot />
4
16
  </s-url-field>
5
17
  </template>
6
18
 
7
19
  <script setup>
20
+ import { computed } from "vue";
21
+ import { usePolarisAttrs } from "./utils";
8
22
  defineOptions({ name: "ShUrlField", inheritAttrs: false });
9
- defineProps({
23
+ const props = defineProps({
10
24
  autocomplete: { type: String, required: false },
11
25
  maxLength: { type: Number, required: false },
12
26
  minLength: { type: Number, required: false },
13
- value: { type: String, required: false },
14
27
  defaultValue: { type: String, required: false },
15
28
  details: { type: String, required: false },
16
29
  error: { type: String, required: false },
@@ -21,6 +34,13 @@ defineProps({
21
34
  required: { type: Boolean, required: false },
22
35
  disabled: { type: Boolean, required: false },
23
36
  id: { type: String, required: false },
24
- name: { type: String, required: false }
37
+ name: { type: String, required: false },
38
+ modelValue: { type: String, required: false }
25
39
  });
40
+ const emit = defineEmits(["update:modelValue", "blur", "change", "focus", "input"]);
41
+ const value = computed({
42
+ get: () => props.modelValue,
43
+ set: (v) => emit("update:modelValue", v)
44
+ });
45
+ const polarisAttrs = usePolarisAttrs(props, ["modelValue"]);
26
46
  </script>
@@ -2,7 +2,6 @@ type __VLS_Props = {
2
2
  autocomplete?: string;
3
3
  maxLength?: number;
4
4
  minLength?: number;
5
- value?: string;
6
5
  defaultValue?: string;
7
6
  details?: string;
8
7
  error?: string;
@@ -14,12 +13,25 @@ type __VLS_Props = {
14
13
  disabled?: boolean;
15
14
  id?: string;
16
15
  name?: string;
16
+ modelValue?: string;
17
17
  };
18
- declare var __VLS_8: {};
18
+ declare var __VLS_13: {};
19
19
  type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_8) => any;
20
+ default?: (props: typeof __VLS_13) => any;
21
21
  };
22
- 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>;
22
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ "update:modelValue": (v: string) => void;
24
+ blur: (event: InputEvent) => void;
25
+ change: (event: InputEvent) => void;
26
+ focus: (event: InputEvent) => void;
27
+ input: (event: InputEvent) => void;
28
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
29
+ onBlur?: ((event: InputEvent) => any) | undefined;
30
+ onChange?: ((event: InputEvent) => any) | undefined;
31
+ onFocus?: ((event: InputEvent) => any) | undefined;
32
+ onInput?: ((event: InputEvent) => any) | undefined;
33
+ "onUpdate:modelValue"?: ((v: string) => any) | undefined;
34
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
35
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
36
  declare const _default: typeof __VLS_export;
25
37
  export default _default;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Merges $attrs with defined (non-undefined) props for forwarding to Polaris custom elements.
3
+ * With `inheritAttrs: false`, Vue-declared props are stripped from $attrs.
4
+ * This utility re-adds only the props that were actually passed by the parent,
5
+ * avoiding setting undefined values on custom elements which can alter their behavior.
6
+ */
7
+ export declare function usePolarisAttrs(props: Record<string, unknown>, exclude?: string[]): import("vue").ComputedRef<Record<string, unknown>>;
@@ -0,0 +1,13 @@
1
+ import { computed, useAttrs } from "vue";
2
+ export function usePolarisAttrs(props, exclude) {
3
+ const attrs = useAttrs();
4
+ return computed(() => {
5
+ const merged = { ...attrs };
6
+ for (const [key, val] of Object.entries(props)) {
7
+ if (val !== void 0 && !exclude?.includes(key)) {
8
+ merged[key] = val;
9
+ }
10
+ }
11
+ return merged;
12
+ });
13
+ }
@@ -1,7 +1,9 @@
1
1
  import { useNuxtApp } from "#app";
2
2
  export function useShopifyFetch() {
3
3
  if (import.meta.server) {
4
- throw new Error("useShopifyFetch() can only be used on the client side");
4
+ return async (_url, _options) => {
5
+ return { data: null, response: null };
6
+ };
5
7
  }
6
8
  const nuxtApp = useNuxtApp();
7
9
  return async (url, options = {}) => {
@@ -15,6 +15,8 @@ import {
15
15
  renderAppBridgePage
16
16
  } from "./helpers.js";
17
17
  import { AppDistribution } from "../../types.js";
18
+ const OnlineAccessToken = "urn:shopify:params:oauth:token-type:online-access-token";
19
+ const OfflineAccessToken = "urn:shopify:params:oauth:token-type:offline-access-token";
18
20
  export async function useShopifyAdmin(event) {
19
21
  const api = getShopifyApi();
20
22
  const config = getResolvedConfig();
@@ -131,17 +133,30 @@ export async function useShopifyAdmin(event) {
131
133
  };
132
134
  }
133
135
  async function performTokenExchange(api, config, sessionStorage, shop, sessionToken) {
134
- const { session: onlineSession } = await api.auth.tokenExchange({
135
- shop,
136
- sessionToken,
137
- requestedTokenType: config.useOnlineTokens ? "online" : "offline"
138
- });
136
+ let onlineSession;
137
+ try {
138
+ const result = await api.auth.tokenExchange({
139
+ shop,
140
+ sessionToken,
141
+ requestedTokenType: config.useOnlineTokens ? OnlineAccessToken : OfflineAccessToken
142
+ });
143
+ onlineSession = result.session;
144
+ } catch (error) {
145
+ console.error("[shopify-nuxt] Token exchange failed:", {
146
+ shop,
147
+ requestedTokenType: config.useOnlineTokens ? OnlineAccessToken : OfflineAccessToken,
148
+ scopes: api.config.scopes?.toString(),
149
+ responseBody: error?.response?.body,
150
+ message: error?.message
151
+ });
152
+ throw error;
153
+ }
139
154
  await sessionStorage.storeSession(onlineSession);
140
155
  if (config.useOnlineTokens) {
141
156
  const { session: offlineSession } = await api.auth.tokenExchange({
142
157
  shop,
143
158
  sessionToken,
144
- requestedTokenType: "offline"
159
+ requestedTokenType: OfflineAccessToken
145
160
  });
146
161
  await sessionStorage.storeSession(offlineSession);
147
162
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopify-nuxt",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Shopify app integration for Nuxt - authentication, webhooks, billing, and App Bridge",
5
5
  "repository": "yanuaraditia/shopify-nuxt",
6
6
  "license": "MIT",
@@ -47,6 +47,7 @@
47
47
  "@shopify/polaris-types": "^1.0.1",
48
48
  "@shopify/shopify-api": "^13.0.0",
49
49
  "@shopify/shopify-app-session-storage": "^5.0.0",
50
+ "h3": "^1.15.0",
50
51
  "isbot": "^5.1.36"
51
52
  },
52
53
  "devDependencies": {
@@ -1,13 +0,0 @@
1
- declare var __VLS_1: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_1) => 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
- };
@@ -1,11 +0,0 @@
1
- <template>
2
- <div>
3
- <slot />
4
- </div>
5
- </template>
6
-
7
- <script setup>
8
- defineOptions({
9
- name: "ShopifyAppProvider"
10
- });
11
- </script>
@@ -1,13 +0,0 @@
1
- declare var __VLS_1: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_1) => 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
- };