@mobileaction/action-kit 1.60.2 → 1.61.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.
@@ -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,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,22 @@
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
+ }
@@ -0,0 +1,17 @@
1
+ import type { MaTableContainerProps } 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<MaTableContainerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaTableContainerProps> & 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 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ export interface MaTableContainerProps {
2
+ /**
3
+ * Removes the grid's wrapper border (`ag-theme-ma--borderless`).
4
+ * @default false
5
+ */
6
+ borderless?: boolean;
7
+ /**
8
+ * Removes the grid's wrapper border radius (`ag-theme-ma--no-rounded`).
9
+ * @default false
10
+ */
11
+ noRounded?: boolean;
12
+ }
package/dist/index.d.ts CHANGED
@@ -21,6 +21,11 @@ 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 MaCard2 } from './components/card-2/index.vue';
24
29
  export * from './components/cascader/types';
25
30
  export { default as MaCascader } from './components/cascader/index.vue';
26
31
  export * from './components/chart/types';
@@ -121,6 +126,8 @@ export { default as MaStepItems } from './components/step-items/index.vue';
121
126
  export * from './components/switch/types';
122
127
  export { default as MaSwitch } from './components/switch/index.vue';
123
128
  export * from './components/steps/types';
129
+ export * from './components/table/types';
130
+ export { default as MaTableContainer } from './components/table/components/TableContainer.vue';
124
131
  export * from './components/tabs-2/types';
125
132
  export { default as MaTabButton2 } from './components/tabs-2/components/tabButton.vue';
126
133
  export { default as MaTabPane2 } from './components/tabs-2/components/tabPane.vue';
@@ -0,0 +1,17 @@
1
+ import { createElementBlock as e, createElementVNode as t, openBlock as n } from "vue";
2
+ //#region src/components/icon/icons/player-play-bold.svg
3
+ var r = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 24 24",
6
+ fill: "currentColor"
7
+ };
8
+ function i(i, a) {
9
+ return n(), e("svg", r, [...a[0] ||= [t("path", {
10
+ stroke: "none",
11
+ d: "M0 0h24v24H0z",
12
+ fill: "none"
13
+ }, null, -1), t("path", { d: "M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z" }, null, -1)]]);
14
+ }
15
+ var a = { render: i };
16
+ //#endregion
17
+ export { a as default, i as render };
@@ -0,0 +1,4 @@
1
+ //#region src/components/icon/icons/player-play-bold.svg?raw
2
+ var e = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" /><path d=\"M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z\" /></svg>\n";
3
+ //#endregion
4
+ export { e as default };