@factoringplus/pl-components-pack-v3 0.8.3 → 0.8.4

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.
@@ -19572,7 +19572,7 @@ function now$1() {
19572
19572
  return now$1.last = g > y ? g : y + 1;
19573
19573
  }
19574
19574
  var uniqidExports = uniqid$1.exports;
19575
- const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPlus_vue_vue_type_style_index_0_scoped_059d0db1_lang = "", _export_sfc = (g, y) => {
19575
+ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPlus_vue_vue_type_style_index_0_scoped_97d09e69_lang = "", _export_sfc = (g, y) => {
19576
19576
  const j = g.__vccOpts || g;
19577
19577
  for (const [z, L] of y)
19578
19578
  j[z] = L;
@@ -19682,7 +19682,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
19682
19682
  setup(g, { emit: y }) {
19683
19683
  const j = g;
19684
19684
  useCssVars((ae) => ({
19685
- "65fa9642": j.width
19685
+ d4b0970e: j.width
19686
19686
  }));
19687
19687
  const z = useAttrs$1(), L = `id-${uniqid()}`, V = ref([]);
19688
19688
  if (j.prop) {
@@ -19785,7 +19785,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
19785
19785
  ])) : createCommentVNode("", !0)
19786
19786
  ]));
19787
19787
  }
19788
- }, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-059d0db1"]]), PlInputPlusPlugin = {
19788
+ }, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-97d09e69"]]), PlInputPlusPlugin = {
19789
19789
  install(g) {
19790
19790
  g.component("PlInputPlus", PlInputPlus);
19791
19791
  }
@@ -19966,7 +19966,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
19966
19966
  ])
19967
19967
  ], 2));
19968
19968
  }
19969
- }), plTabCounter_vue_vue_type_style_index_0_scoped_b32dc6db_lang = "", PlTabCounter = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-b32dc6db"]]), _withScopeId$2 = (g) => (pushScopeId("data-v-260417eb"), g = g(), popScopeId(), g), _hoisted_1$I = { class: "pl-tab__content" }, _hoisted_2$B = { class: "pl-tab__content-text" }, _hoisted_3$u = {
19969
+ }), plTabCounter_vue_vue_type_style_index_0_scoped_b32dc6db_lang = "", PlTabCounter = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-b32dc6db"]]), _withScopeId$2 = (g) => (pushScopeId("data-v-7ed46d1c"), g = g(), popScopeId(), g), _hoisted_1$I = { class: "pl-tab__content" }, _hoisted_2$B = { class: "pl-tab__content-text" }, _hoisted_3$u = {
19970
19970
  key: 0,
19971
19971
  class: "pl-tab__content-suffix"
19972
19972
  }, _hoisted_4$p = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "pl-tab__indicator-wider" }, null, -1)), _sfc_main$14 = /* @__PURE__ */ defineComponent({
@@ -19995,7 +19995,8 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
19995
19995
  },
19996
19996
  setup(g) {
19997
19997
  const y = g, j = computed$1(() => y.disabled ? "var(--color-text-icons-tertiary)" : y.active ? "var(--color-text-icons-interactive)" : "var(--color-text-icons-secondary)");
19998
- return (z, L) => (openBlock(), createElementBlock("div", {
19998
+ return (z, L) => y.label ? (openBlock(), createElementBlock("div", {
19999
+ key: 0,
19999
20000
  class: normalizeClass(["pl-tab__container", { disabled: y.disabled }, { active: y.active }])
20000
20001
  }, [
20001
20002
  createElementVNode("div", _hoisted_1$I, [
@@ -20020,9 +20021,9 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20020
20021
  class: normalizeClass(["pl-tab__indicator", { active: y.active }])
20021
20022
  }, null, 2),
20022
20023
  _hoisted_4$p
20023
- ], 2));
20024
+ ], 2)) : createCommentVNode("", !0);
20024
20025
  }
20025
- }), plTab_vue_vue_type_style_index_0_scoped_260417eb_lang = "", PlTab = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-260417eb"]]), plTabs_vue_vue_type_style_index_0_scoped_947d131b_lang = "", _withScopeId$1 = (g) => (pushScopeId("data-v-947d131b"), g = g(), popScopeId(), g), _hoisted_1$H = { class: "pl-tab-container" }, _hoisted_2$A = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "pl-tab-divider" }, null, -1)), _sfc_main$13 = {
20026
+ }), plTab_vue_vue_type_style_index_0_scoped_7ed46d1c_lang = "", PlTab = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-7ed46d1c"]]), plTabs_vue_vue_type_style_index_0_scoped_0480b3fa_lang = "", _withScopeId$1 = (g) => (pushScopeId("data-v-0480b3fa"), g = g(), popScopeId(), g), _hoisted_1$H = { class: "pl-tab-container" }, _hoisted_2$A = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "pl-tab-divider" }, null, -1)), _sfc_main$13 = {
20026
20027
  __name: "pl-tabs",
20027
20028
  props: {
20028
20029
  modelValue: {
@@ -20040,7 +20041,10 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20040
20041
  },
20041
20042
  emits: ["update:modelValue"],
20042
20043
  setup(g, { emit: y }) {
20043
- const j = g, z = useSlots(), L = computed$1(() => typeof z.default()[0].type == "symbol" ? z.default()[0].children.map((ae) => ae.props) : z.default().map((ae) => ae.props)), V = computed$1(() => typeof z.default()[0].type == "symbol" ? z.default()[0].children.filter((ue) => j.modelValue === ue.props.name)[0] : z.default().filter((le) => j.modelValue === le.props.name)[0]), re = (ae) => {
20044
+ const j = g, z = useSlots(), L = computed$1(() => Array.isArray(z.default()[0].children) ? z.default()[0].children.map((ae) => ae.props) : z.default().map((ae) => ae.props)), V = computed$1(() => Array.isArray(z.default()[0].children) ? z.default()[0].children.filter((ue) => j.modelValue === ue.props.name)[0] : z.default().filter((le) => {
20045
+ var ue;
20046
+ return j.modelValue === ((ue = le.props) == null ? void 0 : ue.name);
20047
+ })[0]), re = (ae) => {
20044
20048
  ae.disabled || y("update:modelValue", ae.name);
20045
20049
  };
20046
20050
  return (ae, le) => {
@@ -20053,12 +20057,12 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20053
20057
  ])
20054
20058
  }, [
20055
20059
  (openBlock(!0), createElementBlock(Fragment, null, renderList(L.value, (ie) => withDirectives((openBlock(), createBlock(PlTab, {
20056
- key: ie.name,
20057
- label: ie.label,
20058
- active: j.modelValue === ie.name,
20059
- icon: ie.icon,
20060
- disabled: ie.disabled,
20061
- counter: ie.counter
20060
+ key: ie == null ? void 0 : ie.name,
20061
+ label: ie == null ? void 0 : ie.label,
20062
+ active: j.modelValue === (ie == null ? void 0 : ie.name),
20063
+ icon: ie == null ? void 0 : ie.icon,
20064
+ disabled: ie == null ? void 0 : ie.disabled,
20065
+ counter: ie == null ? void 0 : ie.counter
20062
20066
  }, null, 8, ["label", "active", "icon", "disabled", "counter"])), [
20063
20067
  [ue, () => re(ie)]
20064
20068
  ])), 128)),
@@ -20072,7 +20076,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20072
20076
  ]);
20073
20077
  };
20074
20078
  }
20075
- }, PlTabs = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-947d131b"]]), _sfc_main$12 = {
20079
+ }, PlTabs = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-0480b3fa"]]), _sfc_main$12 = {
20076
20080
  __name: "pl-tab-pane",
20077
20081
  props: {
20078
20082
  label: {
@@ -20131,10 +20135,11 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20131
20135
  setup(g) {
20132
20136
  const y = g;
20133
20137
  useCssVars((z) => ({
20134
- "7c78a710": g.width
20138
+ "9928a85a": g.width
20135
20139
  }));
20136
20140
  const j = computed$1(() => y.disabled ? "var(--color-text-icons-tertiary)" : y.active ? "var(--color-text-icons-primary)" : "var(--color-text-icons-secondary)");
20137
- return (z, L) => (openBlock(), createElementBlock("div", {
20141
+ return (z, L) => y.label ? (openBlock(), createElementBlock("div", {
20142
+ key: 0,
20138
20143
  class: normalizeClass([
20139
20144
  "pl-tab-card__container",
20140
20145
  { disabled: y.disabled },
@@ -20148,9 +20153,9 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20148
20153
  color: j.value
20149
20154
  }, null, 8, ["name", "color"])) : createCommentVNode("", !0),
20150
20155
  createElementVNode("span", null, toDisplayString(y.label), 1)
20151
- ], 2));
20156
+ ], 2)) : createCommentVNode("", !0);
20152
20157
  }
20153
- }), plTabCard_vue_vue_type_style_index_0_scoped_5efef362_lang = "", PlTabCard = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-5efef362"]]), plMultitab_vue_vue_type_style_index_0_scoped_5d52ea13_lang = "", _hoisted_1$G = { class: "pl-multitab-container" }, _sfc_main$10 = {
20158
+ }), plTabCard_vue_vue_type_style_index_0_scoped_5d0a6b4e_lang = "", PlTabCard = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-5d0a6b4e"]]), plMultitab_vue_vue_type_style_index_0_scoped_49a7a073_lang = "", _hoisted_1$G = { class: "pl-multitab-container" }, _sfc_main$10 = {
20154
20159
  __name: "pl-multitab",
20155
20160
  props: {
20156
20161
  modelValue: {
@@ -20172,7 +20177,10 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20172
20177
  },
20173
20178
  emits: ["update:modelValue"],
20174
20179
  setup(g, { emit: y }) {
20175
- const j = g, z = useSlots(), L = computed$1(() => typeof z.default()[0].type == "symbol" ? z.default()[0].children.map((le) => le.props) : z.default().map((le) => le.props)), V = computed$1(() => typeof z.default()[0].type == "symbol" ? z.default()[0].children.filter((ie) => j.modelValue === ie.props.name)[0] : z.default().filter((ue) => j.modelValue === ue.props.name)[0]), re = (le) => {
20180
+ const j = g, z = useSlots(), L = computed$1(() => Array.isArray(z.default()[0].children) ? z.default()[0].children.map((le) => le.props) : z.default().map((le) => le.props)), V = computed$1(() => Array.isArray(z.default()[0].children) ? z.default()[0].children.filter((ie) => j.modelValue === ie.props.name)[0] : z.default().filter((ue) => {
20181
+ var ie;
20182
+ return j.modelValue === ((ie = ue.props) == null ? void 0 : ie.name);
20183
+ })[0]), re = (le) => {
20176
20184
  le.disabled || y("update:modelValue", le.name);
20177
20185
  }, ae = computed$1(() => j.tabWidth === "100%" ? "filled" : "fixed");
20178
20186
  return (le, ue) => {
@@ -20186,12 +20194,12 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20186
20194
  ])
20187
20195
  }, [
20188
20196
  (openBlock(!0), createElementBlock(Fragment, null, renderList(L.value, (pe) => withDirectives((openBlock(), createBlock(PlTabCard, {
20189
- key: pe.name,
20190
- label: pe.label,
20197
+ key: pe == null ? void 0 : pe.name,
20198
+ label: pe == null ? void 0 : pe.label,
20191
20199
  width: j.tabWidth,
20192
- active: j.modelValue === pe.name,
20193
- icon: pe.icon,
20194
- disabled: pe.disabled
20200
+ active: j.modelValue === (pe == null ? void 0 : pe.name),
20201
+ icon: pe == null ? void 0 : pe.icon,
20202
+ disabled: pe == null ? void 0 : pe.disabled
20195
20203
  }, null, 8, ["label", "width", "active", "icon", "disabled"])), [
20196
20204
  [ie, () => re(pe)]
20197
20205
  ])), 128))
@@ -20204,7 +20212,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20204
20212
  ]);
20205
20213
  };
20206
20214
  }
20207
- }, PlMultitab = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-5d52ea13"]]), PlMultitabPlugin = {
20215
+ }, PlMultitab = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-49a7a073"]]), PlMultitabPlugin = {
20208
20216
  install(g) {
20209
20217
  g.component("PlMultitab", PlMultitab);
20210
20218
  }