@weni/unnnic-system 3.2.9-alpha.11 → 3.2.9-alpha.12

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 (38) hide show
  1. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  2. package/dist/components/ChartFunnel/DefaultFunnel/ChartDefaultFunnelBase.vue.d.ts.map +1 -1
  3. package/dist/components/Input/TextInput.vue.d.ts.map +1 -1
  4. package/dist/components/ModalDialog/ModalDialog.vue.d.ts +1 -1
  5. package/dist/components/ModalDialog/ModalDialog.vue.d.ts.map +1 -1
  6. package/dist/components/TemplatePreview/TemplatePreview.vue.d.ts.map +1 -1
  7. package/dist/components/index.d.ts +2 -2
  8. package/dist/{es-dcef703d.js → es-66126ef1.mjs} +1 -1
  9. package/dist/{index-6ddf8580.js → index-f6e9b879.mjs} +15 -15
  10. package/dist/{pt-br-485ef253.js → pt-br-3b5a8852.mjs} +1 -1
  11. package/dist/style.css +1 -1
  12. package/dist/{unnnic.js → unnnic.mjs} +1 -1
  13. package/dist/{unnnic.umd.cjs → unnnic.umd.js} +5 -5
  14. package/package.json +2 -2
  15. package/src/components/Button/Button.vue +4 -7
  16. package/src/components/ChartFunnel/DefaultFunnel/ChartDefaultFunnelBase.vue +2 -1
  17. package/src/components/ChartFunnel/SvgFunnel/ChartFunnelTwoRows.vue +61 -60
  18. package/src/components/Chip/Chip.vue +1 -1
  19. package/src/components/Input/BaseInput.vue +4 -4
  20. package/src/components/Input/Input.vue +1 -1
  21. package/src/components/Input/TextInput.vue +3 -2
  22. package/src/components/ModalDialog/ModalDialog.vue +26 -29
  23. package/src/components/Popover/__tests__/Popover.spec.js +18 -18
  24. package/src/components/Popover/index.vue +78 -93
  25. package/src/components/Select/SelectOption.vue +37 -43
  26. package/src/components/Select/__tests__/Select.spec.js +36 -41
  27. package/src/components/Select/__tests__/SelectItem.spec.js +15 -35
  28. package/src/components/Select/__tests__/SelectOption.spec.js +3 -6
  29. package/src/components/Select/index.vue +142 -192
  30. package/src/components/TemplatePreview/TemplatePreview.vue +25 -28
  31. package/src/components/TemplatePreview/TemplatePreviewModal.vue +10 -10
  32. package/src/components/TemplatePreview/types.d.ts +3 -3
  33. package/src/stories/Button.stories.js +7 -1
  34. package/src/stories/Input.stories.js +4 -4
  35. package/src/stories/Popover.stories.js +9 -9
  36. package/src/stories/Select.stories.js +39 -39
  37. package/src/stories/TemplatePreview.stories.js +27 -27
  38. package/src/stories/TemplatePreviewModal.stories.js +31 -31
@@ -1 +1 @@
1
- {"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.vue"],"names":[],"mappings":"AAkEA;AAsXA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAOnE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AAsHpD,iBAAS,cAAc;WA0IT,OAAO,IAA6B;;yBAXpB,GAAG;;;;EAgBhC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;2FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.vue"],"names":[],"mappings":"AAkEA;AAmXA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAOnE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AAmHpD,iBAAS,cAAc;WA0IT,OAAO,IAA6B;;yBAXpB,GAAG;;;;EAgBhC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;2FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChartDefaultFunnelBase.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ChartFunnel/DefaultFunnel/ChartDefaultFunnelBase.vue"],"names":[],"mappings":"AA4CA;AA4MA,UAAU,UAAU;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,EAAE,CAAC;CACpB,CAAC;;AAoGF,wBAOG"}
1
+ {"version":3,"file":"ChartDefaultFunnelBase.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ChartFunnel/DefaultFunnel/ChartDefaultFunnelBase.vue"],"names":[],"mappings":"AA4CA;AA6MA,UAAU,UAAU;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,EAAE,CAAC;CACpB,CAAC;;AAqGF,wBAOG"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/TextInput.vue"],"names":[],"mappings":"AAwDA;"}
1
+ {"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/TextInput.vue"],"names":[],"mappings":"AAyDA;"}
@@ -52,7 +52,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
52
52
  }>, {}, {
53
53
  defaultTranslations: {
54
54
  cancel: {
55
- 'pt-br': string;
55
+ "pt-br": string;
56
56
  en: string;
57
57
  es: string;
58
58
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ModalDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ModalDialog/ModalDialog.vue"],"names":[],"mappings":"AAmGA;"}
1
+ {"version":3,"file":"ModalDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ModalDialog/ModalDialog.vue"],"names":[],"mappings":"AAgGA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"TemplatePreview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TemplatePreview/TemplatePreview.vue"],"names":[],"mappings":"AAmGA;AAgQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAQxC,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC5B;;cADY,QAAQ,GAAG,IAAI;;AAkN5B,wBAQG"}
1
+ {"version":3,"file":"TemplatePreview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TemplatePreview/TemplatePreview.vue"],"names":[],"mappings":"AAgGA;AA6PA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAQxC,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC5B;;cADY,QAAQ,GAAG,IAAI;;AAkN5B,wBAQG"}
@@ -4283,7 +4283,7 @@ export declare const unnnicModalDialog: import('vue').DefineComponent<import('vu
4283
4283
  }>, {}, {
4284
4284
  defaultTranslations: {
4285
4285
  cancel: {
4286
- 'pt-br': string;
4286
+ "pt-br": string;
4287
4287
  en: string;
4288
4288
  es: string;
4289
4289
  };
@@ -16802,7 +16802,7 @@ export declare const UnnnicModalDialog: import('vue').DefineComponent<import('vu
16802
16802
  }>, {}, {
16803
16803
  defaultTranslations: {
16804
16804
  cancel: {
16805
- 'pt-br': string;
16805
+ "pt-br": string;
16806
16806
  en: string;
16807
16807
  es: string;
16808
16808
  };
@@ -1,4 +1,4 @@
1
- import { h as n } from "./index-6ddf8580.js";
1
+ import { h as n } from "./index-f6e9b879.mjs";
2
2
  import "vue";
3
3
  //! moment.js locale configuration
4
4
  //! locale : Spanish [es]
@@ -327,7 +327,7 @@ function O8(e, t, a, r, s, o) {
327
327
  readonly: a.readonly
328
328
  }), null, 16, S8));
329
329
  }
330
- const q8 = /* @__PURE__ */ y(I8, [["render", O8], ["__scopeId", "data-v-009c94b7"]]), z8 = {}, H8 = {
330
+ const q8 = /* @__PURE__ */ y(I8, [["render", O8], ["__scopeId", "data-v-8deff42a"]]), z8 = {}, H8 = {
331
331
  width: "40",
332
332
  height: "40",
333
333
  viewBox: "0 0 40 40",
@@ -4261,7 +4261,7 @@ function sE(e, t, a, r, s, o) {
4261
4261
  ])
4262
4262
  ], 2);
4263
4263
  }
4264
- const Ko = /* @__PURE__ */ y(rE, [["render", sE], ["__scopeId", "data-v-dcdd01f7"]]);
4264
+ const Ko = /* @__PURE__ */ y(rE, [["render", sE], ["__scopeId", "data-v-e868d177"]]);
4265
4265
  const uE = {
4266
4266
  name: "UnnnicTooltip",
4267
4267
  props: {
@@ -4563,7 +4563,7 @@ function wE(e, t, a, r, s, o) {
4563
4563
  ])
4564
4564
  ], 2);
4565
4565
  }
4566
- const rn = /* @__PURE__ */ y(hE, [["render", wE], ["__scopeId", "data-v-bc59deed"]]);
4566
+ const rn = /* @__PURE__ */ y(hE, [["render", wE], ["__scopeId", "data-v-c9932f31"]]);
4567
4567
  const DE = {
4568
4568
  components: {
4569
4569
  UnnnicIcon: se
@@ -15428,7 +15428,7 @@ const Ai = /* @__PURE__ */ y(TS, [["render", IS], ["__scopeId", "data-v-97257015
15428
15428
  ], 16, NS));
15429
15429
  }
15430
15430
  });
15431
- const Ht = /* @__PURE__ */ y(SS, [["__scopeId", "data-v-14cc8a12"]]);
15431
+ const Ht = /* @__PURE__ */ y(SS, [["__scopeId", "data-v-0b67ab41"]]);
15432
15432
  const OS = {
15433
15433
  components: {
15434
15434
  UnnnicButton: Ht
@@ -24411,8 +24411,8 @@ function SR(e, t, a, r, s, o) {
24411
24411
  });
24412
24412
  }
24413
24413
  const OR = /* @__PURE__ */ y(NR, [["render", SR], ["__scopeId", "data-v-9b793da0"]]);
24414
- import("./es-dcef703d.js");
24415
- import("./pt-br-485ef253.js");
24414
+ import("./es-66126ef1.mjs");
24415
+ import("./pt-br-3b5a8852.mjs");
24416
24416
  const w3 = {
24417
24417
  name: "ChatsContact",
24418
24418
  components: {
@@ -91337,7 +91337,7 @@ const HZ = /* @__PURE__ */ y(qZ, [["render", zZ]]), VZ = { class: "unnnic-chart-
91337
91337
  },
91338
91338
  setup(e) {
91339
91339
  Gn((r) => ({
91340
- 62362497: a.value
91340
+ "3e622317": a.value
91341
91341
  }));
91342
91342
  const t = e, a = ye(() => `skew(${t.data.length === 2 ? "-8deg" : "-12deg"}, 0deg) translateX(-20px)`);
91343
91343
  return (r, s) => (_(), g("section", VZ, [
@@ -91376,7 +91376,7 @@ const HZ = /* @__PURE__ */ y(qZ, [["render", zZ]]), VZ = { class: "unnnic-chart-
91376
91376
  ]));
91377
91377
  }
91378
91378
  });
91379
- const jn = /* @__PURE__ */ y(QZ, [["__scopeId", "data-v-95163047"]]), GZ = {
91379
+ const jn = /* @__PURE__ */ y(QZ, [["__scopeId", "data-v-2a7f37fe"]]), GZ = {
91380
91380
  name: "UnnnicChartFunnel",
91381
91381
  components: {
91382
91382
  ChartFunnelTwoRows: jZ,
@@ -92576,7 +92576,7 @@ function iX(e, t, a, r, s, o) {
92576
92576
  ], 2)
92577
92577
  ])) : B("", !0);
92578
92578
  }
92579
- const Rr = /* @__PURE__ */ y(WW, [["render", iX], ["__scopeId", "data-v-a7e44667"]]);
92579
+ const Rr = /* @__PURE__ */ y(WW, [["render", iX], ["__scopeId", "data-v-45c6509b"]]);
92580
92580
  const nX = {
92581
92581
  name: "TourMask",
92582
92582
  props: {
@@ -93290,7 +93290,7 @@ const z3 = /* @__PURE__ */ y(vX, [["render", EX], ["__scopeId", "data-v-557ceed0
93290
93290
  };
93291
93291
  }
93292
93292
  });
93293
- const Qr = /* @__PURE__ */ y(PX, [["__scopeId", "data-v-e8d1e449"]]), UX = /* @__PURE__ */ Gt({
93293
+ const Qr = /* @__PURE__ */ y(PX, [["__scopeId", "data-v-471b9099"]]), UX = /* @__PURE__ */ Gt({
93294
93294
  __name: "TemplatePreviewModal",
93295
93295
  props: {
93296
93296
  locale: { default: "en" },
@@ -93307,20 +93307,20 @@ const Qr = /* @__PURE__ */ y(PX, [["__scopeId", "data-v-e8d1e449"]]), UX = /* @_
93307
93307
  }
93308
93308
  }, a = e;
93309
93309
  return (r, s) => (_(), Y(Rr, {
93310
- modelValue: r.modelValue,
93310
+ "model-value": r.modelValue,
93311
93311
  "onUpdate:modelValue": s[0] || (s[0] = (o) => o === !1 && r.$emit("close")),
93312
93312
  title: t.title[a.locale],
93313
- showCloseIcon: !0,
93313
+ "show-close-icon": !0,
93314
93314
  class: "unnnic-template-preview-modal"
93315
93315
  }, {
93316
93316
  default: ke(() => [
93317
93317
  V(Qr, { template: r.template }, null, 8, ["template"])
93318
93318
  ]),
93319
93319
  _: 1
93320
- }, 8, ["modelValue", "title"]));
93320
+ }, 8, ["model-value", "title"]));
93321
93321
  }
93322
93322
  });
93323
- const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-5eb58b1a"]]), YX = {
93323
+ const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-bb80a0e2"]]), YX = {
93324
93324
  key: 0,
93325
93325
  class: "unnnic-data-table__header"
93326
93326
  }, RX = { class: "unnnic-data-table__header-row" }, QX = ["onClick"], GX = {
@@ -93561,7 +93561,7 @@ const V3 = /* @__PURE__ */ y(KX, [["__scopeId", "data-v-1eea11f2"]]), JX = /* @_
93561
93561
  ], 2));
93562
93562
  }
93563
93563
  });
93564
- const P3 = /* @__PURE__ */ y(JX, [["__scopeId", "data-v-cf90ea74"]]), yo = {
93564
+ const P3 = /* @__PURE__ */ y(JX, [["__scopeId", "data-v-b5568367"]]), yo = {
93565
93565
  unnnicFormElement: cr,
93566
93566
  unnnicInput: rn,
93567
93567
  unnnicInputNext: Jo,
@@ -1,4 +1,4 @@
1
- import { h as e } from "./index-6ddf8580.js";
1
+ import { h as e } from "./index-f6e9b879.mjs";
2
2
  import "vue";
3
3
  //! moment.js locale configuration
4
4
  //! locale : Portuguese (Brazil) [pt-br]