@mobileaction/action-kit 1.58.4 → 1.58.6-beta.20260312133328

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 (36) hide show
  1. package/dist/action-kit.mjs +199 -195
  2. package/dist/{annotations-EqmUpRAW.js → annotations-C23bEN7I.js} +1 -1
  3. package/dist/components/breadcrumb/breadcrumb.test.d.ts +1 -0
  4. package/dist/components/breadcrumb/components/index.vue.d.ts +17 -0
  5. package/dist/components/breadcrumb/components/separator.vue.d.ts +6 -0
  6. package/dist/components/breadcrumb/index.vue.d.ts +24 -0
  7. package/dist/components/breadcrumb/stories/constants.d.ts +28 -0
  8. package/dist/components/breadcrumb/stories/default.stories.d.ts +11 -0
  9. package/dist/components/breadcrumb/stories/item.stories.d.ts +7 -0
  10. package/dist/components/breadcrumb/types.d.ts +11 -0
  11. package/dist/components/chatbot/composables/useMessages.d.ts +2 -0
  12. package/dist/components/chatbot/types.d.ts +3 -1
  13. package/dist/components/keyword-input/index.vue.d.ts +37 -0
  14. package/dist/components/keyword-input/keyword-input.test.d.ts +1 -0
  15. package/dist/components/keyword-input/stories/constants.d.ts +4 -0
  16. package/dist/components/keyword-input/stories/default.stories.d.ts +11 -0
  17. package/dist/components/keyword-input/types.d.ts +45 -0
  18. package/dist/components/modal-2/MaConfirmModal.vue.d.ts +1 -1
  19. package/dist/components/modal-2/MaModal.vue.d.ts +1 -1
  20. package/dist/components/tag-input/index.vue.d.ts +3 -3
  21. package/dist/config/plugin.d.ts +1 -0
  22. package/dist/{export-data-TJVsdYvg.js → export-data-BNIx0z0I.js} +1 -1
  23. package/dist/{exporting-d3n5veJw.js → exporting-DmX6JESF.js} +1 -1
  24. package/dist/{funnel-B-ZhwCbY.js → funnel-BznZXBjC.js} +1 -1
  25. package/dist/hashtag-bulk-BsANAMit.js +8 -0
  26. package/dist/hashtag-bulk-D-RHzb0b.js +26 -0
  27. package/dist/{index-Bc6nn02Q.js → index-Bf9vIzuv.js} +10113 -9737
  28. package/dist/index.d.ts +5 -0
  29. package/dist/locales/types.d.ts +1 -0
  30. package/dist/{map-SRGX8G2O.js → map-CXQKzMLC.js} +1 -1
  31. package/dist/{offline-exporting-0M5QNyMI.js → offline-exporting-B7bp0_Kp.js} +1 -1
  32. package/dist/{stock-DxxyNWFx.js → stock-Cm_I2Qqa.js} +1 -1
  33. package/dist/style.css +1 -1
  34. package/dist/{venn-DvYfwsEW.js → venn-C48wB9NW.js} +1 -1
  35. package/dist/{wordcloud-B0XooU-H.js → wordcloud-Nt3tHATB.js} +1 -1
  36. package/package.json +1 -1
@@ -0,0 +1,45 @@
1
+ import type { TextareaHTMLAttributes } from 'vue';
2
+ export interface MaKeywordInputProps {
3
+ /**
4
+ * Title text shown above the input. Can also be overridden by the #title slot.
5
+ */
6
+ title?: string;
7
+ /**
8
+ * Icon name to show in the header next to the title.
9
+ */
10
+ icon?: string;
11
+ /**
12
+ * Subtitle text shown above the input. Can also be overridden by the #subtitle slot.
13
+ */
14
+ subtitle?: string;
15
+ /**
16
+ * Placeholder text for the input field.
17
+ */
18
+ placeholder?: string;
19
+ /**
20
+ * If true, adds a required asterisk next to the title.
21
+ */
22
+ required?: boolean;
23
+ /**
24
+ * If true, disables the input and keyword interactions.
25
+ */
26
+ disabled?: boolean;
27
+ /**
28
+ * Validation error message to trigger the error state. If a string is provided,
29
+ * the component will change to error state.
30
+ */
31
+ errorMessage?: string;
32
+ /**
33
+ * Characters to separate keywords. By default this is set to ['Enter', ',']
34
+ */
35
+ separator?: string[];
36
+ /**
37
+ * Maximum characters allowed for a single keyword.
38
+ */
39
+ keywordCharLimit?: number;
40
+ /**
41
+ * Native HTML attributes to pass through to the underlying textarea element.
42
+ * Useful for setting `name`, `autocomplete`, `spellcheck`, etc.
43
+ */
44
+ textareaProps?: Omit<TextareaHTMLAttributes, 'id' | 'disabled' | 'placeholder' | 'maxlength' | 'rows'>;
45
+ }
@@ -16,9 +16,9 @@ declare const __VLS_component: import("vue").DefineComponent<ConfirmModal2Props,
16
16
  icon: string;
17
17
  position: import("./types").ModalPosition;
18
18
  zIndex: number;
19
+ to: string | HTMLElement;
19
20
  open: boolean;
20
21
  noSpace: boolean;
21
- to: string | HTMLElement;
22
22
  maskClosable: boolean;
23
23
  closeOnEscape: boolean;
24
24
  showMaskOverlay: boolean;
@@ -19,9 +19,9 @@ declare const __VLS_component: import("vue").DefineComponent<Modal2Props, {}, {}
19
19
  }>, {
20
20
  position: import("./types").ModalPosition;
21
21
  zIndex: number;
22
+ to: string | HTMLElement;
22
23
  open: boolean;
23
24
  noSpace: boolean;
24
- to: string | HTMLElement;
25
25
  maskClosable: boolean;
26
26
  destroyOnClose: boolean;
27
27
  maximizable: boolean;
@@ -18,20 +18,20 @@ type __VLS_Slots = {} & {
18
18
  declare const __VLS_component: import("vue").DefineComponent<MaTagInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  error: (...args: any[]) => void;
20
20
  change: (...args: any[]) => void;
21
- "update:tags": (...args: any[]) => void;
22
21
  added: (...args: any[]) => void;
23
22
  removed: (...args: any[]) => void;
23
+ "update:tags": (...args: any[]) => void;
24
24
  }, string, import("vue").PublicProps, Readonly<MaTagInputProps> & Readonly<{
25
25
  onError?: (...args: any[]) => any;
26
26
  onChange?: (...args: any[]) => any;
27
- "onUpdate:tags"?: (...args: any[]) => any;
28
27
  onAdded?: (...args: any[]) => any;
29
28
  onRemoved?: (...args: any[]) => any;
29
+ "onUpdate:tags"?: (...args: any[]) => any;
30
30
  }>, {
31
31
  size: MaTagInputSize;
32
32
  disabled: boolean;
33
- placeholder: string;
34
33
  separator: string[];
34
+ placeholder: string;
35
35
  tags: string[];
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
37
37
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -50,6 +50,7 @@ export declare const defaultOptions: {
50
50
  getPromptStarters: string;
51
51
  hidePrompts: string;
52
52
  feedbackTopics: string[];
53
+ reasoningLabel: string;
53
54
  };
54
55
  };
55
56
  };
@@ -1,4 +1,4 @@
1
- import { g as We } from "./index-Bc6nn02Q.js";
1
+ import { g as We } from "./index-Bf9vIzuv.js";
2
2
  function Ge(G, ie) {
3
3
  for (var F = 0; F < ie.length; F++) {
4
4
  const H = ie[F];
@@ -1,4 +1,4 @@
1
- import { g as $t } from "./index-Bc6nn02Q.js";
1
+ import { g as $t } from "./index-Bf9vIzuv.js";
2
2
  function Gt(j, z) {
3
3
  for (var k = 0; k < z.length; k++) {
4
4
  const F = z[k];
@@ -1,4 +1,4 @@
1
- import { g as je } from "./index-Bc6nn02Q.js";
1
+ import { g as je } from "./index-Bf9vIzuv.js";
2
2
  function He($, J) {
3
3
  for (var W = 0; W < J.length; W++) {
4
4
  const m = J[W];
@@ -0,0 +1,8 @@
1
+ const C = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path opacity="0.4" d="M16.19 2H7.81C4.17 2 2 4.17 2 7.81V16.18C2 19.83 4.17 22 7.81 22H16.18C19.82 22 21.99 19.83 21.99 16.19V7.81C22 4.17 19.83 2 16.19 2Z" fill="currentColor"/>
3
+ <path d="M18.82 10.5804C19.22 10.5804 19.55 10.2504 19.55 9.85044C19.55 9.45044 19.22 9.12044 18.82 9.12044H15.21L15.6 5.62044C15.64 5.22044 15.36 4.86044 14.95 4.81044C14.55 4.77044 14.19 5.05044 14.14 5.46044L13.73 9.12044H10.9L11.29 5.62044C11.33 5.22044 11.05 4.86044 10.64 4.81044C10.24 4.77044 9.87995 5.05044 9.82995 5.46044L9.42995 9.12044H5.89995C5.49995 9.12044 5.16995 9.45044 5.16995 9.85044C5.16995 10.2504 5.49995 10.5804 5.89995 10.5804H9.26995L8.94995 13.4304H5.17995C4.77995 13.4304 4.44995 13.7604 4.44995 14.1604C4.44995 14.5604 4.77995 14.8904 5.17995 14.8904H8.78995L8.39995 18.3904C8.35995 18.7904 8.63995 19.1504 9.04995 19.2004C9.07995 19.2004 9.09995 19.2004 9.12995 19.2004C9.49995 19.2004 9.80995 18.9204 9.85995 18.5504L10.27 14.8904H13.11L12.72 18.3904C12.68 18.7904 12.96 19.1504 13.37 19.2004C13.4 19.2004 13.42 19.2004 13.45 19.2004C13.82 19.2004 14.13 18.9204 14.18 18.5504L14.59 14.8904H18.12C18.52 14.8904 18.85 14.5604 18.85 14.1604C18.85 13.7604 18.52 13.4304 18.12 13.4304H14.75L15.07 10.5804H18.82ZM13.26 13.4204H10.42L10.74 10.5704H13.58L13.26 13.4204Z" fill="currentColor"/>
4
+ </svg>
5
+ `;
6
+ export {
7
+ C as default
8
+ };
@@ -0,0 +1,26 @@
1
+ import { openBlock as e, createElementBlock as l, createElementVNode as t } from "vue";
2
+ const o = {
3
+ width: "24",
4
+ height: "24",
5
+ viewBox: "0 0 24 24",
6
+ fill: "none",
7
+ xmlns: "http://www.w3.org/2000/svg"
8
+ };
9
+ function r(n, C) {
10
+ return e(), l("svg", o, C[0] || (C[0] = [
11
+ t("path", {
12
+ opacity: "0.4",
13
+ d: "M16.19 2H7.81C4.17 2 2 4.17 2 7.81V16.18C2 19.83 4.17 22 7.81 22H16.18C19.82 22 21.99 19.83 21.99 16.19V7.81C22 4.17 19.83 2 16.19 2Z",
14
+ fill: "currentColor"
15
+ }, null, -1),
16
+ t("path", {
17
+ d: "M18.82 10.5804C19.22 10.5804 19.55 10.2504 19.55 9.85044C19.55 9.45044 19.22 9.12044 18.82 9.12044H15.21L15.6 5.62044C15.64 5.22044 15.36 4.86044 14.95 4.81044C14.55 4.77044 14.19 5.05044 14.14 5.46044L13.73 9.12044H10.9L11.29 5.62044C11.33 5.22044 11.05 4.86044 10.64 4.81044C10.24 4.77044 9.87995 5.05044 9.82995 5.46044L9.42995 9.12044H5.89995C5.49995 9.12044 5.16995 9.45044 5.16995 9.85044C5.16995 10.2504 5.49995 10.5804 5.89995 10.5804H9.26995L8.94995 13.4304H5.17995C4.77995 13.4304 4.44995 13.7604 4.44995 14.1604C4.44995 14.5604 4.77995 14.8904 5.17995 14.8904H8.78995L8.39995 18.3904C8.35995 18.7904 8.63995 19.1504 9.04995 19.2004C9.07995 19.2004 9.09995 19.2004 9.12995 19.2004C9.49995 19.2004 9.80995 18.9204 9.85995 18.5504L10.27 14.8904H13.11L12.72 18.3904C12.68 18.7904 12.96 19.1504 13.37 19.2004C13.4 19.2004 13.42 19.2004 13.45 19.2004C13.82 19.2004 14.13 18.9204 14.18 18.5504L14.59 14.8904H18.12C18.52 14.8904 18.85 14.5604 18.85 14.1604C18.85 13.7604 18.52 13.4304 18.12 13.4304H14.75L15.07 10.5804H18.82ZM13.26 13.4204H10.42L10.74 10.5704H13.58L13.26 13.4204Z",
18
+ fill: "currentColor"
19
+ }, null, -1)
20
+ ]));
21
+ }
22
+ const L = { render: r };
23
+ export {
24
+ L as default,
25
+ r as render
26
+ };