@factoringplus/pl-components-pack-v3 0.5.31 → 0.5.33

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.
@@ -25902,7 +25902,7 @@ var _export_sfc = (sfc, props) => {
25902
25902
  }
25903
25903
  return target;
25904
25904
  };
25905
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-71920af7"), n2 = n2(), popScopeId(), n2);
25905
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-3a4be331"), n2 = n2(), popScopeId(), n2);
25906
25906
  const _hoisted_1$y = { class: "pl-input__container" };
25907
25907
  const _hoisted_2$t = {
25908
25908
  key: 0,
@@ -25944,13 +25944,23 @@ const _hoisted_15$3 = {
25944
25944
  key: 2,
25945
25945
  class: "pl-input__count"
25946
25946
  };
25947
- const _hoisted_16$3 = { class: "pl-input__count-inner" };
25948
- const _hoisted_17$2 = { class: "pl-input__helpertext" };
25947
+ const _hoisted_16$3 = {
25948
+ key: 0,
25949
+ class: "pl-input__count-inner"
25950
+ };
25951
+ const _hoisted_17$2 = {
25952
+ key: 1,
25953
+ class: "pl-input__count-inner"
25954
+ };
25949
25955
  const _hoisted_18$2 = {
25956
+ key: 2,
25957
+ class: "pl-input__helpertext"
25958
+ };
25959
+ const _hoisted_19$2 = {
25950
25960
  key: 0,
25951
25961
  class: "pl-form-item__error"
25952
25962
  };
25953
- const _hoisted_19$2 = { key: 1 };
25963
+ const _hoisted_20$2 = { key: 1 };
25954
25964
  const _sfc_main$B = {
25955
25965
  __name: "pl-input-plus",
25956
25966
  props: {
@@ -26020,13 +26030,16 @@ const _sfc_main$B = {
26020
26030
  disabled: {
26021
26031
  type: Boolean,
26022
26032
  default: false
26033
+ },
26034
+ formatter: {
26035
+ type: Function
26023
26036
  }
26024
26037
  },
26025
26038
  emits: ["update:modelValue"],
26026
26039
  setup(__props, { emit: emit2 }) {
26027
26040
  const props = __props;
26028
26041
  useCssVars((_ctx) => ({
26029
- "e2f9bf06": props.width
26042
+ "3d8adc0a": props.width
26030
26043
  }));
26031
26044
  const attrs = useAttrs$1();
26032
26045
  const errors = ref([]);
@@ -26053,6 +26066,13 @@ const _sfc_main$B = {
26053
26066
  emit2("update:modelValue", value);
26054
26067
  }
26055
26068
  });
26069
+ if (props.formatter) {
26070
+ watch(modelValue, (newValue) => {
26071
+ if (newValue) {
26072
+ modelValue.value = props.formatter(newValue);
26073
+ }
26074
+ });
26075
+ }
26056
26076
  if (props.currency) {
26057
26077
  watch(modelValue, (newValue) => {
26058
26078
  setValue(newValue);
@@ -26164,20 +26184,18 @@ const _sfc_main$B = {
26164
26184
  src: props.rightIcon
26165
26185
  }, null, 8, ["src"])) : createCommentVNode("", true)
26166
26186
  ])) : props.showWordLimit ? (openBlock(), createElementBlock("div", _hoisted_15$3, [
26167
- createElementVNode("span", _hoisted_16$3, toDisplayString(unref(modelValue).length) + "/" + toDisplayString(unref(attrs).maxlength), 1)
26187
+ unref(modelValue) ? (openBlock(), createElementBlock("span", _hoisted_16$3, toDisplayString(unref(modelValue).length) + "/" + toDisplayString(unref(attrs).maxlength), 1)) : (openBlock(), createElementBlock("span", _hoisted_17$2, " 0/" + toDisplayString(unref(attrs).maxlength), 1))
26168
26188
  ])) : createCommentVNode("", true)
26169
26189
  ])
26170
26190
  ], 2)),
26171
- withDirectives(createElementVNode("span", _hoisted_17$2, [
26172
- errors.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_18$2, toDisplayString(errors.value[0].message), 1)) : props.helpertext ? (openBlock(), createElementBlock("span", _hoisted_19$2, toDisplayString(props.helpertext), 1)) : createCommentVNode("", true)
26173
- ], 512), [
26174
- [vShow, props.helpertext || errors.value.length > 0]
26175
- ])
26191
+ props.helpertext || errors.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_18$2, [
26192
+ errors.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_19$2, toDisplayString(errors.value[0].message), 1)) : props.helpertext ? (openBlock(), createElementBlock("span", _hoisted_20$2, toDisplayString(props.helpertext), 1)) : createCommentVNode("", true)
26193
+ ])) : createCommentVNode("", true)
26176
26194
  ]);
26177
26195
  };
26178
26196
  }
26179
26197
  };
26180
- var PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-71920af7"]]);
26198
+ var PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-3a4be331"]]);
26181
26199
  const PlInputPlusPlugin = {
26182
26200
  install(app) {
26183
26201
  app.component("PlInputPlus", PlInputPlus);
@@ -26325,35 +26343,32 @@ const _sfc_main$x = {
26325
26343
  "button-secondary": props.type === "secondary",
26326
26344
  "button-error": props.type === "error",
26327
26345
  "button-empty": props.type === "empty",
26328
- "full-width": props.fullWidth
26346
+ "full-width": props.fullWidth,
26347
+ "pl-button": true
26329
26348
  }));
26330
26349
  const onClick = () => !props.disabled && emit2("click");
26331
26350
  return (_ctx, _cache) => {
26332
26351
  const _component_inline_svg = resolveComponent("inline-svg");
26333
- const _component_el_button = ElButton;
26334
- return openBlock(), createBlock(_component_el_button, {
26352
+ return openBlock(), createElementBlock("button", {
26335
26353
  class: normalizeClass(unref(buttonClasses)),
26336
26354
  onClick
26337
- }, {
26338
- default: withCtx(() => [
26339
- createElementVNode("div", _hoisted_1$w, [
26340
- props.iconPosition === "left" ? (openBlock(), createBlock(_component_inline_svg, {
26341
- key: 0,
26342
- src: props.icon
26343
- }, null, 8, ["src"])) : createCommentVNode("", true),
26344
- renderSlot(_ctx.$slots, "default", {}, void 0, true),
26345
- props.iconPosition === "right" ? (openBlock(), createBlock(_component_inline_svg, {
26346
- key: 1,
26347
- src: props.icon
26348
- }, null, 8, ["src"])) : createCommentVNode("", true)
26349
- ])
26350
- ]),
26351
- _: 3
26352
- }, 8, ["class"]);
26355
+ }, [
26356
+ createElementVNode("div", _hoisted_1$w, [
26357
+ props.iconPosition === "left" ? (openBlock(), createBlock(_component_inline_svg, {
26358
+ key: 0,
26359
+ src: props.icon
26360
+ }, null, 8, ["src"])) : createCommentVNode("", true),
26361
+ renderSlot(_ctx.$slots, "default", {}, void 0, true),
26362
+ props.iconPosition === "right" ? (openBlock(), createBlock(_component_inline_svg, {
26363
+ key: 1,
26364
+ src: props.icon
26365
+ }, null, 8, ["src"])) : createCommentVNode("", true)
26366
+ ])
26367
+ ], 2);
26353
26368
  };
26354
26369
  }
26355
26370
  };
26356
- var PlButton = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-4756d38f"]]);
26371
+ var PlButton = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-f7ae6c80"]]);
26357
26372
  const cache = {};
26358
26373
  function filterAttrs(attrs) {
26359
26374
  return Object.keys(attrs).reduce((result, key) => {
@@ -26646,7 +26661,7 @@ var objectSupport$1 = { exports: {} };
26646
26661
  })(objectSupport$1);
26647
26662
  var objectSupport = objectSupport$1.exports;
26648
26663
  var plDatePickerRange_vue_vue_type_style_index_0_scoped_true_lang = "";
26649
- const _withScopeId = (n2) => (pushScopeId("data-v-6db27b86"), n2 = n2(), popScopeId(), n2);
26664
+ const _withScopeId = (n2) => (pushScopeId("data-v-c0a2c110"), n2 = n2(), popScopeId(), n2);
26650
26665
  const _hoisted_1$v = ["id"];
26651
26666
  const _hoisted_2$r = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
26652
26667
  class: "date-picker__img",
@@ -26654,12 +26669,12 @@ const _hoisted_2$r = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
26654
26669
  alt: "date-picker icon"
26655
26670
  }, null, -1));
26656
26671
  const _hoisted_3$n = { class: "date-switcher__container flex-column" };
26657
- const _hoisted_4$h = { class: "d-flex pb-4 justify-content-between" };
26672
+ const _hoisted_4$h = { class: "d-flex pb-6 justify-content-between" };
26658
26673
  const _hoisted_5$b = { class: "date-switcher justify-content-center flex-column" };
26659
- const _hoisted_6$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-05 ps-05" }, "\u041D\u0430\u0447\u0430\u043B\u043E \u043F\u0435\u0440\u0438\u043E\u0434\u0430", -1));
26674
+ const _hoisted_6$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-1 ps-1" }, "\u041D\u0430\u0447\u0430\u043B\u043E \u043F\u0435\u0440\u0438\u043E\u0434\u0430", -1));
26660
26675
  const _hoisted_7$5 = { class: "date-switcher justify-content-center flex-column" };
26661
- const _hoisted_8$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-05 ps-05" }, "\u041A\u043E\u043D\u0435\u0446 \u043F\u0435\u0440\u0438\u043E\u0434\u0430", -1));
26662
- const _hoisted_9$4 = { class: "d-flex pt-1 justify-content-between" };
26676
+ const _hoisted_8$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "pl-date-picker__placeholder pb-1 ps-1" }, "\u041A\u043E\u043D\u0435\u0446 \u043F\u0435\u0440\u0438\u043E\u0434\u0430", -1));
26677
+ const _hoisted_9$4 = { class: "d-flex pt-2 justify-content-between" };
26663
26678
  const _hoisted_10$3 = { class: "date-switcher date-switcher__month" };
26664
26679
  const _hoisted_11$3 = { class: "date-switcher__month-name" };
26665
26680
  const _hoisted_12$3 = { class: "date-switcher date-switcher__year" };
@@ -27221,7 +27236,7 @@ const _sfc_main$v = {
27221
27236
  };
27222
27237
  }
27223
27238
  };
27224
- var PlDatePickerRange = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-6db27b86"]]);
27239
+ var PlDatePickerRange = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-c0a2c110"]]);
27225
27240
  var datePicker = "";
27226
27241
  var scrollbar = "";
27227
27242
  var ru = {
@@ -38993,7 +39008,7 @@ const _hoisted_1$l = {
38993
39008
  id: "pl-form-tabs",
38994
39009
  class: "d-flex align-items-center"
38995
39010
  };
38996
- const _hoisted_2$j = { class: "container pt-12 pb-12 ps-2 pe-2" };
39011
+ const _hoisted_2$j = { class: "container pt-12 pb-12 ps-3 pe-3" };
38997
39012
  const _hoisted_3$h = ["onClick"];
38998
39013
  const _sfc_main$l = {
38999
39014
  __name: "pl-form-tabs",
@@ -39039,7 +39054,7 @@ const _sfc_main$l = {
39039
39054
  (openBlock(), createElementBlock(Fragment, null, renderList(tabs2, (item) => {
39040
39055
  return createElementVNode("div", {
39041
39056
  key: item.label,
39042
- class: normalizeClass(["p-12 ps-3 pe-3 rounded-8 disable-color pointer fw-500 tab-title", [selected.value === item.label ? "active-tab" : ""]])
39057
+ class: normalizeClass(["p-12 ps-4 pe-3 rounded-8 disable-color pointer fw-500 tab-title", [selected.value === item.label ? "active-tab" : ""]])
39043
39058
  }, [
39044
39059
  createElementVNode("div", {
39045
39060
  onClick: ($event) => {
@@ -39091,7 +39106,7 @@ var plFormDiolog_vue_vue_type_style_index_0_lang = "";
39091
39106
  const _hoisted_1$j = {
39092
39107
  key: 0,
39093
39108
  id: "dialogForm",
39094
- class: "container d-flex flex-column p-3 justify-content-center"
39109
+ class: "container d-flex flex-column p-4 justify-content-center"
39095
39110
  };
39096
39111
  const _hoisted_2$h = /* @__PURE__ */ createElementVNode("div", { class: "d-flex align-items-start gap-12" }, [
39097
39112
  /* @__PURE__ */ createElementVNode("img", {
@@ -39116,7 +39131,7 @@ const _sfc_main$j = {
39116
39131
  return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
39117
39132
  _hoisted_2$h,
39118
39133
  createElementVNode("button", {
39119
- class: "fw-bold btn default-text border-0 mt-3 rounded-8 btn-ok",
39134
+ class: "fw-bold btn default-text border-0 mt-4 rounded-8 btn-ok",
39120
39135
  onClick: _cache[0] || (_cache[0] = ($event) => isVisible.value = false)
39121
39136
  }, _hoisted_4$a)
39122
39137
  ])) : createCommentVNode("", true);
@@ -40026,7 +40041,7 @@ const _sfc_main$b = {
40026
40041
  ])
40027
40042
  ]),
40028
40043
  footer: withCtx(() => [
40029
- createElementVNode("div", { class: "d-flex flex-row-reverse gap-3 mt-48" }, [
40044
+ createElementVNode("div", { class: "d-flex flex-row-reverse gap-4 mt-48" }, [
40030
40045
  _hoisted_6$4,
40031
40046
  createElementVNode("button", {
40032
40047
  onClick: exit,
@@ -40140,7 +40155,7 @@ const _hoisted_20$1 = { class: "d-flex align-items-center justify-content-betwee
40140
40155
  const _hoisted_21$1 = { class: "itemPhysical__left d-flex flex-column" };
40141
40156
  const _hoisted_22$1 = { class: "default-text topText" };
40142
40157
  const _hoisted_23$1 = { class: "itemPhysical__decorText" };
40143
- const _hoisted_24$1 = /* @__PURE__ */ createElementVNode("div", { class: "d-flex gap-3" }, [
40158
+ const _hoisted_24$1 = /* @__PURE__ */ createElementVNode("div", { class: "d-flex gap-4" }, [
40144
40159
  /* @__PURE__ */ createElementVNode("img", {
40145
40160
  src: _imports_1$1,
40146
40161
  alt: "edit"
@@ -40210,7 +40225,7 @@ const _sfc_main$a = {
40210
40225
  ])
40211
40226
  ]),
40212
40227
  withDirectives(createElementVNode("div", {
40213
- class: normalizeClass(["contentBodies padding-empty mt-3", { "pl-list__btn-container": __props.isAdditional }])
40228
+ class: normalizeClass(["contentBodies padding-empty mt-4", { "pl-list__btn-container": __props.isAdditional }])
40214
40229
  }, [
40215
40230
  createElementVNode("button", {
40216
40231
  onClick: _cache[1] || (_cache[1] = (...args) => __props.addItem && __props.addItem(...args)),
@@ -40268,7 +40283,7 @@ const _sfc_main$a = {
40268
40283
  };
40269
40284
  const _hoisted_1$9 = {
40270
40285
  id: "wrapperBodies",
40271
- class: "d-flex flex-column gap-3"
40286
+ class: "d-flex flex-column gap-4"
40272
40287
  };
40273
40288
  const _hoisted_2$8 = { class: "d-flex justify-content-between mt-32" };
40274
40289
  const _hoisted_3$7 = { class: "d-flex justify-content-between mt-32" };
@@ -41133,7 +41148,7 @@ function k(e2) {
41133
41148
  var plFormContact_vue_vue_type_style_index_0_lang = "";
41134
41149
  const _hoisted_1$8 = {
41135
41150
  id: "container-general",
41136
- class: "d-flex flex-column gap-3"
41151
+ class: "d-flex flex-column gap-4"
41137
41152
  };
41138
41153
  const _hoisted_2$7 = { class: "d-flex justify-content-between mt-32" };
41139
41154
  const _sfc_main$8 = {
@@ -41254,7 +41269,7 @@ const _hoisted_1$7 = {
41254
41269
  id: "form-menu",
41255
41270
  class: "container padding-menu pt-3 pb-3 h-100"
41256
41271
  };
41257
- const _hoisted_2$6 = /* @__PURE__ */ createStaticVNode('<nav class="d-grid gap-52 justify-content-center h-100"><div class="d-grid top-section gap-4"><a href="#"><img src="' + _imports_0$2 + '" alt="saved"></a><a href="#"><img src="' + _imports_1 + '" alt="share"></a><a href="#"><img src="' + _imports_2 + '" alt="support"></a></div><div class="decor"></div><a class="mt-auto" href="#"><img src="' + _imports_3 + '" alt="close"></a></nav>', 1);
41272
+ const _hoisted_2$6 = /* @__PURE__ */ createStaticVNode('<nav class="d-grid gap-52 justify-content-center h-100"><div class="d-grid top-section gap-6"><a href="#"><img src="' + _imports_0$2 + '" alt="saved"></a><a href="#"><img src="' + _imports_1 + '" alt="share"></a><a href="#"><img src="' + _imports_2 + '" alt="support"></a></div><div class="decor"></div><a class="mt-auto" href="#"><img src="' + _imports_3 + '" alt="close"></a></nav>', 1);
41258
41273
  const _hoisted_3$6 = [
41259
41274
  _hoisted_2$6
41260
41275
  ];
@@ -41264,7 +41279,7 @@ function _sfc_render(_ctx, _cache) {
41264
41279
  var PlFormMenu = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render]]);
41265
41280
  const _hoisted_1$6 = {
41266
41281
  id: "container-general",
41267
- class: "d-flex flex-column gap-3"
41282
+ class: "d-flex flex-column gap-4"
41268
41283
  };
41269
41284
  const _hoisted_2$5 = { class: "d-flex justify-content-between mt-32" };
41270
41285
  const _hoisted_3$5 = { class: "d-flex justify-content-between mt-32" };
@@ -41582,8 +41597,8 @@ const _hoisted_2$4 = {
41582
41597
  id: "pl-questionnaire",
41583
41598
  class: "wrapper d-flex justify-content-between"
41584
41599
  };
41585
- const _hoisted_3$4 = { class: "left d-flex flex-column gap-2" };
41586
- const _hoisted_4$3 = { class: "center d-flex flex-column gap-3" };
41600
+ const _hoisted_3$4 = { class: "left d-flex flex-column gap-3" };
41601
+ const _hoisted_4$3 = { class: "center d-flex flex-column gap-4" };
41587
41602
  const _hoisted_5$1 = { class: "right" };
41588
41603
  const _sfc_main$5 = {
41589
41604
  __name: "pl-questionnaire",
@@ -42949,10 +42964,11 @@ const PlTooltipPlugin = {
42949
42964
  app.component("PlTooltip", _sfc_main$C);
42950
42965
  }
42951
42966
  };
42952
- var bootstrapCustom = "";
42967
+ var customBootstrap = "";
42953
42968
  var root = "";
42954
42969
  var inter = "";
42955
42970
  var color = "";
42971
+ var resetElement = "";
42956
42972
  const PlPlugin = {
42957
42973
  install(app) {
42958
42974
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t2, _u, _v, _w;