@mobileaction/action-kit 1.61.3-beta.20261109065002 → 1.62.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.
Files changed (27) hide show
  1. package/dist/action-kit.mjs +1050 -1750
  2. package/dist/components/chart/index.vue.d.ts +2 -3
  3. package/dist/components/chart/types.d.ts +0 -8
  4. package/dist/components/country-select/index.vue.d.ts +1 -1
  5. package/dist/components/{chart/components/skeleton/PieShape.vue.d.ts → device-preview/components/AppScreenshots.vue.d.ts} +4 -2
  6. package/dist/components/device-preview/types.d.ts +7 -1
  7. package/dist/config/plugin.d.ts +12 -0
  8. package/dist/config/types.d.ts +0 -10
  9. package/dist/locales/types.d.ts +13 -0
  10. package/dist/style.css +1 -1
  11. package/package.json +1 -1
  12. package/dist/components/chart/chart-skeleton.d.ts +0 -9
  13. package/dist/components/chart/components/ChartSkeleton.vue.d.ts +0 -8
  14. package/dist/components/chart/components/skeleton/BarShape.vue.d.ts +0 -2
  15. package/dist/components/chart/components/skeleton/ColumnShape.vue.d.ts +0 -2
  16. package/dist/components/chart/components/skeleton/FunnelShape.vue.d.ts +0 -5
  17. package/dist/components/chart/components/skeleton/LineShape.vue.d.ts +0 -2
  18. package/dist/components/chart/components/skeleton/MapShape.vue.d.ts +0 -2
  19. package/dist/components/chart/components/skeleton/MosaicShape.vue.d.ts +0 -2
  20. package/dist/components/chart/components/skeleton/SankeyShape.vue.d.ts +0 -2
  21. package/dist/components/chart/components/skeleton/ScatterShape.vue.d.ts +0 -2
  22. package/dist/components/chart/components/skeleton/VennShape.vue.d.ts +0 -2
  23. package/dist/components/chart/components/skeleton/WordcloudShape.vue.d.ts +0 -2
  24. package/dist/components/chart/components/skeleton/shapes.d.ts +0 -12
  25. package/dist/components/chart/components/skeleton/world-map.d.ts +0 -1
  26. package/dist/world-map-BiJpwm2s.js +0 -171
  27. /package/dist/components/{chart/chart-skeleton.test.d.ts → device-preview/device-preview.test.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import type { ChartConstructor, MaChartProps, MaChartSkeletonKind } from './types';
1
+ import type { ChartConstructor, MaChartProps } from './types';
2
2
  declare function getChart(): ChartConstructor;
3
3
  declare const _default: import("vue").DefineComponent<MaChartProps, {
4
4
  getChart: typeof getChart;
@@ -10,10 +10,9 @@ declare const _default: import("vue").DefineComponent<MaChartProps, {
10
10
  onChartDestroyed?: () => any;
11
11
  }>, {
12
12
  constructorType: import("./types").ChartConstructorType;
13
- modulesToLoad: import("./types").ModulesToLoad;
14
- skeleton: MaChartSkeletonKind | false;
15
13
  updateArgs: import("./types").ChartUpdateArgs;
16
14
  deepCopyOnUpdate: boolean;
15
+ modulesToLoad: import("./types").ModulesToLoad;
17
16
  astConfig: import("./types").ASTConfig;
18
17
  loadingOverlayComponentParams: any;
19
18
  noDataOverlayComponentParams: any;
@@ -1,6 +1,5 @@
1
1
  import type Highcharts from 'highcharts';
2
2
  export type * from 'highcharts';
3
- export type MaChartSkeletonKind = 'line' | 'column' | 'bar' | 'pie' | 'donut' | 'scatter' | 'funnel' | 'pyramid' | 'sankey' | 'venn' | 'wordcloud' | 'map' | 'mosaic';
4
3
  export interface MaChartEvents {
5
4
  /**
6
5
  * Triggered when the chart is loaded.
@@ -66,13 +65,6 @@ export interface MaChartProps {
66
65
  * dynamic content (e.g. `data-*`, `aria-*`, custom SVG attributes).
67
66
  */
68
67
  astConfig?: ASTConfig;
69
- /**
70
- * Skeleton shown while the chart loads, when `chart.skeleton` is on in the ActionKit config.
71
- * By default it follows the chart type, and `mosaic` covers types without a skeleton of their own.
72
- * `false` keeps the loading text for this chart.
73
- * Ignored when `loadingOverlayComponent` is set.
74
- */
75
- skeleton?: MaChartSkeletonKind | false;
76
68
  /**
77
69
  * Provide a custom loading overlay component.
78
70
  */
@@ -30,7 +30,6 @@ declare const __VLS_component: import("vue").DefineComponent<MaCountrySelectProp
30
30
  }>, {
31
31
  size: MaSelectSize;
32
32
  multiple: boolean;
33
- countries: MaCountry[];
34
33
  showSearch: boolean;
35
34
  listHeight: number;
36
35
  showSelectedCountryCode: boolean;
@@ -39,6 +38,7 @@ declare const __VLS_component: import("vue").DefineComponent<MaCountrySelectProp
39
38
  dropdownClassName: string;
40
39
  badgeProps: MaBadgeProps;
41
40
  dropdownMatchSelectWidth: boolean;
41
+ countries: MaCountry[];
42
42
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
44
44
  export default _default;
@@ -1,5 +1,7 @@
1
+ import type { AppScreenshot } from '../types';
1
2
  type __VLS_Props = {
2
- hole?: boolean;
3
+ screenshots?: Array<AppScreenshot>;
4
+ appName: string;
3
5
  };
4
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: 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>;
5
7
  export default _default;
@@ -8,13 +8,19 @@ export declare const DisplayModes: readonly ["mock", "preview"];
8
8
  export type DisplayMode = (typeof DisplayModes)[number];
9
9
  export declare const PageTypes: readonly ["today-tab", "search-tab", "search-results", "product-pages"];
10
10
  export type PageType = (typeof PageTypes)[number];
11
+ export declare const AppScreenshotKinds: readonly ["APP_PREVIEW", "SCREENSHOT"];
12
+ export type AppScreenshotKind = (typeof AppScreenshotKinds)[number];
13
+ export interface AppScreenshot {
14
+ assetUrl: string;
15
+ kind: AppScreenshotKind;
16
+ }
11
17
  export interface AppInfoBase {
12
18
  name: string;
13
19
  subtitle: string;
14
20
  developerName: string;
15
21
  category: string;
16
22
  iconUrl: string;
17
- screenshots?: string[];
23
+ screenshots?: Array<AppScreenshot>;
18
24
  description?: string;
19
25
  }
20
26
  export type AppInfo = AppInfoBase & Record<string, unknown>;
@@ -57,6 +57,18 @@ export declare const defaultOptions: {
57
57
  feedbackTopics: string[];
58
58
  reasoningLabel: string;
59
59
  };
60
+ devicePreview: {
61
+ ad: string;
62
+ get: string;
63
+ inAppPurchases: string;
64
+ video: string;
65
+ appPreview: string;
66
+ appScreenshot: string;
67
+ iphoneFrame: string;
68
+ searchTabMock: string;
69
+ searchTabPreview: string;
70
+ todayTabPreview: string;
71
+ };
60
72
  };
61
73
  locale: string;
62
74
  };
@@ -10,14 +10,4 @@ export interface ActionKitConfigOptions {
10
10
  * @default 'en-US'
11
11
  */
12
12
  locale?: string;
13
- /** Behaviour shared by every `MaChart`. */
14
- chart?: ActionKitChartConfig;
15
- }
16
- export interface ActionKitChartConfig {
17
- /**
18
- * Shows a skeleton of the chart's shape while it loads, instead of the loading text.
19
- * Every chart type has a skeleton; the `skeleton` prop of `MaChart` picks one or turns it off per chart.
20
- * @default false
21
- */
22
- skeleton?: boolean;
23
13
  }
@@ -35,6 +35,18 @@ export interface ActionKitChatbotLocaleOptions {
35
35
  feedbackTopics?: string[];
36
36
  reasoningLabel?: string;
37
37
  }
38
+ export interface ActionKitDevicePreviewLocaleOptions {
39
+ ad?: string;
40
+ get?: string;
41
+ inAppPurchases?: string;
42
+ video?: string;
43
+ appPreview?: string;
44
+ appScreenshot?: string;
45
+ iphoneFrame?: string;
46
+ searchTabMock?: string;
47
+ searchTabPreview?: string;
48
+ todayTabPreview?: string;
49
+ }
38
50
  export interface ActionKitLocaleOptions {
39
51
  total?: string;
40
52
  itemsPerPage?: string;
@@ -57,4 +69,5 @@ export interface ActionKitLocaleOptions {
57
69
  itemsSelected?: string;
58
70
  aria?: ActionKitLocaleAriaOptions;
59
71
  chatbot?: ActionKitChatbotLocaleOptions;
72
+ devicePreview?: ActionKitDevicePreviewLocaleOptions;
60
73
  }