@mobileaction/action-kit 1.55.11-beta.0 → 1.55.11-beta.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.
@@ -1,13 +1,12 @@
1
- import type { MaChartProps } from './types';
2
- import Highcharts from 'highcharts';
3
- declare function getChart(): Highcharts.Chart;
1
+ import type { ChartConstructor, MaChartProps } from './types';
2
+ declare function getChart(): ChartConstructor;
4
3
  declare const _default: import("vue").DefineComponent<MaChartProps, {
5
4
  getChart: typeof getChart;
6
5
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
- chartReady: (chart: Highcharts.Chart) => any;
6
+ chartReady: (chart: ChartConstructor) => any;
8
7
  chartDestroyed: () => any;
9
8
  }, string, import("vue").PublicProps, Readonly<MaChartProps> & Readonly<{
10
- onChartReady?: (chart: Highcharts.Chart) => any;
9
+ onChartReady?: (chart: ChartConstructor) => any;
11
10
  onChartDestroyed?: () => any;
12
11
  }>, {
13
12
  constructorType: import("./types").ChartConstructorType;
@@ -105,8 +105,9 @@ export interface MaChartProps {
105
105
  }
106
106
  export type ChartNamespace = typeof Highcharts;
107
107
  export type ChartConstructorType = keyof typeof Highcharts;
108
- export type ChartConstructor = Highcharts.Chart;
108
+ export type ChartConstructor = Highcharts.Chart | Highcharts.StockChart | Highcharts.MapChart;
109
109
  export type ChartOptions = Highcharts.Options;
110
+ export type ChartSeriesOptionsType = Highcharts.SeriesOptionsType;
110
111
  export type ChartUpdateArgs = [boolean] | [boolean, boolean] | [boolean, boolean, boolean];
111
112
  export type ChartModuleName = 'stock' | 'map' | 'wordcloud' | 'venn' | 'funnel' | 'annotations' | 'exporting' | 'offline-exporting' | 'export-data';
112
113
  export interface ModulesToLoad {
@@ -1,5 +1,5 @@
1
1
  import type { App } from 'vue';
2
- import type { ActionKitConfigOptions } from './config';
2
+ import type { ActionKitConfigOptions } from './types';
3
3
  export declare const defaultOptions: {
4
4
  locale: {
5
5
  total: string;
@@ -18,6 +18,9 @@ export declare const defaultOptions: {
18
18
  confirm: string;
19
19
  noData: string;
20
20
  loading: string;
21
+ search: string;
22
+ itemSelected: string;
23
+ itemsSelected: string;
21
24
  aria: {
22
25
  close: string;
23
26
  closeDrawer: string;
@@ -0,0 +1,7 @@
1
+ import type { ActionKitLocale } from '../locales';
2
+ export interface UseActionKitConfig {
3
+ config: ActionKitConfigOptions;
4
+ }
5
+ export interface ActionKitConfigOptions {
6
+ locale?: ActionKitLocale;
7
+ }
@@ -1,2 +1,2 @@
1
- import type { UseActionKitConfig } from './config';
1
+ import type { UseActionKitConfig } from './types';
2
2
  export declare function useActionKit(): UseActionKitConfig;
@@ -1,4 +1,4 @@
1
- import { g as Ge } from "./index-HRyHV1rP.js";
1
+ import { g as Ge } from "./index-BTam3Ain.js";
2
2
  function ze(G, le) {
3
3
  for (var R = 0; R < le.length; R++) {
4
4
  const k = le[R];
@@ -1,4 +1,4 @@
1
- import { g as Bt } from "./index-HRyHV1rP.js";
1
+ import { g as Bt } from "./index-BTam3Ain.js";
2
2
  function Gt(U, $) {
3
3
  for (var k = 0; k < $.length; k++) {
4
4
  const F = $[k];
@@ -1,4 +1,4 @@
1
- import { g as De } from "./index-HRyHV1rP.js";
1
+ import { g as De } from "./index-BTam3Ain.js";
2
2
  function He(q, J) {
3
3
  for (var W = 0; W < J.length; W++) {
4
4
  const m = J[W];