@mobileaction/action-kit 1.61.1 → 1.61.3-beta.20261104074215
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/dist/action-kit.mjs +327 -163
- package/dist/components/chart/types.d.ts +1 -1
- package/dist/components/table/components/GridLoadingCell.vue.d.ts +10 -0
- package/dist/components/table/components/GridLoadingOverlay.vue.d.ts +6 -0
- package/dist/components/table/components/GridSkeletonShape.vue.d.ts +10 -0
- package/dist/components/table/grid-loading.test.d.ts +1 -0
- package/dist/components/table/grid-skeleton.d.ts +12 -0
- package/dist/components/table/grid-skeleton.test.d.ts +1 -0
- package/dist/components/table/types.d.ts +30 -0
- package/dist/index.d.ts +2 -0
- package/dist/sankey-Btki0CZi.js +767 -0
- package/dist/style.css +1 -1
- package/dist/table.css +158 -1
- package/package.json +9 -1
|
@@ -109,7 +109,7 @@ export type ChartConstructorType = 'chart' | 'stockChart' | 'mapChart';
|
|
|
109
109
|
export type ChartOptions = Highcharts.Options;
|
|
110
110
|
export type ChartSeriesOptionsType = Highcharts.SeriesOptionsType;
|
|
111
111
|
export type ChartUpdateArgs = [boolean] | [boolean, boolean] | [boolean, boolean, boolean];
|
|
112
|
-
export type ChartModuleName = 'stock' | 'map' | 'wordcloud' | 'venn' | 'funnel' | 'annotations' | 'exporting' | 'offline-exporting' | 'export-data';
|
|
112
|
+
export type ChartModuleName = 'stock' | 'map' | 'wordcloud' | 'venn' | 'funnel' | 'sankey' | 'annotations' | 'exporting' | 'offline-exporting' | 'export-data';
|
|
113
113
|
export interface ModulesToLoad {
|
|
114
114
|
parallel?: ChartModuleName[];
|
|
115
115
|
sequential?: ChartModuleName[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICellRendererParams } from 'ag-grid-enterprise';
|
|
2
|
+
import type { MaGridSkeleton } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Set by AG Grid when used as `loadingCellRenderer`; the column decides the skeleton. */
|
|
5
|
+
params?: ICellRendererParams;
|
|
6
|
+
/** Skeleton to show when the component is rendered directly, e.g. by a cell renderer whose value is still loading. */
|
|
7
|
+
skeleton?: MaGridSkeleton;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ILoadingOverlayParams } from 'ag-grid-enterprise';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
params: ILoadingOverlayParams;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MaGridSkeletonKind } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
kind?: MaGridSkeletonKind;
|
|
4
|
+
count?: number;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
count: number;
|
|
8
|
+
kind: MaGridSkeletonKind;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ColDef } from 'ag-grid-enterprise';
|
|
2
|
+
import type { MaGridSkeleton, MaGridSkeletonAlign, MaGridSkeletonKind } from './types';
|
|
3
|
+
export interface ResolvedGridSkeleton {
|
|
4
|
+
kind: MaGridSkeletonKind;
|
|
5
|
+
align: MaGridSkeletonAlign;
|
|
6
|
+
count: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const WAVE_SLOTS: number;
|
|
9
|
+
export declare function isRightAlignedColumn(colDef?: ColDef | null): boolean;
|
|
10
|
+
export declare function resolveGridSkeleton(skeleton?: MaGridSkeleton, colDef?: ColDef | null): ResolvedGridSkeleton;
|
|
11
|
+
export declare function getColumnSkeleton(colDef?: ColDef | null): ResolvedGridSkeleton;
|
|
12
|
+
export declare function getSkeletonRowStyle(rowIndex?: number): Record<string, string | number>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -10,3 +10,33 @@ export interface MaTableContainerProps {
|
|
|
10
10
|
*/
|
|
11
11
|
noRounded?: boolean;
|
|
12
12
|
}
|
|
13
|
+
export type MaGridSkeletonKind = 'text' | 'app' | 'number' | 'pill' | 'move' | 'spark' | 'rank' | 'button' | 'button-small' | 'button-x-small' | 'toggle' | 'checkbox';
|
|
14
|
+
export type MaGridSkeletonAlign = 'left' | 'right';
|
|
15
|
+
export interface MaGridSkeletonOptions {
|
|
16
|
+
/**
|
|
17
|
+
* Shape of the skeleton.
|
|
18
|
+
* @default 'text', or 'number' in right aligned columns
|
|
19
|
+
*/
|
|
20
|
+
kind?: MaGridSkeletonKind;
|
|
21
|
+
/**
|
|
22
|
+
* Side of the cell the skeleton sits on.
|
|
23
|
+
* @default the column's alignment
|
|
24
|
+
*/
|
|
25
|
+
align?: MaGridSkeletonAlign;
|
|
26
|
+
/**
|
|
27
|
+
* How many times the shape repeats, e.g. for a group of icon buttons.
|
|
28
|
+
* @default 1
|
|
29
|
+
*/
|
|
30
|
+
count?: number;
|
|
31
|
+
}
|
|
32
|
+
export type MaGridSkeleton = MaGridSkeletonKind | MaGridSkeletonOptions;
|
|
33
|
+
declare module 'vue' {
|
|
34
|
+
interface ComponentCustomOptions {
|
|
35
|
+
/**
|
|
36
|
+
* Skeleton the grid shows in place of this cell renderer while rows load.
|
|
37
|
+
* @example defineOptions({ gridSkeleton: 'app' })
|
|
38
|
+
* @example defineOptions({ gridSkeleton: { kind: 'pill', align: 'right' } })
|
|
39
|
+
*/
|
|
40
|
+
gridSkeleton?: MaGridSkeleton;
|
|
41
|
+
}
|
|
42
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -128,6 +128,8 @@ export { default as MaSwitch } from './components/switch/index.vue';
|
|
|
128
128
|
export * from './components/steps/types';
|
|
129
129
|
export * from './components/table/types';
|
|
130
130
|
export { default as MaTableContainer } from './components/table/components/TableContainer.vue';
|
|
131
|
+
export { default as MaGridLoadingOverlay } from './components/table/components/GridLoadingOverlay.vue';
|
|
132
|
+
export { default as MaGridLoadingCell } from './components/table/components/GridLoadingCell.vue';
|
|
131
133
|
export * from './components/tabs-2/types';
|
|
132
134
|
export { default as MaTabButton2 } from './components/tabs-2/components/tabButton.vue';
|
|
133
135
|
export { default as MaTabPane2 } from './components/tabs-2/components/tabPane.vue';
|