@vlalg-nimbus/nb-inputs 6.0.2 → 6.0.4
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/dist/nb-inputs.js +148 -148
- package/dist/nb-inputs.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/nb-inputs.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useCssVars as oe, unref as
|
|
1
|
+
import { useCssVars as oe, unref as H, onMounted as ue, ref as ne, toRefs as re, computed as l, watch as D, openBlock as E, createElementBlock as N, normalizeClass as C, normalizeStyle as F, createElementVNode as f, Fragment as se, renderList as ce, withDirectives as ie, vModelRadio as Se, toDisplayString as de, createCommentVNode as fe, vModelCheckbox as Ce } from "vue";
|
|
2
2
|
const ve = (e, o) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
4
|
for (const [d, i] of o)
|
|
5
5
|
s[d] = i;
|
|
6
6
|
return s;
|
|
7
|
-
},
|
|
7
|
+
}, He = ["id"], Ee = ["id", "disabled", "value", "name"], Ne = ["for"], Ge = /* @__PURE__ */ Object.assign({
|
|
8
8
|
name: "NbInputRadio",
|
|
9
9
|
inheritAttrs: !1
|
|
10
10
|
}, {
|
|
@@ -110,54 +110,54 @@ const ve = (e, o) => {
|
|
|
110
110
|
emits: ["current-value", "changed"],
|
|
111
111
|
setup(e, { emit: o }) {
|
|
112
112
|
oe((a) => ({
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
113
|
+
"75d259e1": P.value,
|
|
114
|
+
"96c9c666": Z.value,
|
|
115
|
+
"173e02f2": X.value,
|
|
116
|
+
"2a49b0aa": H(x),
|
|
117
|
+
c463f2d2: J.value,
|
|
118
|
+
"02cde372": Y.value,
|
|
119
|
+
"14c10358": Q.value,
|
|
120
|
+
b3e13f78: K.value
|
|
121
121
|
})), ue(() => {
|
|
122
|
-
|
|
122
|
+
j();
|
|
123
123
|
});
|
|
124
124
|
const s = o, d = e, i = ne(null), {
|
|
125
125
|
currentOption: v,
|
|
126
126
|
valueType: G,
|
|
127
|
-
display:
|
|
127
|
+
display: k,
|
|
128
128
|
options: m,
|
|
129
|
-
textColor:
|
|
130
|
-
color:
|
|
129
|
+
textColor: g,
|
|
130
|
+
color: I,
|
|
131
131
|
hoverEffect: z,
|
|
132
|
-
activeHoverEffect:
|
|
132
|
+
activeHoverEffect: A,
|
|
133
133
|
colorHover: x,
|
|
134
|
-
itemGap:
|
|
135
|
-
internalGap:
|
|
136
|
-
scale:
|
|
137
|
-
disabled:
|
|
138
|
-
fontFamily:
|
|
139
|
-
fontSize:
|
|
140
|
-
fontWeight:
|
|
134
|
+
itemGap: p,
|
|
135
|
+
internalGap: b,
|
|
136
|
+
scale: h,
|
|
137
|
+
disabled: O,
|
|
138
|
+
fontFamily: $,
|
|
139
|
+
fontSize: B,
|
|
140
|
+
fontWeight: _
|
|
141
141
|
} = re(d), c = l(() => {
|
|
142
|
-
const a =
|
|
142
|
+
const a = O.value ? "component-disabled" : "", n = k.value !== "b" ? "inline-block" : "block", y = $.value ? $.value : "'Lato', sans-serif", R = B.value ? B.value : "1.6em", w = !_.value || _.value < 0 ? 200 : _.value, te = g.value ? g.value : "black", q = I.value ? I.value : "#767676", t = [!1, !0].includes(z.value) ? z.value : !1, r = [!1, !0].includes(A.value) ? A.value : !1, V = x.value ? x.value : "#a6a6a6", L = !p.value || p.value < 0 ? 15 : p.value, W = !b.value || b.value < 0 ? 6 : b.value, ae = !h.value || h.value < 0 ? 1 : h.value;
|
|
143
143
|
return {
|
|
144
144
|
disabled: a,
|
|
145
|
-
display:
|
|
145
|
+
display: n,
|
|
146
146
|
textColor: te,
|
|
147
|
-
color:
|
|
148
|
-
hoverEffect:
|
|
149
|
-
activeHoverEffect:
|
|
150
|
-
colorHover:
|
|
151
|
-
itemGap:
|
|
152
|
-
internalGap:
|
|
153
|
-
scale:
|
|
147
|
+
color: q,
|
|
148
|
+
hoverEffect: t,
|
|
149
|
+
activeHoverEffect: r,
|
|
150
|
+
colorHover: V,
|
|
151
|
+
itemGap: L,
|
|
152
|
+
internalGap: W,
|
|
153
|
+
scale: ae,
|
|
154
154
|
font: y,
|
|
155
|
-
fontSize:
|
|
156
|
-
fontWeight:
|
|
155
|
+
fontSize: R,
|
|
156
|
+
fontWeight: w
|
|
157
157
|
};
|
|
158
|
-
}),
|
|
158
|
+
}), S = l(() => c.value.disabled), u = l(() => ({
|
|
159
159
|
display: c.value.display
|
|
160
|
-
})),
|
|
160
|
+
})), T = l(() => c.value.display === "inline-block" ? "component-radio__item--display-inline" : "component-radio__item--display-block"), M = l(() => {
|
|
161
161
|
const a = c.value;
|
|
162
162
|
return {
|
|
163
163
|
fontSize: a.fontSize,
|
|
@@ -170,60 +170,60 @@ const ve = (e, o) => {
|
|
|
170
170
|
const a = c.value;
|
|
171
171
|
return a.activeHoverEffect ? a.colorHover : a.color;
|
|
172
172
|
}), Y = l(() => {
|
|
173
|
-
const
|
|
174
|
-
return !
|
|
173
|
+
const n = c.value.internalGap;
|
|
174
|
+
return !n || n < 0 ? 0 : `${n}px`;
|
|
175
175
|
}), Z = l(() => {
|
|
176
|
-
const
|
|
177
|
-
return !
|
|
176
|
+
const n = c.value.itemGap;
|
|
177
|
+
return !n || n < 0 ? 0 : `${n}px`;
|
|
178
178
|
}), ee = l(() => ({
|
|
179
179
|
zoom: c.value.scale
|
|
180
|
-
})),
|
|
180
|
+
})), j = () => {
|
|
181
181
|
const a = v.value;
|
|
182
182
|
a && (["string"].includes(G.value) ? i.value = a.toString().toLowerCase() : i.value = a);
|
|
183
183
|
};
|
|
184
|
-
return
|
|
185
|
-
a !==
|
|
186
|
-
}),
|
|
187
|
-
a !==
|
|
188
|
-
}), (a,
|
|
184
|
+
return D(v, (a, n) => {
|
|
185
|
+
a !== n && j();
|
|
186
|
+
}), D(i, (a, n) => {
|
|
187
|
+
a !== n && (s("current-value", a), s("changed", a));
|
|
188
|
+
}), (a, n) => e.nbId && U.value ? (E(), N("div", {
|
|
189
189
|
key: 0,
|
|
190
|
-
class:
|
|
191
|
-
style:
|
|
190
|
+
class: C(["nb-wrapper", S.value]),
|
|
191
|
+
style: F([u.value, ee.value])
|
|
192
192
|
}, [
|
|
193
193
|
f("div", {
|
|
194
194
|
id: e.nbId,
|
|
195
|
-
class:
|
|
195
|
+
class: C(["nb-reset", "component", T.value])
|
|
196
196
|
}, [
|
|
197
|
-
(E(!0), N(se, null, ce(
|
|
198
|
-
key:
|
|
197
|
+
(E(!0), N(se, null, ce(H(m), (y, R) => (E(), N("div", {
|
|
198
|
+
key: R,
|
|
199
199
|
class: "component-radio__item"
|
|
200
200
|
}, [
|
|
201
201
|
ie(f("input", {
|
|
202
202
|
id: `${e.nbId}-${y.value}`,
|
|
203
|
-
"onUpdate:modelValue":
|
|
203
|
+
"onUpdate:modelValue": n[0] || (n[0] = (w) => i.value = w),
|
|
204
204
|
type: "radio",
|
|
205
205
|
class: "component-radio__item--input",
|
|
206
|
-
disabled:
|
|
206
|
+
disabled: H(O),
|
|
207
207
|
value: y.value,
|
|
208
208
|
name: e.groupName
|
|
209
|
-
}, null, 8,
|
|
210
|
-
[
|
|
209
|
+
}, null, 8, Ee), [
|
|
210
|
+
[Se, i.value]
|
|
211
211
|
]),
|
|
212
212
|
f("label", {
|
|
213
213
|
for: `${e.nbId}-${y.value}`,
|
|
214
214
|
class: "component-radio__item--label"
|
|
215
215
|
}, [
|
|
216
|
-
|
|
216
|
+
n[1] || (n[1] = f("div", null, null, -1)),
|
|
217
217
|
f("span", {
|
|
218
|
-
style:
|
|
218
|
+
style: F([M.value])
|
|
219
219
|
}, de(y.text), 5)
|
|
220
|
-
], 8,
|
|
220
|
+
], 8, Ne)
|
|
221
221
|
]))), 128))
|
|
222
|
-
], 10,
|
|
222
|
+
], 10, He)
|
|
223
223
|
], 6)) : fe("", !0);
|
|
224
224
|
}
|
|
225
|
-
}),
|
|
226
|
-
const
|
|
225
|
+
}), Ie = /* @__PURE__ */ ve(Ge, [["__scopeId", "data-v-7eeedc4c"]]);
|
|
226
|
+
const ze = ["id"], Ae = ["id", "disabled", "value", "name"], Oe = ["for"], $e = /* @__PURE__ */ Object.assign({
|
|
227
227
|
name: "NbInputCheckbox",
|
|
228
228
|
inheritAttrs: !1
|
|
229
229
|
}, {
|
|
@@ -271,10 +271,6 @@ const Ae = ["id"], $e = ["id", "disabled", "value", "name"], we = ["for"], Re =
|
|
|
271
271
|
type: String,
|
|
272
272
|
default: "black"
|
|
273
273
|
},
|
|
274
|
-
checkColor: {
|
|
275
|
-
type: String,
|
|
276
|
-
default: "white"
|
|
277
|
-
},
|
|
278
274
|
boxRadius: {
|
|
279
275
|
type: Number,
|
|
280
276
|
default: 0
|
|
@@ -342,138 +338,142 @@ const Ae = ["id"], $e = ["id", "disabled", "value", "name"], we = ["for"], Re =
|
|
|
342
338
|
emits: ["current-value", "changed"],
|
|
343
339
|
setup(e, { emit: o }) {
|
|
344
340
|
oe((t) => ({
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
"
|
|
351
|
-
|
|
352
|
-
"
|
|
353
|
-
|
|
354
|
-
|
|
341
|
+
"0c22faaf": K.value,
|
|
342
|
+
"7cf2a69b": R.value,
|
|
343
|
+
"45a557e4": Z.value,
|
|
344
|
+
"0911140e": H(x),
|
|
345
|
+
e69e33ee: ee.value,
|
|
346
|
+
"92a8a2dc": X.value,
|
|
347
|
+
f98ceb84: y.value,
|
|
348
|
+
"4fde7de5": Q.value,
|
|
349
|
+
"5d8fd640": n.value,
|
|
350
|
+
b681146c: Y.value,
|
|
351
|
+
"4d59470d": a.value
|
|
355
352
|
})), ue(() => {
|
|
356
|
-
|
|
353
|
+
q();
|
|
357
354
|
});
|
|
358
355
|
const s = o, d = e, i = ne(null), {
|
|
359
356
|
currentOption: v,
|
|
360
357
|
display: G,
|
|
361
|
-
options:
|
|
358
|
+
options: k,
|
|
362
359
|
textColor: m,
|
|
363
|
-
checkColor: I,
|
|
364
360
|
boxRadius: g,
|
|
365
|
-
color:
|
|
366
|
-
hoverEffect:
|
|
367
|
-
activeHoverEffect:
|
|
368
|
-
colorHover:
|
|
361
|
+
color: I,
|
|
362
|
+
hoverEffect: z,
|
|
363
|
+
activeHoverEffect: A,
|
|
364
|
+
colorHover: x,
|
|
369
365
|
itemGap: p,
|
|
370
366
|
internalGap: b,
|
|
371
|
-
scale:
|
|
372
|
-
type:
|
|
367
|
+
scale: h,
|
|
368
|
+
type: O,
|
|
373
369
|
background: $,
|
|
374
|
-
disabled:
|
|
375
|
-
fontFamily:
|
|
376
|
-
fontSize:
|
|
377
|
-
fontWeight:
|
|
378
|
-
} = re(d),
|
|
379
|
-
const t =
|
|
370
|
+
disabled: B,
|
|
371
|
+
fontFamily: _,
|
|
372
|
+
fontSize: c,
|
|
373
|
+
fontWeight: S
|
|
374
|
+
} = re(d), u = l(() => {
|
|
375
|
+
const t = B.value ? "component-disabled" : "", r = G.value !== "b" ? "inline-block" : "block", V = _.value ? _.value : "'Lato', sans-serif", L = c.value ? c.value : "1.6em", W = S.value !== 0 && !S.value || S.value < 0 ? 200 : S.value, ae = m.value ? m.value : "black", pe = g.value !== 0 && !g.value || g.value < 0 ? 0 : g.value, be = I.value ? I.value : "#767676", ye = [!1, !0].includes(z.value) ? z.value : !1, Ve = [!1, !0].includes(A.value) ? A.value : !1, me = x.value ? x.value : "#a6a6a6", ge = p.value !== 0 && !p.value || p.value < 0 ? 15 : p.value, xe = b.value !== 0 && !b.value || b.value < 0 ? 6 : b.value, he = ["box", "circle"].includes(O.value) ? O.value : "box", ke = !h.value || h.value < 0 ? 1 : h.value, _e = [!1, !0].includes($.value) ? $.value : !1;
|
|
380
376
|
return {
|
|
381
377
|
disabled: t,
|
|
382
|
-
display:
|
|
383
|
-
textColor:
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
type: _e,
|
|
378
|
+
display: r,
|
|
379
|
+
textColor: ae,
|
|
380
|
+
boxRadius: pe,
|
|
381
|
+
color: be,
|
|
382
|
+
hoverEffect: ye,
|
|
383
|
+
activeHoverEffect: Ve,
|
|
384
|
+
colorHover: me,
|
|
385
|
+
itemGap: ge,
|
|
386
|
+
internalGap: xe,
|
|
387
|
+
scale: ke,
|
|
388
|
+
type: he,
|
|
394
389
|
font: V,
|
|
395
|
-
background:
|
|
396
|
-
fontSize:
|
|
397
|
-
fontWeight:
|
|
390
|
+
background: _e,
|
|
391
|
+
fontSize: L,
|
|
392
|
+
fontWeight: W
|
|
398
393
|
};
|
|
399
|
-
}),
|
|
400
|
-
display:
|
|
401
|
-
})),
|
|
402
|
-
const t =
|
|
394
|
+
}), T = l(() => u.value.disabled), M = l(() => ({
|
|
395
|
+
display: u.value.display
|
|
396
|
+
})), U = l(() => u.value.display === "inline-block" ? "component-checkbox__item--display-inline" : "component-checkbox__item--display-block"), P = l(() => {
|
|
397
|
+
const t = u.value;
|
|
403
398
|
return {
|
|
404
399
|
fontSize: t.fontSize,
|
|
405
400
|
fontWeight: t.fontWeight
|
|
406
401
|
};
|
|
407
|
-
}),
|
|
408
|
-
const t =
|
|
402
|
+
}), J = l(() => Array.isArray(k.value) && k.value.constructor === Array && k.value.length > 0), K = l(() => u.value.font), Q = l(() => u.value.textColor), X = l(() => u.value.color), Y = l(() => {
|
|
403
|
+
const t = u.value;
|
|
409
404
|
return t.hoverEffect ? t.colorHover : t.color;
|
|
410
|
-
}),
|
|
411
|
-
const t =
|
|
405
|
+
}), Z = l(() => {
|
|
406
|
+
const t = u.value;
|
|
412
407
|
return t.activeHoverEffect ? t.colorHover : t.color;
|
|
413
|
-
}),
|
|
414
|
-
const t =
|
|
415
|
-
return t.
|
|
416
|
-
}),
|
|
417
|
-
const
|
|
418
|
-
return
|
|
419
|
-
})
|
|
420
|
-
|
|
408
|
+
}), ee = l(() => {
|
|
409
|
+
const t = u.value;
|
|
410
|
+
return t.activeHoverEffect ? `${t.colorHover}80` : "";
|
|
411
|
+
}), j = l(() => u.value.background ? "component-checkbox__item--with-background" : "component-checkbox__item--without-background"), a = l(() => {
|
|
412
|
+
const t = u.value;
|
|
413
|
+
return t.background ? "#ffffff" : t.textColor;
|
|
414
|
+
});
|
|
415
|
+
l(() => u.value.background ? "19px" : "auto");
|
|
416
|
+
const n = l(() => {
|
|
417
|
+
const r = u.value.internalGap;
|
|
418
|
+
return !r || r < 0 ? 0 : `${r}px`;
|
|
419
|
+
}), y = l(() => {
|
|
420
|
+
const t = u.value;
|
|
421
421
|
return `${t.boxRadius > 7 ? 7 : t.boxRadius}px`;
|
|
422
422
|
}), R = l(() => {
|
|
423
|
-
const
|
|
424
|
-
return !
|
|
425
|
-
}),
|
|
426
|
-
zoom:
|
|
427
|
-
})),
|
|
423
|
+
const r = u.value.itemGap;
|
|
424
|
+
return !r || r < 0 ? 0 : `${r}px`;
|
|
425
|
+
}), w = l(() => u.value.type === "circle" ? "custom-checkbox__input--type-circle" : ""), te = l(() => ({
|
|
426
|
+
zoom: u.value.scale
|
|
427
|
+
})), q = () => {
|
|
428
428
|
i.value = v.value;
|
|
429
429
|
};
|
|
430
|
-
return
|
|
431
|
-
t !==
|
|
432
|
-
}),
|
|
433
|
-
t !==
|
|
434
|
-
}), (t,
|
|
430
|
+
return D(v, (t, r) => {
|
|
431
|
+
t !== r && q();
|
|
432
|
+
}), D(i, (t, r) => {
|
|
433
|
+
t !== r && (s("current-value", t), s("changed", t));
|
|
434
|
+
}), (t, r) => e.nbId && J.value ? (E(), N("div", {
|
|
435
435
|
key: 0,
|
|
436
|
-
class:
|
|
437
|
-
style:
|
|
436
|
+
class: C(["nb-wrapper", T.value]),
|
|
437
|
+
style: F([M.value, te.value])
|
|
438
438
|
}, [
|
|
439
439
|
f("div", {
|
|
440
440
|
id: e.nbId,
|
|
441
|
-
class:
|
|
441
|
+
class: C(["nb-reset", "component", U.value])
|
|
442
442
|
}, [
|
|
443
|
-
(E(!0), N(se, null, ce(
|
|
444
|
-
key:
|
|
443
|
+
(E(!0), N(se, null, ce(H(k), (V, L) => (E(), N("div", {
|
|
444
|
+
key: L,
|
|
445
445
|
class: "component-checkbox__item"
|
|
446
446
|
}, [
|
|
447
447
|
ie(f("input", {
|
|
448
448
|
id: `${e.nbId}-${V.value}`,
|
|
449
|
-
"onUpdate:modelValue":
|
|
449
|
+
"onUpdate:modelValue": r[0] || (r[0] = (W) => i.value = W),
|
|
450
450
|
type: "checkbox",
|
|
451
451
|
class: "component-checkbox__item--input",
|
|
452
|
-
disabled:
|
|
452
|
+
disabled: H(B),
|
|
453
453
|
value: V.value,
|
|
454
454
|
name: e.groupName
|
|
455
|
-
}, null, 8,
|
|
456
|
-
[
|
|
455
|
+
}, null, 8, Ae), [
|
|
456
|
+
[Ce, i.value]
|
|
457
457
|
]),
|
|
458
458
|
f("label", {
|
|
459
459
|
for: `${e.nbId}-${V.value}`,
|
|
460
|
-
class:
|
|
460
|
+
class: C([[w.value], "component-checkbox__item--label"])
|
|
461
461
|
}, [
|
|
462
462
|
f("div", {
|
|
463
|
-
class:
|
|
463
|
+
class: C([j.value])
|
|
464
464
|
}, null, 2),
|
|
465
465
|
f("span", {
|
|
466
|
-
style:
|
|
466
|
+
style: F([P.value])
|
|
467
467
|
}, de(V.text), 5)
|
|
468
|
-
], 10,
|
|
468
|
+
], 10, Oe)
|
|
469
469
|
]))), 128))
|
|
470
|
-
], 10,
|
|
470
|
+
], 10, ze)
|
|
471
471
|
], 6)) : fe("", !0);
|
|
472
472
|
}
|
|
473
|
-
}), Be = /* @__PURE__ */ ve(
|
|
474
|
-
NbInputRadio:
|
|
473
|
+
}), Be = /* @__PURE__ */ ve($e, [["__scopeId", "data-v-98f82380"]]), le = {
|
|
474
|
+
NbInputRadio: Ie,
|
|
475
475
|
NbInputCheckbox: Be
|
|
476
|
-
},
|
|
476
|
+
}, we = {
|
|
477
477
|
install(e) {
|
|
478
478
|
for (const o in le)
|
|
479
479
|
if (Object.prototype.hasOwnProperty.call(le, o)) {
|
|
@@ -483,5 +483,5 @@ const Ae = ["id"], $e = ["id", "disabled", "value", "name"], we = ["for"], Re =
|
|
|
483
483
|
}
|
|
484
484
|
};
|
|
485
485
|
export {
|
|
486
|
-
|
|
486
|
+
we as default
|
|
487
487
|
};
|
package/dist/nb-inputs.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,$){typeof exports=="object"&&typeof module<"u"?module.exports=$(require("vue")):typeof define=="function"&&define.amd?define(["vue"],$):(e=typeof globalThis<"u"?globalThis:e||self,e.NbInputs=$(e.Vue))})(this,function(e){"use strict";const $="",Y=(t,o)=>{const s=t.__vccOpts||t;for(const[i,d]of o)s[i]=d;return s},Z=["id"],ee=["id","disabled","value","name"],te=["for"],ae=Y(Object.assign({name:"NbInputRadio",inheritAttrs:!1},{__name:"NbInputRadio",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(t="b")=>{const o=t?t.toLowerCase():"";return["b","ib"].includes(o)}},groupName:{type:String,default:"",required:!0,validator:t=>t.toString().toLowerCase()},options:{type:Array,required:!0,default:()=>[],validator:t=>{if(!t.length)return!1;let o=!1;for(const s of t){const i=Object.keys(s);i.length!==2&&(o=!0),i.every(f=>["value","text"].includes(f))||(o=!0)}if(!o)return t}},currentOption:{type:[String,Number,Boolean],default:null},valueType:{type:String,default:"boolean",validator:t=>["boolean","string","number"].indexOf(t)!==-1},textColor:{type:String,default:"black"},color:{type:String,default:"#767676"},hoverEffect:{type:Boolean,default:!1,validator:t=>[!0,!1].indexOf(t)!==-1},activeHoverEffect:{type:Boolean,default:!1,validator:t=>[!0,!1].indexOf(t)!==-1},colorHover:{type:String,default:"#a6a6a6"},itemGap:{type:Number,default:15},internalGap:{type:Number,default:6},scale:{type:Number,default:1},disabled:{type:Boolean,default:!1,validator:t=>typeof t=="boolean"&&[!0,!1].includes(t)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:t=>t||"1.6em"},fontWeight:{type:Number,default:400,validator:t=>t||200}},emits:["current-value","changed"],setup(t,{emit:o}){e.useCssVars(l=>({"5d903d69":q.value,"07a80756":J.value,"6bbabf2c":U.value,dc9b759a:e.unref(h),bd69bfc2:F.value,"5053befa":P.value,fe31ca60:M.value,"4ce67dcc":T.value})),e.onMounted(()=>{R()});const s=o,i=t,d=e.ref(null),{currentOption:f,valueType:S,display:g,options:y,textColor:E,color:V,hoverEffect:N,activeHoverEffect:z,colorHover:h,itemGap:k,internalGap:p,scale:v,disabled:x,fontFamily:H,fontSize:B,fontWeight:_}=e.toRefs(i),c=e.computed(()=>{const l=x.value?"component-disabled":"",n=g.value!=="b"?"inline-block":"block",m=H.value?H.value:"'Lato', sans-serif",G=B.value?B.value:"1.6em",I=!_.value||_.value<0?200:_.value,Q=E.value?E.value:"black",X=V.value?V.value:"#767676",L=[!1,!0].includes(N.value)?N.value:!1,a=[!1,!0].includes(z.value)?z.value:!1,r=h.value?h.value:"#a6a6a6",b=!k.value||k.value<0?15:k.value,w=!p.value||p.value<0?6:p.value,O=!v.value||v.value<0?1:v.value;return{disabled:l,display:n,textColor:Q,color:X,hoverEffect:L,activeHoverEffect:a,colorHover:r,itemGap:b,internalGap:w,scale:O,font:m,fontSize:G,fontWeight:I}}),A=e.computed(()=>c.value.disabled),C=e.computed(()=>({display:c.value.display})),u=e.computed(()=>c.value.display==="inline-block"?"component-radio__item--display-inline":"component-radio__item--display-block"),j=e.computed(()=>{const l=c.value;return{fontSize:l.fontSize,fontWeight:l.fontWeight}}),D=e.computed(()=>Array.isArray(y.value)&&y.value.constructor===Array&&y.value.length>0),q=e.computed(()=>c.value.font),F=e.computed(()=>c.value.textColor),T=e.computed(()=>c.value.color),M=e.computed(()=>{const l=c.value;return l.hoverEffect?l.colorHover:l.color}),U=e.computed(()=>{const l=c.value;return l.activeHoverEffect?l.colorHover:l.color}),P=e.computed(()=>{const n=c.value.internalGap;return!n||n<0?0:`${n}px`}),J=e.computed(()=>{const n=c.value.itemGap;return!n||n<0?0:`${n}px`}),K=e.computed(()=>({zoom:c.value.scale})),R=()=>{const l=f.value;l&&(["string"].includes(S.value)?d.value=l.toString().toLowerCase():d.value=l)};return e.watch(f,(l,n)=>{l!==n&&R()}),e.watch(d,(l,n)=>{l!==n&&(s("current-value",l),s("changed",l))}),(l,n)=>t.nbId&&D.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nb-wrapper",A.value]),style:e.normalizeStyle([C.value,K.value])},[e.createElementVNode("div",{id:t.nbId,class:e.normalizeClass(["nb-reset","component",u.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(y),(m,G)=>(e.openBlock(),e.createElementBlock("div",{key:G,class:"component-radio__item"},[e.withDirectives(e.createElementVNode("input",{id:`${t.nbId}-${m.value}`,"onUpdate:modelValue":n[0]||(n[0]=I=>d.value=I),type:"radio",class:"component-radio__item--input",disabled:e.unref(x),value:m.value,name:t.groupName},null,8,ee),[[e.vModelRadio,d.value]]),e.createElementVNode("label",{for:`${t.nbId}-${m.value}`,class:"component-radio__item--label"},[n[1]||(n[1]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("span",{style:e.normalizeStyle([j.value])},e.toDisplayString(m.text),5)],8,te)]))),128))],10,Z)],6)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-4dd4a86c"]]),ge="",le=["id"],oe=["id","disabled","value","name"],ne=["for"],W={NbInputRadio:ae,NbInputCheckbox:Y(Object.assign({name:"NbInputCheckbox",inheritAttrs:!1},{__name:"NbInputCheckbox",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(t="b")=>{const o=t?t.toLowerCase():"";return["b","ib"].includes(o)}},groupName:{type:String,default:"",required:!0,validator:t=>t.toString().toLowerCase()},options:{type:Array,required:!0,default:()=>[],validator:t=>{if(!t.length)return!1;let o=!1;for(const s of t){const i=Object.keys(s);i.length!==2&&(o=!0),i.every(f=>["value","text"].includes(f))||(o=!0)}if(!o)return t}},currentOption:{type:Array,default:()=>[]},textColor:{type:String,default:"black"},checkColor:{type:String,default:"white"},boxRadius:{type:Number,default:0},color:{type:String,default:"#767676"},hoverEffect:{type:Boolean,default:!1,validator:t=>[!0,!1].indexOf(t)!==-1},activeHoverEffect:{type:Boolean,default:!1,validator:t=>[!0,!1].indexOf(t)!==-1},colorHover:{type:String,default:"#a6a6a6"},itemGap:{type:Number,default:15},internalGap:{type:Number,default:6},scale:{type:Number,default:1},type:{type:String,default:"box",validator:t=>["box","circle"].indexOf(t)!==-1},background:{type:Boolean,default:!1,validator:t=>[!0,!1].indexOf(t)!==-1},disabled:{type:Boolean,default:!1,validator:t=>typeof t=="boolean"&&[!0,!1].includes(t)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:t=>t||"1.6em"},fontWeight:{type:Number,default:400,validator:t=>t||200}},emits:["current-value","changed"],setup(t,{emit:o}){e.useCssVars(a=>({"508d157b":M.value,"140b0932":I.value,"0d11805e":P.value,d09aa2d0:K.value,"2f203f46":n.value,"511bcdec":G.value,"782e89b1":U.value,"9c6f35e8":m.value,f31e3904:J.value,"05ac49d9":l.value})),e.onMounted(()=>{L()});const s=o,i=t,d=e.ref(null),{currentOption:f,display:S,options:g,textColor:y,checkColor:E,boxRadius:V,color:N,hoverEffect:z,activeHoverEffect:h,colorHover:k,itemGap:p,internalGap:v,scale:x,type:H,background:B,disabled:_,fontFamily:c,fontSize:A,fontWeight:C}=e.toRefs(i),u=e.computed(()=>{const a=_.value?"component-disabled":"",r=S.value!=="b"?"inline-block":"block",b=c.value?c.value:"'Lato', sans-serif",w=A.value?A.value:"1.6em",O=C.value!==0&&!C.value||C.value<0?200:C.value,re=y.value?y.value:"black",ue=E.value?E.value:"white",se=V.value!==0&&!V.value||V.value<0?0:V.value,ce=N.value?N.value:"#767676",de=[!1,!0].includes(z.value)?z.value:!1,ie=[!1,!0].includes(h.value)?h.value:!1,fe=k.value?k.value:"#a6a6a6",pe=p.value!==0&&!p.value||p.value<0?15:p.value,ve=v.value!==0&&!v.value||v.value<0?6:v.value,me=["box","circle"].includes(H.value)?H.value:"box",be=!x.value||x.value<0?1:x.value,ye=[!1,!0].includes(B.value)?B.value:!1;return{disabled:a,display:r,textColor:re,checkColor:ue,boxRadius:se,color:ce,hoverEffect:de,activeHoverEffect:ie,colorHover:fe,itemGap:pe,internalGap:ve,scale:be,type:me,font:b,background:ye,fontSize:w,fontWeight:O}}),j=e.computed(()=>u.value.disabled),D=e.computed(()=>({display:u.value.display})),q=e.computed(()=>u.value.display==="inline-block"?"component-checkbox__item--display-inline":"component-checkbox__item--display-block"),F=e.computed(()=>{const a=u.value;return{fontSize:a.fontSize,fontWeight:a.fontWeight}}),T=e.computed(()=>Array.isArray(g.value)&&g.value.constructor===Array&&g.value.length>0),M=e.computed(()=>u.value.font),U=e.computed(()=>u.value.textColor),P=e.computed(()=>u.value.color),J=e.computed(()=>{const a=u.value;return a.hoverEffect?a.colorHover:a.color}),K=e.computed(()=>{const a=u.value;return a.activeHoverEffect?a.colorHover:a.color}),R=e.computed(()=>u.value.background?"component-checkbox__item--with-background":"component-checkbox__item--without-background"),l=e.computed(()=>{const a=u.value;return a.background?a.checkColor:a.textColor}),n=e.computed(()=>u.value.background?"19px":"auto"),m=e.computed(()=>{const r=u.value.internalGap;return!r||r<0?0:`${r}px`}),G=e.computed(()=>{const a=u.value;return`${a.boxRadius>7?7:a.boxRadius}px`}),I=e.computed(()=>{const r=u.value.itemGap;return!r||r<0?0:`${r}px`}),Q=e.computed(()=>u.value.type==="circle"?"custom-checkbox__input--type-circle":""),X=e.computed(()=>({zoom:u.value.scale})),L=()=>{d.value=f.value};return e.watch(f,(a,r)=>{a!==r&&L()}),e.watch(d,(a,r)=>{a!==r&&(s("current-value",a),s("changed",a))}),(a,r)=>t.nbId&&T.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nb-wrapper",j.value]),style:e.normalizeStyle([D.value,X.value])},[e.createElementVNode("div",{id:t.nbId,class:e.normalizeClass(["nb-reset","component",q.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(g),(b,w)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:"component-checkbox__item"},[e.withDirectives(e.createElementVNode("input",{id:`${t.nbId}-${b.value}`,"onUpdate:modelValue":r[0]||(r[0]=O=>d.value=O),type:"checkbox",class:"component-checkbox__item--input",disabled:e.unref(_),value:b.value,name:t.groupName},null,8,oe),[[e.vModelCheckbox,d.value]]),e.createElementVNode("label",{for:`${t.nbId}-${b.value}`,class:e.normalizeClass([[Q.value],"component-checkbox__item--label"])},[e.createElementVNode("div",{class:e.normalizeClass([R.value])},null,2),e.createElementVNode("span",{style:e.normalizeStyle([F.value])},e.toDisplayString(b.text),5)],10,ne)]))),128))],10,le)],6)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-ad100a69"]])};return{install(t){for(const o in W)if(Object.prototype.hasOwnProperty.call(W,o)){const s=W[o];t.component(s.name,s)}}}});
|
|
1
|
+
(function(e,O){typeof exports=="object"&&typeof module<"u"?module.exports=O(require("vue")):typeof define=="function"&&define.amd?define(["vue"],O):(e=typeof globalThis<"u"?globalThis:e||self,e.NbInputs=O(e.Vue))})(this,function(e){"use strict";const O="",Y=(t,o)=>{const s=t.__vccOpts||t;for(const[i,d]of o)s[i]=d;return s},Z=["id"],ee=["id","disabled","value","name"],te=["for"],ae=Y(Object.assign({name:"NbInputRadio",inheritAttrs:!1},{__name:"NbInputRadio",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(t="b")=>{const o=t?t.toLowerCase():"";return["b","ib"].includes(o)}},groupName:{type:String,default:"",required:!0,validator:t=>t.toString().toLowerCase()},options:{type:Array,required:!0,default:()=>[],validator:t=>{if(!t.length)return!1;let o=!1;for(const s of t){const i=Object.keys(s);i.length!==2&&(o=!0),i.every(f=>["value","text"].includes(f))||(o=!0)}if(!o)return t}},currentOption:{type:[String,Number,Boolean],default:null},valueType:{type:String,default:"boolean",validator:t=>["boolean","string","number"].indexOf(t)!==-1},textColor:{type:String,default:"black"},color:{type:String,default:"#767676"},hoverEffect:{type:Boolean,default:!1,validator:t=>[!0,!1].indexOf(t)!==-1},activeHoverEffect:{type:Boolean,default:!1,validator:t=>[!0,!1].indexOf(t)!==-1},colorHover:{type:String,default:"#a6a6a6"},itemGap:{type:Number,default:15},internalGap:{type:Number,default:6},scale:{type:Number,default:1},disabled:{type:Boolean,default:!1,validator:t=>typeof t=="boolean"&&[!0,!1].includes(t)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:t=>t||"1.6em"},fontWeight:{type:Number,default:400,validator:t=>t||200}},emits:["current-value","changed"],setup(t,{emit:o}){e.useCssVars(l=>({"75d259e1":q.value,"96c9c666":J.value,"173e02f2":U.value,"2a49b0aa":e.unref(g),c463f2d2:F.value,"02cde372":P.value,"14c10358":M.value,b3e13f78:T.value})),e.onMounted(()=>{w()});const s=o,i=t,d=e.ref(null),{currentOption:f,valueType:C,display:k,options:b,textColor:V,color:S,hoverEffect:E,activeHoverEffect:N,colorHover:g,itemGap:p,internalGap:v,scale:h,disabled:H,fontFamily:z,fontSize:B,fontWeight:x}=e.toRefs(i),c=e.computed(()=>{const l=H.value?"component-disabled":"",r=k.value!=="b"?"inline-block":"block",m=z.value?z.value:"'Lato', sans-serif",G=B.value?B.value:"1.6em",I=!x.value||x.value<0?200:x.value,Q=V.value?V.value:"black",R=S.value?S.value:"#767676",a=[!1,!0].includes(E.value)?E.value:!1,u=[!1,!0].includes(N.value)?N.value:!1,y=g.value?g.value:"#a6a6a6",$=!p.value||p.value<0?15:p.value,A=!v.value||v.value<0?6:v.value,X=!h.value||h.value<0?1:h.value;return{disabled:l,display:r,textColor:Q,color:R,hoverEffect:a,activeHoverEffect:u,colorHover:y,itemGap:$,internalGap:A,scale:X,font:m,fontSize:G,fontWeight:I}}),_=e.computed(()=>c.value.disabled),n=e.computed(()=>({display:c.value.display})),W=e.computed(()=>c.value.display==="inline-block"?"component-radio__item--display-inline":"component-radio__item--display-block"),j=e.computed(()=>{const l=c.value;return{fontSize:l.fontSize,fontWeight:l.fontWeight}}),D=e.computed(()=>Array.isArray(b.value)&&b.value.constructor===Array&&b.value.length>0),q=e.computed(()=>c.value.font),F=e.computed(()=>c.value.textColor),T=e.computed(()=>c.value.color),M=e.computed(()=>{const l=c.value;return l.hoverEffect?l.colorHover:l.color}),U=e.computed(()=>{const l=c.value;return l.activeHoverEffect?l.colorHover:l.color}),P=e.computed(()=>{const r=c.value.internalGap;return!r||r<0?0:`${r}px`}),J=e.computed(()=>{const r=c.value.itemGap;return!r||r<0?0:`${r}px`}),K=e.computed(()=>({zoom:c.value.scale})),w=()=>{const l=f.value;l&&(["string"].includes(C.value)?d.value=l.toString().toLowerCase():d.value=l)};return e.watch(f,(l,r)=>{l!==r&&w()}),e.watch(d,(l,r)=>{l!==r&&(s("current-value",l),s("changed",l))}),(l,r)=>t.nbId&&D.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nb-wrapper",_.value]),style:e.normalizeStyle([n.value,K.value])},[e.createElementVNode("div",{id:t.nbId,class:e.normalizeClass(["nb-reset","component",W.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(b),(m,G)=>(e.openBlock(),e.createElementBlock("div",{key:G,class:"component-radio__item"},[e.withDirectives(e.createElementVNode("input",{id:`${t.nbId}-${m.value}`,"onUpdate:modelValue":r[0]||(r[0]=I=>d.value=I),type:"radio",class:"component-radio__item--input",disabled:e.unref(H),value:m.value,name:t.groupName},null,8,ee),[[e.vModelRadio,d.value]]),e.createElementVNode("label",{for:`${t.nbId}-${m.value}`,class:"component-radio__item--label"},[r[1]||(r[1]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("span",{style:e.normalizeStyle([j.value])},e.toDisplayString(m.text),5)],8,te)]))),128))],10,Z)],6)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-7eeedc4c"]]),be="",le=["id"],oe=["id","disabled","value","name"],ne=["for"],L={NbInputRadio:ae,NbInputCheckbox:Y(Object.assign({name:"NbInputCheckbox",inheritAttrs:!1},{__name:"NbInputCheckbox",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(t="b")=>{const o=t?t.toLowerCase():"";return["b","ib"].includes(o)}},groupName:{type:String,default:"",required:!0,validator:t=>t.toString().toLowerCase()},options:{type:Array,required:!0,default:()=>[],validator:t=>{if(!t.length)return!1;let o=!1;for(const s of t){const i=Object.keys(s);i.length!==2&&(o=!0),i.every(f=>["value","text"].includes(f))||(o=!0)}if(!o)return t}},currentOption:{type:Array,default:()=>[]},textColor:{type:String,default:"black"},boxRadius:{type:Number,default:0},color:{type:String,default:"#767676"},hoverEffect:{type:Boolean,default:!1,validator:t=>[!0,!1].indexOf(t)!==-1},activeHoverEffect:{type:Boolean,default:!1,validator:t=>[!0,!1].indexOf(t)!==-1},colorHover:{type:String,default:"#a6a6a6"},itemGap:{type:Number,default:15},internalGap:{type:Number,default:6},scale:{type:Number,default:1},type:{type:String,default:"box",validator:t=>["box","circle"].indexOf(t)!==-1},background:{type:Boolean,default:!1,validator:t=>[!0,!1].indexOf(t)!==-1},disabled:{type:Boolean,default:!1,validator:t=>typeof t=="boolean"&&[!0,!1].includes(t)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:t=>t||"1.6em"},fontWeight:{type:Number,default:400,validator:t=>t||200}},emits:["current-value","changed"],setup(t,{emit:o}){e.useCssVars(a=>({"0c22faaf":T.value,"7cf2a69b":G.value,"45a557e4":J.value,"0911140e":e.unref(g),e69e33ee:K.value,"92a8a2dc":U.value,f98ceb84:m.value,"4fde7de5":M.value,"5d8fd640":r.value,b681146c:P.value,"4d59470d":l.value})),e.onMounted(()=>{R()});const s=o,i=t,d=e.ref(null),{currentOption:f,display:C,options:k,textColor:b,boxRadius:V,color:S,hoverEffect:E,activeHoverEffect:N,colorHover:g,itemGap:p,internalGap:v,scale:h,type:H,background:z,disabled:B,fontFamily:x,fontSize:c,fontWeight:_}=e.toRefs(i),n=e.computed(()=>{const a=B.value?"component-disabled":"",u=C.value!=="b"?"inline-block":"block",y=x.value?x.value:"'Lato', sans-serif",$=c.value?c.value:"1.6em",A=_.value!==0&&!_.value||_.value<0?200:_.value,X=b.value?b.value:"black",re=V.value!==0&&!V.value||V.value<0?0:V.value,ue=S.value?S.value:"#767676",se=[!1,!0].includes(E.value)?E.value:!1,ce=[!1,!0].includes(N.value)?N.value:!1,de=g.value?g.value:"#a6a6a6",ie=p.value!==0&&!p.value||p.value<0?15:p.value,fe=v.value!==0&&!v.value||v.value<0?6:v.value,pe=["box","circle"].includes(H.value)?H.value:"box",ve=!h.value||h.value<0?1:h.value,me=[!1,!0].includes(z.value)?z.value:!1;return{disabled:a,display:u,textColor:X,boxRadius:re,color:ue,hoverEffect:se,activeHoverEffect:ce,colorHover:de,itemGap:ie,internalGap:fe,scale:ve,type:pe,font:y,background:me,fontSize:$,fontWeight:A}}),W=e.computed(()=>n.value.disabled),j=e.computed(()=>({display:n.value.display})),D=e.computed(()=>n.value.display==="inline-block"?"component-checkbox__item--display-inline":"component-checkbox__item--display-block"),q=e.computed(()=>{const a=n.value;return{fontSize:a.fontSize,fontWeight:a.fontWeight}}),F=e.computed(()=>Array.isArray(k.value)&&k.value.constructor===Array&&k.value.length>0),T=e.computed(()=>n.value.font),M=e.computed(()=>n.value.textColor),U=e.computed(()=>n.value.color),P=e.computed(()=>{const a=n.value;return a.hoverEffect?a.colorHover:a.color}),J=e.computed(()=>{const a=n.value;return a.activeHoverEffect?a.colorHover:a.color}),K=e.computed(()=>{const a=n.value;return a.activeHoverEffect?`${a.colorHover}80`:""}),w=e.computed(()=>n.value.background?"component-checkbox__item--with-background":"component-checkbox__item--without-background"),l=e.computed(()=>{const a=n.value;return a.background?"#ffffff":a.textColor});e.computed(()=>n.value.background?"19px":"auto");const r=e.computed(()=>{const u=n.value.internalGap;return!u||u<0?0:`${u}px`}),m=e.computed(()=>{const a=n.value;return`${a.boxRadius>7?7:a.boxRadius}px`}),G=e.computed(()=>{const u=n.value.itemGap;return!u||u<0?0:`${u}px`}),I=e.computed(()=>n.value.type==="circle"?"custom-checkbox__input--type-circle":""),Q=e.computed(()=>({zoom:n.value.scale})),R=()=>{d.value=f.value};return e.watch(f,(a,u)=>{a!==u&&R()}),e.watch(d,(a,u)=>{a!==u&&(s("current-value",a),s("changed",a))}),(a,u)=>t.nbId&&F.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nb-wrapper",W.value]),style:e.normalizeStyle([j.value,Q.value])},[e.createElementVNode("div",{id:t.nbId,class:e.normalizeClass(["nb-reset","component",D.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(k),(y,$)=>(e.openBlock(),e.createElementBlock("div",{key:$,class:"component-checkbox__item"},[e.withDirectives(e.createElementVNode("input",{id:`${t.nbId}-${y.value}`,"onUpdate:modelValue":u[0]||(u[0]=A=>d.value=A),type:"checkbox",class:"component-checkbox__item--input",disabled:e.unref(B),value:y.value,name:t.groupName},null,8,oe),[[e.vModelCheckbox,d.value]]),e.createElementVNode("label",{for:`${t.nbId}-${y.value}`,class:e.normalizeClass([[I.value],"component-checkbox__item--label"])},[e.createElementVNode("div",{class:e.normalizeClass([w.value])},null,2),e.createElementVNode("span",{style:e.normalizeStyle([q.value])},e.toDisplayString(y.text),5)],10,ne)]))),128))],10,le)],6)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-98f82380"]])};return{install(t){for(const o in L)if(Object.prototype.hasOwnProperty.call(L,o)){const s=L[o];t.component(s.name,s)}}}});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap";.nb-wrapper[data-v-
|
|
1
|
+
@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap";.nb-wrapper[data-v-7eeedc4c]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:text-bottom}.nb-reset[data-v-7eeedc4c]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset[data-v-7eeedc4c] *{margin:0;padding:0}.nb-reset[data-v-7eeedc4c] *,.nb-reset[data-v-7eeedc4c] *:before,.nb-reset[data-v-7eeedc4c] *:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-7eeedc4c]{margin:0;box-sizing:border-box;line-height:16px;font-family:Lato,sans-serif;font-family:var(--75d259e1);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:left;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;outline:0;position:relative}.component.component-radio__item--display-block[data-v-7eeedc4c],.component.component-radio__item--display-inline[data-v-7eeedc4c]{display:flex;flex-wrap:wrap;gap:var(--96c9c666);width:auto;word-break:break-word;overflow-wrap:break-word;white-space:normal}.component.component-radio__item--display-block[data-v-7eeedc4c]{flex-direction:column}.component.component-radio__item--display-inline[data-v-7eeedc4c]{flex-direction:row}.component .component-radio__item[data-v-7eeedc4c]{position:relative}.component .component-radio__item .component-radio__item--input[data-v-7eeedc4c]{display:none}.component .component-radio__item .component-radio__item--input:checked+.component-radio__item--label:hover div[data-v-7eeedc4c]{border:2px solid var(--173e02f2);color:var(--173e02f2)}.component .component-radio__item .component-radio__item--input:checked+.component-radio__item--label div[data-v-7eeedc4c]:before{content:"⏺";font-size:1.3em;text-shadow:0;display:flex;align-items:center;text-align:center;justify-content:center;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;color:var(--2a49b0aa);border-radius:50%}.component .component-radio__item .component-radio__item--label[data-v-7eeedc4c]{--disabled-color: var(--c463f2d2);color:var(--disabled-color)!important;display:flex;flex-direction:row;gap:var(--02cde372);align-items:center}.component .component-radio__item .component-radio__item--label[data-v-7eeedc4c]:hover{cursor:pointer}.component .component-radio__item .component-radio__item--label:hover div[data-v-7eeedc4c]{border:2px solid var(--14c10358)}.component .component-radio__item .component-radio__item--label div[data-v-7eeedc4c]{width:19px;height:19px;flex-shrink:0;border-radius:50%;text-shadow:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border:2px solid var(--b3e13f78);font-family:Lato,sans-serif!important}.component-disabled[data-v-7eeedc4c]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-7eeedc4c]{--disabled-color: var(--c463f2d2);color:var(--disabled-color)!important;opacity:.7;border-radius:inherit}.nb-wrapper[data-v-98f82380]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:text-bottom}.nb-reset[data-v-98f82380]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset[data-v-98f82380] *{margin:0;padding:0}.nb-reset[data-v-98f82380] *,.nb-reset[data-v-98f82380] *:before,.nb-reset[data-v-98f82380] *:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-98f82380]{margin:0;box-sizing:border-box;line-height:16px;font-family:Lato,sans-serif;font-family:var(--0c22faaf);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:left;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;outline:0;position:relative}.component.component-checkbox__item--display-block[data-v-98f82380],.component.component-checkbox__item--display-inline[data-v-98f82380]{display:flex;flex-wrap:wrap;gap:var(--7cf2a69b);width:auto;word-break:break-word;overflow-wrap:break-word;white-space:normal}.component.component-checkbox__item--display-block[data-v-98f82380]{flex-direction:column}.component.component-checkbox__item--display-inline[data-v-98f82380]{flex-direction:row}.component .component-checkbox__item[data-v-98f82380]{position:relative}.component .component-checkbox__item .component-checkbox__item--input[data-v-98f82380]{display:none}.component .component-checkbox__item .component-checkbox__item--input:checked+.component-checkbox__item--label:hover div.component-checkbox__item--without-background[data-v-98f82380]{border:2px solid var(--45a557e4);color:var(--0911140e)}.component .component-checkbox__item .component-checkbox__item--input:checked+.component-checkbox__item--label:hover div.component-checkbox__item--with-background[data-v-98f82380]{background:var(--e69e33ee)}.component .component-checkbox__item .component-checkbox__item--input:checked+.component-checkbox__item--label div[data-v-98f82380]{font-size:1.2em}.component .component-checkbox__item .component-checkbox__item--input:checked+.component-checkbox__item--label div.component-checkbox__item--without-background[data-v-98f82380]{border:2px solid var(--92a8a2dc);color:var(--0911140e)}.component .component-checkbox__item .component-checkbox__item--input:checked+.component-checkbox__item--label div.component-checkbox__item--with-background[data-v-98f82380]{border:2px solid var(--0911140e)}.component .component-checkbox__item .component-checkbox__item--input:checked+.component-checkbox__item--label div[data-v-98f82380]:before{content:"✓";text-shadow:0;display:flex;align-items:center;text-align:center;justify-content:center;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border-radius:var(--f98ceb84);border:0}.component .component-checkbox__item .component-checkbox__item--label[data-v-98f82380]{--disabled-color: var(--4fde7de5);color:var(--disabled-color)!important;display:flex;flex-direction:row;gap:var(--5d8fd640);align-items:center}.component .component-checkbox__item .component-checkbox__item--label[data-v-98f82380]:hover{cursor:pointer}.component .component-checkbox__item .component-checkbox__item--label:hover div.component-checkbox__item--without-background[data-v-98f82380],.component .component-checkbox__item .component-checkbox__item--label:hover div.component-checkbox__item--with-background[data-v-98f82380]{border:2px solid var(--b681146c)}.component .component-checkbox__item .component-checkbox__item--label div[data-v-98f82380]{width:19px;height:19px;flex-shrink:0;text-shadow:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border-radius:var(--f98ceb84);font-family:Lato,sans-serif!important;font-weight:700}.component .component-checkbox__item .component-checkbox__item--label div.component-checkbox__item--without-background[data-v-98f82380]{border:2px solid var(--92a8a2dc);color:var(--92a8a2dc)}.component .component-checkbox__item .component-checkbox__item--label div.component-checkbox__item--with-background[data-v-98f82380]{border:2px solid var(--92a8a2dc);color:var(--4d59470d)}.component .component-checkbox__item .component-checkbox__item--label.custom-checkbox__input--type-circle div[data-v-98f82380]{border-radius:50%!important}.component .component-checkbox__item .component-checkbox__item--label.custom-checkbox__input--type-circle div[data-v-98f82380]:before{border-radius:50%!important}.component-disabled[data-v-98f82380]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-98f82380]{--disabled-color: var(--4fde7de5);color:var(--disabled-color)!important;opacity:.4;border-radius:inherit}.component-disabled .component .component-checkbox__item .component-checkbox__item--input:checked+.component-checkbox__item--label div.component-checkbox__item--without-background[data-v-98f82380]{border:2px solid var(--45a557e4);color:var(--0911140e)}.component-disabled .component .component-checkbox__item .component-checkbox__item--input:checked+.component-checkbox__item--label div.component-checkbox__item--with-background[data-v-98f82380]{background:var(--e69e33ee)}
|