@mobileaction/action-kit 1.40.2 → 1.40.3-beta.1.41

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,20 @@
1
+ import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
+ const r = {
3
+ viewBox: "0 0 20 22",
4
+ fill: "none",
5
+ xmlns: "http://www.w3.org/2000/svg"
6
+ };
7
+ function n(l, C) {
8
+ return e(), t("svg", r, C[0] || (C[0] = [
9
+ o("path", {
10
+ d: "M17.3689 15.8827C17.0916 16.5499 16.7634 17.1641 16.3832 17.7287C15.8649 18.4985 15.4405 19.0313 15.1135 19.3272C14.6065 19.8129 14.0633 20.0616 13.4816 20.0757C13.0641 20.0757 12.5605 19.952 11.9743 19.7009C11.3862 19.451 10.8457 19.3272 10.3515 19.3272C9.83319 19.3272 9.27733 19.451 8.68276 19.7009C8.08728 19.952 7.60757 20.0828 7.24081 20.0958C6.68302 20.1205 6.12704 19.8647 5.57207 19.3272C5.21787 19.0054 4.77483 18.4537 4.24408 17.6721C3.67464 16.8375 3.20647 15.8698 2.8397 14.7664C2.44691 13.5746 2.25 12.4206 2.25 11.3033C2.25 10.0235 2.51549 8.91963 3.04725 7.99463C3.46517 7.25162 4.02115 6.66552 4.717 6.23526C5.41285 5.80499 6.16472 5.58574 6.97442 5.57171C7.41746 5.57171 7.99845 5.71446 8.72044 5.99502C9.4404 6.27652 9.90268 6.41927 10.1054 6.41927C10.2569 6.41927 10.7704 6.25235 11.641 5.91957C12.4643 5.61096 13.1591 5.48318 13.7283 5.53352C15.2708 5.66318 16.4296 6.29656 17.2002 7.43764C15.8208 8.30831 15.1384 9.52778 15.152 11.0922C15.1644 12.3107 15.5888 13.3247 16.4228 14.1298C16.8008 14.5035 17.2229 14.7923 17.6925 14.9974C17.5907 15.3051 17.4832 15.5998 17.3689 15.8827V15.8827ZM13.8313 1.38224C13.8313 2.33732 13.4963 3.22907 12.8287 4.05447C12.0229 5.03571 11.0484 5.60271 9.99151 5.51324C9.97804 5.39866 9.97024 5.27807 9.97024 5.15135C9.97024 4.23447 10.3534 3.25324 11.0339 2.45094C11.3736 2.04472 11.8057 1.70696 12.3296 1.43752C12.8524 1.1721 13.347 1.02532 13.8121 1.00018C13.8257 1.12786 13.8313 1.25555 13.8313 1.38222V1.38224Z",
11
+ stroke: "currentColor",
12
+ "stroke-width": "1.5"
13
+ }, null, -1)
14
+ ]));
15
+ }
16
+ const c = { render: n };
17
+ export {
18
+ c as default,
19
+ n as render
20
+ };
@@ -1,19 +1,19 @@
1
- import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
- const n = {
1
+ import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
+ const l = {
3
3
  viewBox: "0 0 24 24",
4
4
  fill: "none",
5
5
  xmlns: "http://www.w3.org/2000/svg"
6
6
  };
7
- function r(l, C) {
8
- return e(), t("svg", n, C[0] || (C[0] = [
9
- o("path", {
7
+ function n(r, C) {
8
+ return e(), o("svg", l, C[0] || (C[0] = [
9
+ t("path", {
10
10
  d: "M20.8426 17.1449C20.5099 17.9135 20.1161 18.6211 19.6598 19.2715C19.0378 20.1583 18.5286 20.7721 18.1361 21.113C17.5277 21.6724 16.8759 21.959 16.1779 21.9753C15.6768 21.9753 15.0725 21.8327 14.3691 21.5434C13.6633 21.2555 13.0148 21.113 12.4217 21.113C11.7998 21.113 11.1327 21.2555 10.4193 21.5434C9.70469 21.8327 9.12904 21.9834 8.68892 21.9984C8.01957 22.0269 7.35239 21.7322 6.68644 21.113C6.26139 20.7422 5.72974 20.1067 5.09285 19.2063C4.40951 18.2449 3.84772 17.13 3.4076 15.8589C2.93624 14.486 2.69995 13.1565 2.69995 11.8694C2.69995 10.3951 3.01853 9.12345 3.65665 8.05784C4.15815 7.20191 4.82533 6.52672 5.66035 6.03105C6.49537 5.53539 7.39762 5.2828 8.36925 5.26664C8.9009 5.26664 9.59809 5.43109 10.4645 5.75429C11.3284 6.07858 11.8832 6.24303 12.1264 6.24303C12.3082 6.24303 12.9245 6.05074 13.9692 5.66738C14.9571 5.31186 15.7909 5.16466 16.474 5.22264C18.3249 5.37202 19.7155 6.10167 20.6402 7.41619C18.9849 8.4192 18.166 9.82403 18.1823 11.6262C18.1972 13.03 18.7065 14.1981 19.7073 15.1256C20.1609 15.5561 20.6674 15.8888 21.231 16.1251C21.1087 16.4795 20.9797 16.819 20.8426 17.1449V17.1449ZM16.5975 0.440369C16.5975 1.54062 16.1956 2.56792 15.3944 3.51878C14.4275 4.64917 13.258 5.30236 11.9898 5.19929C11.9736 5.06729 11.9642 4.92837 11.9642 4.78239C11.9642 3.72615 12.424 2.59576 13.2406 1.67152C13.6483 1.20356 14.1667 0.814453 14.7955 0.504058C15.4229 0.198295 16.0163 0.0292007 16.5744 0.000244141C16.5907 0.147331 16.5975 0.294426 16.5975 0.440355V0.440369Z",
11
11
  fill: "currentColor"
12
12
  }, null, -1)
13
13
  ]));
14
14
  }
15
- const p = { render: r };
15
+ const d = { render: n };
16
16
  export {
17
- p as default,
18
- r as render
17
+ d as default,
18
+ n as render
19
19
  };
@@ -0,0 +1,27 @@
1
+ import { openBlock as n, createElementBlock as t, createElementVNode as e } from "vue";
2
+ const l = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ viewBox: "0 0 24 24",
5
+ fill: "none",
6
+ stroke: "currentColor",
7
+ "stroke-width": "2",
8
+ "stroke-linecap": "round",
9
+ "stroke-linejoin": "round",
10
+ class: "icon icon-tabler icons-tabler-outline icon-tabler-x"
11
+ };
12
+ function r(s, o) {
13
+ return n(), t("svg", l, o[0] || (o[0] = [
14
+ e("path", {
15
+ stroke: "none",
16
+ d: "M0 0h24v24H0z",
17
+ fill: "none"
18
+ }, null, -1),
19
+ e("path", { d: "M18 6l-12 12" }, null, -1),
20
+ e("path", { d: "M6 6l12 12" }, null, -1)
21
+ ]));
22
+ }
23
+ const c = { render: r };
24
+ export {
25
+ c as default,
26
+ r as render
27
+ };
@@ -1,28 +1,28 @@
1
- import { openBlock as t, createElementBlock as n, createElementVNode as e } from "vue";
2
- const r = {
1
+ import { openBlock as r, createElementBlock as t, createElementVNode as o } from "vue";
2
+ const n = {
3
3
  viewBox: "0 0 24 24",
4
4
  fill: "none",
5
5
  xmlns: "http://www.w3.org/2000/svg"
6
6
  };
7
- function l(s, o) {
8
- return t(), n("svg", r, o[0] || (o[0] = [
9
- e("path", {
7
+ function l(s, e) {
8
+ return r(), t("svg", n, e[0] || (e[0] = [
9
+ o("path", {
10
10
  d: "M14.8901 5.08002C14.0201 4.82002 13.0601 4.65002 12.0001 4.65002C7.21008 4.65002 3.33008 8.53002 3.33008 13.32C3.33008 18.12 7.21008 22 12.0001 22C16.7901 22 20.6701 18.12 20.6701 13.33C20.6701 11.55 20.1301 9.89002 19.2101 8.51002",
11
- stroke: "#292D32",
11
+ stroke: "currentColor",
12
12
  "stroke-width": "1.5",
13
13
  "stroke-linecap": "round",
14
14
  "stroke-linejoin": "round"
15
15
  }, null, -1),
16
- e("path", {
16
+ o("path", {
17
17
  d: "M16.13 5.32L13.24 2",
18
- stroke: "#292D32",
18
+ stroke: "currentColor",
19
19
  "stroke-width": "1.5",
20
20
  "stroke-linecap": "round",
21
21
  "stroke-linejoin": "round"
22
22
  }, null, -1),
23
- e("path", {
23
+ o("path", {
24
24
  d: "M16.13 5.31995L12.76 7.77995",
25
- stroke: "#292D32",
25
+ stroke: "currentColor",
26
26
  "stroke-width": "1.5",
27
27
  "stroke-linecap": "round",
28
28
  "stroke-linejoin": "round"
@@ -0,0 +1,26 @@
1
+ import { MaImage2Props } from './index.vue';
2
+ interface MaImageGroup2Props {
3
+ images?: MaImage2Props[];
4
+ zIndex?: number;
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {
12
+ "image-ref": HTMLDivElement;
13
+ };
14
+ rootEl: HTMLDivElement;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import("vue").DefineComponent<MaImageGroup2Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaImageGroup2Props> & Readonly<{}>, {
18
+ images: MaImage2Props[];
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,33 @@
1
+ export interface MaImage2Props {
2
+ src: string;
3
+ width?: number | string;
4
+ height?: number | string;
5
+ fallback?: string;
6
+ alt?: string;
7
+ zIndex?: number;
8
+ fit?: 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
9
+ }
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ "preview-overlay"?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLDivElement;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import("vue").DefineComponent<MaImage2Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ error: (...args: any[]) => void;
21
+ }, string, import("vue").PublicProps, Readonly<MaImage2Props> & Readonly<{
22
+ onError?: (...args: any[]) => any;
23
+ }>, {
24
+ fallback: string;
25
+ fit: "cover" | "contain" | "fill" | "none" | "scale-down";
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ export default _default;
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,24 @@
1
+ export interface MaImagePreviewProps {
2
+ visible: boolean;
3
+ isGroup?: boolean;
4
+ src?: string;
5
+ alt?: string;
6
+ multiSrc?: string[];
7
+ multiAlt?: string[];
8
+ currentIndex?: number;
9
+ zIndex?: number;
10
+ }
11
+ declare const _default: import("vue").DefineComponent<MaImagePreviewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ closePreview: () => any;
13
+ navigateLeft: () => any;
14
+ navigateRight: () => any;
15
+ }, string, import("vue").PublicProps, Readonly<MaImagePreviewProps> & Readonly<{
16
+ onClosePreview?: () => any;
17
+ onNavigateLeft?: () => any;
18
+ onNavigateRight?: () => any;
19
+ }>, {
20
+ isGroup: boolean;
21
+ zIndex: number;
22
+ currentIndex: number;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryFn } from '@storybook/vue3';
2
+ import { MaImage2 } from '@/index';
3
+ export declare const baseConfig: Meta<typeof MaImage2>;
4
+ export declare const Template: StoryFn;
5
+ export declare const GroupSlotTemplate: StoryFn;
6
+ export declare const GroupImagesTemplate: StoryFn;
7
+ export declare const CustomPreviewOverlaySlotTemplate: StoryFn;
8
+ export declare const FallbackPreviewTemplate: StoryFn;
@@ -0,0 +1,9 @@
1
+ import type { Meta } from '@storybook/vue3';
2
+ import { MaImage2 } from '@/index';
3
+ declare const meta: Meta<typeof MaImage2>;
4
+ export default meta;
5
+ export declare const Default: import("@storybook/vue3").StoryFn;
6
+ export declare const GroupSlot: import("@storybook/vue3").StoryFn;
7
+ export declare const GroupImages: import("@storybook/vue3").StoryFn;
8
+ export declare const Fallback: import("@storybook/vue3").StoryFn;
9
+ export declare const CustomPreviewOverlaySlot: import("@storybook/vue3").StoryFn;
@@ -1,6 +1,6 @@
1
1
  import { ButtonTarget } from '@/components/button/types';
2
2
  import { MaBadgePropVariant } from '@/components/badge/types';
3
- import { MaSideMenuItemColor } from "./types";
3
+ import { MaSideMenuItemColor } from './types';
4
4
  export interface MaSideMenuItem {
5
5
  href?: string;
6
6
  target?: ButtonTarget;
@@ -0,0 +1,24 @@
1
+ import { ButtonTarget } from '@/components/button/types';
2
+ import { MaMenuButtonPropSize } from './types';
3
+ export interface MaSideMenuButtonProps {
4
+ icon?: string;
5
+ activeIcon?: string;
6
+ text?: string;
7
+ href?: string;
8
+ target?: ButtonTarget;
9
+ active?: boolean;
10
+ size?: MaMenuButtonPropSize;
11
+ }
12
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaSideMenuButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaSideMenuButtonProps> & Readonly<{}>, {
13
+ size: MaMenuButtonPropSize;
14
+ icon: string;
15
+ active: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
17
+ default?(_: {}): any;
18
+ }>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,4 @@
1
+ import type { Meta, StoryFn } from '@storybook/vue3';
2
+ import MaSideMenuButton2 from '../index.vue';
3
+ export declare const baseConfig: Meta<typeof MaSideMenuButton2>;
4
+ export declare const Template: StoryFn;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
2
+ import MaSideMenuButton2 from '../index.vue';
3
+ declare const meta: Meta<typeof MaSideMenuButton2>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MaSideMenuButton2>;
6
+ export declare const Default: Story;
7
+ export declare const Active: Story;
8
+ export declare const BrandIcon: Story;
9
+ export declare const SideMenu: StoryFn;
@@ -0,0 +1,2 @@
1
+ export declare const MaMenuButtonPropSizes: readonly ["small", "medium"];
2
+ export type MaMenuButtonPropSize = (typeof MaMenuButtonPropSizes)[number];
@@ -0,0 +1,17 @@
1
+ import { ButtonTarget } from '@/components/button/types';
2
+ export interface MaSideMenuItem2 {
3
+ href?: string;
4
+ target?: ButtonTarget;
5
+ text?: string;
6
+ active?: boolean;
7
+ proBadge?: boolean;
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaSideMenuItem2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaSideMenuItem2> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
10
+ default?(_: {}): any;
11
+ }>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,4 @@
1
+ import type { Meta, StoryFn } from '@storybook/vue3';
2
+ import MaSideMenuItem2 from '../index.vue';
3
+ export declare const baseConfig: Meta<typeof MaSideMenuItem2>;
4
+ export declare const Template: StoryFn;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
2
+ import MaSideMenuItem2 from '../index.vue';
3
+ declare const meta: Meta<typeof MaSideMenuItem2>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MaSideMenuItem2>;
6
+ export declare const Default: Story;
7
+ export declare const Active: Story;
8
+ export declare const WithProBadge: Story;
9
+ export declare const ActiveWithProBadge: Story;
10
+ export declare const SideMenu: StoryFn;
@@ -60,6 +60,9 @@ export { default as MaSideMenuIconButton } from './components/side-menu/icon-but
60
60
  export { default as MaSideMenuRoundIconButton } from './components/side-menu/round-icon-button/index.vue';
61
61
  export { default as MaSideMenuAppButton } from './components/side-menu/app-button/index.vue';
62
62
  export { default as MaSideMenuAddNewAppButton } from './components/side-menu/add-new-app-button/index.vue';
63
+ export { default as MaSideMenuItem2 } from './components/side-menu-2/menu-item/index.vue';
64
+ export { default as MaSideMenuButton2 } from './components/side-menu-2/menu-button/index.vue';
65
+ export * from './components/side-menu-2/menu-button/types';
63
66
  export { default as MaProgress } from './components/progress/index.vue';
64
67
  export * from './components/progress/types';
65
68
  export { default as MaTabs } from './components/tabs/index.vue';
@@ -90,6 +93,9 @@ export { default as MaStep } from './components/steps/components/index.vue';
90
93
  export { default as MaPagination } from './components/pagination/index.vue';
91
94
  export { default as MaImage } from './components/image/index.vue';
92
95
  export { default as MaImageGroup } from './components/image/group.vue';
96
+ export { default as MaImage2 } from './components/image-2/index.vue';
97
+ export { default as MaImageGroup2 } from './components/image-2/group.vue';
98
+ export { default as MaImagePreview } from './components/image-2/preview.vue';
93
99
  export { default as MaResult } from './components/result/index.vue';
94
100
  export { default as MaPopconfirm } from './components/popconfirm/index.vue';
95
101
  export { default as MaStepItems } from './components/step-items/index.vue';