@mobileaction/action-kit 1.60.1 → 1.60.2-beta.20261007162936

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,7 +1,7 @@
1
1
  import type { MaTooltip2Props } from '@/components/tooltip-2/index.vue';
2
2
  import type { AppIconPlatform, AppIconSize } from '@/components/app-icon/types';
3
3
  export interface MaAppIconProps {
4
- appIcon: string;
4
+ appIcon: string | null | undefined;
5
5
  appName?: string;
6
6
  appDescription?: string;
7
7
  closable?: boolean;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ type __VLS_Slots = {
2
+ /**
3
+ * Content of the section.
4
+ */
5
+ default?: () => void;
6
+ };
7
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
9
+ export default _default;
10
+ type __VLS_WithSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ type __VLS_Slots = {
2
+ /**
3
+ * Footer content, laid out in a row. Use `ml-auto` on an item to push it to the right.
4
+ */
5
+ default?: () => void;
6
+ };
7
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
9
+ export default _default;
10
+ type __VLS_WithSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,30 @@
1
+ import type { MaCard2HeaderProps } from '../types';
2
+ type __VLS_Slots = {
3
+ /**
4
+ * Custom content rendered below the title and description.
5
+ */
6
+ default?: () => void;
7
+ /**
8
+ * Custom title, overrides the title prop.
9
+ */
10
+ title?: () => void;
11
+ /**
12
+ * Custom description, overrides the description prop.
13
+ */
14
+ description?: () => void;
15
+ /**
16
+ * Actions aligned to the right of the header.
17
+ */
18
+ actions?: () => void;
19
+ };
20
+ declare const __VLS_component: import("vue").DefineComponent<MaCard2HeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaCard2HeaderProps> & Readonly<{}>, {
21
+ titleTag: import("../types").MaCard2HeaderTitleTag;
22
+ descriptionTag: import("../types").MaCard2HeaderDescriptionTag;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,17 @@
1
+ import type { MaCard2TableContainerProps } from '../types';
2
+ type __VLS_Slots = {
3
+ /**
4
+ * The ag-grid table. `updateStickyOffsets` re-measures the sticky header, e.g. after a layout change the container does not see.
5
+ */
6
+ default?: (props: {
7
+ updateStickyOffsets: () => void;
8
+ }) => void;
9
+ };
10
+ declare const __VLS_component: import("vue").DefineComponent<MaCard2TableContainerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaCard2TableContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,14 @@
1
+ type __VLS_Slots = {
2
+ /**
3
+ * Card sections. MaCard2Header, MaCard2Content, MaCard2Footer or any other element can be used in any order.
4
+ */
5
+ default: () => void;
6
+ };
7
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
9
+ export default _default;
10
+ type __VLS_WithSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,34 @@
1
+ export type MaCard2HeaderTitleTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div' | 'span' | 'p';
2
+ export type MaCard2HeaderDescriptionTag = 'p' | 'div' | 'span';
3
+ export interface MaCard2HeaderProps {
4
+ /**
5
+ * Header title. The `title` slot overrides it.
6
+ */
7
+ title?: string;
8
+ /**
9
+ * Text shown below the title. The `description` slot overrides it.
10
+ */
11
+ description?: string;
12
+ /**
13
+ * Element used for the title. Pick the heading level that fits the page outline.
14
+ * @default 'h3'
15
+ */
16
+ titleTag?: MaCard2HeaderTitleTag;
17
+ /**
18
+ * Element used for the description.
19
+ * @default 'p'
20
+ */
21
+ descriptionTag?: MaCard2HeaderDescriptionTag;
22
+ }
23
+ export interface MaCard2TableContainerProps {
24
+ /**
25
+ * Removes the grid's wrapper border (`ag-theme-ma--borderless`).
26
+ * @default false
27
+ */
28
+ borderless?: boolean;
29
+ /**
30
+ * Removes the grid's wrapper border radius (`ag-theme-ma--no-rounded`).
31
+ * @default false
32
+ */
33
+ noRounded?: boolean;
34
+ }
@@ -71,10 +71,10 @@ declare const __VLS_component: import("vue").DefineComponent<MaSelectProps, {},
71
71
  size: SelectSize;
72
72
  showArrow: boolean;
73
73
  value: string | number | string[] | number[];
74
+ borderless: boolean;
74
75
  open: boolean;
75
76
  listHeight: number;
76
77
  dropdownMatchSelectWidth: boolean | number;
77
- borderless: boolean;
78
78
  autoClearSearchValue: boolean;
79
79
  menuItemSelectedIcon: string;
80
80
  selectOptionType: SelectOptionType;
package/dist/index.d.ts CHANGED
@@ -21,6 +21,12 @@ export { default as MaLinkButton } from './components/button/link-button/index.v
21
21
  export { default as MaSocialButton } from './components/button/social-button/index.vue';
22
22
  export * from './components/card/types';
23
23
  export { default as MaCard } from './components/card/index.vue';
24
+ export * from './components/card-2/types';
25
+ export { default as MaCard2Content } from './components/card-2/components/Content.vue';
26
+ export { default as MaCard2Footer } from './components/card-2/components/Footer.vue';
27
+ export { default as MaCard2Header } from './components/card-2/components/Header.vue';
28
+ export { default as MaCard2TableContainer } from './components/card-2/components/TableContainer.vue';
29
+ export { default as MaCard2 } from './components/card-2/index.vue';
24
30
  export * from './components/cascader/types';
25
31
  export { default as MaCascader } from './components/cascader/index.vue';
26
32
  export * from './components/chart/types';