@factoringplus/pl-components-pack-v3 0.14.0 → 0.14.1-pre-02
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 +17 -17
- package/dist/pl-components-pack-v3.es.js +22 -12
- package/dist/pl-components-pack-v3.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
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
|
+
```
|
|
@@ -18461,13 +18461,17 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$P = /* @__PURE
|
|
|
18461
18461
|
Lt === -1 ? xe.push(Ve + "." + qe) : xe[Lt] += "." + qe;
|
|
18462
18462
|
} else
|
|
18463
18463
|
xe.push(qe);
|
|
18464
|
-
}, re = (ze, xe, Ve) => new Promise((
|
|
18464
|
+
}, re = (ze, xe, Ve, qe = !1) => new Promise((Lt, kt) => {
|
|
18465
18465
|
if (xe.includes(".")) {
|
|
18466
|
-
const
|
|
18467
|
-
re(
|
|
18466
|
+
const Dt = xe.slice(0, xe.indexOf(".")), Mn = xe.slice(xe.indexOf(".") + 1);
|
|
18467
|
+
re(Dt, Mn, Ve[Dt], qe).then(Lt).catch(kt);
|
|
18468
18468
|
} else {
|
|
18469
|
-
const
|
|
18470
|
-
|
|
18469
|
+
const Dt = { ...Ve };
|
|
18470
|
+
Lt(
|
|
18471
|
+
qe ? Dt[xe].filter(
|
|
18472
|
+
(Mn) => Mn.validator || typeof Mn.validator > "u"
|
|
18473
|
+
) : Dt[xe]
|
|
18474
|
+
);
|
|
18471
18475
|
}
|
|
18472
18476
|
}), oe = ref({}), ae = (ze) => new Promise((xe, Ve) => {
|
|
18473
18477
|
const qe = new Schema(oe.value), Lt = {};
|
|
@@ -18489,6 +18493,8 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$P = /* @__PURE
|
|
|
18489
18493
|
throw new Error(kt);
|
|
18490
18494
|
}
|
|
18491
18495
|
}), ie = async (ze) => {
|
|
18496
|
+
if (!(ze in oe.value))
|
|
18497
|
+
return;
|
|
18492
18498
|
const xe = {}, Ve = {};
|
|
18493
18499
|
Ve[ze] = await re(ze, ze, k.value), xe[ze] = oe.value[ze], new Schema(xe).validate(Ve, (Lt) => {
|
|
18494
18500
|
L.value = L.value.filter((kt) => kt.field !== ze), Lt && (L.value = L.value.concat(Lt));
|
|
@@ -18515,7 +18521,7 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$P = /* @__PURE
|
|
|
18515
18521
|
he.value = [], oe.value = {};
|
|
18516
18522
|
for (let Ve = 0; Ve < ze.length; Ve++) {
|
|
18517
18523
|
const qe = ze[Ve], Lt = (xe = qe.attributes.prop) == null ? void 0 : xe.value;
|
|
18518
|
-
he.value.push(Lt), Lt && (oe.value[Lt] = await re(Lt, Lt, j.value));
|
|
18524
|
+
he.value.push(Lt), Lt && (oe.value[Lt] = await re(Lt, Lt, j.value, !0));
|
|
18519
18525
|
const kt = () => {
|
|
18520
18526
|
setTimeout(() => {
|
|
18521
18527
|
nextTick(() => {
|
|
@@ -18538,9 +18544,13 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$P = /* @__PURE
|
|
|
18538
18544
|
}, Ne = () => {
|
|
18539
18545
|
Oe(), Ie();
|
|
18540
18546
|
};
|
|
18541
|
-
return watch(
|
|
18542
|
-
|
|
18543
|
-
|
|
18547
|
+
return watch(
|
|
18548
|
+
() => j.value,
|
|
18549
|
+
() => {
|
|
18550
|
+
Ne();
|
|
18551
|
+
},
|
|
18552
|
+
{ deep: !0 }
|
|
18553
|
+
), onMounted(() => {
|
|
18544
18554
|
const ze = pe.value, xe = new MutationObserver(() => {
|
|
18545
18555
|
Ne();
|
|
18546
18556
|
});
|
|
@@ -33947,13 +33957,13 @@ function _sfc_render$3(t, n) {
|
|
|
33947
33957
|
renderSlot(t.$slots, "default", {}, void 0, !0)
|
|
33948
33958
|
]);
|
|
33949
33959
|
}
|
|
33950
|
-
const PlTag = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$3], ["__scopeId", "data-v-e9e7d669"]]),
|
|
33960
|
+
const PlTag = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$3], ["__scopeId", "data-v-e9e7d669"]]), plSystem_vue_vue_type_style_index_0_scoped_cd3978a3_lang = "", _sfc_main$a = {};
|
|
33951
33961
|
function _sfc_render$2(t, n) {
|
|
33952
33962
|
return openBlock(), createElementBlock("span", null, [
|
|
33953
33963
|
renderSlot(t.$slots, "default", {}, void 0, !0)
|
|
33954
33964
|
]);
|
|
33955
33965
|
}
|
|
33956
|
-
const PlSystem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
33966
|
+
const PlSystem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$2], ["__scopeId", "data-v-cd3978a3"]]), PlTextPlugin = {
|
|
33957
33967
|
install(t) {
|
|
33958
33968
|
t.component("PlH1", PlH1), t.component("PlH2", PlH2), t.component("PlH3", PlH3), t.component("PlH4", PlH4), t.component("PlTitle1", PlTitle1), t.component("PlTitle2", PlTitle2), t.component("PlTitle3", PlTitle3), t.component("PlSub1", PlSub1), t.component("PlSub2", PlSub2), t.component("PlBtn1", PlBtn1), t.component("PlBtn2", PlBtn2), t.component("PlBtn3", PlBtn3), t.component("PlBody1", PlBody1), t.component("PlBody2", PlBody2), t.component("PlBody3", PlBody3), t.component("PlBodyU", PlBodyU), t.component("PlCap", PlCap), t.component("PlTag", PlTag), t.component("PlSystem", PlSystem);
|
|
33959
33969
|
}
|
|
@@ -34068,7 +34078,7 @@ const PlSystem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_rende
|
|
|
34068
34078
|
]);
|
|
34069
34079
|
};
|
|
34070
34080
|
}
|
|
34071
|
-
}),
|
|
34081
|
+
}), plCheckboxPlus_vue_vue_type_style_index_0_scoped_ba28a319_lang = "", PlCheckboxPlus = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-ba28a319"]]), PlCheckboxPlusPlugin = {
|
|
34072
34082
|
install(t) {
|
|
34073
34083
|
t.component("PlCheckboxPlus", PlCheckboxPlus);
|
|
34074
34084
|
}
|