@factoringplus/pl-components-pack-v3 0.3.37 → 0.3.38

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.
@@ -16693,7 +16693,7 @@ const _hoisted_2$r = ["aria-current", "tabindex"];
16693
16693
  const _hoisted_3$l = ["tabindex"];
16694
16694
  const _hoisted_4$c = ["aria-current", "tabindex"];
16695
16695
  const _hoisted_5$7 = ["tabindex"];
16696
- const _hoisted_6$3 = ["aria-current", "tabindex"];
16696
+ const _hoisted_6$4 = ["aria-current", "tabindex"];
16697
16697
  const __default__$j = {
16698
16698
  name: "ElPaginationPager"
16699
16699
  };
@@ -16883,7 +16883,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
16883
16883
  ], "number"]),
16884
16884
  "aria-current": _ctx.currentPage === _ctx.pageCount,
16885
16885
  tabindex: unref(tabindex)
16886
- }, toDisplayString(_ctx.pageCount), 11, _hoisted_6$3)) : createCommentVNode("v-if", true)
16886
+ }, toDisplayString(_ctx.pageCount), 11, _hoisted_6$4)) : createCommentVNode("v-if", true)
16887
16887
  ], 42, _hoisted_1$y);
16888
16888
  };
16889
16889
  }
@@ -37768,7 +37768,7 @@ const _hoisted_4$9 = {
37768
37768
  class: "dialog-footer"
37769
37769
  };
37770
37770
  const _hoisted_5$4 = /* @__PURE__ */ createTextVNode("\u0412\u044B\u0431\u0440\u0430\u0442\u044C");
37771
- const _hoisted_6$2 = /* @__PURE__ */ createTextVNode("\u041E\u0442\u043C\u0435\u043D\u0430");
37771
+ const _hoisted_6$3 = /* @__PURE__ */ createTextVNode("\u041E\u0442\u043C\u0435\u043D\u0430");
37772
37772
  const _hoisted_7$2 = {
37773
37773
  key: 1,
37774
37774
  class: "dialog-footer"
@@ -37960,7 +37960,7 @@ const _sfc_main$m = /* @__PURE__ */ Object.assign(__default__$6, {
37960
37960
  }, 8, ["disabled"]),
37961
37961
  createVNode(_component_el_button, { onClick: hide }, {
37962
37962
  default: withCtx(() => [
37963
- _hoisted_6$2
37963
+ _hoisted_6$3
37964
37964
  ]),
37965
37965
  _: 1
37966
37966
  })
@@ -40472,7 +40472,7 @@ const _hoisted_5$3 = /* @__PURE__ */ createElementVNode("img", {
40472
40472
  src: _imports_0$3,
40473
40473
  alt: "add"
40474
40474
  }, null, -1);
40475
- const _hoisted_6$1 = [
40475
+ const _hoisted_6$2 = [
40476
40476
  _hoisted_5$3
40477
40477
  ];
40478
40478
  const _hoisted_7$1 = { class: "contentBodies padding-empty mt-3" };
@@ -40580,7 +40580,7 @@ const _sfc_main$7 = {
40580
40580
  withDirectives(createElementVNode("button", {
40581
40581
  onClick: addNewPhysical,
40582
40582
  class: "btn"
40583
- }, _hoisted_6$1, 512), [
40583
+ }, _hoisted_6$2, 512), [
40584
40584
  [vShow, !emptyPhysical.value]
40585
40585
  ])
40586
40586
  ]),
@@ -40980,7 +40980,7 @@ const _hoisted_4$1 = /* @__PURE__ */ createElementVNode("div", { class: "stepper
40980
40980
  const _hoisted_5$1 = /* @__PURE__ */ createElementVNode("div", { class: "stepper-figure__progress" }, [
40981
40981
  /* @__PURE__ */ createElementVNode("div", { class: "stepper-figure__progress-inner" })
40982
40982
  ], -1);
40983
- const _hoisted_6 = [
40983
+ const _hoisted_6$1 = [
40984
40984
  _hoisted_4$1,
40985
40985
  _hoisted_5$1
40986
40986
  ];
@@ -41106,7 +41106,7 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign(__default__$1, {
41106
41106
  }])
41107
41107
  }, toDisplayString(item[__props.stepName]), 3)
41108
41108
  ]),
41109
- __props.currentCount > item[__props.stepCountName] && !checkCurrentTariff(item, unref(currentTariff)) ? (openBlock(), createElementBlock("div", _hoisted_3$2, _hoisted_6)) : (openBlock(), createElementBlock("div", _hoisted_7, [
41109
+ __props.currentCount > item[__props.stepCountName] && !checkCurrentTariff(item, unref(currentTariff)) ? (openBlock(), createElementBlock("div", _hoisted_3$2, _hoisted_6$1)) : (openBlock(), createElementBlock("div", _hoisted_7, [
41110
41110
  createElementVNode("div", {
41111
41111
  class: normalizeClass(["stepper-figure__circle", {
41112
41112
  "stepper-figure__circle_checked": checkCurrentTariff(item, unref(currentTariff))
@@ -42031,19 +42031,20 @@ const DISPLAY_MONTHS = [
42031
42031
  ];
42032
42032
  var plDatePickerPlus_vue_vue_type_style_index_0_lang = "";
42033
42033
  const _hoisted_1 = { class: "date-picker-plus" };
42034
- const _hoisted_2 = { class: "date-picker-plus__title" };
42035
- const _hoisted_3 = {
42034
+ const _hoisted_2 = { style: { "position": "absolute", "width": "max-content", "top": "-30px" } };
42035
+ const _hoisted_3 = { class: "date-picker-plus__title" };
42036
+ const _hoisted_4 = {
42036
42037
  key: 0,
42037
42038
  class: "date-picker-plus__popup"
42038
42039
  };
42039
- const _hoisted_4 = { class: "date-picker-plus__days" };
42040
- const _hoisted_5 = ["onClick"];
42040
+ const _hoisted_5 = { class: "date-picker-plus__days" };
42041
+ const _hoisted_6 = ["onClick"];
42041
42042
  const _sfc_main = {
42042
42043
  __name: "pl-date-picker-plus",
42043
42044
  props: {
42044
42045
  modelValue: String
42045
42046
  },
42046
- emits: ["update:modelValue"],
42047
+ emits: ["update:value"],
42047
42048
  setup(__props, { emit: emit2 }) {
42048
42049
  const props = __props;
42049
42050
  dayjs.locale("ru");
@@ -42104,65 +42105,60 @@ const _sfc_main = {
42104
42105
  });
42105
42106
  watch(innerValue, (value) => {
42106
42107
  console.log("value", value);
42107
- emit2("update:modelValue", value);
42108
- });
42109
- watch(modelValue, () => {
42110
- innerValue.value = modelValue.value;
42108
+ emit2("update:value", value);
42111
42109
  });
42112
42110
  innerValue.value = modelValue.value;
42113
42111
  return (_ctx, _cache) => {
42114
- return openBlock(), createElementBlock(Fragment, null, [
42115
- createElementVNode("div", null, "modelValue " + toDisplayString(unref(modelValue)), 1),
42116
- createElementVNode("div", _hoisted_1, [
42117
- createElementVNode("span", _hoisted_2, toDisplayString(displayDate(innerValue.value)), 1),
42118
- createElementVNode("img", {
42119
- class: "date-picker-plus__img",
42120
- src: _imports_0$1,
42121
- alt: "date-picker icon",
42122
- onClick: openDatePicker
42123
- }),
42124
- isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
42125
- createVNode(_sfc_main$1, {
42126
- modelValue: currentDate.value,
42127
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => currentDate.value = $event)
42128
- }, null, 8, ["modelValue"]),
42129
- createElementVNode("div", _hoisted_4, [
42130
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(WEEK_DAYS), (item, index) => {
42131
- return openBlock(), createElementBlock("span", {
42132
- class: "date-picker-plus__week-day",
42133
- key: index
42134
- }, toDisplayString(item), 1);
42135
- }), 128)),
42136
- (openBlock(true), createElementBlock(Fragment, null, renderList(daysData.value, (item, index) => {
42137
- return openBlock(), createElementBlock("div", {
42138
- class: normalizeClass([
42139
- "date-picker-plus__day-item",
42140
- { "date-picker-plus__day-item_disabled": item.type !== "current" },
42141
- { "date-picker-plus__day-item_active-item": checkCurrentMonthDays(item) }
42142
- ]),
42143
- key: `dd${index}`,
42144
- onClick: ($event) => selectDate(item)
42145
- }, [
42146
- createElementVNode("div", {
42147
- class: normalizeClass(checkCurrentMonthDays(item) && "date-picker-plus__day-item_active-container")
42148
- }, null, 2),
42149
- createTextVNode(" " + toDisplayString(item.day), 1)
42150
- ], 10, _hoisted_5);
42151
- }), 128))
42152
- ]),
42153
- createElementVNode("div", { class: "date-picker-plus__buttons" }, [
42154
- createElementVNode("button", {
42155
- class: "date-picker-plus__btn date-picker-plus__btn-cancel",
42156
- onClick: cancelDate
42157
- }, "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C"),
42158
- createElementVNode("button", {
42159
- class: "date-picker-plus__btn date-picker-plus__btn-confirm",
42160
- onClick: confirmDate
42161
- }, "\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C")
42162
- ])
42163
- ])) : createCommentVNode("", true)
42164
- ])
42165
- ], 64);
42112
+ return openBlock(), createElementBlock("div", _hoisted_1, [
42113
+ createElementVNode("div", _hoisted_2, "modelValue " + toDisplayString(props.modelValue), 1),
42114
+ createElementVNode("span", _hoisted_3, toDisplayString(displayDate(innerValue.value)), 1),
42115
+ createElementVNode("img", {
42116
+ class: "date-picker-plus__img",
42117
+ src: _imports_0$1,
42118
+ alt: "date-picker icon",
42119
+ onClick: openDatePicker
42120
+ }),
42121
+ isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_4, [
42122
+ createVNode(_sfc_main$1, {
42123
+ modelValue: currentDate.value,
42124
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => currentDate.value = $event)
42125
+ }, null, 8, ["modelValue"]),
42126
+ createElementVNode("div", _hoisted_5, [
42127
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(WEEK_DAYS), (item, index) => {
42128
+ return openBlock(), createElementBlock("span", {
42129
+ class: "date-picker-plus__week-day",
42130
+ key: index
42131
+ }, toDisplayString(item), 1);
42132
+ }), 128)),
42133
+ (openBlock(true), createElementBlock(Fragment, null, renderList(daysData.value, (item, index) => {
42134
+ return openBlock(), createElementBlock("div", {
42135
+ class: normalizeClass([
42136
+ "date-picker-plus__day-item",
42137
+ { "date-picker-plus__day-item_disabled": item.type !== "current" },
42138
+ { "date-picker-plus__day-item_active-item": checkCurrentMonthDays(item) }
42139
+ ]),
42140
+ key: `dd${index}`,
42141
+ onClick: ($event) => selectDate(item)
42142
+ }, [
42143
+ createElementVNode("div", {
42144
+ class: normalizeClass(checkCurrentMonthDays(item) && "date-picker-plus__day-item_active-container")
42145
+ }, null, 2),
42146
+ createTextVNode(" " + toDisplayString(item.day), 1)
42147
+ ], 10, _hoisted_6);
42148
+ }), 128))
42149
+ ]),
42150
+ createElementVNode("div", { class: "date-picker-plus__buttons" }, [
42151
+ createElementVNode("button", {
42152
+ class: "date-picker-plus__btn date-picker-plus__btn-cancel",
42153
+ onClick: cancelDate
42154
+ }, "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C"),
42155
+ createElementVNode("button", {
42156
+ class: "date-picker-plus__btn date-picker-plus__btn-confirm",
42157
+ onClick: confirmDate
42158
+ }, "\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C")
42159
+ ])
42160
+ ])) : createCommentVNode("", true)
42161
+ ]);
42166
42162
  };
42167
42163
  }
42168
42164
  };