@mobileaction/action-kit 1.55.18 → 1.55.19-beta.0
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/CHANGELOG.md +8 -0
- package/dist/action-kit.mjs +209 -196
- package/dist/{annotations-CmdcG9fW.js → annotations-Diz_eJW7.js} +1 -1
- package/dist/components/alert/stories/alert.stories.d.ts +1 -1
- package/dist/components/animation/stories/animation.stories.d.ts +1 -1
- package/dist/components/app-icon/stories/default.stories.d.ts +1 -1
- package/dist/components/app-track-button/stories/default.stories.d.ts +1 -1
- package/dist/components/avatar/stories/default.stories.d.ts +1 -1
- package/dist/components/badge/stories/basic.stories.d.ts +22 -22
- package/dist/components/badge/stories/blue.stories.d.ts +22 -22
- package/dist/components/badge/stories/dark.stories.d.ts +22 -22
- package/dist/components/badge/stories/green.stories.d.ts +22 -22
- package/dist/components/badge/stories/orange.stories.d.ts +22 -22
- package/dist/components/badge/stories/pink.stories.d.ts +22 -22
- package/dist/components/badge/stories/purple.stories.d.ts +22 -22
- package/dist/components/badge/stories/red.stories.d.ts +22 -22
- package/dist/components/badge/stories/status.stories.d.ts +1 -1
- package/dist/components/badge/stories/teal.stories.d.ts +22 -22
- package/dist/components/badge/stories/yellow.stories.d.ts +22 -22
- package/dist/components/badge/types.d.ts +1 -1
- package/dist/components/button/link-button/stories/link.stories.d.ts +1 -1
- package/dist/components/button/social-button/stories/social.stories.d.ts +1 -1
- package/dist/components/button/stories/filled.stories.d.ts +1 -1
- package/dist/components/button/stories/ghost.stories.d.ts +1 -1
- package/dist/components/button/stories/lighter.stories.d.ts +1 -1
- package/dist/components/button/stories/stroke.stories.d.ts +1 -1
- package/dist/components/card/stories/default.stories.d.ts +1 -1
- package/dist/components/card/stories/footer.stories.d.ts +1 -1
- package/dist/components/card/stories/header.stories.d.ts +1 -1
- package/dist/components/cascader/stories/default.stories.d.ts +121 -121
- package/dist/components/chart/stories/chart.stories.d.ts +1 -1
- package/dist/components/checkbox/stories/default.stories.d.ts +1 -1
- package/dist/components/checkbox/stories/group.stories.d.ts +1 -1
- package/dist/components/checkbox/stories/indeterminate.stories.d.ts +1 -1
- package/dist/components/checkbox-2/stories/card.stories.d.ts +1 -1
- package/dist/components/checkbox-2/stories/default.stories.d.ts +1 -1
- package/dist/components/checkbox-2/stories/group.stories.d.ts +1 -1
- package/dist/components/collapse/components/CollapseHeader.vue.d.ts +3 -1
- package/dist/components/collapse/components/CollapseItem.vue.d.ts +4 -2
- package/dist/components/collapse/stories/default.stories.d.ts +2 -1
- package/dist/components/content-scroller/stories/default.stories.d.ts +1 -1
- package/dist/components/country-radio/stories/default.stories.d.ts +1 -1
- package/dist/components/country-select/stories/default.stories.d.ts +1 -1
- package/dist/components/date-picker/stories/default.stories.d.ts +1 -1
- package/dist/components/date-picker/stories/range.stories.d.ts +1 -1
- package/dist/components/date-picker-2/stories/default.stories.d.ts +1 -1
- package/dist/components/date-picker-2/stories/range.stories.d.ts +1 -1
- package/dist/components/drawer/stories/drawer.stories.d.ts +1 -1
- package/dist/components/dropdown/stories/default.stories.d.ts +1 -1
- package/dist/components/ellipsis/stories/default.stories.d.ts +1 -1
- package/dist/components/empty/stories/animation.stories.d.ts +1 -1
- package/dist/components/empty/stories/default.stories.d.ts +1 -1
- package/dist/components/form/stories/default.stories.d.ts +1 -1
- package/dist/components/icon/stories/icon.stories.d.ts +1 -1
- package/dist/components/icon-button/stories/primary.stories.d.ts +1 -1
- package/dist/components/icon-button/stories/secondary.stories.d.ts +1 -1
- package/dist/components/image/stories/default.stories.d.ts +1 -1
- package/dist/components/image-2/stories/default.stories.d.ts +1 -1
- package/dist/components/input/index.vue.d.ts +2 -2
- package/dist/components/input/stories/amount.stories.d.ts +1 -1
- package/dist/components/input/stories/credit-card.stories.d.ts +1 -1
- package/dist/components/input/stories/default.stories.d.ts +1 -1
- package/dist/components/input/stories/email.stories.d.ts +1 -1
- package/dist/components/input/stories/password.stories.d.ts +1 -1
- package/dist/components/input/stories/textarea.stories.d.ts +1 -1
- package/dist/components/input/stories/url.stories.d.ts +1 -1
- package/dist/components/input/stories/user-info.stories.d.ts +1 -1
- package/dist/components/input-number/stories/default.stories.d.ts +10 -10
- package/dist/components/ios-device-preview/components/AppDetailPreview.vue.d.ts +7 -0
- package/dist/components/ios-device-preview/components/AppTodayTabPreview.vue.d.ts +5 -0
- package/dist/components/ios-device-preview/components/ProductPages.vue.d.ts +6 -0
- package/dist/components/ios-device-preview/components/SearchResults.vue.d.ts +7 -0
- package/dist/components/ios-device-preview/components/SearchTab.vue.d.ts +7 -0
- package/dist/components/ios-device-preview/components/TodayTab.vue.d.ts +7 -0
- package/dist/components/ios-device-preview/composables/useDevicePreviewScale.d.ts +10 -0
- package/dist/components/ios-device-preview/index.vue.d.ts +15 -0
- package/dist/components/ios-device-preview/stories/constants.d.ts +6 -0
- package/dist/components/ios-device-preview/stories/product-pages.stories.d.ts +15 -0
- package/dist/components/ios-device-preview/stories/search-results.stories.d.ts +23 -0
- package/dist/components/ios-device-preview/stories/search-tab.stories.d.ts +19 -0
- package/dist/components/ios-device-preview/stories/today-tab.stories.d.ts +15 -0
- package/dist/components/ios-device-preview/types.d.ts +96 -0
- package/dist/components/menu/stories/default.stories.d.ts +1 -1
- package/dist/components/modal/stories/default.stories.d.ts +1 -1
- package/dist/components/modal/stories/functions.stories.d.ts +1 -1
- package/dist/components/modal-2/MaConfirmModal.vue.d.ts +7 -1
- package/dist/components/modal-2/MaModal.vue.d.ts +1 -0
- package/dist/components/modal-2/composables/usemodal.d.ts +1 -1
- package/dist/components/modal-2/stories/confirm-modal.stories.d.ts +1 -0
- package/dist/components/modal-2/stories/modal.stories.d.ts +4 -1
- package/dist/components/modal-2/types.d.ts +11 -0
- package/dist/components/notification/stories/filled.stories.d.ts +1 -1
- package/dist/components/notification/stories/light.stories.d.ts +1 -1
- package/dist/components/notification/stories/stroke.stories.d.ts +1 -1
- package/dist/components/numeric-input/stories/default.stories.d.ts +1 -1
- package/dist/components/pagination/stories/default.stories.d.ts +1 -1
- package/dist/components/popconfirm/stories/default.stories.d.ts +1 -1
- package/dist/components/popconfirm-2/stories/default.stories.d.ts +1 -1
- package/dist/components/popover/stories/default.stories.d.ts +1 -1
- package/dist/components/popover-2/stories/default.stories.d.ts +1 -1
- package/dist/components/progress/stories/circle.stories.d.ts +1 -1
- package/dist/components/progress/stories/half-circle.stories.d.ts +1 -1
- package/dist/components/progress/stories/line-step.stories.d.ts +1 -1
- package/dist/components/progress/stories/line.stories.d.ts +1 -1
- package/dist/components/radio/stories/default.stories.d.ts +1 -1
- package/dist/components/radio-card/stories/default.stories.d.ts +1 -1
- package/dist/components/rate/stories/default.stories.d.ts +1 -1
- package/dist/components/result/stories/default.stories.d.ts +1 -1
- package/dist/components/select/stories/default.stories.d.ts +1 -1
- package/dist/components/select/stories/group.stories.d.ts +1 -1
- package/dist/components/select/stories/multi-select.stories.d.ts +1 -1
- package/dist/components/select/stories/single.stories.d.ts +1 -1
- package/dist/components/select-2/stories/borderless.stories.d.ts +1 -1
- package/dist/components/select-2/stories/inline.stories.d.ts +1 -1
- package/dist/components/select-2/stories/multiple.stories.d.ts +1 -1
- package/dist/components/select-2/stories/select-option-group.stories.d.ts +3 -3
- package/dist/components/select-2/stories/select-option.stories.d.ts +3 -3
- package/dist/components/select-2/stories/single.stories.d.ts +1 -1
- package/dist/components/side-menu/add-new-app-button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu/app-button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu/button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu/icon-button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu/menu-item/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu/round-icon-button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu-2/menu-button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu-2/menu-item/stories/default.stories.d.ts +1 -1
- package/dist/components/slider/stories/default.stories.d.ts +1 -1
- package/dist/components/spin/index.vue.d.ts +3 -1
- package/dist/components/spin/stories/container.stories.d.ts +1 -1
- package/dist/components/spin/stories/default.stories.d.ts +1 -1
- package/dist/components/spin/types.d.ts +2 -0
- package/dist/components/step-items/stories/default.stories.d.ts +1 -1
- package/dist/components/step-items/stories/step-item.stories.d.ts +1 -1
- package/dist/components/steps/components/index.vue.d.ts +6 -2
- package/dist/components/steps/stories/constants.d.ts +1 -0
- package/dist/components/steps/stories/default.stories.d.ts +3 -1
- package/dist/components/steps/stories/step.stories.d.ts +1 -1
- package/dist/components/switch/stories/default.stories.d.ts +1 -1
- package/dist/components/table/stories/default.stories.d.ts +1 -1
- package/dist/components/tabs/stories/card.stories.d.ts +1 -1
- package/dist/components/tabs/stories/line.stories.d.ts +1 -1
- package/dist/components/tabs-2/stories/default.stories.d.ts +8 -8
- package/dist/components/tabs-2/stories/tab-button.stories.d.ts +8 -8
- package/dist/components/tabs-2/stories/tab-pane.stories.d.ts +2 -2
- package/dist/components/tag-input/stories/default.stories.d.ts +1 -1
- package/dist/components/toggle/stories/default.stories.d.ts +1 -1
- package/dist/components/tooltip/stories/default.stories.d.ts +1 -1
- package/dist/components/tooltip-2/stories/default.stories.d.ts +1 -1
- package/dist/components/track-button/stories/default.stories.d.ts +1 -1
- package/dist/components/tree/stories/default.stories.d.ts +1 -1
- package/dist/components/typography/stories/default.stories.d.ts +1 -1
- package/dist/components/upload/stories/box.stories.d.ts +1 -1
- package/dist/components/upload/stories/button.stories.d.ts +1 -1
- package/dist/components/upload/stories/small-box.stories.d.ts +1 -1
- package/dist/components/watchlist-button/stories/dashed.stories.d.ts +1 -1
- package/dist/components/watchlist-button/stories/default.stories.d.ts +1 -1
- package/dist/{export-data-Qxmuu6hJ.js → export-data-DqHZSkAj.js} +1 -1
- package/dist/{exporting-BE2C057X.js → exporting-Chvci4JZ.js} +1 -1
- package/dist/{funnel-BmDHL90x.js → funnel-DYDOuv50.js} +1 -1
- package/dist/{index-zch7sQmk.js → index-Gat-TPjQ.js} +10325 -9845
- package/dist/index.d.ts +7 -0
- package/dist/{map-BfTCxQSI.js → map-BRCqL6kP.js} +1 -1
- package/dist/{offline-exporting-DjwtP2_K.js → offline-exporting-Br8nL6Nd.js} +1 -1
- package/dist/{stock-DiqGzI2_.js → stock-VKF78YNp.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{venn-bF3uOa98.js → venn-C-8i4WO4.js} +1 -1
- package/dist/{wordcloud-BbrEtfC1.js → wordcloud-C1g6aZDK.js} +1 -1
- package/package.json +7 -7
|
@@ -2,9 +2,11 @@ type __VLS_Props = {
|
|
|
2
2
|
isExpanded: boolean;
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
};
|
|
5
|
-
declare var __VLS_7: {};
|
|
5
|
+
declare var __VLS_7: {}, __VLS_9: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_7) => any;
|
|
8
|
+
} & {
|
|
9
|
+
actions?: (props: typeof __VLS_9) => any;
|
|
8
10
|
};
|
|
9
11
|
declare const __VLS_component: 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
12
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -5,11 +5,13 @@ type __VLS_Props = {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
lazyContent?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare var __VLS_8: {},
|
|
8
|
+
declare var __VLS_8: {}, __VLS_10: {}, __VLS_15: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
title?: (props: typeof __VLS_8) => any;
|
|
11
11
|
} & {
|
|
12
|
-
|
|
12
|
+
actions?: (props: typeof __VLS_10) => any;
|
|
13
|
+
} & {
|
|
14
|
+
content?: (props: typeof __VLS_15) => any;
|
|
13
15
|
};
|
|
14
16
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
17
|
lazyContent: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
2
|
import { MaCollapse } from '@/index';
|
|
3
3
|
declare const meta: Meta<typeof MaCollapse>;
|
|
4
4
|
export default meta;
|
|
@@ -10,3 +10,4 @@ export declare const DefaultExpanded: Story;
|
|
|
10
10
|
export declare const CollapseAll: Story;
|
|
11
11
|
export declare const DifferentSizes: Story;
|
|
12
12
|
export declare const DisabledOne: Story;
|
|
13
|
+
export declare const WithActions: Story;
|
|
@@ -32,18 +32,18 @@ type __VLS_Slots = {} & {
|
|
|
32
32
|
declare const __VLS_component: import("vue").DefineComponent<MaInputProps, {
|
|
33
33
|
focus: typeof focusElement;
|
|
34
34
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
clear: (...args: any[]) => void;
|
|
35
36
|
change: (...args: any[]) => void;
|
|
36
37
|
focus: (...args: any[]) => void;
|
|
37
38
|
focusout: (...args: any[]) => void;
|
|
38
|
-
clear: (...args: any[]) => void;
|
|
39
39
|
"update:value": (...args: any[]) => void;
|
|
40
40
|
currencyChange: (...args: any[]) => void;
|
|
41
41
|
"update:amountCurrency": (...args: any[]) => void;
|
|
42
42
|
}, string, import("vue").PublicProps, Readonly<MaInputProps> & Readonly<{
|
|
43
|
+
onClear?: (...args: any[]) => any;
|
|
43
44
|
onChange?: (...args: any[]) => any;
|
|
44
45
|
onFocus?: (...args: any[]) => any;
|
|
45
46
|
onFocusout?: (...args: any[]) => any;
|
|
46
|
-
onClear?: (...args: any[]) => any;
|
|
47
47
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
48
48
|
onCurrencyChange?: (...args: any[]) => any;
|
|
49
49
|
"onUpdate:amountCurrency"?: (...args: any[]) => any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
2
|
import type { MaInputNumberProps } from '../index.vue';
|
|
3
3
|
import { MaInputNumber } from '@/index';
|
|
4
4
|
declare const meta: Meta<typeof MaInputNumber>;
|
|
5
5
|
export default meta;
|
|
6
6
|
type Story = StoryObj<typeof MaInputNumber>;
|
|
7
|
-
export declare const Default: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3
|
|
7
|
+
export declare const Default: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
8
8
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaInputNumberProps> & Readonly<{
|
|
9
9
|
onChange?: (...args: any[]) => any;
|
|
10
10
|
onStep?: (...args: any[]) => any;
|
|
@@ -72,7 +72,7 @@ export declare const Default: import("storybook/internal/csf").StoryAnnotations<
|
|
|
72
72
|
addonAfter?: (props: {}) => any;
|
|
73
73
|
};
|
|
74
74
|
})>>;
|
|
75
|
-
export declare const XSmall: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3
|
|
75
|
+
export declare const XSmall: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
76
76
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaInputNumberProps> & Readonly<{
|
|
77
77
|
onChange?: (...args: any[]) => any;
|
|
78
78
|
onStep?: (...args: any[]) => any;
|
|
@@ -140,7 +140,7 @@ export declare const XSmall: import("storybook/internal/csf").StoryAnnotations<i
|
|
|
140
140
|
addonAfter?: (props: {}) => any;
|
|
141
141
|
};
|
|
142
142
|
})>>;
|
|
143
|
-
export declare const Small: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3
|
|
143
|
+
export declare const Small: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
144
144
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaInputNumberProps> & Readonly<{
|
|
145
145
|
onChange?: (...args: any[]) => any;
|
|
146
146
|
onStep?: (...args: any[]) => any;
|
|
@@ -208,7 +208,7 @@ export declare const Small: import("storybook/internal/csf").StoryAnnotations<im
|
|
|
208
208
|
addonAfter?: (props: {}) => any;
|
|
209
209
|
};
|
|
210
210
|
})>>;
|
|
211
|
-
export declare const Medium: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3
|
|
211
|
+
export declare const Medium: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
212
212
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaInputNumberProps> & Readonly<{
|
|
213
213
|
onChange?: (...args: any[]) => any;
|
|
214
214
|
onStep?: (...args: any[]) => any;
|
|
@@ -276,7 +276,7 @@ export declare const Medium: import("storybook/internal/csf").StoryAnnotations<i
|
|
|
276
276
|
addonAfter?: (props: {}) => any;
|
|
277
277
|
};
|
|
278
278
|
})>>;
|
|
279
|
-
export declare const Large: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3
|
|
279
|
+
export declare const Large: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
280
280
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaInputNumberProps> & Readonly<{
|
|
281
281
|
onChange?: (...args: any[]) => any;
|
|
282
282
|
onStep?: (...args: any[]) => any;
|
|
@@ -344,7 +344,7 @@ export declare const Large: import("storybook/internal/csf").StoryAnnotations<im
|
|
|
344
344
|
addonAfter?: (props: {}) => any;
|
|
345
345
|
};
|
|
346
346
|
})>>;
|
|
347
|
-
export declare const Disabled: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3
|
|
347
|
+
export declare const Disabled: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
348
348
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaInputNumberProps> & Readonly<{
|
|
349
349
|
onChange?: (...args: any[]) => any;
|
|
350
350
|
onStep?: (...args: any[]) => any;
|
|
@@ -412,7 +412,7 @@ export declare const Disabled: import("storybook/internal/csf").StoryAnnotations
|
|
|
412
412
|
addonAfter?: (props: {}) => any;
|
|
413
413
|
};
|
|
414
414
|
})>>;
|
|
415
|
-
export declare const Pre: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3
|
|
415
|
+
export declare const Pre: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
416
416
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaInputNumberProps> & Readonly<{
|
|
417
417
|
onChange?: (...args: any[]) => any;
|
|
418
418
|
onStep?: (...args: any[]) => any;
|
|
@@ -480,7 +480,7 @@ export declare const Pre: import("storybook/internal/csf").StoryAnnotations<impo
|
|
|
480
480
|
addonAfter?: (props: {}) => any;
|
|
481
481
|
};
|
|
482
482
|
})>>;
|
|
483
|
-
export declare const Post: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3
|
|
483
|
+
export declare const Post: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
484
484
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaInputNumberProps> & Readonly<{
|
|
485
485
|
onChange?: (...args: any[]) => any;
|
|
486
486
|
onStep?: (...args: any[]) => any;
|
|
@@ -548,7 +548,7 @@ export declare const Post: import("storybook/internal/csf").StoryAnnotations<imp
|
|
|
548
548
|
addonAfter?: (props: {}) => any;
|
|
549
549
|
};
|
|
550
550
|
})>>;
|
|
551
|
-
export declare const PrePost: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3
|
|
551
|
+
export declare const PrePost: import("storybook/internal/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
552
552
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaInputNumberProps> & Readonly<{
|
|
553
553
|
onChange?: (...args: any[]) => any;
|
|
554
554
|
onStep?: (...args: any[]) => any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MaIOSDeviceAppDetailProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<MaIOSDeviceAppDetailProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIOSDeviceAppDetailProps> & Readonly<{}>, {
|
|
3
|
+
app: import("../types").AppInfo;
|
|
4
|
+
device: import("../types").DeviceType;
|
|
5
|
+
displayType: import("../types").DisplayType;
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MaIOSDeviceAppTodayTabProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<MaIOSDeviceAppTodayTabProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIOSDeviceAppTodayTabProps> & Readonly<{}>, {
|
|
3
|
+
app: import("../types").AppInfo;
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MaIOSDeviceProductPagesProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<MaIOSDeviceProductPagesProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIOSDeviceProductPagesProps> & Readonly<{}>, {
|
|
3
|
+
app: import("../types").AppInfo;
|
|
4
|
+
device: import("../types").DeviceType;
|
|
5
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MaIOSDeviceSearchResultsProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<MaIOSDeviceSearchResultsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIOSDeviceSearchResultsProps> & Readonly<{}>, {
|
|
3
|
+
app: import("../types").AppInfo;
|
|
4
|
+
device: import("../types").DeviceType;
|
|
5
|
+
displayType: import("../types").DisplayType;
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MaIOSDeviceSearchTabProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<MaIOSDeviceSearchTabProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIOSDeviceSearchTabProps> & Readonly<{}>, {
|
|
3
|
+
app: import("../types").AppInfo;
|
|
4
|
+
displayMode: import("../types").DisplayMode;
|
|
5
|
+
device: import("../types").DeviceType;
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MaIOSDeviceTodayTabProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<MaIOSDeviceTodayTabProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIOSDeviceTodayTabProps> & Readonly<{}>, {
|
|
3
|
+
app: import("../types").AppInfo;
|
|
4
|
+
displayMode: import("../types").DisplayMode;
|
|
5
|
+
device: "iphone";
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Composable for responsive scaling of device preview components
|
|
4
|
+
* Calculates scale factor based on container width vs base device width
|
|
5
|
+
*/
|
|
6
|
+
export declare function useDevicePreviewScale(baseWidth: Ref<number>): {
|
|
7
|
+
containerRef: Ref<HTMLElement, HTMLElement>;
|
|
8
|
+
contentScale: Ref<number, number>;
|
|
9
|
+
defaultWidth: import("vue").ComputedRef<string>;
|
|
10
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { MaIOSDevicePreviewProps } from './types';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<MaIOSDevicePreviewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIOSDevicePreviewProps> & Readonly<{}>, {
|
|
7
|
+
app: import("./types").AppInfo;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import MaIOSDeviceProductPages from '../components/ProductPages.vue';
|
|
3
|
+
declare const meta: Meta<typeof MaIOSDeviceProductPages>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof MaIOSDeviceProductPages>;
|
|
6
|
+
/**
|
|
7
|
+
* Product Pages preview on iPhone
|
|
8
|
+
* Shows the app information in the Product Pages browsing context
|
|
9
|
+
*/
|
|
10
|
+
export declare const Iphone: Story;
|
|
11
|
+
/**
|
|
12
|
+
* Product Pages preview on iPad
|
|
13
|
+
* iPad layout provides more horizontal space and different positioning
|
|
14
|
+
*/
|
|
15
|
+
export declare const Ipad: Story;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import MaIOSDeviceSearchResults from '../components/SearchResults.vue';
|
|
3
|
+
declare const meta: Meta<typeof MaIOSDeviceSearchResults>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof MaIOSDeviceSearchResults>;
|
|
6
|
+
/**
|
|
7
|
+
* iPhone with images display type shows app screenshots
|
|
8
|
+
*/
|
|
9
|
+
export declare const IphoneImages: Story;
|
|
10
|
+
/**
|
|
11
|
+
* iPhone with text display type shows app description
|
|
12
|
+
*/
|
|
13
|
+
export declare const IphoneText: Story;
|
|
14
|
+
/**
|
|
15
|
+
* iPad with images display type shows app screenshots
|
|
16
|
+
* iPad layout provides more horizontal space
|
|
17
|
+
*/
|
|
18
|
+
export declare const IpadImages: Story;
|
|
19
|
+
/**
|
|
20
|
+
* iPad with text display type shows app description
|
|
21
|
+
* On iPad, the description appears in the header row for better layout
|
|
22
|
+
*/
|
|
23
|
+
export declare const IpadText: Story;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import MaIOSDeviceSearchTab from '../components/SearchTab.vue';
|
|
3
|
+
declare const meta: Meta<typeof MaIOSDeviceSearchTab>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof MaIOSDeviceSearchTab>;
|
|
6
|
+
/**
|
|
7
|
+
* Mock mode on iPhone displays a device frame with an educational image preview
|
|
8
|
+
* Mock mode only supports iPhone device type
|
|
9
|
+
*/
|
|
10
|
+
export declare const MockModeIphone: Story;
|
|
11
|
+
/**
|
|
12
|
+
* Preview mode on iPhone shows the app information in the Search Tab layout
|
|
13
|
+
*/
|
|
14
|
+
export declare const PreviewModeIphone: Story;
|
|
15
|
+
/**
|
|
16
|
+
* Preview mode on iPad shows the app information in the Search Tab layout
|
|
17
|
+
* iPad layout provides more horizontal space for the preview
|
|
18
|
+
*/
|
|
19
|
+
export declare const PreviewModeIpad: Story;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import MaIOSDeviceTodayTab from '../components/TodayTab.vue';
|
|
3
|
+
declare const meta: Meta<typeof MaIOSDeviceTodayTab>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof MaIOSDeviceTodayTab>;
|
|
6
|
+
/**
|
|
7
|
+
* Mock mode displays a device frame with an educational video preview
|
|
8
|
+
* This mode is useful for showing users what the Today Tab placement looks like
|
|
9
|
+
*/
|
|
10
|
+
export declare const MockMode: Story;
|
|
11
|
+
/**
|
|
12
|
+
* Preview mode displays a container image where app information is shown
|
|
13
|
+
* This mode renders the actual app data within the Today Tab layout
|
|
14
|
+
*/
|
|
15
|
+
export declare const PreviewMode: Story;
|