@factoringplus/pl-components-pack-v3 0.8.18 → 0.8.19-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.
package/README.md CHANGED
@@ -1,17 +1,17 @@
1
- # Библиотека компонентов Vue 3
2
-
3
- ## Установка
4
-
5
- ```bash
6
- npm i @factoringplus/pl-components-pack-v3
7
- ```
8
-
9
- ### Добавление компонентов в проект
10
-
11
- ```bash
12
- // src/main.js
13
- import components from '@factoringplus/pl-components-pack-v3';
14
- import '@factoringplus/pl-components-pack-v3/dist/style.css';
15
-
16
- app.use(components)
17
- ```
1
+ # Библиотека компонентов Vue 3
2
+
3
+ ## Установка
4
+
5
+ ```bash
6
+ npm i @factoringplus/pl-components-pack-v3
7
+ ```
8
+
9
+ ### Добавление компонентов в проект
10
+
11
+ ```bash
12
+ // src/main.js
13
+ import components from '@factoringplus/pl-components-pack-v3';
14
+ import '@factoringplus/pl-components-pack-v3/dist/style.css';
15
+
16
+ app.use(components)
17
+ ```
@@ -21243,7 +21243,7 @@ const PlButtonPlugin = {
21243
21243
  ], 2);
21244
21244
  };
21245
21245
  }
21246
- }, plSelectPlus_vue_vue_type_style_index_0_scoped_9461241e_lang = "", _hoisted_1$z = { class: "pl-select__wrapper" }, _hoisted_2$v = { class: "pl-select__select-container" }, _hoisted_3$p = {
21246
+ }, plSelectPlus_vue_vue_type_style_index_0_scoped_1c207bae_lang = "", _hoisted_1$z = { class: "pl-select__wrapper" }, _hoisted_2$v = { class: "pl-select__select-container" }, _hoisted_3$p = {
21247
21247
  key: 0,
21248
21248
  class: "pl-select__label-container"
21249
21249
  }, _hoisted_4$k = { class: "pl-select__label-container-text" }, _hoisted_5$f = {
@@ -21324,11 +21324,11 @@ const PlButtonPlugin = {
21324
21324
  default: !1
21325
21325
  }
21326
21326
  },
21327
- emits: ["update:modelValue"],
21327
+ emits: ["update:modelValue", "change"],
21328
21328
  setup(g, { emit: y }) {
21329
21329
  const j = g;
21330
21330
  useCssVars((Ue) => ({
21331
- b6f85734: j.width
21331
+ "39747a33": j.width
21332
21332
  }));
21333
21333
  const z = `id-${uniqid()}`, L = ref([]);
21334
21334
  if (j.prop) {
@@ -21380,6 +21380,7 @@ const PlButtonPlugin = {
21380
21380
  $e.initEvent("change", !1, !0), Ue.dispatchEvent($e);
21381
21381
  } else
21382
21382
  Ue.fireEvent("onchange");
21383
+ y("change");
21383
21384
  });
21384
21385
  const Ne = (Ue) => {
21385
21386
  Ue.disabled || (pe(), de.value = Ue.value);
@@ -21468,7 +21469,7 @@ const PlButtonPlugin = {
21468
21469
  ]);
21469
21470
  };
21470
21471
  }
21471
- }, PlSelectPlus = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-9461241e"]]), PlSelectPlusPlugin = {
21472
+ }, PlSelectPlus = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-1c207bae"]]), PlSelectPlusPlugin = {
21472
21473
  install(g) {
21473
21474
  g.component("PlSelectPlus", PlSelectPlus);
21474
21475
  }
@@ -34942,10 +34943,6 @@ const objectSupport = /* @__PURE__ */ getDefaultExportFromCjs(objectSupportExpor
34942
34943
  disabled: {
34943
34944
  type: Boolean,
34944
34945
  default: !1
34945
- },
34946
- id: {
34947
- type: String,
34948
- default: null
34949
34946
  }
34950
34947
  },
34951
34948
  emits: ["update:modelValue"],
@@ -34958,7 +34955,7 @@ const objectSupport = /* @__PURE__ */ getDefaultExportFromCjs(objectSupportExpor
34958
34955
  }), { label: L } = toRefs(j), V = computed$1(() => L.value || "no-label"), re = computed$1(() => V.value === "no-label" ? uniqid() : V.value);
34959
34956
  return (ae, le) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
34960
34957
  withDirectives(createElementVNode("input", {
34961
- id: g.id || re.value,
34958
+ id: re.value,
34962
34959
  "onUpdate:modelValue": le[0] || (le[0] = (ue) => z.value = ue),
34963
34960
  type: "checkbox",
34964
34961
  class: "custom-checkbox",
@@ -34968,7 +34965,7 @@ const objectSupport = /* @__PURE__ */ getDefaultExportFromCjs(objectSupportExpor
34968
34965
  [vModelCheckbox, z.value]
34969
34966
  ]),
34970
34967
  createElementVNode("label", {
34971
- for: g.id || re.value,
34968
+ for: re.value,
34972
34969
  onClick: le[1] || (le[1] = withModifiers(() => {
34973
34970
  }, ["stop"]))
34974
34971
  }, toDisplayString(V.value !== "no-label" ? V.value : null), 9, _hoisted_3$1)