mediacube-ui-v2 0.0.0 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/McBottomLoader-DP6VeK0N.js +4 -0
- package/dist/McOverlay-BZft7En3.js +4 -0
- package/dist/assets/tokens/json/animations.json.d.ts +8 -0
- package/dist/assets/tokens/json/border-radius.json.d.ts +26 -0
- package/dist/assets/tokens/json/box-shadows.json.d.ts +26 -0
- package/dist/assets/tokens/json/colors.json.d.ts +73 -0
- package/dist/assets/tokens/json/durations.json.d.ts +12 -0
- package/dist/assets/tokens/json/easings.json.d.ts +5 -0
- package/dist/assets/tokens/json/font-families.json.d.ts +6 -0
- package/dist/assets/tokens/json/font-sizes.json.d.ts +20 -0
- package/dist/assets/tokens/json/font-weights.json.d.ts +14 -0
- package/dist/assets/tokens/json/gradients.json.d.ts +15 -0
- package/dist/assets/tokens/json/index.d.ts +18 -0
- package/dist/assets/tokens/json/letter-spacings.json.d.ts +6 -0
- package/dist/assets/tokens/json/line-heights.json.d.ts +20 -0
- package/dist/assets/tokens/json/media-queries.json.d.ts +28 -0
- package/dist/assets/tokens/json/opacities.json.d.ts +7 -0
- package/dist/assets/tokens/json/sizes.json.d.ts +44 -0
- package/dist/assets/tokens/json/spacings.json.d.ts +36 -0
- package/dist/assets/tokens/json/z-indexes.json.d.ts +14 -0
- package/dist/components/elements/McAvatar/McAvatar.vue.d.ts +156 -0
- package/dist/components/elements/McBadge/McBadge.vue.d.ts +53 -0
- package/dist/components/elements/McBottomLoader/McBottomLoader.vue.d.ts +14 -0
- package/dist/components/elements/McButton/McButton.vue.d.ts +438 -0
- package/dist/components/elements/McChip/McChip.vue.d.ts +122 -0
- package/dist/components/elements/McCropper/McCropper.vue.d.ts +28 -0
- package/dist/components/elements/McDatepicker/McDatepicker.vue.d.ts +12 -0
- package/dist/components/elements/McDraggable/McDraggable.vue.d.ts +78 -0
- package/dist/components/elements/McFieldCheckbox/McFieldCheckbox.vue.d.ts +11 -0
- package/dist/components/elements/McFieldRadio/McFieldRadio.vue.d.ts +189 -0
- package/dist/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue.d.ts +10 -0
- package/dist/components/elements/McFieldRange/McFieldRange.vue.d.ts +216 -0
- package/dist/components/elements/McFieldSelect/McFieldSelect.vue.d.ts +529 -0
- package/dist/components/elements/McFieldText/McFieldText.vue.d.ts +461 -0
- package/dist/components/elements/McFieldToggle/McFieldToggle.vue.d.ts +158 -0
- package/dist/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.d.ts +58 -0
- package/dist/components/elements/McNodata/McNoData.vue.d.ts +110 -0
- package/dist/components/elements/McNotification/McNotification.vue.d.ts +124 -0
- package/dist/components/elements/McProgress/McProgress.vue.d.ts +135 -0
- package/dist/components/elements/McSeparator/McSeparator.vue.d.ts +133 -0
- package/dist/components/elements/McSlideUpDown/McSlideUpDown.vue.d.ts +68 -0
- package/dist/components/elements/McStack/McStack.vue.d.ts +24 -0
- package/dist/components/elements/McSvgIcon/McSvgIcon.vue.d.ts +119 -0
- package/dist/components/elements/McTitle/McTitle.vue.d.ts +201 -0
- package/dist/components/elements/McTooltip/McTooltip.vue.d.ts +104 -0
- package/dist/components/index.d.ts +62 -0
- package/dist/components/patterns/McAccordion/McAccordion.vue.d.ts +28 -0
- package/dist/components/patterns/McCell/McCell.vue.d.ts +76 -0
- package/dist/components/patterns/McCollapse/McCollapse.vue.d.ts +67 -0
- package/dist/components/patterns/McDropdown/McDropdown.vue.d.ts +122 -0
- package/dist/components/patterns/McDropdown/McDropdownPanel.vue.d.ts +22 -0
- package/dist/components/patterns/McFilter/McFilter.vue.d.ts +152 -0
- package/dist/components/patterns/McFilter/McFilterChip/McFilterChip.vue.d.ts +55 -0
- package/dist/components/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts +85 -0
- package/dist/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.d.ts +66 -0
- package/dist/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.d.ts +57 -0
- package/dist/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.d.ts +74 -0
- package/dist/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.d.ts +57 -0
- package/dist/components/patterns/McGridCol/McGridCol.vue.d.ts +107 -0
- package/dist/components/patterns/McGridRow/McGridRow.vue.d.ts +104 -0
- package/dist/components/patterns/McOverlay/McOverlay.vue.d.ts +24 -0
- package/dist/components/patterns/McPreview/McPreview.vue.d.ts +33 -0
- package/dist/components/patterns/McSideBar/McSideBar.vue.d.ts +292 -0
- package/dist/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.d.ts +67 -0
- package/dist/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.d.ts +203 -0
- package/dist/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.d.ts +94 -0
- package/dist/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts +123 -0
- package/dist/components/patterns/McTab/McTab.vue.d.ts +224 -0
- package/dist/components/patterns/McTabs/McTabs.vue.d.ts +148 -0
- package/dist/components/patterns/McWrapScroll/McWrapScroll.vue.d.ts +127 -0
- package/dist/components/templates/McDrawer/McDrawer.vue.d.ts +104 -0
- package/dist/components/templates/McDrawer/McDrawerContainer.vue.d.ts +31 -0
- package/dist/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.d.ts +39 -0
- package/dist/components/templates/McModal/McModal.vue.d.ts +232 -0
- package/dist/components/templates/McModal/McModalContainer.vue.d.ts +31 -0
- package/dist/components/templates/McTable/McTable/McTable.vue.d.ts +295 -0
- package/dist/components/templates/McTable/McTableCard/McTableCard.vue.d.ts +128 -0
- package/dist/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.d.ts +32 -0
- package/dist/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts +18 -0
- package/dist/components/templates/McTable/McTableSort/McTableSort.vue.d.ts +29 -0
- package/dist/components/templates/McTopBar/McTopBar.vue.d.ts +85 -0
- package/dist/components/templates/McVirtualScroll/McVirtualScroll.vue.d.ts +79 -0
- package/dist/composables/index.d.ts +8 -0
- package/dist/composables/useDrawer.d.ts +6 -0
- package/dist/composables/useEncodeDecode.d.ts +5 -0
- package/dist/composables/useFieldErrors.d.ts +5 -0
- package/dist/composables/useHelper.d.ts +17 -0
- package/dist/composables/useModal.d.ts +5 -0
- package/dist/composables/useRandomNumber.d.ts +4 -0
- package/dist/composables/useTooltip.d.ts +8 -0
- package/dist/consts/table.d.ts +6 -0
- package/dist/enums/Cell.d.ts +5 -0
- package/dist/enums/Chip.d.ts +9 -0
- package/dist/enums/Datepicker.d.ts +37 -0
- package/dist/enums/Drawer.d.ts +4 -0
- package/dist/enums/Dropdown.d.ts +10 -0
- package/dist/enums/Filter.d.ts +12 -0
- package/dist/enums/Grid.d.ts +21 -0
- package/dist/enums/Input.d.ts +18 -0
- package/dist/enums/Modal.d.ts +4 -0
- package/dist/enums/Preview.d.ts +5 -0
- package/dist/enums/Radio.d.ts +4 -0
- package/dist/enums/RadioGroup.d.ts +4 -0
- package/dist/enums/Select.d.ts +9 -0
- package/dist/enums/Sidebar.d.ts +4 -0
- package/dist/enums/Tab.d.ts +5 -0
- package/dist/enums/Title.d.ts +19 -0
- package/dist/enums/Tooltip.d.ts +13 -0
- package/dist/enums/index.d.ts +21 -0
- package/dist/enums/ui/Alignment.d.ts +5 -0
- package/dist/enums/ui/Button.d.ts +21 -0
- package/dist/enums/ui/Directions.d.ts +4 -0
- package/dist/enums/ui/Weights.d.ts +6 -0
- package/dist/{es-CnA1pXpq.js → es-CKatgsl2.js} +1 -1
- package/dist/{index-DihGc25X.js → index-DUxSE0Pp.js} +10083 -10088
- package/dist/index.d.ts +9 -0
- package/dist/{mediacube-ui-v2.es.js → index.es.js} +1 -1
- package/dist/index.umd.js +38 -0
- package/dist/main.d.ts +0 -0
- package/dist/mocks/authUser.d.ts +132 -0
- package/dist/mocks/categories.d.ts +8 -0
- package/dist/mocks/filterMocks.d.ts +17 -0
- package/dist/mocks/icons.json.d.ts +3 -0
- package/dist/mocks/menuLangs.d.ts +5 -0
- package/dist/mocks/sidebar.d.ts +9 -0
- package/dist/mocks/tableData.d.ts +5 -0
- package/dist/no_table_data.png +0 -0
- package/dist/no_user.png +0 -0
- package/dist/preview.png +0 -0
- package/dist/{pt-BwGwd_tD.js → pt-CEavNnlV.js} +1 -1
- package/dist/{ru-BihaPWAd.js → ru-DX_6fNBy.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{th-BbTyrRak.js → th-DGTC0w1I.js} +1 -1
- package/dist/types/IButton.d.ts +40 -0
- package/dist/types/ICell.d.ts +4 -0
- package/dist/types/IChip.d.ts +8 -0
- package/dist/types/ICollapse.d.ts +14 -0
- package/dist/types/IDatepicker.d.ts +30 -0
- package/dist/types/IDirections.d.ts +4 -0
- package/dist/types/IDrawer.d.ts +25 -0
- package/dist/types/IDropdown.d.ts +5 -0
- package/dist/types/IFilter.d.ts +152 -0
- package/dist/types/IGrid.d.ts +4 -0
- package/dist/types/IInput.d.ts +5 -0
- package/dist/types/IModal.d.ts +27 -0
- package/dist/types/IPreview.d.ts +4 -0
- package/dist/types/IRadio.d.ts +4 -0
- package/dist/types/IRadioGroup.d.ts +9 -0
- package/dist/types/IRoute.d.ts +16 -0
- package/dist/types/ISelect.d.ts +15 -0
- package/dist/types/ISideBar.d.ts +73 -0
- package/dist/types/ITable.d.ts +69 -0
- package/dist/types/ITabs.d.ts +31 -0
- package/dist/types/ITitle.d.ts +5 -0
- package/dist/types/ITooltip.d.ts +26 -0
- package/dist/types/index.d.ts +36 -0
- package/dist/types/styles/Alignment.d.ts +2 -0
- package/dist/types/styles/AvatarSizes.d.ts +22 -0
- package/dist/types/styles/Colors.d.ts +73 -0
- package/dist/types/styles/Durations.d.ts +13 -0
- package/dist/types/styles/FontSizes.d.ts +20 -0
- package/dist/types/styles/FontWeights.d.ts +15 -0
- package/dist/types/styles/Grid.d.ts +4 -0
- package/dist/types/styles/Icons.d.ts +447 -0
- package/dist/types/styles/LineHeights.d.ts +20 -0
- package/dist/types/styles/MediaQueries.d.ts +26 -0
- package/dist/types/styles/Radiuses.d.ts +26 -0
- package/dist/types/styles/Sizes.d.ts +35 -0
- package/dist/types/styles/Spaces.d.ts +35 -0
- package/dist/types/styles/Weights.d.ts +2 -0
- package/dist/utils/dayjs.d.ts +175 -0
- package/dist/utils/mcGridColAdaptiveProps.d.ts +10 -0
- package/dist/utils/mcTitleAdaptiveProps.d.ts +10 -0
- package/dist/{vi-DHfJdDZ1.js → vi-Pc8KAwzf.js} +1 -1
- package/package.json +6 -12
- package/dist/McBottomLoader-DQzqqtkl.js +0 -4
- package/dist/McOverlay-DZFu2Vor.js +0 -4
- package/dist/favicon.ico +0 -0
- package/dist/mediacube-ui-v2.umd.js +0 -38
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IBaseFilter, IFilterCondition, IFilterDateValue } from '../../../../types/IFilter';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
/**
|
|
5
|
+
* Значение
|
|
6
|
+
*/
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<IFilterDateValue>;
|
|
9
|
+
default: () => IFilterDateValue;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Объект выбранного
|
|
13
|
+
* фильтра
|
|
14
|
+
*/
|
|
15
|
+
filter: {
|
|
16
|
+
type: PropType<IBaseFilter>;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Переводы локализаций
|
|
21
|
+
*/
|
|
22
|
+
placeholders: {
|
|
23
|
+
type: ObjectConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
useTimezone: {
|
|
27
|
+
type: PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
31
|
+
"update:modelValue": (value: IFilterCondition) => any;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
/**
|
|
34
|
+
* Значение
|
|
35
|
+
*/
|
|
36
|
+
modelValue: {
|
|
37
|
+
type: PropType<IFilterDateValue>;
|
|
38
|
+
default: () => IFilterDateValue;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Объект выбранного
|
|
42
|
+
* фильтра
|
|
43
|
+
*/
|
|
44
|
+
filter: {
|
|
45
|
+
type: PropType<IBaseFilter>;
|
|
46
|
+
default: () => {};
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Переводы локализаций
|
|
50
|
+
*/
|
|
51
|
+
placeholders: {
|
|
52
|
+
type: ObjectConstructor;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
useTimezone: {
|
|
56
|
+
type: PropType<boolean>;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
}>> & Readonly<{
|
|
60
|
+
"onUpdate:modelValue"?: ((value: IFilterCondition) => any) | undefined;
|
|
61
|
+
}>, {
|
|
62
|
+
filter: IBaseFilter;
|
|
63
|
+
modelValue: IFilterDateValue;
|
|
64
|
+
useTimezone: boolean;
|
|
65
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
66
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { IFilterCondition, IFilterPlaceholders, IFilterRangeValue, IRangeFilter } from '../../../../types/IFilter.js';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
/**
|
|
5
|
+
* Значение
|
|
6
|
+
*/
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<IFilterRangeValue>;
|
|
9
|
+
default: () => IFilterRangeValue;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Объект выбранного
|
|
13
|
+
* фильтра
|
|
14
|
+
*/
|
|
15
|
+
filter: {
|
|
16
|
+
type: PropType<IRangeFilter>;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Переводы локализаций
|
|
21
|
+
*/
|
|
22
|
+
placeholders: {
|
|
23
|
+
type: PropType<IFilterPlaceholders>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
27
|
+
"update:modelValue": (value: IFilterCondition) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
/**
|
|
30
|
+
* Значение
|
|
31
|
+
*/
|
|
32
|
+
modelValue: {
|
|
33
|
+
type: PropType<IFilterRangeValue>;
|
|
34
|
+
default: () => IFilterRangeValue;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Объект выбранного
|
|
38
|
+
* фильтра
|
|
39
|
+
*/
|
|
40
|
+
filter: {
|
|
41
|
+
type: PropType<IRangeFilter>;
|
|
42
|
+
default: () => {};
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Переводы локализаций
|
|
46
|
+
*/
|
|
47
|
+
placeholders: {
|
|
48
|
+
type: PropType<IFilterPlaceholders>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{
|
|
52
|
+
"onUpdate:modelValue"?: ((value: IFilterCondition) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
filter: IRangeFilter;
|
|
55
|
+
modelValue: IFilterRangeValue;
|
|
56
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IFilterPlaceholders, FilterRelationValue, IRelationFilter, IFilterParsedValueFilter, IFilterCondition } from '../../../../types';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
/**
|
|
5
|
+
* Значение
|
|
6
|
+
*/
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<FilterRelationValue>;
|
|
9
|
+
default: () => {};
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Объект выбранного
|
|
13
|
+
* фильтра
|
|
14
|
+
*/
|
|
15
|
+
filter: {
|
|
16
|
+
type: PropType<IRelationFilter>;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Переводы локализаций
|
|
21
|
+
*/
|
|
22
|
+
placeholders: {
|
|
23
|
+
type: PropType<IFilterPlaceholders>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Текущее значение
|
|
28
|
+
* добавленных фильтров
|
|
29
|
+
*/
|
|
30
|
+
currentValues: {
|
|
31
|
+
type: PropType<IFilterParsedValueFilter>;
|
|
32
|
+
default: () => {};
|
|
33
|
+
};
|
|
34
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
35
|
+
"update:modelValue": (value: IFilterCondition) => any;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
/**
|
|
38
|
+
* Значение
|
|
39
|
+
*/
|
|
40
|
+
modelValue: {
|
|
41
|
+
type: PropType<FilterRelationValue>;
|
|
42
|
+
default: () => {};
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Объект выбранного
|
|
46
|
+
* фильтра
|
|
47
|
+
*/
|
|
48
|
+
filter: {
|
|
49
|
+
type: PropType<IRelationFilter>;
|
|
50
|
+
default: () => {};
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Переводы локализаций
|
|
54
|
+
*/
|
|
55
|
+
placeholders: {
|
|
56
|
+
type: PropType<IFilterPlaceholders>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Текущее значение
|
|
61
|
+
* добавленных фильтров
|
|
62
|
+
*/
|
|
63
|
+
currentValues: {
|
|
64
|
+
type: PropType<IFilterParsedValueFilter>;
|
|
65
|
+
default: () => {};
|
|
66
|
+
};
|
|
67
|
+
}>> & Readonly<{
|
|
68
|
+
"onUpdate:modelValue"?: ((value: IFilterCondition) => any) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
filter: IRelationFilter;
|
|
71
|
+
modelValue: FilterRelationValue;
|
|
72
|
+
currentValues: IFilterParsedValueFilter;
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
74
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { FilterTextValue, IBaseFilter, IFilterCondition, IFilterPlaceholders } from '../../../../types';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
/**
|
|
5
|
+
* Значение
|
|
6
|
+
*/
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<FilterTextValue>;
|
|
9
|
+
default: null;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Объект выбранного
|
|
13
|
+
* фильтра
|
|
14
|
+
*/
|
|
15
|
+
filter: {
|
|
16
|
+
type: PropType<IBaseFilter>;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Переводы локализаций
|
|
21
|
+
*/
|
|
22
|
+
placeholders: {
|
|
23
|
+
type: PropType<IFilterPlaceholders>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
27
|
+
"update:modelValue": (value: IFilterCondition) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
/**
|
|
30
|
+
* Значение
|
|
31
|
+
*/
|
|
32
|
+
modelValue: {
|
|
33
|
+
type: PropType<FilterTextValue>;
|
|
34
|
+
default: null;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Объект выбранного
|
|
38
|
+
* фильтра
|
|
39
|
+
*/
|
|
40
|
+
filter: {
|
|
41
|
+
type: PropType<IBaseFilter>;
|
|
42
|
+
default: () => {};
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Переводы локализаций
|
|
46
|
+
*/
|
|
47
|
+
placeholders: {
|
|
48
|
+
type: PropType<IFilterPlaceholders>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{
|
|
52
|
+
"onUpdate:modelValue"?: ((value: IFilterCondition) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
filter: IBaseFilter;
|
|
55
|
+
modelValue: FilterTextValue;
|
|
56
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { ColumnSpanUnion } from '../../../types/styles/Grid';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/**
|
|
4
|
+
* Кол-во колонок (всего 12)
|
|
5
|
+
*/
|
|
6
|
+
span: {
|
|
7
|
+
type: (() => ColumnSpanUnion)[];
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Очерёдность
|
|
11
|
+
*/
|
|
12
|
+
order: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Отступ (margin-left)
|
|
17
|
+
*/
|
|
18
|
+
offset: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Отступ (left)
|
|
23
|
+
*/
|
|
24
|
+
push: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Отступ (right)
|
|
29
|
+
*/
|
|
30
|
+
pull: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Автоматически тянущаяся колонка
|
|
35
|
+
* на всё свободное пространство
|
|
36
|
+
*/
|
|
37
|
+
stretchSelf: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Основа флекса, которая является начальным размером элемента
|
|
43
|
+
* (указывать с единицами измерения: px, %...)
|
|
44
|
+
*/
|
|
45
|
+
basis: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
|
+
/**
|
|
51
|
+
* Кол-во колонок (всего 12)
|
|
52
|
+
*/
|
|
53
|
+
span: {
|
|
54
|
+
type: (() => ColumnSpanUnion)[];
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Очерёдность
|
|
58
|
+
*/
|
|
59
|
+
order: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Отступ (margin-left)
|
|
64
|
+
*/
|
|
65
|
+
offset: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Отступ (left)
|
|
70
|
+
*/
|
|
71
|
+
push: {
|
|
72
|
+
type: NumberConstructor;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Отступ (right)
|
|
76
|
+
*/
|
|
77
|
+
pull: {
|
|
78
|
+
type: NumberConstructor;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Автоматически тянущаяся колонка
|
|
82
|
+
* на всё свободное пространство
|
|
83
|
+
*/
|
|
84
|
+
stretchSelf: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Основа флекса, которая является начальным размером элемента
|
|
90
|
+
* (указывать с единицами измерения: px, %...)
|
|
91
|
+
*/
|
|
92
|
+
basis: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
}>> & Readonly<{}>, {
|
|
97
|
+
stretchSelf: boolean;
|
|
98
|
+
basis: string;
|
|
99
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
100
|
+
default?(_: {}): any;
|
|
101
|
+
}>;
|
|
102
|
+
export default _default;
|
|
103
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
104
|
+
new (): {
|
|
105
|
+
$slots: S;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { ColumnAlignment, ColumnJustifyAlignment } from '../../../enums/Grid';
|
|
2
|
+
import { ColumnAlignmentUnion, ColumnJustifyAlignmentUnion } from '../../../types/styles/Grid';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
/**
|
|
5
|
+
* Расстояние между колонками по горизонтали
|
|
6
|
+
*/
|
|
7
|
+
gutterX: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Расстояние между колонками по вертикали
|
|
13
|
+
*/
|
|
14
|
+
gutterY: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Выравнивание по горизонтали
|
|
20
|
+
*/
|
|
21
|
+
justify: {
|
|
22
|
+
type: () => ColumnJustifyAlignmentUnion;
|
|
23
|
+
default: ColumnJustifyAlignment;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Выравнивание по вертикали
|
|
27
|
+
*/
|
|
28
|
+
align: {
|
|
29
|
+
type: () => ColumnAlignmentUnion;
|
|
30
|
+
default: ColumnAlignment;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Автоматически тянущиеся колонки
|
|
34
|
+
*/
|
|
35
|
+
stretch: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Перенос колонок
|
|
41
|
+
*/
|
|
42
|
+
wrap: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
|
+
/**
|
|
48
|
+
* Расстояние между колонками по горизонтали
|
|
49
|
+
*/
|
|
50
|
+
gutterX: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Расстояние между колонками по вертикали
|
|
56
|
+
*/
|
|
57
|
+
gutterY: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
default: number;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Выравнивание по горизонтали
|
|
63
|
+
*/
|
|
64
|
+
justify: {
|
|
65
|
+
type: () => ColumnJustifyAlignmentUnion;
|
|
66
|
+
default: ColumnJustifyAlignment;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Выравнивание по вертикали
|
|
70
|
+
*/
|
|
71
|
+
align: {
|
|
72
|
+
type: () => ColumnAlignmentUnion;
|
|
73
|
+
default: ColumnAlignment;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Автоматически тянущиеся колонки
|
|
77
|
+
*/
|
|
78
|
+
stretch: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Перенос колонок
|
|
84
|
+
*/
|
|
85
|
+
wrap: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
}>> & Readonly<{}>, {
|
|
90
|
+
stretch: boolean;
|
|
91
|
+
align: ColumnAlignmentUnion;
|
|
92
|
+
gutterX: number;
|
|
93
|
+
gutterY: number;
|
|
94
|
+
justify: ColumnJustifyAlignmentUnion;
|
|
95
|
+
wrap: boolean;
|
|
96
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
97
|
+
default?(_: {}): any;
|
|
98
|
+
}>;
|
|
99
|
+
export default _default;
|
|
100
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
101
|
+
new (): {
|
|
102
|
+
$slots: S;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ColorTypes, SizeTypes } from '../../../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
size: {
|
|
4
|
+
type: () => SizeTypes;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
backgroundColor: {
|
|
8
|
+
type: () => ColorTypes;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
size: {
|
|
13
|
+
type: () => SizeTypes;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
backgroundColor: {
|
|
17
|
+
type: () => ColorTypes;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{}>, {
|
|
21
|
+
size: "400" | "500" | "600" | "700" | "50" | "100" | "150" | "200" | "250" | "300" | "550" | "800" | "900" | "1000";
|
|
22
|
+
backgroundColor: "transparent" | "purple" | "hover-purple" | "light-purple" | "bg-purple" | "lighter-purple" | "black" | "outline-light" | "dark-gray" | "gray" | "outline-gray" | "hover-gray" | "bg-gray" | "white" | "hover-blue" | "blue" | "light-blue" | "lighter-blue" | "dark-orange" | "orange" | "yellow" | "dark-red" | "red" | "bright-pink" | "pale-pink" | "dark-green" | "green" | "toxic" | "ultraviolet" | "pinkish" | "azure" | "turquoise" | "darken-turquoise";
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PreviewSizesUnion } from '../../../types/IPreview';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/**
|
|
4
|
+
* Размеры:
|
|
5
|
+
* `s, m, l`
|
|
6
|
+
*/
|
|
7
|
+
size: {
|
|
8
|
+
type: () => PreviewSizesUnion;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
/**
|
|
13
|
+
* Размеры:
|
|
14
|
+
* `s, m, l`
|
|
15
|
+
*/
|
|
16
|
+
size: {
|
|
17
|
+
type: () => PreviewSizesUnion;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{}>, {
|
|
21
|
+
size: PreviewSizesUnion;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
23
|
+
left?(_: {}): any;
|
|
24
|
+
top?(_: {}): any;
|
|
25
|
+
bottom?(_: {}): any;
|
|
26
|
+
right?(_: {}): any;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|