@dxtmisha/constructor 0.39.3 → 0.39.7
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/{AriaStaticInclude-CFGewqpn.js → AriaStaticInclude-CAURwJMb.js} +47 -9
- package/dist/{BarsInclude-IM3Gdslg.js → BarsInclude-BOEoY-O4.js} +19 -14
- package/dist/{BlockDesign-D67yDT9N.js → BlockDesign-CwRNJi0I.js} +49 -38
- package/dist/ButtonDesign-DgZNw44L.js +198 -0
- package/dist/CaptionInclude-NzS6EYYj.js +70 -0
- package/dist/{DescriptionInclude-DxWNon_J.js → DescriptionInclude-D4ane9aR.js} +20 -30
- package/dist/{EnabledInclude-DGeuJhOr.js → EnabledInclude-Dk-rP4jp.js} +1 -1
- package/dist/{EventClickInclude-eDWqxK0d.js → EventClickInclude-WHJqxZ1b.js} +13 -3
- package/dist/{FieldCounterInclude-BR6n8WlH.js → FieldCounterInclude-D0oojGWY.js} +2 -2
- package/dist/{FieldEventInclude-zg02dtQi.js → FieldEventInclude-DBRqmzpF.js} +11 -8
- package/dist/{FieldInclude-c6DSD0-y.js → FieldInclude-BKoBWZdj.js} +23 -12
- package/dist/{FieldLabelInclude-B4OGaJ1r.js → FieldLabelInclude-Bkxf6rRw.js} +30 -23
- package/dist/{FieldMatchInclude-Vl2gJUaM.js → FieldMatchInclude-GgyucDC_.js} +35 -19
- package/dist/{FieldMessageInclude-CktVHvWW.js → FieldMessageInclude-BJDnir34.js} +34 -28
- package/dist/{LabelHighlightInclude-Dhj3p9NW.js → LabelHighlightInclude-CLmTvW_6.js} +1 -1
- package/dist/{LabelInclude-BtZrrbCf.js → LabelInclude-D-mLvjK5.js} +32 -50
- package/dist/{LabelNumberInclude-DyifvMnr.js → LabelNumberInclude-Cn0qDEgX.js} +1 -1
- package/dist/{ModalDesignAbstract-CjDr5JaN.js → ModalDesignAbstract-D4A_a_rC.js} +42 -42
- package/dist/Plugin-CBNCh_iN.js +628 -0
- package/dist/{ProgressInclude-UBipdctr.js → ProgressInclude-9MfZWtGP.js} +5 -5
- package/dist/{SuffixInclude-C7JNYCJK.js → SuffixInclude-maZ7235l.js} +48 -20
- package/dist/{TabIndexInclude-d7A_R6KD.js → TabIndexInclude-xcSFV8yP.js} +43 -33
- package/dist/TextInclude--GERRCGj.js +146 -0
- package/dist/{WindowEsc-Dp9AvJt7.js → WindowEsc-DTwn4Vsz.js} +2 -2
- package/dist/{WindowInclude-Is5RhGxt.js → WindowInclude-BWm4-0Gh.js} +24 -20
- package/dist/accordion.js +66 -50
- package/dist/actionSheet.js +2 -4
- package/dist/actions.js +38 -36
- package/dist/anchor.js +63 -60
- package/dist/arrow.js +32 -33
- package/dist/badge.js +40 -35
- package/dist/bars.js +91 -57
- package/dist/block.js +1 -1
- package/dist/button.js +12 -15
- package/dist/cell.js +44 -37
- package/dist/chip.js +1 -1
- package/dist/chipGroup.js +25 -21
- package/dist/classes/AriaStaticInclude.d.ts +28 -0
- package/dist/classes/CaptionInclude.d.ts +64 -1
- package/dist/classes/DescriptionInclude.d.ts +4 -16
- package/dist/classes/EventClickInclude.d.ts +8 -0
- package/dist/classes/{field → Field}/FieldInputModeInclude.d.ts +1 -0
- package/dist/classes/LabelInclude.d.ts +4 -17
- package/dist/classes/Plugin/Plugin.d.ts +80 -0
- package/dist/classes/Plugin/PluginCode.d.ts +94 -0
- package/dist/classes/Plugin/PluginComponents.d.ts +38 -0
- package/dist/classes/Plugin/PluginData.d.ts +81 -0
- package/dist/classes/Plugin/PluginImport.d.ts +34 -0
- package/dist/classes/Plugin/PluginStyle.d.ts +71 -0
- package/dist/classes/Plugin/PluginTool.d.ts +42 -0
- package/dist/classes/PrefixInclude.d.ts +9 -1
- package/dist/classes/SuffixInclude.d.ts +9 -1
- package/dist/classes/TabIndexInclude.d.ts +14 -8
- package/dist/classes/TextInclude.d.ts +33 -5
- package/dist/constructors/Accordion/Accordion.d.ts +28 -1
- package/dist/constructors/Accordion/props.d.ts +5 -7
- package/dist/constructors/ActionSheet/props.d.ts +4 -7
- package/dist/constructors/Actions/Actions.d.ts +2 -1
- package/dist/constructors/Actions/ActionsDesign.d.ts +2 -1
- package/dist/constructors/Actions/basicTypes.d.ts +2 -2
- package/dist/constructors/Actions/props.d.ts +6 -7
- package/dist/constructors/Anchor/Anchor.d.ts +0 -7
- package/dist/constructors/Anchor/AnchorIcon.d.ts +4 -4
- package/dist/constructors/Anchor/basicTypes.d.ts +2 -2
- package/dist/constructors/Anchor/props.d.ts +8 -10
- package/dist/constructors/Anchor/types.d.ts +2 -2
- package/dist/constructors/Arrow/Arrow.d.ts +0 -5
- package/dist/constructors/Arrow/basicTypes.d.ts +2 -2
- package/dist/constructors/Arrow/props.d.ts +5 -7
- package/dist/constructors/Badge/Badge.d.ts +5 -1
- package/dist/constructors/Badge/BadgeDesign.d.ts +2 -1
- package/dist/constructors/Badge/basicTypes.d.ts +2 -2
- package/dist/constructors/Badge/props.d.ts +5 -7
- package/dist/constructors/Bars/Bars.d.ts +33 -8
- package/dist/constructors/Bars/BarsAction.d.ts +6 -2
- package/dist/constructors/Bars/BarsDesign.d.ts +2 -1
- package/dist/constructors/Bars/BarsInclude.d.ts +7 -2
- package/dist/constructors/Bars/basicTypes.d.ts +2 -2
- package/dist/constructors/Bars/props.d.ts +5 -8
- package/dist/constructors/Bars/types.d.ts +3 -3
- package/dist/constructors/Block/Block.d.ts +0 -4
- package/dist/constructors/Block/BlockDesign.d.ts +9 -1
- package/dist/constructors/Block/props.d.ts +4 -7
- package/dist/constructors/Block/types.d.ts +3 -3
- package/dist/constructors/Button/Button.d.ts +22 -1
- package/dist/constructors/Button/ButtonDesign.d.ts +2 -1
- package/dist/constructors/Button/basicTypes.d.ts +2 -2
- package/dist/constructors/Button/props.d.ts +7 -11
- package/dist/constructors/Button/types.d.ts +2 -2
- package/dist/constructors/Cell/Cell.d.ts +10 -1
- package/dist/constructors/Cell/CellDesign.d.ts +2 -1
- package/dist/constructors/Cell/props.d.ts +5 -7
- package/dist/constructors/Cell/types.d.ts +3 -3
- package/dist/constructors/Chip/basicTypes.d.ts +2 -2
- package/dist/constructors/Chip/props.d.ts +4 -7
- package/dist/constructors/ChipGroup/ChipGroup.d.ts +4 -1
- package/dist/constructors/ChipGroup/ChipGroupDesign.d.ts +2 -1
- package/dist/constructors/ChipGroup/props.d.ts +4 -7
- package/dist/constructors/Dialog/Dialog.d.ts +1 -2
- package/dist/constructors/Dialog/props.d.ts +5 -7
- package/dist/constructors/Field/Field.d.ts +33 -6
- package/dist/constructors/Field/FieldDesign.d.ts +2 -1
- package/dist/constructors/Field/FieldIcons.d.ts +4 -1
- package/dist/constructors/Field/FieldInclude.d.ts +11 -3
- package/dist/constructors/Field/basicTypes.d.ts +2 -2
- package/dist/constructors/Field/props.d.ts +6 -7
- package/dist/constructors/FieldCounter/FieldCounter.d.ts +22 -1
- package/dist/constructors/FieldCounter/FieldCounterDesign.d.ts +9 -2
- package/dist/constructors/FieldCounter/props.d.ts +10 -7
- package/dist/constructors/FieldCounter/types.d.ts +1 -0
- package/dist/constructors/FieldLabel/FieldLabel.d.ts +5 -1
- package/dist/constructors/FieldLabel/FieldLabelDesign.d.ts +2 -1
- package/dist/constructors/FieldLabel/FieldLabelInclude.d.ts +7 -5
- package/dist/constructors/FieldLabel/basicTypes.d.ts +2 -2
- package/dist/constructors/FieldLabel/props.d.ts +5 -7
- package/dist/constructors/FieldLabel/types.d.ts +2 -2
- package/dist/constructors/FieldMessage/FieldMessage.d.ts +16 -1
- package/dist/constructors/FieldMessage/FieldMessageDesign.d.ts +2 -1
- package/dist/constructors/FieldMessage/FieldMessageInclude.d.ts +8 -9
- package/dist/constructors/FieldMessage/props.d.ts +4 -7
- package/dist/constructors/Icon/Icon.d.ts +7 -2
- package/dist/constructors/Icon/IconLiteInclude.d.ts +1 -2
- package/dist/constructors/Icon/basicTypes.d.ts +6 -6
- package/dist/constructors/Icon/props.d.ts +8 -8
- package/dist/constructors/Icon/types.d.ts +3 -2
- package/dist/constructors/Image/Image.d.ts +0 -7
- package/dist/constructors/Image/basicTypes.d.ts +2 -2
- package/dist/constructors/Image/props.d.ts +5 -7
- package/dist/constructors/Input/Input.d.ts +33 -14
- package/dist/constructors/Input/InputDesign.d.ts +2 -1
- package/dist/constructors/Input/InputPassword.d.ts +5 -2
- package/dist/constructors/Input/props.d.ts +3 -7
- package/dist/constructors/List/List.d.ts +35 -27
- package/dist/constructors/List/ListDesign.d.ts +2 -1
- package/dist/constructors/List/ListFocus.d.ts +10 -2
- package/dist/constructors/List/ListGo.d.ts +22 -4
- package/dist/constructors/List/props.d.ts +8 -8
- package/dist/constructors/ListGroup/ListGroup.d.ts +2 -1
- package/dist/constructors/ListGroup/ListGroupDesign.d.ts +2 -1
- package/dist/constructors/ListGroup/basicTypes.d.ts +2 -2
- package/dist/constructors/ListGroup/props.d.ts +5 -7
- package/dist/constructors/ListItem/ListItem.d.ts +17 -60
- package/dist/constructors/ListItem/props.d.ts +7 -10
- package/dist/constructors/ListMenu/ListMenu.d.ts +3 -1
- package/dist/constructors/ListMenu/ListMenuDesign.d.ts +2 -1
- package/dist/constructors/ListMenu/props.d.ts +4 -7
- package/dist/constructors/Mask/Mask.d.ts +24 -1
- package/dist/constructors/Mask/MaskDesign.d.ts +2 -1
- package/dist/constructors/Mask/MaskInclude.d.ts +2 -2
- package/dist/constructors/Mask/MaskPattern.d.ts +1 -1
- package/dist/constructors/Mask/props.d.ts +5 -7
- package/dist/constructors/Menu/Menu.d.ts +11 -7
- package/dist/constructors/Menu/MenuDesign.d.ts +2 -1
- package/dist/constructors/Menu/MenuRequest.d.ts +1 -5
- package/dist/constructors/Menu/basicTypes.d.ts +2 -2
- package/dist/constructors/Menu/props.d.ts +7 -8
- package/dist/constructors/Modal/ModalDesign.d.ts +1 -1
- package/dist/constructors/Modal/ModalDesignAbstract.d.ts +3 -2
- package/dist/constructors/Modal/props.d.ts +5 -7
- package/dist/constructors/MotionTransform/MotionTransform.d.ts +10 -8
- package/dist/constructors/MotionTransform/MotionTransformDesign.d.ts +13 -2
- package/dist/constructors/MotionTransform/MotionTransformEvent.d.ts +14 -0
- package/dist/constructors/MotionTransform/props.d.ts +6 -8
- package/dist/constructors/Page/props.d.ts +3 -7
- package/dist/constructors/Progress/Progress.d.ts +20 -0
- package/dist/constructors/Progress/ProgressDesign.d.ts +4 -60
- package/dist/constructors/Progress/basicTypes.d.ts +2 -2
- package/dist/constructors/Progress/props.d.ts +7 -9
- package/dist/constructors/Ripple/RippleDesign.d.ts +2 -1
- package/dist/constructors/Ripple/props.d.ts +4 -7
- package/dist/constructors/Scrollbar/Scrollbar.d.ts +3 -1
- package/dist/constructors/Scrollbar/ScrollbarDesign.d.ts +2 -1
- package/dist/constructors/Scrollbar/basicTypes.d.ts +2 -2
- package/dist/constructors/Scrollbar/props.d.ts +5 -7
- package/dist/constructors/Section/props.d.ts +3 -7
- package/dist/constructors/Select/Select.d.ts +19 -8
- package/dist/constructors/Select/SelectDesign.d.ts +2 -1
- package/dist/constructors/Select/SelectInput.d.ts +3 -3
- package/dist/constructors/Select/props.d.ts +4 -7
- package/dist/constructors/SelectValue/SelectValue.d.ts +4 -1
- package/dist/constructors/SelectValue/SelectValueDesign.d.ts +2 -1
- package/dist/constructors/SelectValue/props.d.ts +4 -7
- package/dist/constructors/Skeleton/SkeletonDesign.d.ts +2 -1
- package/dist/constructors/Skeleton/basicTypes.d.ts +2 -2
- package/dist/constructors/Skeleton/props.d.ts +4 -7
- package/dist/constructors/TextareaAutosize/TextareaAutosize.d.ts +3 -1
- package/dist/constructors/TextareaAutosize/TextareaAutosizeDesign.d.ts +2 -1
- package/dist/constructors/TextareaAutosize/props.d.ts +4 -7
- package/dist/constructors/Tooltip/Tooltip.d.ts +82 -13
- package/dist/constructors/Tooltip/TooltipEvent.d.ts +6 -2
- package/dist/constructors/Tooltip/TooltipOpen.d.ts +7 -1
- package/dist/constructors/Tooltip/basicTypes.d.ts +2 -2
- package/dist/constructors/Tooltip/props.d.ts +13 -7
- package/dist/constructors/Window/Window.d.ts +25 -1
- package/dist/constructors/Window/WindowDesign.d.ts +5 -63
- package/dist/constructors/Window/WindowEsc.d.ts +2 -2
- package/dist/constructors/Window/WindowEvent.d.ts +20 -3
- package/dist/constructors/Window/WindowHidden.d.ts +9 -3
- package/dist/constructors/Window/WindowInclude.d.ts +5 -1
- package/dist/constructors/Window/basicTypes.d.ts +7 -3
- package/dist/constructors/Window/props.d.ts +19 -9
- package/dist/dialog.js +4 -4
- package/dist/field.js +161 -126
- package/dist/fieldCounter.js +107 -38
- package/dist/fieldLabel.js +41 -37
- package/dist/fieldMessage.js +87 -65
- package/dist/icon.js +55 -39
- package/dist/image.js +108 -110
- package/dist/input.js +102 -80
- package/dist/library/plugin.d.ts +2 -0
- package/dist/library.d.ts +22 -14
- package/dist/library.js +55 -47
- package/dist/list.js +152 -87
- package/dist/listGroup.js +23 -21
- package/dist/listItem.js +116 -100
- package/dist/listMenu.js +26 -20
- package/dist/mask.js +113 -89
- package/dist/media/styleModification.d.ts +6 -0
- package/dist/menu.js +64 -49
- package/dist/modal.js +9 -9
- package/dist/motionTransform.js +138 -106
- package/dist/page.js +1 -1
- package/dist/plugin.js +4 -0
- package/dist/progress.js +65 -38
- package/dist/ripple.js +4 -3
- package/dist/scrollbar.js +23 -20
- package/dist/section.js +1 -1
- package/dist/select.js +105 -90
- package/dist/selectValue.js +29 -25
- package/dist/skeleton.js +20 -22
- package/dist/textareaAutosize.js +26 -23
- package/dist/tooltip.js +140 -91
- package/dist/types/ariaTypes.d.ts +22 -16
- package/dist/types/captionTypes.d.ts +4 -2
- package/dist/types/descriptionTypes.d.ts +4 -12
- package/dist/types/enabledTypes.d.ts +2 -2
- package/dist/types/eventClickTypes.d.ts +2 -2
- package/dist/types/fieldTypes.d.ts +40 -41
- package/dist/types/labelTypes.d.ts +6 -13
- package/dist/types/modelTypes.d.ts +4 -4
- package/dist/types/pluginTypes.d.ts +17 -0
- package/dist/types/prefixTypes.d.ts +4 -2
- package/dist/types/suffixTypes.d.ts +4 -2
- package/dist/types/textTypes.d.ts +50 -11
- package/dist/window.js +169 -105
- package/package.json +89 -90
- package/src/constructors/Actions/style.scss +0 -1
- package/src/constructors/Bars/style.scss +2 -0
- package/src/constructors/FieldCounter/style.scss +5 -0
- package/src/constructors/Progress/style.scss +2 -0
- package/src/constructors/Tooltip/style.scss +10 -2
- package/src/constructors/Window/style.scss +7 -1
- package/dist/ButtonDesign-DZ7QCmHk.js +0 -169
- package/dist/CaptionInclude-AFVF4qyd.js +0 -52
- package/dist/TextInclude-i1OBAFTG.js +0 -76
- /package/dist/classes/{field → Field}/FieldArrowInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldAttributesInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldChangeInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldCodeInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldElementInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldEventInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldInputCheckInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldMatchInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldPatternInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldTypeInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldValidationInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldValueInclude.d.ts +0 -0
- /package/dist/classes/{field → Field}/FieldVisibilityInclude.d.ts +0 -0
package/dist/field.js
CHANGED
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { computed as
|
|
5
|
-
import { isDomRuntime as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { E as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { F as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
1
|
+
var B = Object.defineProperty;
|
|
2
|
+
var I = (n, t, s) => t in n ? B(n, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[t] = s;
|
|
3
|
+
var e = (n, t, s) => I(n, typeof t != "symbol" ? t + "" : t, s);
|
|
4
|
+
import { computed as r, watch as $, onUnmounted as L, onMounted as E, onUpdated as k, h as l } from "vue";
|
|
5
|
+
import { isDomRuntime as A, EventItem as T, getElementId as F, DesignConstructorAbstract as q, isString as P } from "@dxtmisha/functional";
|
|
6
|
+
import { A as d } from "./AriaStaticInclude-CAURwJMb.js";
|
|
7
|
+
import { C as M } from "./CaptionInclude-NzS6EYYj.js";
|
|
8
|
+
import { P as D, S as V } from "./SuffixInclude-maZ7235l.js";
|
|
9
|
+
import { E as R } from "./EnabledInclude-Dk-rP4jp.js";
|
|
10
|
+
import { E as z } from "./EventClickInclude-WHJqxZ1b.js";
|
|
11
|
+
import { T as W } from "./TextInclude--GERRCGj.js";
|
|
12
|
+
import { F as K } from "./FieldLabelInclude-Bkxf6rRw.js";
|
|
13
|
+
import { F as U } from "./FieldMessageInclude-BJDnir34.js";
|
|
14
|
+
import { S as j } from "./SkeletonInclude-BIUzAO2s.js";
|
|
15
|
+
import { I as H } from "./IconTrailingInclude-CdsOcDxv.js";
|
|
16
|
+
import { P as G } from "./ProgressInclude-9MfZWtGP.js";
|
|
17
|
+
class J {
|
|
17
18
|
/**
|
|
18
19
|
* Constructor
|
|
19
20
|
* @param props input data/ входные данные
|
|
20
21
|
* @param className class name/ название класса
|
|
22
|
+
* @param text text include/ Подключение текста
|
|
21
23
|
*/
|
|
22
|
-
constructor(
|
|
24
|
+
constructor(t, s, i) {
|
|
23
25
|
/**
|
|
24
26
|
* Determines whether to display arrows.
|
|
25
27
|
*
|
|
26
28
|
* Определяет, требуется ли отображение стрелок.
|
|
27
29
|
*/
|
|
28
|
-
|
|
30
|
+
e(this, "isArrow", r(
|
|
29
31
|
() => !!((this.props.arrowCarousel || this.props.arrowStepper) && !this.props.disabled)
|
|
30
32
|
));
|
|
31
33
|
/**
|
|
@@ -33,72 +35,75 @@ class T {
|
|
|
33
35
|
*
|
|
34
36
|
* Определяет, требуется ли отображение кнопки "Удалить".
|
|
35
37
|
*/
|
|
36
|
-
|
|
38
|
+
e(this, "isCancel", r(() => !!(this.props.cancel && !this.props.readonly && !this.props.disabled && !this.props.arrowCarousel && !this.props.arrowStepper && (this.props.cancel === "auto" && this.props.cancelShow || this.props.cancel === "always"))));
|
|
37
39
|
/**
|
|
38
40
|
* Returns data for the data deletion button.
|
|
39
41
|
*
|
|
40
42
|
* Возвращает данные для кнопки удаления данных.
|
|
41
43
|
*/
|
|
42
|
-
|
|
44
|
+
e(this, "cancelBind", r(() => ({
|
|
43
45
|
class: `${this.className}__cancel`,
|
|
44
46
|
icon: this.props.iconClose,
|
|
45
47
|
dynamic: !0,
|
|
46
|
-
"data-event-type": "cancel"
|
|
48
|
+
"data-event-type": "cancel",
|
|
49
|
+
ariaLabel: this.text.cancel.value
|
|
47
50
|
})));
|
|
48
51
|
/**
|
|
49
52
|
* Returns data for the left arrow.
|
|
50
53
|
*
|
|
51
54
|
* Возвращает данные для стрелки слева.
|
|
52
55
|
*/
|
|
53
|
-
|
|
56
|
+
e(this, "previousBind", r(() => ({
|
|
54
57
|
class: `${this.className}__previous`,
|
|
55
58
|
icon: this.props.arrowCarousel ? this.props.iconArrowLeft : this.props.iconMinus,
|
|
56
59
|
disabled: this.props.disabled || this.props.disabledPrevious,
|
|
57
60
|
dynamic: !0,
|
|
58
|
-
"data-event-type": "previous"
|
|
61
|
+
"data-event-type": "previous",
|
|
62
|
+
ariaLabel: this.props.arrowCarousel ? this.text.previous.value : this.text.decrement.value
|
|
59
63
|
})));
|
|
60
64
|
/**
|
|
61
65
|
* Returns data for the right arrow.
|
|
62
66
|
*
|
|
63
67
|
* Возвращает данные для стрелки справа.
|
|
64
68
|
*/
|
|
65
|
-
|
|
69
|
+
e(this, "nextBind", r(() => ({
|
|
66
70
|
class: `${this.className}__next`,
|
|
67
71
|
icon: this.props.arrowCarousel ? this.props.iconArrowRight : this.props.iconPlus,
|
|
68
72
|
disabled: this.props.disabled || this.props.disabledNext,
|
|
69
73
|
dynamic: !0,
|
|
70
|
-
"data-event-type": "next"
|
|
74
|
+
"data-event-type": "next",
|
|
75
|
+
ariaLabel: this.props.arrowCarousel ? this.text.next.value : this.text.increment.value
|
|
71
76
|
})));
|
|
72
|
-
this.props =
|
|
77
|
+
this.props = t, this.className = s, this.text = i;
|
|
73
78
|
}
|
|
74
79
|
}
|
|
75
|
-
class
|
|
80
|
+
class O {
|
|
76
81
|
/**
|
|
77
82
|
* Constructor
|
|
78
83
|
* @param element main element/ главный элемент
|
|
79
84
|
* @param className class name/ название класса
|
|
80
85
|
*/
|
|
81
|
-
constructor(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
constructor(t, s) {
|
|
87
|
+
e(this, "left", 0);
|
|
88
|
+
e(this, "right", 0);
|
|
89
|
+
e(this, "title", 0);
|
|
90
|
+
e(this, "event");
|
|
86
91
|
/**
|
|
87
92
|
* Update margins.
|
|
88
93
|
*
|
|
89
94
|
* Обновление отступов.
|
|
90
95
|
*/
|
|
91
|
-
|
|
96
|
+
e(this, "update", () => {
|
|
92
97
|
requestAnimationFrame(() => {
|
|
93
|
-
var i, o,
|
|
94
|
-
const
|
|
95
|
-
|
|
98
|
+
var i, o, a, h;
|
|
99
|
+
const t = this.getElementSpace(), s = this.getElementPrefix();
|
|
100
|
+
t && (this.left = t.offsetLeft, this.right = ((o = (i = t.parentElement) == null ? void 0 : i.offsetWidth) != null ? o : 0) - this.left - t.offsetWidth), this.title = (h = (a = s == null ? void 0 : s.offsetLeft) != null ? a : t == null ? void 0 : t.offsetLeft) != null ? h : 0, this.make();
|
|
96
101
|
});
|
|
97
102
|
});
|
|
98
|
-
this.element =
|
|
103
|
+
this.element = t, this.className = s, $(t, () => this.update, { immediate: !0 }), A() && (this.event = new T(window, "resize", this.update), L(() => {
|
|
99
104
|
var i;
|
|
100
105
|
return (i = this.event) == null ? void 0 : i.stop();
|
|
101
|
-
})),
|
|
106
|
+
})), E(this.update), k(this.update);
|
|
102
107
|
}
|
|
103
108
|
/**
|
|
104
109
|
* Returns separator elements.
|
|
@@ -106,8 +111,8 @@ class q {
|
|
|
106
111
|
* Возвращает элементы-разделители.
|
|
107
112
|
*/
|
|
108
113
|
getElementSpace() {
|
|
109
|
-
var
|
|
110
|
-
return (s = (
|
|
114
|
+
var t, s;
|
|
115
|
+
return (s = (t = this.element.value) == null ? void 0 : t.querySelector(`.${this.className}__body__scoreboard__space`)) != null ? s : void 0;
|
|
111
116
|
}
|
|
112
117
|
/**
|
|
113
118
|
* Returns element with prefix.
|
|
@@ -115,8 +120,8 @@ class q {
|
|
|
115
120
|
* Возвращает элемент с префиксом.
|
|
116
121
|
*/
|
|
117
122
|
getElementPrefix() {
|
|
118
|
-
var
|
|
119
|
-
return (s = (
|
|
123
|
+
var t, s;
|
|
124
|
+
return (s = (t = this.element.value) == null ? void 0 : t.querySelector(`.${this.className}__prefix`)) != null ? s : void 0;
|
|
120
125
|
}
|
|
121
126
|
/**
|
|
122
127
|
* Update input field margins.
|
|
@@ -124,11 +129,11 @@ class q {
|
|
|
124
129
|
* Обновление отступов для поля ввода.
|
|
125
130
|
*/
|
|
126
131
|
make() {
|
|
127
|
-
const
|
|
128
|
-
|
|
132
|
+
const t = this.element.value;
|
|
133
|
+
t && (t.style.setProperty(`--${this.className}-sys-left`, `${this.left}px`), t.style.setProperty(`--${this.className}-sys-right`, `${this.right}px`), t.style.setProperty(`--${this.className}-sys-title`, `${this.title}px`), t.classList.contains(`${this.className}--show`) || requestAnimationFrame(() => t.classList.add(`${this.className}--show`)));
|
|
129
134
|
}
|
|
130
135
|
}
|
|
131
|
-
class
|
|
136
|
+
class Q {
|
|
132
137
|
/**
|
|
133
138
|
* Constructor
|
|
134
139
|
* @param props input data/ входные данные
|
|
@@ -139,29 +144,57 @@ class P {
|
|
|
139
144
|
* @param components object for working with components/ объект для работы с компонентами
|
|
140
145
|
* @param slots object for working with slots/ объект для работы со слотами
|
|
141
146
|
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
147
|
+
* @param SkeletonIncludeConstructor class for working with skeleton/ класс для работы со скелетоном
|
|
148
|
+
* @param IconTrailingIncludeConstructor class for working with icon/ класс для работы с иконкой
|
|
149
|
+
* @param CaptionIncludeConstructor class for working with caption/ класс для работы с подписью
|
|
150
|
+
* @param PrefixIncludeConstructor class for working with prefix/ класс для работы с префиксом
|
|
151
|
+
* @param SuffixIncludeConstructor class for working with suffix/ класс для работы с суффиксом
|
|
152
|
+
* @param FieldLabelIncludeConstructor class for working with field label/ класс для работы с меткой поля
|
|
153
|
+
* @param FieldMessageIncludeConstructor class for working with field message/ класс для работы с сообщением поля
|
|
154
|
+
* @param ProgressIncludeConstructor class for working with progress/ класс для работы с прогрессом
|
|
155
|
+
* @param EnabledIncludeConstructor class for working with enabled/ класс для работы с активностью
|
|
156
|
+
* @param EventClickIncludeConstructor class for working with event click/ класс для работы с событием клика
|
|
157
|
+
* @param FieldIconsConstructor class for working with field icons/ класс для работы с иконками поля
|
|
158
|
+
* @param FieldSizeConstructor class for working with field size/ класс для работы с размером поля
|
|
159
|
+
* @param TextIncludeConstructor class for working with text/ класс для работы с текстом
|
|
142
160
|
*/
|
|
143
|
-
constructor(
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
+
constructor(t, s, i, o, a, h, c, p, u = j, m = H, b = M, f = D, v = V, y = K, g = U, _ = G, S = R, x = z, w = J, C = O, N = W) {
|
|
162
|
+
/** Text include/ Подключение текста */
|
|
163
|
+
e(this, "text");
|
|
164
|
+
/** Icon trailing include/ Подключение иконки в конце */
|
|
165
|
+
e(this, "icon");
|
|
166
|
+
/** Caption include/ Подключение подписи */
|
|
167
|
+
e(this, "caption");
|
|
168
|
+
/** Prefix include/ Подключение префикса */
|
|
169
|
+
e(this, "prefix");
|
|
170
|
+
/** Suffix include/ Подключение суффикса */
|
|
171
|
+
e(this, "suffix");
|
|
172
|
+
/** Field label include/ Подключение метки поля */
|
|
173
|
+
e(this, "fieldLabel");
|
|
174
|
+
/** Field message include/ Подключение сообщения поля */
|
|
175
|
+
e(this, "fieldMessage");
|
|
176
|
+
/** Progress include/ Подключение прогресса */
|
|
177
|
+
e(this, "progress");
|
|
178
|
+
/** Enabled include/ Подключение активности */
|
|
179
|
+
e(this, "enabled");
|
|
180
|
+
/** Event click include/ Подключение события клика */
|
|
181
|
+
e(this, "event");
|
|
182
|
+
/** Skeleton include/ Подключение скелетона */
|
|
183
|
+
e(this, "skeleton");
|
|
184
|
+
/** Field icons/ Иконки поля */
|
|
185
|
+
e(this, "icons");
|
|
186
|
+
/** Field size/ Размер поля */
|
|
187
|
+
e(this, "size");
|
|
188
|
+
/** Checks if the field is classic/ Проверяет, является ли поле классическим */
|
|
189
|
+
e(this, "isClassic", r(
|
|
190
|
+
() => !!(this.props.classic && !this.props.basic && !this.props.boxed && !this.props.filled && !this.props.outlined && !this.props.tonal)
|
|
191
|
+
));
|
|
161
192
|
/** Checks if an error needs to be displayed/ Проверяет, надо ли выводить ошибку */
|
|
162
|
-
|
|
193
|
+
e(this, "isValidation", r(() => !!(this.props.validationMessage && (this.props.forceShowMessage || !this.props.readonly && !this.props.disabled))));
|
|
194
|
+
/** Field identifier/ Идентификатор поля */
|
|
195
|
+
e(this, "id", r(() => String(this.props.id || F())));
|
|
163
196
|
/** Values for the class/ Значения для класса */
|
|
164
|
-
|
|
197
|
+
e(this, "classes", r(() => ({
|
|
165
198
|
[`${this.className}--cancel`]: this.icons.isCancel.value,
|
|
166
199
|
[`${this.className}--suffix`]: this.props.suffix,
|
|
167
200
|
[`${this.className}--validation`]: this.isValidation.value
|
|
@@ -169,46 +202,41 @@ class P {
|
|
|
169
202
|
/**
|
|
170
203
|
* Returns data for the slot/ Возвращает данные для слота
|
|
171
204
|
*/
|
|
172
|
-
|
|
173
|
-
const
|
|
205
|
+
e(this, "control", r(() => {
|
|
206
|
+
const t = `${this.className}__body__input ${this.skeleton.classesSkeleton.classText}`;
|
|
174
207
|
return {
|
|
175
|
-
id:
|
|
176
|
-
className:
|
|
208
|
+
id: this.id.value,
|
|
209
|
+
className: t,
|
|
177
210
|
classHidden: `${this.className}__body__hidden`,
|
|
178
211
|
classForFocus: `${this.className}__body__focus`,
|
|
179
212
|
binds: {
|
|
180
|
-
id:
|
|
181
|
-
className:
|
|
182
|
-
...d.
|
|
183
|
-
...d.describedby(this.getDescribedby())
|
|
184
|
-
...d.invalid(this.isValidation.value)
|
|
213
|
+
id: this.id.value,
|
|
214
|
+
className: t,
|
|
215
|
+
...d.invalid(this.isValidation.value),
|
|
216
|
+
...d.describedby(this.getDescribedby())
|
|
185
217
|
}
|
|
186
218
|
};
|
|
187
219
|
}));
|
|
188
|
-
this.props =
|
|
220
|
+
this.props = t, this.refs = s, this.element = i, this.classDesign = o, this.className = a, this.components = h, this.slots = c, this.emits = p, this.skeleton = new u(
|
|
189
221
|
this.props,
|
|
190
222
|
this.classDesign,
|
|
191
223
|
["classBackground"]
|
|
192
|
-
), this.icon = new
|
|
224
|
+
), this.icon = new m(this.props, this.className, this.components), this.text = new N(this.props), this.caption = new b(this.props, this.className, this.slots), this.prefix = new f(this.props, this.className, this.slots), this.suffix = new v(this.props, this.className, this.slots), this.fieldLabel = new y(
|
|
193
225
|
this.props,
|
|
194
226
|
this.className,
|
|
195
227
|
this.components,
|
|
196
228
|
this.slots,
|
|
229
|
+
this.id,
|
|
197
230
|
this.refs.counterTop,
|
|
198
|
-
this.labelId,
|
|
199
|
-
this.counterId,
|
|
200
231
|
this.skeleton.binds
|
|
201
|
-
), this.fieldMessage = new
|
|
232
|
+
), this.fieldMessage = new g(
|
|
202
233
|
this.props,
|
|
203
234
|
this.className,
|
|
204
235
|
this.components,
|
|
205
236
|
void 0,
|
|
206
|
-
|
|
207
|
-
this.helperId,
|
|
208
|
-
this.validationId,
|
|
209
|
-
this.counterId,
|
|
237
|
+
r(() => !this.props.counterTop),
|
|
210
238
|
this.skeleton.binds
|
|
211
|
-
), this.progress = new
|
|
239
|
+
), this.progress = new _(
|
|
212
240
|
this.props,
|
|
213
241
|
this.className,
|
|
214
242
|
this.components,
|
|
@@ -217,7 +245,7 @@ class P {
|
|
|
217
245
|
position: "static",
|
|
218
246
|
dense: !0
|
|
219
247
|
}
|
|
220
|
-
), this.enabled = new
|
|
248
|
+
), this.enabled = new S(this.props, this.progress), this.event = new x(this.props, this.enabled, this.emits), this.icons = new w(this.props, this.className, this.text), this.size = new C(this.element, this.className);
|
|
221
249
|
}
|
|
222
250
|
/**
|
|
223
251
|
* Get ARIA describedby attribute.
|
|
@@ -225,35 +253,40 @@ class P {
|
|
|
225
253
|
* Получить атрибут ARIA describedby.
|
|
226
254
|
*/
|
|
227
255
|
getDescribedby() {
|
|
228
|
-
|
|
229
|
-
|
|
256
|
+
return [
|
|
257
|
+
this.prefix.describedby.value,
|
|
258
|
+
this.suffix.describedby.value,
|
|
259
|
+
this.fieldLabel.id.value,
|
|
260
|
+
this.fieldMessage.id.value
|
|
261
|
+
].join(" ").trim();
|
|
230
262
|
}
|
|
231
263
|
}
|
|
232
|
-
const
|
|
264
|
+
const cs = {
|
|
233
265
|
// :default [!] System label / Системная метка
|
|
234
266
|
arrowAlign: "right",
|
|
235
267
|
cancel: "auto"
|
|
236
268
|
};
|
|
237
|
-
class
|
|
269
|
+
class ps extends q {
|
|
238
270
|
/**
|
|
239
271
|
* Constructor
|
|
240
272
|
* @param name class name/ название класса
|
|
241
273
|
* @param props properties/ свойства
|
|
242
274
|
* @param options list of additional parameters/ список дополнительных параметров
|
|
275
|
+
* @param ItemConstructor class for working with the item/ класс для работы с элементом
|
|
243
276
|
*/
|
|
244
|
-
constructor(s, i, o) {
|
|
277
|
+
constructor(s, i, o, a = Q) {
|
|
245
278
|
super(
|
|
246
279
|
s,
|
|
247
280
|
i,
|
|
248
281
|
o
|
|
249
282
|
);
|
|
250
|
-
|
|
283
|
+
e(this, "item");
|
|
251
284
|
/**
|
|
252
285
|
* Generates body.
|
|
253
286
|
*
|
|
254
287
|
* Генерирует тело.
|
|
255
288
|
*/
|
|
256
|
-
|
|
289
|
+
e(this, "renderBody", () => {
|
|
257
290
|
var i;
|
|
258
291
|
const s = [
|
|
259
292
|
this.initSlot("default", void 0, this.item.control.value),
|
|
@@ -262,14 +295,15 @@ class X extends I {
|
|
|
262
295
|
this.renderBodyBorder()
|
|
263
296
|
];
|
|
264
297
|
return [
|
|
265
|
-
|
|
298
|
+
l(
|
|
266
299
|
"span",
|
|
267
300
|
{
|
|
268
301
|
class: [
|
|
269
302
|
(i = this.classes) == null ? void 0 : i.value.body,
|
|
270
303
|
this.item.skeleton.classes.value
|
|
271
304
|
],
|
|
272
|
-
onClick: this.item.event.onClick
|
|
305
|
+
onClick: this.item.event.onClick,
|
|
306
|
+
onKeydown: this.item.event.onKeydown
|
|
273
307
|
},
|
|
274
308
|
s
|
|
275
309
|
)
|
|
@@ -280,21 +314,21 @@ class X extends I {
|
|
|
280
314
|
*
|
|
281
315
|
* Генерирует данные для заголовка.
|
|
282
316
|
*/
|
|
283
|
-
|
|
284
|
-
var i, o,
|
|
317
|
+
e(this, "renderBodyLabel", () => {
|
|
318
|
+
var i, o, a, h;
|
|
285
319
|
const s = [
|
|
286
320
|
this.props.label
|
|
287
321
|
];
|
|
288
|
-
return this.props.required && s.push(
|
|
322
|
+
return this.props.required && s.push(l(
|
|
289
323
|
"span",
|
|
290
324
|
{ class: (i = this.classes) == null ? void 0 : i.value.required }
|
|
291
|
-
)),
|
|
325
|
+
)), l(
|
|
292
326
|
"span",
|
|
293
327
|
{ class: (o = this.classes) == null ? void 0 : o.value.bodyTitle },
|
|
294
|
-
|
|
328
|
+
l(
|
|
295
329
|
"span",
|
|
296
|
-
{ class: (
|
|
297
|
-
|
|
330
|
+
{ class: (a = this.classes) == null ? void 0 : a.value.bodyTitleLabel },
|
|
331
|
+
l(
|
|
298
332
|
"span",
|
|
299
333
|
{ class: (h = this.classes) == null ? void 0 : h.value.bodyTitleLabelText },
|
|
300
334
|
s
|
|
@@ -307,7 +341,7 @@ class X extends I {
|
|
|
307
341
|
*
|
|
308
342
|
* Генерирует данные для дополнительных управлений.
|
|
309
343
|
*/
|
|
310
|
-
|
|
344
|
+
e(this, "renderBodyScoreboard", () => {
|
|
311
345
|
var i;
|
|
312
346
|
const s = [
|
|
313
347
|
...this.renderBodyScoreboardSlot(),
|
|
@@ -317,7 +351,7 @@ class X extends I {
|
|
|
317
351
|
...this.item.progress.render(),
|
|
318
352
|
...this.renderBodyScoreboardSpace()
|
|
319
353
|
];
|
|
320
|
-
return
|
|
354
|
+
return l("span", {
|
|
321
355
|
class: (i = this.classes) == null ? void 0 : i.value.bodyScoreboard,
|
|
322
356
|
"data-element": "scoreboard"
|
|
323
357
|
}, s);
|
|
@@ -327,14 +361,14 @@ class X extends I {
|
|
|
327
361
|
*
|
|
328
362
|
* Генерирует данные для слота.
|
|
329
363
|
*/
|
|
330
|
-
|
|
364
|
+
e(this, "renderBodyScoreboardSlot", () => {
|
|
331
365
|
var i, o;
|
|
332
366
|
const s = [];
|
|
333
|
-
return this.slots && ("leading" in this.slots && s.push(
|
|
367
|
+
return this.slots && ("leading" in this.slots && s.push(l(
|
|
334
368
|
"span",
|
|
335
369
|
{ class: (i = this.classes) == null ? void 0 : i.value.bodyScoreboardLeft },
|
|
336
370
|
this.initSlot("leading")
|
|
337
|
-
)), "trailing" in this.slots && s.push(
|
|
371
|
+
)), "trailing" in this.slots && s.push(l(
|
|
338
372
|
"span",
|
|
339
373
|
{ class: (o = this.classes) == null ? void 0 : o.value.bodyScoreboardRight },
|
|
340
374
|
this.initSlot("trailing")
|
|
@@ -345,7 +379,7 @@ class X extends I {
|
|
|
345
379
|
*
|
|
346
380
|
* Генерирует все доступные иконки.
|
|
347
381
|
*/
|
|
348
|
-
|
|
382
|
+
e(this, "renderBodyScoreboardIcon", () => {
|
|
349
383
|
const s = [...this.item.icon.render()];
|
|
350
384
|
return this.item.icons.isCancel.value && this.components.renderAdd(
|
|
351
385
|
s,
|
|
@@ -372,11 +406,11 @@ class X extends I {
|
|
|
372
406
|
*
|
|
373
407
|
* Генерирует разделители и дополнительные описания.
|
|
374
408
|
*/
|
|
375
|
-
|
|
409
|
+
e(this, "renderBodyScoreboardSpace", () => {
|
|
376
410
|
var i, o;
|
|
377
411
|
const s = [];
|
|
378
412
|
return this.item.caption.is.value && s.push(
|
|
379
|
-
|
|
413
|
+
l(
|
|
380
414
|
"span",
|
|
381
415
|
{
|
|
382
416
|
class: (i = this.classes) == null ? void 0 : i.value.bodyScoreboardInput,
|
|
@@ -386,7 +420,7 @@ class X extends I {
|
|
|
386
420
|
),
|
|
387
421
|
...this.item.caption.render()
|
|
388
422
|
), [
|
|
389
|
-
|
|
423
|
+
l(
|
|
390
424
|
"span",
|
|
391
425
|
{ class: (o = this.classes) == null ? void 0 : o.value.bodyScoreboardSpace },
|
|
392
426
|
s
|
|
@@ -398,22 +432,22 @@ class X extends I {
|
|
|
398
432
|
*
|
|
399
433
|
* Генерирует border.
|
|
400
434
|
*/
|
|
401
|
-
|
|
435
|
+
e(this, "renderBodyBorder", () => {
|
|
402
436
|
var s;
|
|
403
|
-
return
|
|
437
|
+
return l("span", { class: (s = this.classes) == null ? void 0 : s.value.bodyBorder });
|
|
404
438
|
});
|
|
405
439
|
/**
|
|
406
440
|
* Value for focus.
|
|
407
441
|
*
|
|
408
442
|
* Значение для фокуса.
|
|
409
443
|
*/
|
|
410
|
-
|
|
444
|
+
e(this, "focusValue", () => !this.lengthElement.value && P(this.props.value) ? this.props.value : "");
|
|
411
445
|
/**
|
|
412
446
|
* Length value.
|
|
413
447
|
*
|
|
414
448
|
* Значение длины.
|
|
415
449
|
*/
|
|
416
|
-
|
|
450
|
+
e(this, "lengthValue", () => {
|
|
417
451
|
if (this.lengthElement.value)
|
|
418
452
|
return `${this.lengthElement.value.offsetWidth}px`;
|
|
419
453
|
});
|
|
@@ -422,7 +456,7 @@ class X extends I {
|
|
|
422
456
|
*
|
|
423
457
|
* Элемент для подсчёта символов.
|
|
424
458
|
*/
|
|
425
|
-
|
|
459
|
+
e(this, "lengthElement", r(() => {
|
|
426
460
|
var s, i;
|
|
427
461
|
return (i = (s = this.element.value) == null ? void 0 : s.querySelector("*[data-length]")) != null ? i : void 0;
|
|
428
462
|
}));
|
|
@@ -431,11 +465,11 @@ class X extends I {
|
|
|
431
465
|
*
|
|
432
466
|
* Элемент ввода.
|
|
433
467
|
*/
|
|
434
|
-
|
|
435
|
-
var s, i, o,
|
|
436
|
-
return (
|
|
468
|
+
e(this, "inputElement", r(() => {
|
|
469
|
+
var s, i, o, a;
|
|
470
|
+
return (a = (o = this.element.value) == null ? void 0 : o.querySelector(`input.${(s = this.classes) == null ? void 0 : s.value.bodyInput}, .${(i = this.classes) == null ? void 0 : i.value.bodyInput} input`)) != null ? a : void 0;
|
|
437
471
|
}));
|
|
438
|
-
this.item = new
|
|
472
|
+
this.item = new a(
|
|
439
473
|
this.props,
|
|
440
474
|
this.refs,
|
|
441
475
|
this.element,
|
|
@@ -493,23 +527,24 @@ class X extends I {
|
|
|
493
527
|
initRender() {
|
|
494
528
|
var i, o;
|
|
495
529
|
const s = [];
|
|
496
|
-
return this.
|
|
530
|
+
return this.item.isClassic.value && s.push(...this.item.fieldLabel.render()), s.push(
|
|
497
531
|
...this.renderBody(),
|
|
498
532
|
...this.item.fieldMessage.render()
|
|
499
|
-
),
|
|
500
|
-
"label",
|
|
533
|
+
), l(
|
|
534
|
+
this.item.isClassic.value ? "div" : "label",
|
|
501
535
|
{
|
|
502
536
|
...this.getAttrs(),
|
|
503
537
|
ref: this.element,
|
|
504
538
|
class: (i = this.classes) == null ? void 0 : i.value.main,
|
|
505
|
-
style: (o = this.styles) == null ? void 0 : o.value
|
|
539
|
+
style: (o = this.styles) == null ? void 0 : o.value,
|
|
540
|
+
for: this.item.isClassic.value ? void 0 : this.item.id.value
|
|
506
541
|
},
|
|
507
542
|
s
|
|
508
543
|
);
|
|
509
544
|
}
|
|
510
545
|
}
|
|
511
546
|
export {
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
547
|
+
Q as Field,
|
|
548
|
+
ps as FieldDesign,
|
|
549
|
+
cs as defaultsField
|
|
515
550
|
};
|