@factoringplus/pl-components-pack-v3 1.0.0 → 1.0.2-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 +17 -17
- package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +0 -3
- package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +0 -3
- package/dist/components/pl-autocomplete/types/index.d.ts +0 -2
- package/dist/pl-components-pack-v3.es.js +6 -10
- package/dist/pl-components-pack-v3.umd.js +1 -1
- 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
|
+
```
|
|
@@ -5,7 +5,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
5
5
|
helpertext: string;
|
|
6
6
|
errors: () => never[];
|
|
7
7
|
offsets: string;
|
|
8
|
-
noSymbols: boolean;
|
|
9
8
|
loadingSuggestions: boolean;
|
|
10
9
|
query: string;
|
|
11
10
|
symbolsCountSearch: number;
|
|
@@ -20,7 +19,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
20
19
|
helpertext: string;
|
|
21
20
|
errors: () => never[];
|
|
22
21
|
offsets: string;
|
|
23
|
-
noSymbols: boolean;
|
|
24
22
|
loadingSuggestions: boolean;
|
|
25
23
|
query: string;
|
|
26
24
|
symbolsCountSearch: number;
|
|
@@ -35,7 +33,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
35
33
|
helpertext: string;
|
|
36
34
|
errors: import("async-validator").ValidateError[];
|
|
37
35
|
offsets: string;
|
|
38
|
-
noSymbols: boolean;
|
|
39
36
|
loadingSuggestions: boolean;
|
|
40
37
|
query: string;
|
|
41
38
|
symbolsCountSearch: number;
|
|
@@ -13,7 +13,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
clearable: boolean;
|
|
15
15
|
symbolsCountSearch: number;
|
|
16
|
-
noSymbols: boolean;
|
|
17
16
|
suggestionList: () => never[];
|
|
18
17
|
noData: string;
|
|
19
18
|
defaultDropText: string;
|
|
@@ -39,7 +38,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
39
38
|
disabled: boolean;
|
|
40
39
|
clearable: boolean;
|
|
41
40
|
symbolsCountSearch: number;
|
|
42
|
-
noSymbols: boolean;
|
|
43
41
|
suggestionList: () => never[];
|
|
44
42
|
noData: string;
|
|
45
43
|
defaultDropText: string;
|
|
@@ -54,7 +52,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
54
52
|
}, {
|
|
55
53
|
label: string;
|
|
56
54
|
helpertext: string;
|
|
57
|
-
noSymbols: boolean;
|
|
58
55
|
symbolsCountSearch: number;
|
|
59
56
|
suggestionList: IOption[];
|
|
60
57
|
disableMarkerBottom: boolean;
|
|
@@ -20,7 +20,6 @@ declare interface IAutocompleteProps {
|
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
clearable?: boolean;
|
|
22
22
|
symbolsCountSearch?: number;
|
|
23
|
-
noSymbols?: boolean;
|
|
24
23
|
noData?: string;
|
|
25
24
|
defaultDropText?: string;
|
|
26
25
|
memoryBlur?: boolean;
|
|
@@ -34,7 +33,6 @@ declare interface IDropdownProps {
|
|
|
34
33
|
helpertext: string;
|
|
35
34
|
errors: ValidateError[];
|
|
36
35
|
offsets: string;
|
|
37
|
-
noSymbols: boolean;
|
|
38
36
|
loadingSuggestions: boolean;
|
|
39
37
|
query: string;
|
|
40
38
|
symbolsCountSearch: number;
|
|
@@ -24190,7 +24190,6 @@ const WF = ["id"], HF = {
|
|
|
24190
24190
|
helpertext: { default: "" },
|
|
24191
24191
|
errors: { default: () => [] },
|
|
24192
24192
|
offsets: { default: "" },
|
|
24193
|
-
noSymbols: { type: Boolean, default: !1 },
|
|
24194
24193
|
loadingSuggestions: { type: Boolean, default: !1 },
|
|
24195
24194
|
query: { default: "" },
|
|
24196
24195
|
symbolsCountSearch: { default: 3 },
|
|
@@ -24239,7 +24238,7 @@ const WF = ["id"], HF = {
|
|
|
24239
24238
|
]),
|
|
24240
24239
|
style: tt(u.offsets)
|
|
24241
24240
|
}, [
|
|
24242
|
-
|
|
24241
|
+
n.symbolsCountSearch && (u.loadingSuggestions || !u.query || u.query.length < n.symbolsCountSearch || !((p = n.suggestionList) != null && p.length)) ? (T(), z("div", HF, [
|
|
24243
24242
|
u.loadingSuggestions ? Pe((T(), z("div", ZF, null, 512)), [
|
|
24244
24243
|
[h, u.loadingSuggestions]
|
|
24245
24244
|
]) : (T(), z("span", GF, fe(i()), 1))
|
|
@@ -24340,7 +24339,6 @@ const na = /* @__PURE__ */ On(e6), t6 = ["id"], n6 = { class: "pl-autocomplete__
|
|
|
24340
24339
|
disabled: { type: Boolean, default: !1 },
|
|
24341
24340
|
clearable: { type: Boolean, default: !1 },
|
|
24342
24341
|
symbolsCountSearch: { default: 3 },
|
|
24343
|
-
noSymbols: { type: Boolean, default: !1 },
|
|
24344
24342
|
noData: { default: "Нет данных" },
|
|
24345
24343
|
defaultDropText: { default: "" },
|
|
24346
24344
|
memoryBlur: { type: Boolean, default: !1 },
|
|
@@ -24352,7 +24350,7 @@ const na = /* @__PURE__ */ On(e6), t6 = ["id"], n6 = { class: "pl-autocomplete__
|
|
|
24352
24350
|
setup(e, { emit: t }) {
|
|
24353
24351
|
const n = e;
|
|
24354
24352
|
Ra((V) => ({
|
|
24355
|
-
|
|
24353
|
+
27332273: n.width
|
|
24356
24354
|
}));
|
|
24357
24355
|
const r = `id-${na()}`, o = C([]);
|
|
24358
24356
|
if (n.prop) {
|
|
@@ -24538,7 +24536,6 @@ const na = /* @__PURE__ */ On(e6), t6 = ["id"], n6 = { class: "pl-autocomplete__
|
|
|
24538
24536
|
helpertext: n.helpertext,
|
|
24539
24537
|
errors: o.value,
|
|
24540
24538
|
offsets: h.value,
|
|
24541
|
-
"no-symbols": n.noSymbols,
|
|
24542
24539
|
"loading-suggestions": A.value,
|
|
24543
24540
|
query: w.value,
|
|
24544
24541
|
"symbols-count-search": n.symbolsCountSearch,
|
|
@@ -24549,7 +24546,7 @@ const na = /* @__PURE__ */ On(e6), t6 = ["id"], n6 = { class: "pl-autocomplete__
|
|
|
24549
24546
|
"default-drop-text": n.defaultDropText,
|
|
24550
24547
|
"no-data": n.noData,
|
|
24551
24548
|
onSelectValue: L
|
|
24552
|
-
}, null, 8, ["focus", "helpertext", "errors", "offsets", "
|
|
24549
|
+
}, null, 8, ["focus", "helpertext", "errors", "offsets", "loading-suggestions", "query", "symbols-count-search", "suggestion-list", "disable-marker-bottom", "uniq-key", "selected-value", "default-drop-text", "no-data"])
|
|
24553
24550
|
])) : (T(), de(fm, {
|
|
24554
24551
|
key: 1,
|
|
24555
24552
|
id: r,
|
|
@@ -24559,7 +24556,6 @@ const na = /* @__PURE__ */ On(e6), t6 = ["id"], n6 = { class: "pl-autocomplete__
|
|
|
24559
24556
|
helpertext: n.helpertext,
|
|
24560
24557
|
errors: o.value,
|
|
24561
24558
|
offsets: h.value,
|
|
24562
|
-
"no-symbols": n.noSymbols,
|
|
24563
24559
|
"loading-suggestions": A.value,
|
|
24564
24560
|
query: w.value,
|
|
24565
24561
|
"symbols-count-search": n.symbolsCountSearch,
|
|
@@ -24570,11 +24566,11 @@ const na = /* @__PURE__ */ On(e6), t6 = ["id"], n6 = { class: "pl-autocomplete__
|
|
|
24570
24566
|
"default-drop-text": n.defaultDropText,
|
|
24571
24567
|
"no-data": n.noData,
|
|
24572
24568
|
onSelectValue: L
|
|
24573
|
-
}, null, 8, ["focus", "helpertext", "errors", "offsets", "
|
|
24569
|
+
}, null, 8, ["focus", "helpertext", "errors", "offsets", "loading-suggestions", "query", "symbols-count-search", "suggestion-list", "disable-marker-bottom", "uniq-key", "selected-value", "default-drop-text", "no-data"]))
|
|
24574
24570
|
]));
|
|
24575
24571
|
}
|
|
24576
24572
|
});
|
|
24577
|
-
const u6 = /* @__PURE__ */ xt(i6, [["__scopeId", "data-v-
|
|
24573
|
+
const u6 = /* @__PURE__ */ xt(i6, [["__scopeId", "data-v-cf4b975e"]]), c6 = {
|
|
24578
24574
|
install(e) {
|
|
24579
24575
|
e.component("PlAutocomplete", u6);
|
|
24580
24576
|
}
|
|
@@ -31253,7 +31249,7 @@ const Eq = {
|
|
|
31253
31249
|
setup(e) {
|
|
31254
31250
|
const t = e;
|
|
31255
31251
|
Ra((v) => ({
|
|
31256
|
-
"
|
|
31252
|
+
"47bf4b16": t.width
|
|
31257
31253
|
}));
|
|
31258
31254
|
const n = C(!1), r = C(), o = C(), s = C(0), i = C(0), u = C(!1);
|
|
31259
31255
|
wt(async () => {
|