@factoringplus/pl-components-pack-v3 0.11.0 → 0.11.1

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.
@@ -19010,8 +19010,8 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), _hoisted_
19010
19010
  setup(g, { expose: y, emit: j }) {
19011
19011
  const z = g;
19012
19012
  useCssVars((Mn) => ({
19013
- "0fbc7555": xe.value,
19014
- bb227d16: Et.value
19013
+ "0a45bbe0": xe.value,
19014
+ "098bb5f0": Et.value
19015
19015
  }));
19016
19016
  const L = computed$1({
19017
19017
  get: () => z.modelValue,
@@ -19029,7 +19029,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), _hoisted_
19029
19029
  }, 300);
19030
19030
  }, Ce = (Mn = null) => {
19031
19031
  var bn;
19032
- const En = (bn = Mn.target.closest("[id]")) == null ? void 0 : bn.id;
19032
+ const En = (bn = Mn == null ? void 0 : Mn.target.closest("[id]")) == null ? void 0 : bn.id;
19033
19033
  En && En !== Ie || Ne.value || (ue.value ? he() : Oe());
19034
19034
  }, Ve = computed$1(() => ({
19035
19035
  "--dialog-container-width": /px|rem|em|%/.test(pe.value) ? pe.value : `${pe.value}px`,
@@ -35540,7 +35540,7 @@ function _sfc_render(g, y) {
35540
35540
  renderSlot(g.$slots, "default", {}, void 0, !0)
35541
35541
  ]);
35542
35542
  }
35543
- const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-03c9626c"]]), plSnackbar_vue_vue_type_style_index_0_scoped_fff10204_lang = "", _hoisted_1 = {
35543
+ const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-03c9626c"]]), plSnackbar_vue_vue_type_style_index_0_scoped_3d029f35_lang = "", _hoisted_1 = {
35544
35544
  key: 0,
35545
35545
  class: "pl-snackbar__wrapper"
35546
35546
  }, _hoisted_2 = { class: "pl-snackbar__icon" }, _hoisted_3 = { class: "pl-snackbar__main" }, _hoisted_4 = { class: "pl-snackbar__text" }, _hoisted_5 = { class: "pl-snackbar__title" }, _hoisted_6 = {
@@ -35573,10 +35573,14 @@ const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render],
35573
35573
  default: ""
35574
35574
  },
35575
35575
  action: {
35576
- type: Function
35576
+ type: Function,
35577
+ default: () => {
35578
+ }
35577
35579
  },
35578
35580
  actionAdd: {
35579
- type: Function
35581
+ type: Function,
35582
+ default: () => {
35583
+ }
35580
35584
  },
35581
35585
  message: {
35582
35586
  type: String,
@@ -35594,58 +35598,59 @@ const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render],
35594
35598
  function V() {
35595
35599
  j.value = !1;
35596
35600
  }
35597
- return (re, ae) => (openBlock(), createBlock(TransitionGroup, {
35598
- name: "pl-snackbar-fade",
35599
- mode: "out-in"
35600
- }, {
35601
- default: withCtx(() => [
35602
- j.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
35603
- createElementVNode("div", _hoisted_2, [
35604
- createVNode(_sfc_main$1l, {
35605
- color: y.color,
35606
- name: y.icon,
35607
- position: "left"
35608
- }, null, 8, ["color", "name"])
35609
- ]),
35610
- createElementVNode("div", _hoisted_3, [
35611
- createElementVNode("div", _hoisted_4, [
35612
- createElementVNode("div", _hoisted_5, toDisplayString(y.title), 1),
35613
- y.message ? (openBlock(), createElementBlock("div", _hoisted_6, toDisplayString(y.message), 1)) : createCommentVNode("", !0)
35601
+ return (re, ae) => {
35602
+ const le = resolveDirective("tap");
35603
+ return openBlock(), createBlock(TransitionGroup, {
35604
+ name: "pl-snackbar-fade",
35605
+ mode: "out-in"
35606
+ }, {
35607
+ default: withCtx(() => [
35608
+ j.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
35609
+ createElementVNode("div", _hoisted_2, [
35610
+ createVNode(_sfc_main$1l, {
35611
+ color: y.color,
35612
+ name: y.icon,
35613
+ position: "left"
35614
+ }, null, 8, ["color", "name"])
35614
35615
  ]),
35615
- y.button || y.buttonAdd ? (openBlock(), createElementBlock("div", _hoisted_7, [
35616
- y.button ? (openBlock(), createBlock(PlBtn, {
35617
- key: 0,
35618
- onClick: z
35619
- }, {
35620
- default: withCtx(() => [
35621
- createTextVNode(toDisplayString(g.button), 1)
35622
- ]),
35623
- _: 1
35624
- })) : createCommentVNode("", !0),
35625
- y.buttonAdd ? (openBlock(), createBlock(PlBtn, {
35626
- key: 1,
35627
- onClick: L
35628
- }, {
35629
- default: withCtx(() => [
35630
- createTextVNode(toDisplayString(g.buttonAdd), 1)
35631
- ]),
35632
- _: 1
35633
- })) : createCommentVNode("", !0)
35634
- ])) : createCommentVNode("", !0)
35635
- ]),
35636
- createElementVNode("div", _hoisted_8, [
35637
- createVNode(_sfc_main$1l, {
35638
- color: "var(--color-text-icons-tertiary)",
35639
- name: "Close20",
35640
- onClick: V
35641
- })
35642
- ])
35643
- ])) : createCommentVNode("", !0)
35644
- ]),
35645
- _: 1
35646
- }));
35616
+ createElementVNode("div", _hoisted_3, [
35617
+ createElementVNode("div", _hoisted_4, [
35618
+ createElementVNode("div", _hoisted_5, toDisplayString(y.title), 1),
35619
+ y.message ? (openBlock(), createElementBlock("div", _hoisted_6, toDisplayString(y.message), 1)) : createCommentVNode("", !0)
35620
+ ]),
35621
+ y.button || y.buttonAdd ? (openBlock(), createElementBlock("div", _hoisted_7, [
35622
+ y.button ? withDirectives((openBlock(), createBlock(PlBtn, { key: 0 }, {
35623
+ default: withCtx(() => [
35624
+ createTextVNode(toDisplayString(g.button), 1)
35625
+ ]),
35626
+ _: 1
35627
+ })), [
35628
+ [le, z]
35629
+ ]) : createCommentVNode("", !0),
35630
+ y.buttonAdd ? withDirectives((openBlock(), createBlock(PlBtn, { key: 1 }, {
35631
+ default: withCtx(() => [
35632
+ createTextVNode(toDisplayString(g.buttonAdd), 1)
35633
+ ]),
35634
+ _: 1
35635
+ })), [
35636
+ [le, L]
35637
+ ]) : createCommentVNode("", !0)
35638
+ ])) : createCommentVNode("", !0)
35639
+ ]),
35640
+ createElementVNode("div", _hoisted_8, [
35641
+ createVNode(_sfc_main$1l, {
35642
+ color: "var(--color-text-icons-tertiary)",
35643
+ name: "Close20",
35644
+ onClick: V
35645
+ })
35646
+ ])
35647
+ ])) : createCommentVNode("", !0)
35648
+ ]),
35649
+ _: 1
35650
+ });
35651
+ };
35647
35652
  }
35648
- }, PlSnackbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fff10204"]]), snackbarAnimation = "";
35653
+ }, PlSnackbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3d029f35"]]), snackbarAnimation = "";
35649
35654
  let snackbarId = 0;
35650
35655
  const renderSnackbar = function(g) {
35651
35656
  const { icon: y, color: j, title: z, message: L, button: V, action: re, buttonAdd: ae, actionAdd: le } = g;