@mobileaction/action-kit 1.48.1 → 1.49.0-beta.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/action-kit.mjs +1 -1
  3. package/dist/{annotations-BA3kY-Q9.js → annotations-CYiB_AdX.js} +1 -1
  4. package/dist/chevron-down-CzSqR4FP.js +21 -0
  5. package/dist/chevron-down-Lk3y9-EJ.js +8 -0
  6. package/dist/chevron-left-BkwBmyAi.js +8 -0
  7. package/dist/chevron-left-zdjquVMb.js +21 -0
  8. package/dist/chevron-right-CN0zA9ac.js +21 -0
  9. package/dist/chevron-right-NaqeyBjQ.js +8 -0
  10. package/dist/chevron-up-C0iZfZ_U.js +12 -0
  11. package/dist/chevron-up-CZ2Ee4Ma.js +18 -0
  12. package/dist/chevrons-down-Dl2nFBLr.js +7 -0
  13. package/dist/{export-data-vPopzY3f.js → export-data-xy0KuXbF.js} +1 -1
  14. package/dist/{exporting-DeB-2mgo.js → exporting-3PPd3UxP.js} +1 -1
  15. package/dist/{index-BxRqc15d.js → index-B2R72Tey.js} +3663 -3577
  16. package/dist/{map-yxuRd2Jk.js → map-mc6lLEqG.js} +1 -1
  17. package/dist/{offline-exporting-DTdg6gcu.js → offline-exporting-CBcpKZSn.js} +1 -1
  18. package/dist/src/components/date-picker-2/index.vue.d.ts +3 -0
  19. package/dist/src/components/date-picker-2/stories/default.stories.d.ts +3 -0
  20. package/dist/src/components/date-picker-2/stories/range.stories.d.ts +3 -0
  21. package/dist/src/components/date-picker-2/types.d.ts +15 -0
  22. package/dist/src/components/modal/index.vue.d.ts +9 -1
  23. package/dist/src/components/modal/stories/constants.d.ts +1 -0
  24. package/dist/src/components/modal/stories/default.stories.d.ts +1 -0
  25. package/dist/src/components/modal/types.d.ts +2 -0
  26. package/dist/{stock-Dn1R1vm0.js → stock-CjuLgrcO.js} +1 -1
  27. package/dist/style.css +1 -1
  28. package/dist/{venn-Ci_UILCm.js → venn-B0KFbB0K.js} +1 -1
  29. package/dist/{wordcloud-C8aqUBWJ.js → wordcloud-DK7j-oEJ.js} +1 -1
  30. package/package.json +2 -2
  31. package/dist/chevron-down-Deuidy6-.js +0 -8
  32. package/dist/chevron-down-DrCpz6-F.js +0 -22
  33. package/dist/chevron-left-Ctlppl-V.js +0 -8
  34. package/dist/chevron-left-D1VFsSAl.js +0 -22
  35. package/dist/chevron-right-2ieak7bv.js +0 -8
  36. package/dist/chevron-right-CCAJL6SJ.js +0 -22
  37. package/dist/chevron-up-B92vqATr.js +0 -22
  38. package/dist/chevron-up-D_7NtGL8.js +0 -8
  39. package/dist/chevrons-down-OM00VHS8.js +0 -7
@@ -1,4 +1,4 @@
1
- import { g as tr } from "./index-BxRqc15d.js";
1
+ import { g as tr } from "./index-B2R72Tey.js";
2
2
  function ir(ne, Ze) {
3
3
  for (var S = 0; S < Ze.length; S++) {
4
4
  const Y = Ze[S];
@@ -1,4 +1,4 @@
1
- import { g as st } from "./index-BxRqc15d.js";
1
+ import { g as st } from "./index-B2R72Tey.js";
2
2
  function at(te, pe) {
3
3
  for (var K = 0; K < pe.length; K++) {
4
4
  const _ = pe[K];
@@ -6,6 +6,7 @@ declare function __VLS_template(): {
6
6
  value: string;
7
7
  isMenuOpen: boolean;
8
8
  }): any;
9
+ hint?(_: {}): any;
9
10
  "ma-calendar-preset"?(_: {
10
11
  label: any;
11
12
  value: any;
@@ -121,6 +122,7 @@ declare const __VLS_component: import("vue").DefineComponent<MaDatePickerProps,
121
122
  disabled: boolean;
122
123
  value: import("@vuepic/vue-datepicker").ModelValue;
123
124
  overlayClassName: string;
125
+ hasError: boolean;
124
126
  position: typeof import("./types").MaDatePickerPositions[number];
125
127
  format: string | ((date: Date) => string) | ((dates: Date[]) => string);
126
128
  teleport: boolean | string | HTMLElement;
@@ -134,6 +136,7 @@ declare const __VLS_component: import("vue").DefineComponent<MaDatePickerProps,
134
136
  applyButtonText: string;
135
137
  multiCalendars: boolean;
136
138
  hideCalendarIcon: boolean;
139
+ timePicker: boolean;
137
140
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
138
141
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
139
142
  export default _default;
@@ -25,3 +25,6 @@ export declare const FocusStartDate: Story;
25
25
  export declare const CustomSlots: Story;
26
26
  export declare const Clearable: Story;
27
27
  export declare const AlwaysClearable: Story;
28
+ export declare const HasError: Story;
29
+ export declare const HintText: Story;
30
+ export declare const DateWithTime: Story;
@@ -26,3 +26,6 @@ export declare const FocusStartDate: Story;
26
26
  export declare const CustomSlots: Story;
27
27
  export declare const Clearable: Story;
28
28
  export declare const AlwaysClearable: Story;
29
+ export declare const HasError: Story;
30
+ export declare const HintText: Story;
31
+ export declare const RangeWithTime: Story;
@@ -187,6 +187,21 @@ export interface MaDatePickerProps {
187
187
  * @default undefined
188
188
  */
189
189
  overlayClassName?: string;
190
+ /**
191
+ * error state of the datepicker
192
+ * @default false
193
+ */
194
+ hasError?: boolean;
195
+ /**
196
+ * hint description of the datepicker selector
197
+ * @default undefined
198
+ */
199
+ hintText?: string;
200
+ /**
201
+ * configures the time picker to display under the calendar rather than opening it as an overlay.
202
+ * @default false
203
+ */
204
+ timePicker?: boolean;
190
205
  }
191
206
  export declare const MaDefaultVisibleDateFormat = "MMM D, YYYY";
192
207
  export declare const MaDefaultDateFormat = "YYYY-MM-DD";
@@ -1,13 +1,19 @@
1
1
  import { MaModalProps } from '@/components/modal/types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaModalProps, {
3
+ expandModal: () => void;
4
+ collapseModal: () => void;
5
+ isFullscreen: import("vue").WritableComputedRef<boolean, boolean>;
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
7
  cancel: (...args: any[]) => void;
4
8
  closed: (...args: any[]) => void;
5
9
  "update:visible": (...args: any[]) => void;
10
+ "update:fullscreen": (...args: any[]) => void;
6
11
  ok: (...args: any[]) => void;
7
12
  }, string, import("vue").PublicProps, Readonly<MaModalProps> & Readonly<{
8
13
  onCancel?: (...args: any[]) => any;
9
14
  onClosed?: (...args: any[]) => any;
10
15
  "onUpdate:visible"?: (...args: any[]) => any;
16
+ "onUpdate:fullscreen"?: (...args: any[]) => any;
11
17
  onOk?: (...args: any[]) => any;
12
18
  }>, {
13
19
  mask: boolean;
@@ -16,6 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Ma
16
22
  width: number;
17
23
  maskClosable: boolean;
18
24
  bodyTitle: string;
25
+ showExpandButton: boolean;
26
+ fullscreen: boolean;
19
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
20
28
  title?(_: {}): any;
21
29
  "body-title"?(_: {}): any;
@@ -8,3 +8,4 @@ export declare const Template2: StoryFn;
8
8
  export declare const CustomTemplate: StoryFn;
9
9
  export declare const WithTabTemplate: StoryFn;
10
10
  export declare const FunctionsTemplate: StoryFn;
11
+ export declare const ExpandableTemplate: StoryFn;
@@ -13,3 +13,4 @@ export declare const Warning: Story;
13
13
  export declare const Info: Story;
14
14
  export declare const NoSpace: Story;
15
15
  export declare const OnlyClosable: Story;
16
+ export declare const Expandable: Story;
@@ -14,6 +14,8 @@ export interface MaModalProps extends Omit<ModalProps, 'okButtonProps' | 'cancel
14
14
  content?: string | VNode;
15
15
  confirmLoading?: boolean;
16
16
  closable?: boolean;
17
+ showExpandButton?: boolean;
18
+ fullscreen?: boolean;
17
19
  okText?: string;
18
20
  okButtonProps?: MaButtonProps;
19
21
  cancelText?: string;
@@ -1,4 +1,4 @@
1
- import { g as ua } from "./index-BxRqc15d.js";
1
+ import { g as ua } from "./index-B2R72Tey.js";
2
2
  function ca(Dt, te) {
3
3
  for (var H = 0; H < te.length; H++) {
4
4
  const et = te[H];