@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
|
@@ -4,23 +4,22 @@ import { DescriptionProps } from '../../types/descriptionTypes';
|
|
|
4
4
|
import { IconLitePropsInclude, IconPropsBasic, IconValue } from '../Icon';
|
|
5
5
|
import { CellPropsBasic } from '../Cell';
|
|
6
6
|
import { MotionTransformPropsBasic, MotionTransformPropsInclude } from '../MotionTransform';
|
|
7
|
-
|
|
7
|
+
export type AccordionPropsToken = {
|
|
8
8
|
divider?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export
|
|
9
|
+
};
|
|
10
|
+
export type AccordionPropsBasic<Icon extends IconPropsBasic = IconPropsBasic, Cell extends CellPropsBasic = CellPropsBasic, MotionTransform extends MotionTransformPropsBasic = MotionTransformPropsBasic> = LabelProps & DescriptionProps & IconLitePropsInclude<Icon> & MotionTransformPropsInclude<MotionTransform> & {
|
|
11
11
|
'cellAttrs'?: ConstrBind<Cell>;
|
|
12
12
|
'iconArrowDown'?: IconValue<Icon>;
|
|
13
13
|
'modelOpen'?: boolean;
|
|
14
14
|
'onUpdate:open'?: (value: boolean) => void;
|
|
15
15
|
'onUpdate:modelOpen'?: (value: boolean) => void;
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
/**
|
|
18
18
|
* Type describing incoming properties.
|
|
19
19
|
*
|
|
20
20
|
* Тип, описывающий входящие свойства.
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
23
|
-
}
|
|
22
|
+
export type AccordionProps = AccordionPropsBasic & AccordionPropsToken;
|
|
24
23
|
/**
|
|
25
24
|
* Default value for property.
|
|
26
25
|
*
|
|
@@ -31,4 +30,3 @@ export declare const defaultsAccordion: {
|
|
|
31
30
|
clickOpen: boolean;
|
|
32
31
|
autoClose: boolean;
|
|
33
32
|
};
|
|
34
|
-
export {};
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { WindowPropsBasic, WindowPropsInclude } from '../Window';
|
|
2
2
|
import { BarsPropsBasic, BarsPropsInclude } from '../Bars';
|
|
3
3
|
import { ActionsPropsBasic, ActionsPropsInclude } from '../Actions';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export interface ActionSheetPropsBasic<Window extends WindowPropsBasic = WindowPropsBasic, Bars extends BarsPropsBasic = BarsPropsBasic, Actions extends ActionsPropsBasic = ActionsPropsBasic> extends WindowPropsInclude<Window>, BarsPropsInclude<Bars>, ActionsPropsInclude<Actions> {
|
|
4
|
+
export type ActionSheetPropsToken = {};
|
|
5
|
+
export type ActionSheetPropsBasic<Window extends WindowPropsBasic = WindowPropsBasic, Bars extends BarsPropsBasic = BarsPropsBasic, Actions extends ActionsPropsBasic = ActionsPropsBasic> = WindowPropsInclude<Window> & BarsPropsInclude<Bars> & ActionsPropsInclude<Actions> & {
|
|
7
6
|
open?: boolean;
|
|
8
7
|
touchClose?: boolean;
|
|
9
|
-
}
|
|
8
|
+
};
|
|
10
9
|
/**
|
|
11
10
|
* Type describing incoming properties.
|
|
12
11
|
*
|
|
13
12
|
* Тип, описывающий входящие свойства.
|
|
14
13
|
*/
|
|
15
|
-
export
|
|
16
|
-
}
|
|
14
|
+
export type ActionSheetProps = ActionSheetPropsBasic & ActionSheetPropsToken;
|
|
17
15
|
/**
|
|
18
16
|
* Default value for property.
|
|
19
17
|
*
|
|
@@ -23,4 +21,3 @@ export declare const defaultsActionSheet: {
|
|
|
23
21
|
barsBackHide: boolean;
|
|
24
22
|
touchClose: boolean;
|
|
25
23
|
};
|
|
26
|
-
export {};
|
|
@@ -26,8 +26,9 @@ export declare class Actions {
|
|
|
26
26
|
* @param components object for working with components/ объект для работы с компонентами
|
|
27
27
|
* @param slots object for working with slots/ объект для работы со слотами
|
|
28
28
|
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
29
|
+
* @param EventConstructor class for creating an event/ класс для создания события
|
|
29
30
|
*/
|
|
30
|
-
constructor(props: ActionsProps, refs: ToRefs<ActionsProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<ActionsComponents, ActionsProps> | undefined, slots?: ActionsSlots | undefined, emits?: ConstrEmit<ActionsEmits> | undefined);
|
|
31
|
+
constructor(props: ActionsProps, refs: ToRefs<ActionsProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<ActionsComponents, ActionsProps> | undefined, slots?: ActionsSlots | undefined, emits?: ConstrEmit<ActionsEmits> | undefined, EventConstructor?: typeof EventClickInclude);
|
|
31
32
|
/**
|
|
32
33
|
* Checks if the main list needs to be displayed/
|
|
33
34
|
* Проверяет, нужно ли выводить главный список
|
|
@@ -13,8 +13,9 @@ export declare class ActionsDesign<COMP extends ActionsComponents, EXPOSE extend
|
|
|
13
13
|
* @param name class name/ название класса
|
|
14
14
|
* @param props properties/ свойства
|
|
15
15
|
* @param options list of additional parameters/ список дополнительных параметров
|
|
16
|
+
* @param ItemConstructor actions item class/ класс элемента действий
|
|
16
17
|
*/
|
|
17
|
-
constructor(name: string, props: Readonly<P>, options?: ConstrOptions<COMP, ActionsEmits, P
|
|
18
|
+
constructor(name: string, props: Readonly<P>, options?: ConstrOptions<COMP, ActionsEmits, P>, ItemConstructor?: typeof Actions);
|
|
18
19
|
/**
|
|
19
20
|
* Initialization of all the necessary properties for work
|
|
20
21
|
*
|
|
@@ -17,7 +17,7 @@ export type ActionsEmitsInclude = {
|
|
|
17
17
|
* Props used to include and configure the Actions component/
|
|
18
18
|
* Свойства для подключения и настройки компонента Actions
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type ActionsPropsInclude<Actions extends ActionsPropsBasic = ActionsPropsBasic> = {
|
|
21
21
|
/** Hide actions/ Скрыть действия */
|
|
22
22
|
actionsHide?: boolean;
|
|
23
23
|
/** List of action buttons/ Список кнопок действий */
|
|
@@ -26,4 +26,4 @@ export interface ActionsPropsInclude<Actions extends ActionsPropsBasic = Actions
|
|
|
26
26
|
actionsSecondary?: ConstrBind<Actions['listSecondary']>;
|
|
27
27
|
/** Additional attributes for Actions component/ Дополнительные атрибуты для компонента Actions */
|
|
28
28
|
actionsAttrs?: ConstrBind<Actions>;
|
|
29
|
-
}
|
|
29
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { ConstrBind } from '@dxtmisha/functional';
|
|
2
2
|
import { ButtonPropsBasic } from '../Button';
|
|
3
|
-
|
|
3
|
+
export type ActionsPropsToken = {
|
|
4
4
|
align?: 'none' | 'center' | 'left' | 'right' | 'block' | 'auto';
|
|
5
5
|
flexible?: boolean;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
wrap?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type ActionsPropsBasic<Button extends ButtonPropsBasic = ButtonPropsBasic> = {
|
|
8
9
|
list?: ConstrBind<Button>[];
|
|
9
10
|
listSecondary?: ConstrBind<Button>[];
|
|
10
11
|
buttonAttrs?: ConstrBind<Button>;
|
|
11
12
|
buttonSecondaryAttrs?: ConstrBind<Button>;
|
|
12
|
-
}
|
|
13
|
+
};
|
|
13
14
|
/**
|
|
14
15
|
* Type describing incoming properties.
|
|
15
16
|
*
|
|
16
17
|
* Тип, описывающий входящие свойства.
|
|
17
18
|
*/
|
|
18
|
-
export
|
|
19
|
-
}
|
|
19
|
+
export type ActionsProps = ActionsPropsBasic & ActionsPropsToken;
|
|
20
20
|
/**
|
|
21
21
|
* Default value for property.
|
|
22
22
|
*
|
|
@@ -25,4 +25,3 @@ export interface ActionsProps extends ActionsPropsBasic, ActionsPropsToken {
|
|
|
25
25
|
export declare const defaultsActions: {
|
|
26
26
|
align: string;
|
|
27
27
|
};
|
|
28
|
-
export {};
|
|
@@ -21,13 +21,6 @@ export declare class Anchor {
|
|
|
21
21
|
protected readonly components?: DesignComp<AnchorComponents, AnchorProps> | undefined;
|
|
22
22
|
protected readonly slots?: AnchorSlots | undefined;
|
|
23
23
|
protected readonly emits?: ConstrEmit<AnchorEmits> | undefined;
|
|
24
|
-
protected readonly AnchorHrefConstructor: typeof AnchorHref;
|
|
25
|
-
protected readonly AnchorToConstructor: typeof AnchorTo;
|
|
26
|
-
protected readonly AnchorEventConstructor: typeof AnchorEvent;
|
|
27
|
-
protected readonly AnchorIconConstructor: typeof AnchorIcon;
|
|
28
|
-
protected readonly LabelIncludeConstructor: typeof LabelInclude;
|
|
29
|
-
protected readonly TextIncludeConstructor: typeof TextInclude;
|
|
30
|
-
protected readonly TooltipIncludeConstructor: typeof TooltipInclude;
|
|
31
24
|
readonly label: LabelInclude;
|
|
32
25
|
readonly text: TextInclude;
|
|
33
26
|
readonly tooltip: TooltipInclude;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AnchorProps } from './props';
|
|
2
1
|
import { ConstrBind } from '@dxtmisha/functional';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { AnchorEvent } from './AnchorEvent';
|
|
3
|
+
import { IconProps, IconValue } from '../Icon';
|
|
4
|
+
import { AnchorProps } from './props';
|
|
5
5
|
import { ComputedRef } from 'vue';
|
|
6
6
|
/**
|
|
7
7
|
* Class for working with the anchor icon
|
|
@@ -18,7 +18,7 @@ export declare class AnchorIcon {
|
|
|
18
18
|
*/
|
|
19
19
|
constructor(props: AnchorProps, event: AnchorEvent);
|
|
20
20
|
/** Icon to display/ Иконка для отображения */
|
|
21
|
-
readonly icon: ComputedRef<
|
|
21
|
+
readonly icon: ComputedRef<IconValue | undefined>;
|
|
22
22
|
/** Binds for the icon/ Привязки для иконки */
|
|
23
23
|
readonly binds: ComputedRef<ConstrBind<IconProps>>;
|
|
24
24
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { NumberOrString } from '@dxtmisha/functional';
|
|
2
2
|
/** Anchor scroll properties/ Свойства прокрутки якоря */
|
|
3
|
-
export
|
|
3
|
+
export type AnchorScrollProps = {
|
|
4
4
|
shift?: NumberOrString;
|
|
5
5
|
behavior?: ScrollIntoViewOptions['behavior'];
|
|
6
6
|
block?: ScrollIntoViewOptions['block'];
|
|
7
7
|
inline?: ScrollIntoViewOptions['inline'];
|
|
8
|
-
}
|
|
8
|
+
};
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
+
import { IconPropsBasic, IconValue } from '../Icon';
|
|
1
2
|
import { TooltipProps, TooltipPropsInclude } from '../Tooltip';
|
|
2
3
|
import { LabelProps } from '../../types/labelTypes';
|
|
3
4
|
import { TextCopiedClipboardPropsInclude } from '../../types/textTypes';
|
|
4
5
|
import { AnchorScrollProps } from './basicTypes';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export interface AnchorPropsBasic<Tooltip extends TooltipProps = TooltipProps> extends LabelProps, TooltipPropsInclude<Tooltip>, TextCopiedClipboardPropsInclude, AnchorScrollProps {
|
|
6
|
+
export type AnchorPropsToken = {};
|
|
7
|
+
export type AnchorPropsBasic<Icon extends IconPropsBasic = IconPropsBasic, Tooltip extends TooltipProps = TooltipProps> = LabelProps & TooltipPropsInclude<Tooltip> & TextCopiedClipboardPropsInclude & AnchorScrollProps & {
|
|
8
8
|
hide?: boolean;
|
|
9
9
|
name?: string;
|
|
10
10
|
isCopy?: boolean;
|
|
11
|
-
iconLink?:
|
|
12
|
-
iconTag?:
|
|
13
|
-
iconContentCopy?:
|
|
11
|
+
iconLink?: IconValue<Icon>;
|
|
12
|
+
iconTag?: IconValue<Icon>;
|
|
13
|
+
iconContentCopy?: IconValue<Icon>;
|
|
14
14
|
delayHide?: number;
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
16
|
/**
|
|
17
17
|
* Type describing incoming properties.
|
|
18
18
|
*
|
|
19
19
|
* Тип, описывающий входящие свойства.
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
22
|
-
}
|
|
21
|
+
export type AnchorProps = AnchorPropsBasic & AnchorPropsToken;
|
|
23
22
|
/**
|
|
24
23
|
* Default value for property.
|
|
25
24
|
*
|
|
@@ -29,4 +28,3 @@ export declare const defaultsAnchor: {
|
|
|
29
28
|
shift: number;
|
|
30
29
|
delayHide: number;
|
|
31
30
|
};
|
|
32
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConstrClass } from '@dxtmisha/functional';
|
|
2
2
|
import { TooltipComponentInclude } from '../Tooltip';
|
|
3
|
-
import {
|
|
3
|
+
import { LabelSlots } from '../../types/labelTypes';
|
|
4
4
|
import { IconComponentInclude } from '../Icon';
|
|
5
5
|
/**
|
|
6
6
|
* Interface for describing which components need to be connected for work.
|
|
@@ -19,7 +19,7 @@ export type AnchorEmits = {};
|
|
|
19
19
|
*
|
|
20
20
|
* Тип, описывающий доступные свойства.
|
|
21
21
|
*/
|
|
22
|
-
export interface AnchorExpose
|
|
22
|
+
export interface AnchorExpose {
|
|
23
23
|
go(): void;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
@@ -20,11 +20,6 @@ export declare class Arrow {
|
|
|
20
20
|
protected readonly components?: DesignComp<ArrowComponents, ArrowProps> | undefined;
|
|
21
21
|
protected readonly slots?: ArrowSlots | undefined;
|
|
22
22
|
protected readonly emits?: ConstrEmit<ArrowEmits> | undefined;
|
|
23
|
-
protected readonly ArrowElementConstructor: typeof ArrowElement;
|
|
24
|
-
protected readonly ArrowElementTargetConstructor: typeof ArrowElementTarget;
|
|
25
|
-
protected readonly ArrowParentConstructor: typeof ArrowParent;
|
|
26
|
-
protected readonly ArrowPositionConstructor: typeof ArrowPosition;
|
|
27
|
-
protected readonly ArrowEventConstructor: typeof ArrowEvent;
|
|
28
23
|
readonly elementItem: ArrowElement;
|
|
29
24
|
readonly elementTarget: ArrowElementTarget;
|
|
30
25
|
readonly parent: ArrowParent;
|
|
@@ -29,11 +29,11 @@ export type ArrowComponentInclude = {
|
|
|
29
29
|
* Props used to include and configure the Arrow component/
|
|
30
30
|
* Свойства для подключения и настройки компонента Arrow
|
|
31
31
|
*/
|
|
32
|
-
export
|
|
32
|
+
export type ArrowPropsInclude<Arrow extends ArrowProps = ArrowProps> = {
|
|
33
33
|
/** Show arrow/ Показать стрелку */
|
|
34
34
|
arrowShow?: boolean;
|
|
35
35
|
/** Arrow position/ Позиция стрелки */
|
|
36
36
|
arrowPosition?: ArrowProps['position'];
|
|
37
37
|
/** Additional attributes for Arrow component/ Дополнительные атрибуты для компонента Arrow */
|
|
38
38
|
arrowAttrs?: ConstrBind<Arrow>;
|
|
39
|
-
}
|
|
39
|
+
};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
export type ArrowPropsToken = {
|
|
2
2
|
position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
|
|
3
3
|
inverse?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export
|
|
4
|
+
};
|
|
5
|
+
export type ArrowPropsBasic = {
|
|
6
6
|
elementTarget?: HTMLElement | string;
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
8
|
/**
|
|
9
9
|
* Type describing incoming properties.
|
|
10
10
|
*
|
|
11
11
|
* Тип, описывающий входящие свойства.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
14
|
-
}
|
|
13
|
+
export type ArrowProps = ArrowPropsBasic & ArrowPropsToken;
|
|
15
14
|
/**
|
|
16
15
|
* Default value for property.
|
|
17
16
|
*
|
|
@@ -20,4 +19,3 @@ export interface ArrowProps extends ArrowPropsBasic, ArrowPropsToken {
|
|
|
20
19
|
export declare const defaultsArrow: {
|
|
21
20
|
position: string;
|
|
22
21
|
};
|
|
23
|
-
export {};
|
|
@@ -2,6 +2,7 @@ import { Ref, ToRefs, ComputedRef } from 'vue';
|
|
|
2
2
|
import { ConstrEmit, DesignComp } from '@dxtmisha/functional';
|
|
3
3
|
import { LabelNumberInclude } from '../../classes/LabelNumberInclude';
|
|
4
4
|
import { IconInclude } from '../Icon';
|
|
5
|
+
import { AriaList } from '../../types/ariaTypes';
|
|
5
6
|
import { BadgeComponents, BadgeEmits, BadgeSlots } from './types';
|
|
6
7
|
import { BadgeProps } from './props';
|
|
7
8
|
/**
|
|
@@ -30,8 +31,10 @@ export declare class Badge {
|
|
|
30
31
|
* @param components object for working with components/ объект для работы с компонентами
|
|
31
32
|
* @param slots object for working with slots/ объект для работы со слотами
|
|
32
33
|
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
34
|
+
* @param LabelNumberIncludeConstructor class for working with label/ класс для работы с меткой
|
|
35
|
+
* @param IconIncludeConstructor class for working with icon/ класс для работы с иконкой
|
|
33
36
|
*/
|
|
34
|
-
constructor(props: BadgeProps, refs: ToRefs<BadgeProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<BadgeComponents, BadgeProps> | undefined, slots?: BadgeSlots | undefined, emits?: ConstrEmit<BadgeEmits> | undefined);
|
|
37
|
+
constructor(props: BadgeProps, refs: ToRefs<BadgeProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<BadgeComponents, BadgeProps> | undefined, slots?: BadgeSlots | undefined, emits?: ConstrEmit<BadgeEmits> | undefined, LabelNumberIncludeConstructor?: typeof LabelNumberInclude, IconIncludeConstructor?: typeof IconInclude);
|
|
35
38
|
/**
|
|
36
39
|
* Computes if the badge should auto-hide when there is no dot, icon, or label.
|
|
37
40
|
*
|
|
@@ -46,4 +49,5 @@ export declare class Badge {
|
|
|
46
49
|
readonly classes: ComputedRef<{
|
|
47
50
|
[x: string]: boolean;
|
|
48
51
|
}>;
|
|
52
|
+
readonly aria: ComputedRef<AriaList>;
|
|
49
53
|
}
|
|
@@ -13,8 +13,9 @@ export declare class BadgeDesign<COMP extends BadgeComponents, EXPOSE extends Ba
|
|
|
13
13
|
* @param name class name/ название класса
|
|
14
14
|
* @param props properties/ свойства
|
|
15
15
|
* @param options list of additional parameters/ список дополнительных параметров
|
|
16
|
+
* @param ItemConstructor class for working with the item/ класс для работы с элементом
|
|
16
17
|
*/
|
|
17
|
-
constructor(name: string, props: Readonly<P>, options?: ConstrOptions<COMP, BadgeEmits, P
|
|
18
|
+
constructor(name: string, props: Readonly<P>, options?: ConstrOptions<COMP, BadgeEmits, P>, ItemConstructor?: typeof Badge);
|
|
18
19
|
/**
|
|
19
20
|
* Initialization of all the necessary properties for work
|
|
20
21
|
*
|
|
@@ -3,7 +3,7 @@ import { BadgePropsBasic } from './props';
|
|
|
3
3
|
export type BadgeComponentInclude = {
|
|
4
4
|
badge?: object;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type BadgePropsInclude<Badge extends BadgePropsBasic = BadgePropsBasic> = {
|
|
7
7
|
badge?: string | number | ConstrBind<Badge>;
|
|
8
8
|
badgeDot?: boolean;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import { IconPropsBasic, IconPropsInclude } from '../Icon';
|
|
2
2
|
import { LabelNumberProps } from '../../types/labelTypes';
|
|
3
3
|
import { AriaLabelPropsInclude } from '../../types/ariaTypes';
|
|
4
|
-
|
|
4
|
+
export type BadgePropsToken = {
|
|
5
5
|
selected?: boolean;
|
|
6
6
|
hide?: boolean;
|
|
7
7
|
dot?: boolean;
|
|
8
8
|
overlap?: 'rectangular' | 'circular' | 'static';
|
|
9
9
|
vertical?: 'top' | 'center' | 'bottom';
|
|
10
10
|
horizontal?: 'right' | 'center' | 'left';
|
|
11
|
-
}
|
|
12
|
-
export
|
|
11
|
+
};
|
|
12
|
+
export type BadgePropsBasic<Icon extends IconPropsBasic = IconPropsBasic> = IconPropsInclude<Icon> & LabelNumberProps & AriaLabelPropsInclude & {
|
|
13
13
|
dot?: boolean;
|
|
14
|
-
}
|
|
14
|
+
};
|
|
15
15
|
/**
|
|
16
16
|
* Type describing incoming properties.
|
|
17
17
|
*
|
|
18
18
|
* Тип, описывающий входящие свойства.
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
}
|
|
20
|
+
export type BadgeProps = BadgePropsBasic & BadgePropsToken;
|
|
22
21
|
/**
|
|
23
22
|
* Default value for property.
|
|
24
23
|
*
|
|
@@ -29,4 +28,3 @@ export declare const defaultsBadge: {
|
|
|
29
28
|
vertical: string;
|
|
30
29
|
horizontal: string;
|
|
31
30
|
};
|
|
32
|
-
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Ref, ToRefs, ComputedRef } from 'vue';
|
|
2
|
-
import { ConstrEmit, DesignComp, ConstrBind } from '@dxtmisha/functional';
|
|
2
|
+
import { ConstrClass, ConstrEmit, DesignComp, ConstrBind } from '@dxtmisha/functional';
|
|
3
3
|
import { LabelInclude } from '../../classes/LabelInclude';
|
|
4
4
|
import { DescriptionInclude } from '../../classes/DescriptionInclude';
|
|
5
5
|
import { EventClickInclude } from '../../classes/EventClickInclude';
|
|
6
|
+
import { ModelInclude } from '../../classes/ModelInclude';
|
|
6
7
|
import { BarsAction } from './BarsAction';
|
|
7
8
|
import { WindowClassesInclude } from '../Window';
|
|
8
9
|
import { MotionTransformClassesInclude } from '../MotionTransform';
|
|
@@ -12,9 +13,6 @@ import { BarsComponents, BarsEmits, BarsSlots } from './types';
|
|
|
12
13
|
import { BarsProps } from './props';
|
|
13
14
|
import { EventClickValue } from '../../types/eventClickTypes';
|
|
14
15
|
import { ButtonPropsBasic } from '../Button';
|
|
15
|
-
import { IconPropsBasic } from '../Icon';
|
|
16
|
-
import { ImagePropsBasic } from '../Image';
|
|
17
|
-
import { ProgressPropsBasic } from '../Progress';
|
|
18
16
|
import { NumberOrString } from '@dxtmisha/functional-basic';
|
|
19
17
|
/**
|
|
20
18
|
* Bars
|
|
@@ -30,8 +28,11 @@ export declare class Bars {
|
|
|
30
28
|
protected readonly emits?: ConstrEmit<BarsEmits> | undefined;
|
|
31
29
|
/** Управление action‑режимом */
|
|
32
30
|
readonly action: BarsAction;
|
|
31
|
+
/** Label object/ Объект метки */
|
|
33
32
|
readonly label: LabelInclude;
|
|
33
|
+
/** Description object/ Объект описания */
|
|
34
34
|
readonly description: DescriptionInclude;
|
|
35
|
+
/** Event object/ Объект события */
|
|
35
36
|
readonly event: EventClickInclude;
|
|
36
37
|
/** Helper for Window CSS classes/ Вспомогательный класс для CSS‑классов Window */
|
|
37
38
|
readonly windowClasses: WindowClassesInclude;
|
|
@@ -39,6 +40,7 @@ export declare class Bars {
|
|
|
39
40
|
readonly motionTransformClasses: MotionTransformClassesInclude;
|
|
40
41
|
/** Подключение скелетона для текста/описания */
|
|
41
42
|
readonly skeleton: SkeletonInclude;
|
|
43
|
+
/** Text object/ Объект текста */
|
|
42
44
|
readonly text: TextInclude;
|
|
43
45
|
/**
|
|
44
46
|
* Constructor
|
|
@@ -50,26 +52,49 @@ export declare class Bars {
|
|
|
50
52
|
* @param components object for working with components/ объект для работы с компонентами
|
|
51
53
|
* @param slots object for working with slots/ объект для работы со слотами
|
|
52
54
|
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
55
|
+
* @param BarsActionConstructor class for managing action mode/ класс для управления action-режимом
|
|
56
|
+
* @param LabelConstructor class for creating a label/ класс для создания метки
|
|
57
|
+
* @param DescriptionConstructor class for creating a description/ класс для создания описания
|
|
58
|
+
* @param EventConstructor class for creating an event/ класс для создания события
|
|
59
|
+
* @param WindowClassesConstructor helper class for Window CSS classes/ вспомогательный класс для CSS-классов Window
|
|
60
|
+
* @param MotionTransformClassesConstructor helper class for MotionTransform CSS classes/ вспомогательный класс для CSS-классов MotionTransform
|
|
61
|
+
* @param SkeletonConstructor class for creating a skeleton/ класс для создания скелета
|
|
62
|
+
* @param TextConstructor class for creating text/ класс для создания текста
|
|
63
|
+
* @param ModelConstructor class for working with models/ класс для работы с моделями
|
|
53
64
|
*/
|
|
54
|
-
constructor(props: BarsProps, refs: ToRefs<BarsProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<BarsComponents, BarsProps> | undefined, slots?: BarsSlots | undefined, emits?: ConstrEmit<BarsEmits> | undefined);
|
|
65
|
+
constructor(props: BarsProps, refs: ToRefs<BarsProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<BarsComponents, BarsProps> | undefined, slots?: BarsSlots | undefined, emits?: ConstrEmit<BarsEmits> | undefined, BarsActionConstructor?: typeof BarsAction, LabelConstructor?: typeof LabelInclude, DescriptionConstructor?: typeof DescriptionInclude, EventConstructor?: typeof EventClickInclude, WindowClassesConstructor?: typeof WindowClassesInclude, MotionTransformClassesConstructor?: typeof MotionTransformClassesInclude, SkeletonConstructor?: typeof SkeletonInclude, TextConstructor?: typeof TextInclude, ModelConstructor?: typeof ModelInclude);
|
|
55
66
|
/** Returns the button data/ Возвращает данные кнопки */
|
|
56
|
-
readonly backBinds: ComputedRef< ConstrBind<ButtonPropsBasic
|
|
67
|
+
readonly backBinds: ComputedRef< ConstrBind<ButtonPropsBasic> | undefined>;
|
|
57
68
|
/** Returns the list of control buttons/ Возвращает список кнопок управления */
|
|
58
|
-
readonly barsBinds: ComputedRef< ConstrBind<ButtonPropsBasic
|
|
69
|
+
readonly barsBinds: ComputedRef< ConstrBind<ButtonPropsBasic>[] | undefined>;
|
|
59
70
|
/**
|
|
60
71
|
* Returns the list of active control buttons/
|
|
61
72
|
* Возвращает список активных кнопок управления
|
|
62
73
|
*/
|
|
63
|
-
readonly actionBarsBinds: ComputedRef< ConstrBind<ButtonPropsBasic
|
|
74
|
+
readonly actionBarsBinds: ComputedRef< ConstrBind<ButtonPropsBasic>[] | undefined>;
|
|
64
75
|
/** Returns the button name/ Возвращает название кнопки */
|
|
65
76
|
readonly backLabel: ComputedRef<string | number | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Values for the class.
|
|
79
|
+
*
|
|
80
|
+
* Значения для класса.
|
|
81
|
+
*/
|
|
82
|
+
readonly classes: ComputedRef<ConstrClass>;
|
|
83
|
+
/**
|
|
84
|
+
* Returns the value for the aria-live property.
|
|
85
|
+
*
|
|
86
|
+
* Возвращает значение для свойства aria-live.
|
|
87
|
+
*/
|
|
88
|
+
readonly ariaLive: ComputedRef<"off" | "polite" | undefined>;
|
|
66
89
|
/** Binds for label text/ Привязки для текста метки */
|
|
67
90
|
protected readonly labelBinds: {
|
|
68
91
|
label: NumberOrString | undefined;
|
|
92
|
+
labelId: string | undefined;
|
|
69
93
|
};
|
|
70
94
|
/** Binds for description text/ Привязки для текста описания */
|
|
71
95
|
protected readonly descriptionBinds: {
|
|
72
96
|
description: string | number | undefined;
|
|
97
|
+
descriptionId: string | undefined;
|
|
73
98
|
};
|
|
74
99
|
/**
|
|
75
100
|
* Prepares all parameters for the button.
|
|
@@ -16,8 +16,12 @@ export declare class BarsAction {
|
|
|
16
16
|
* @param refs input data in the form of reactive elements/ входные данные в виде реактивных элементов
|
|
17
17
|
*/
|
|
18
18
|
constructor(props: BarsProps, refs: ToRefs<BarsProps>);
|
|
19
|
-
/**
|
|
20
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Checks if action mode is possible.
|
|
21
|
+
*
|
|
22
|
+
* Проверяет, возможен ли режим действий.
|
|
23
|
+
*/
|
|
24
|
+
readonly isPossible: ComputedRef<boolean>;
|
|
21
25
|
/**
|
|
22
26
|
* Включить action‑режим.
|
|
23
27
|
*
|
|
@@ -13,8 +13,9 @@ export declare class BarsDesign<COMP extends BarsComponents, EXPOSE extends Bars
|
|
|
13
13
|
* @param name class name/ название класса
|
|
14
14
|
* @param props properties/ свойства
|
|
15
15
|
* @param options list of additional parameters/ список дополнительных параметров
|
|
16
|
+
* @param ItemConstructor bars item class/ класс элемента bars
|
|
16
17
|
*/
|
|
17
|
-
constructor(name: string, props: Readonly<P>, options?: ConstrOptions<COMP, BarsEmits, P
|
|
18
|
+
constructor(name: string, props: Readonly<P>, options?: ConstrOptions<COMP, BarsEmits, P>, ItemConstructor?: typeof Bars);
|
|
18
19
|
/**
|
|
19
20
|
* Initialization of all the necessary properties for work
|
|
20
21
|
*
|
|
@@ -19,7 +19,10 @@ export declare class BarsInclude<Props extends BarsPropsInclude = BarsPropsInclu
|
|
|
19
19
|
protected readonly components?: DesignComponents<BarsComponentInclude, Props> | undefined;
|
|
20
20
|
protected readonly emits?: ConstrEmit<BarsEmitsInclude> | undefined;
|
|
21
21
|
protected readonly extra?: RefOrNormal<PropsExtra> | undefined;
|
|
22
|
+
protected readonly labelId?: string | undefined;
|
|
23
|
+
protected readonly descriptionId?: string | undefined;
|
|
22
24
|
protected readonly index?: string | undefined;
|
|
25
|
+
/** Element reference/ Ссылка на элемент */
|
|
23
26
|
readonly element: Ref<BarsExpose | undefined, BarsExpose | undefined>;
|
|
24
27
|
/**
|
|
25
28
|
* Constructor
|
|
@@ -27,10 +30,12 @@ export declare class BarsInclude<Props extends BarsPropsInclude = BarsPropsInclu
|
|
|
27
30
|
* @param className class name/ название класса
|
|
28
31
|
* @param components object for working with components/ объект для работы с компонентами
|
|
29
32
|
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
30
|
-
* @param extra additional parameter or property name/ дополнительный параметр или имя
|
|
33
|
+
* @param extra additional parameter or property name/ дополнительный параметр или имя
|
|
34
|
+
* @param labelId identifier for the label/ идентификатор для метки
|
|
35
|
+
* @param descriptionId identifier for the description/ идентификатор для описания
|
|
31
36
|
* @param index index identifier/ идентификатор индекса
|
|
32
37
|
*/
|
|
33
|
-
constructor(props: Readonly<Props>, className: string, components?: DesignComponents<BarsComponentInclude, Props> | undefined, emits?: ConstrEmit<BarsEmitsInclude> | undefined, extra?: RefOrNormal<PropsExtra> | undefined, index?: string | undefined);
|
|
38
|
+
constructor(props: Readonly<Props>, className: string, components?: DesignComponents<BarsComponentInclude, Props> | undefined, emits?: ConstrEmit<BarsEmitsInclude> | undefined, extra?: RefOrNormal<PropsExtra> | undefined, labelId?: string | undefined, descriptionId?: string | undefined, index?: string | undefined);
|
|
34
39
|
/**
|
|
35
40
|
* Checks whether bars should be displayed/
|
|
36
41
|
* Проверяет, нужно ли отображать панели
|
|
@@ -18,7 +18,7 @@ export type BarsEmitsInclude = {
|
|
|
18
18
|
* Props used to include and configure the Bars component/
|
|
19
19
|
* Свойства для подключения и настройки компонента Bars
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
21
|
+
export type BarsPropsInclude<Bars extends BarsPropsBasic = BarsPropsBasic> = {
|
|
22
22
|
/** Bars label/ Метка панелей */
|
|
23
23
|
barsLabel?: string | number;
|
|
24
24
|
/** Bars description/ Описание панелей */
|
|
@@ -31,4 +31,4 @@ export interface BarsPropsInclude<Bars extends BarsPropsBasic = BarsPropsBasic>
|
|
|
31
31
|
barsList?: Bars['bars'];
|
|
32
32
|
/** Additional attributes for Bars component/ Дополнительные атрибуты для компонента Bars */
|
|
33
33
|
barsAttrs?: ConstrBind<Bars>;
|
|
34
|
-
}
|
|
34
|
+
};
|
|
@@ -5,10 +5,9 @@ import { SkeletonPropsInclude } from '../Skeleton';
|
|
|
5
5
|
import { LabelProps } from '../../types/labelTypes';
|
|
6
6
|
import { DescriptionProps } from '../../types/descriptionTypes';
|
|
7
7
|
import { TextClosePropsInclude } from '../../types/textTypes';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export interface BarsPropsBasic<Icon extends IconPropsBasic = IconPropsBasic, Button extends ButtonPropsBasic = ButtonPropsBasic> extends LabelProps, DescriptionProps, SkeletonPropsInclude, TextClosePropsInclude {
|
|
8
|
+
export type BarsPropsToken = {};
|
|
9
|
+
export type BarsPropsBasic<Icon extends IconPropsBasic = IconPropsBasic, Button extends ButtonPropsBasic = ButtonPropsBasic> = LabelProps & DescriptionProps & SkeletonPropsInclude & TextClosePropsInclude & {
|
|
10
|
+
'action'?: boolean;
|
|
12
11
|
'backButton'?: ConstrBind<Button>;
|
|
13
12
|
'backHide'?: boolean;
|
|
14
13
|
'backActionHide'?: boolean;
|
|
@@ -22,18 +21,16 @@ export interface BarsPropsBasic<Icon extends IconPropsBasic = IconPropsBasic, Bu
|
|
|
22
21
|
'modelAction'?: boolean;
|
|
23
22
|
'onUpdate:action'?: (value: boolean) => void;
|
|
24
23
|
'onUpdate:modelAction'?: (value: boolean) => void;
|
|
25
|
-
}
|
|
24
|
+
};
|
|
26
25
|
/**
|
|
27
26
|
* Type describing incoming properties.
|
|
28
27
|
*
|
|
29
28
|
* Тип, описывающий входящие свойства.
|
|
30
29
|
*/
|
|
31
|
-
export
|
|
32
|
-
}
|
|
30
|
+
export type BarsProps = BarsPropsBasic & BarsPropsToken;
|
|
33
31
|
/**
|
|
34
32
|
* Default value for property.
|
|
35
33
|
*
|
|
36
34
|
* Значение по умолчанию для свойства.
|
|
37
35
|
*/
|
|
38
36
|
export declare const defaultsBars: {};
|
|
39
|
-
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ConstrClass } from '@dxtmisha/functional';
|
|
2
2
|
import { ButtonComponentInclude } from '../Button';
|
|
3
3
|
import { EventClickEmits } from '../../types/eventClickTypes';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { LabelSlots } from '../../types/labelTypes';
|
|
5
|
+
import { DescriptionSlots } from '../../types/descriptionTypes';
|
|
6
6
|
/**
|
|
7
7
|
* Interface for describing which components need to be connected for work.
|
|
8
8
|
*
|
|
@@ -23,7 +23,7 @@ export type BarsEmits = EventClickEmits & {
|
|
|
23
23
|
*
|
|
24
24
|
* Тип, описывающий доступные свойства.
|
|
25
25
|
*/
|
|
26
|
-
export interface BarsExpose
|
|
26
|
+
export interface BarsExpose {
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Type describing available slots.
|
|
@@ -18,10 +18,6 @@ export declare class Block {
|
|
|
18
18
|
protected readonly components?: DesignComp<BlockComponents, BlockProps> | undefined;
|
|
19
19
|
protected readonly slots?: BlockSlots | undefined;
|
|
20
20
|
protected readonly emits?: ConstrEmit<BlockEmits> | undefined;
|
|
21
|
-
protected readonly LabelIncludeConstructor: typeof LabelInclude;
|
|
22
|
-
protected readonly DescriptionIncludeConstructor: typeof DescriptionInclude;
|
|
23
|
-
protected readonly CaptionIncludeConstructor: typeof CaptionInclude;
|
|
24
|
-
protected readonly IconIncludeConstructor: typeof IconInclude;
|
|
25
21
|
/**
|
|
26
22
|
* Object for working with label/
|
|
27
23
|
* Объект для работы с меткой
|