@factoringplus/pl-components-pack-v3 0.8.4-pre-01 → 0.8.5-pre-01

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.
@@ -20135,10 +20135,11 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20135
20135
  setup(g) {
20136
20136
  const y = g;
20137
20137
  useCssVars((z) => ({
20138
- "7c78a710": g.width
20138
+ "9928a85a": g.width
20139
20139
  }));
20140
20140
  const j = computed$1(() => y.disabled ? "var(--color-text-icons-tertiary)" : y.active ? "var(--color-text-icons-primary)" : "var(--color-text-icons-secondary)");
20141
- return (z, L) => (openBlock(), createElementBlock("div", {
20141
+ return (z, L) => y.label ? (openBlock(), createElementBlock("div", {
20142
+ key: 0,
20142
20143
  class: normalizeClass([
20143
20144
  "pl-tab-card__container",
20144
20145
  { disabled: y.disabled },
@@ -20152,9 +20153,9 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20152
20153
  color: j.value
20153
20154
  }, null, 8, ["name", "color"])) : createCommentVNode("", !0),
20154
20155
  createElementVNode("span", null, toDisplayString(y.label), 1)
20155
- ], 2));
20156
+ ], 2)) : createCommentVNode("", !0);
20156
20157
  }
20157
- }), 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 = {
20158
20159
  __name: "pl-multitab",
20159
20160
  props: {
20160
20161
  modelValue: {
@@ -20176,7 +20177,10 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20176
20177
  },
20177
20178
  emits: ["update:modelValue"],
20178
20179
  setup(g, { emit: y }) {
20179
- 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) => {
20180
20184
  le.disabled || y("update:modelValue", le.name);
20181
20185
  }, ae = computed$1(() => j.tabWidth === "100%" ? "filled" : "fixed");
20182
20186
  return (le, ue) => {
@@ -20190,12 +20194,12 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20190
20194
  ])
20191
20195
  }, [
20192
20196
  (openBlock(!0), createElementBlock(Fragment, null, renderList(L.value, (pe) => withDirectives((openBlock(), createBlock(PlTabCard, {
20193
- key: pe.name,
20194
- label: pe.label,
20197
+ key: pe == null ? void 0 : pe.name,
20198
+ label: pe == null ? void 0 : pe.label,
20195
20199
  width: j.tabWidth,
20196
- active: j.modelValue === pe.name,
20197
- icon: pe.icon,
20198
- 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
20199
20203
  }, null, 8, ["label", "width", "active", "icon", "disabled"])), [
20200
20204
  [ie, () => re(pe)]
20201
20205
  ])), 128))
@@ -20208,7 +20212,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20208
20212
  ]);
20209
20213
  };
20210
20214
  }
20211
- }, 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 = {
20212
20216
  install(g) {
20213
20217
  g.component("PlMultitab", PlMultitab);
20214
20218
  }
@@ -20853,7 +20857,7 @@ const PlFormItem = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_ren
20853
20857
  install(g) {
20854
20858
  g.component("TestViteNpmComponent", _sfc_main$W);
20855
20859
  }
20856
- }, plButton_vue_vue_type_style_index_0_scoped_c8e1e9ac_lang = "", _hoisted_1$C = { class: "el-button-content-container" }, _sfc_main$V = {
20860
+ }, plButton_vue_vue_type_style_index_0_lang = "", _hoisted_1$C = { class: "pl-button-content-container" }, _sfc_main$V = {
20857
20861
  __name: "pl-button",
20858
20862
  props: {
20859
20863
  fullWidth: {
@@ -20909,7 +20913,7 @@ const PlFormItem = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_ren
20909
20913
  name: j.icon,
20910
20914
  style: normalizeStyle({ color: j.iconColor })
20911
20915
  }, null, 8, ["name", "style"])) : createCommentVNode("", !0),
20912
- renderSlot(V.$slots, "default", {}, void 0, !0),
20916
+ renderSlot(V.$slots, "default"),
20913
20917
  j.iconPosition === "right" && j.icon ? (openBlock(), createBlock(_sfc_main$1d, {
20914
20918
  key: 1,
20915
20919
  name: j.icon,
@@ -20921,7 +20925,7 @@ const PlFormItem = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_ren
20921
20925
  ]);
20922
20926
  };
20923
20927
  }
20924
- }, PlButton = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-c8e1e9ac"]]), cache = {};
20928
+ }, cache = {};
20925
20929
  function filterAttrs(g) {
20926
20930
  return Object.keys(g).reduce((y, j) => (g[j] !== !1 && g[j] !== null && g[j] !== void 0 && (y[j] = g[j]), y), {});
20927
20931
  }
@@ -21047,7 +21051,7 @@ function makePromiseState(g) {
21047
21051
  }
21048
21052
  const PlButtonPlugin = {
21049
21053
  install(g) {
21050
- g.component("PlButton", PlButton), g.component("InlineSvg", InlineSvg);
21054
+ g.component("PlButton", _sfc_main$V), g.component("InlineSvg", InlineSvg);
21051
21055
  }
21052
21056
  }, _hoisted_1$B = {
21053
21057
  key: 0,
@@ -21452,7 +21456,7 @@ const PlButtonPlugin = {
21452
21456
  install(g) {
21453
21457
  g.component("PlIcon", _sfc_main$1d);
21454
21458
  }
21455
- }, plLink_vue_vue_type_style_index_0_scoped_14e25d11_lang = "", _hoisted_1$y = ["href", "target"], _sfc_main$R = {
21459
+ }, plLink_vue_vue_type_style_index_0_lang = "", _hoisted_1$y = ["href", "target"], _sfc_main$R = {
21456
21460
  __name: "pl-link",
21457
21461
  props: {
21458
21462
  href: {
@@ -21489,13 +21493,13 @@ const PlButtonPlugin = {
21489
21493
  href: y.href,
21490
21494
  target: g.target
21491
21495
  }, [
21492
- renderSlot(z.$slots, "default", {}, void 0, !0)
21496
+ renderSlot(z.$slots, "default")
21493
21497
  ], 8, _hoisted_1$y)
21494
21498
  ], 2));
21495
21499
  }
21496
- }, PlLink = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-14e25d11"]]), PlLinkPlugin = {
21500
+ }, PlLinkPlugin = {
21497
21501
  install(g) {
21498
- g.component("PlLink", PlLink);
21502
+ g.component("PlLink", _sfc_main$R);
21499
21503
  }
21500
21504
  }, datePicker = "";
21501
21505
  var ru$1 = {
@@ -35059,13 +35063,13 @@ const PlTag = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1
35059
35063
  install(g) {
35060
35064
  g.component("PlH1", PlH1), g.component("PlH2", PlH2), g.component("PlH3", PlH3), g.component("PlH4", PlH4), g.component("PlTitle1", PlTitle1), g.component("PlTitle2", PlTitle2), g.component("PlTitle3", PlTitle3), g.component("PlSub1", PlSub1), g.component("PlSub2", PlSub2), g.component("PlBtn1", PlBtn1), g.component("PlBtn2", PlBtn2), g.component("PlBtn3", PlBtn3), g.component("PlBody1", PlBody1), g.component("PlBody2", PlBody2), g.component("PlBody3", PlBody3), g.component("PlBodyU", PlBodyU), g.component("PlCap", PlCap), g.component("PlTag", PlTag);
35061
35065
  }
35062
- }, customBootstrap = "", root = "", inter = "", color = "", resetElement = "", plBtn_vue_vue_type_style_index_0_scoped_66ed215f_lang = "", _sfc_main$1 = {}, _hoisted_1$1 = { class: "pl-btn" };
35066
+ }, customBootstrap = "", root = "", inter = "", color = "", resetElement = "", plBtn_vue_vue_type_style_index_0_scoped_d8a5f67a_lang = "", _sfc_main$1 = {}, _hoisted_1$1 = { class: "pl-btn" };
35063
35067
  function _sfc_render(g, y) {
35064
35068
  return openBlock(), createElementBlock("button", _hoisted_1$1, [
35065
35069
  renderSlot(g.$slots, "default", {}, void 0, !0)
35066
35070
  ]);
35067
35071
  }
35068
- const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-66ed215f"]]), plSnackbar_vue_vue_type_style_index_0_scoped_54212283_lang = "", _hoisted_1 = {
35072
+ const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-d8a5f67a"]]), plSnackbar_vue_vue_type_style_index_0_scoped_54212283_lang = "", _hoisted_1 = {
35069
35073
  key: 0,
35070
35074
  class: "pl-snackbar__wrapper"
35071
35075
  }, _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 = {
@@ -35214,7 +35218,7 @@ export {
35214
35218
  PlBtn1,
35215
35219
  PlBtn2,
35216
35220
  PlBtn3,
35217
- PlButton,
35221
+ _sfc_main$V as PlButton,
35218
35222
  PlButtonPlugin,
35219
35223
  PlCap,
35220
35224
  _sfc_main$l as PlCard,
@@ -35244,7 +35248,7 @@ export {
35244
35248
  PlInputPlugin,
35245
35249
  PlInputPlus,
35246
35250
  PlInputPlusPlugin,
35247
- PlLink,
35251
+ _sfc_main$R as PlLink,
35248
35252
  PlLinkPlugin,
35249
35253
  PlSelectPlus,
35250
35254
  PlSelectPlusPlugin,