mdt-client 31.3.46 → 31.3.47
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/index.d.ts +11 -10
- package/dist/index.js +16 -16
- package/package.json +38 -38
- package/readme.md +15 -15
- package/types/_core/scripts/common/Datasource.d.ts +9 -0
- package/types/_core/scripts/common/Field.d.ts +51 -0
- package/types/_core/scripts/common/FieldSettings.schema.d.ts +17 -0
- package/types/_core/scripts/common/MdtField.d.ts +9 -0
- package/types/_core/scripts/common/MdtObject.d.ts +7 -0
- package/types/_core/scripts/common/Record.d.ts +27 -0
- package/types/_core/scripts/common/Table.d.ts +66 -0
- package/types/_core/scripts/common/form/tabs/TabsFormExtenderOptions.d.ts +12 -0
- package/types/_core/scripts/common/list/aggregation/AggregayionTypes.d.ts +2 -0
- package/types/_core/scripts/common/list/cacheUpdateTime/CacheUpdateTimePublicOptions.d.ts +6 -0
- package/types/_core/scripts/common/list/cellControlExtender/CellControlExtender.d.ts +1 -0
- package/types/_core/scripts/common/list/columnMenu/ColumnMenuOptions.d.ts +17 -0
- package/types/_core/scripts/common/list/columnMenu/QuickFilterOptions.d.ts +7 -0
- package/types/_core/scripts/common/list/columnMenu/ValuesFilterOptions.d.ts +24 -0
- package/types/_core/scripts/common/list/form/FormListPublicOptions.d.ts +40 -0
- package/types/_core/scripts/common/list/gallery/GalleryListExtenderPublicOptions.d.ts +11 -0
- package/types/_core/scripts/common/list/group/groupTypes.d.ts +177 -0
- package/types/_core/scripts/common/list/hierarchy/hierarchyTypes.d.ts +48 -0
- package/types/_core/scripts/common/list/historyType/HistoryTypeListExtenderOptions.d.ts +3 -0
- package/types/_core/scripts/common/list/labelStyle/LabelStylePublicOptions.d.ts +6 -0
- package/types/_core/scripts/common/list/legend/LegendListExtenderOptions.d.ts +8 -0
- package/types/_core/scripts/common/list/listView/ListViewListExtenderOptions.d.ts +25 -0
- package/types/_core/scripts/common/list/namedFilter/InMemoryNamedFilterOptions.d.ts +23 -0
- package/types/_core/scripts/common/list/namedFilter/NamedFilterListExtenderPublicOptions.d.ts +29 -0
- package/types/_core/scripts/common/list/reorder/ReorderListExtenderPublicOptions.d.ts +4 -0
- package/types/_core/scripts/common/list/select/SelectPublicOptions.d.ts +18 -0
- package/types/_core/scripts/common/list/styleField/StyleFieldListExtenderPublicOptions.d.ts +3 -0
- package/types/_core/scripts/common/list/toolbar/ToolbarPublicOptions.d.ts +22 -0
- package/types/_core/scripts/common/list/virtualScroll/VIrtualScrollPublicOptions.d.ts +7 -0
- package/types/_core/scripts/common/serverMessage/ServerMessageTypes.d.ts +17 -0
- package/types/_core/scripts/components/baseFormControls/input/inputOptions.d.ts +30 -0
- package/types/_core/scripts/components/baseFormControls/maskedInput/MaskFormatter.types.d.ts +2 -0
- package/types/_core/scripts/components/button/baseButton/buttonOptions.d.ts +12 -0
- package/types/_core/scripts/components/buttonGroup/buttonGroupOptions.d.ts +7 -0
- package/types/_core/scripts/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -0
- package/types/_core/scripts/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +19 -0
- package/types/_core/scripts/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +32 -0
- package/types/_core/scripts/components/form/fieldView/fieldViewOptions.d.ts +13 -0
- package/types/_core/scripts/components/form/header/types.d.ts +14 -0
- package/types/_core/scripts/components/form/label/labelOptions.d.ts +22 -0
- package/types/_core/scripts/components/icon/iconOptions.d.ts +21 -0
- package/types/_core/scripts/components/iconButton/iconButtonOptions.d.ts +9 -0
- package/types/_core/scripts/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -0
- package/types/_core/scripts/components/resizablePanels/panelTitle/panelTitleOptions.d.ts +16 -0
- package/types/_core/scripts/components/resizablePanels/panelToolbar/panelToolbarOptions.d.ts +4 -0
- package/types/_core/scripts/components/resizablePanels/resizablePanel/resizablePanelOptions.d.ts +24 -0
- package/types/_core/scripts/components/resizablePanels/resizablePanelsOptions.d.ts +22 -0
- package/types/_core/scripts/components/textWithIcon/textWithIconOptions.d.ts +16 -0
- package/types/_core/scripts/components/toggleablePanels/toggleablePanelsOptions.d.ts +40 -0
- package/types/_core/scripts/data/active/ActivationListAdapterTypes.d.ts +6 -0
- package/types/_core/scripts/data/fieldFilter/ToolbarFieldFilterOptions.d.ts +21 -0
- package/types/_core/scripts/data/periods/helpers/types.d.ts +4 -0
- package/types/_core/scripts/datasources/FetchResult.d.ts +5 -0
- package/types/_core/scripts/helpers/IUi.d.ts +2 -0
- package/types/_core/scripts/helpers/dateUtils.d.ts +23 -0
- package/types/_core/scripts/helpers/deleteFromArray.d.ts +1 -0
- package/types/_core/scripts/helpers/events/EventEmitter.d.ts +12 -0
- package/types/_core/scripts/helpers/fireEvent.d.ts +4 -0
- package/types/_core/scripts/helpers/formatOptions.d.ts +16 -0
- package/types/_core/scripts/helpers/formattedText.d.ts +8 -0
- package/types/_core/scripts/helpers/pipeline/ImmutableArgPipeline.d.ts +8 -0
- package/types/_core/scripts/helpers/pipeline/Pipeline.d.ts +20 -0
- package/types/_core/scripts/helpers/redraw.d.ts +16 -0
- package/types/_core/scripts/helpers/types.d.ts +84 -0
- package/types/_core/scripts/helpers/ui/elementModificators/focusableComponent.d.ts +14 -0
- package/types/_core/scripts/helpers/ui/elementModificators/modificatorsTypes.d.ts +4 -0
- package/types/_core/scripts/helpers/ui/keyboardUtils/getKeySymbol.d.ts +2 -0
- package/types/_core/scripts/helpers/ui/keyboardUtils/keyboardUtils.d.ts +23 -0
- package/types/_core/scripts/helpers/ui/keyboardUtils/osByUserAgent.d.ts +1 -0
- package/types/_core/scripts/helpers/utils/classNames.d.ts +20 -0
- package/types/_core/scripts/helpers/utils/keyStorage/KeyStorage.d.ts +6 -0
- package/types/_core/scripts/helpers/utils/memoization/memoize.d.ts +18 -0
- package/types/_core/scripts/helpers/utils/object.d.ts +4 -0
- package/types/_core/scripts/helpers/utils/stringifyControlSize.d.ts +3 -0
- package/types/_core/scripts/helpers/utils/valued/getValued.d.ts +18 -0
- package/types/_core/scripts/helpers/zone/IZone.d.ts +7 -0
- package/types/_core/scripts/security/PermissionLevel.d.ts +40 -0
- package/types/_core/scripts/security/User.d.ts +19 -0
- package/types/_core/scripts/services/HotkeyManager.d.ts +6 -0
- package/types/_core/scripts/services/IFilter.d.ts +322 -0
- package/types/_core/scripts/services/ModuleData.d.ts +9 -0
- package/types/_core/scripts/services/api/ApiAccessor/apiV1Types.d.ts +266 -0
- package/types/_core/scripts/services/api/ApiAccessor/apiV2Types.d.ts +585 -0
- package/types/_core/scripts/services/api/ApiAccessor/binding/bindingApiTypes.d.ts +42 -0
- package/types/_core/scripts/services/api/ApiAccessor/job/jobApiTypes.d.ts +82 -0
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/count/count.d.ts +10 -0
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/hierarchy/hierarchyQueryHelpersTypes.d.ts +28 -0
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/placeIn/placeInQueryTypes.d.ts +9 -0
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/messageTypes.d.ts +37 -0
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/message/apiV2MessageTypes.d.ts +2 -0
- package/types/_core/scripts/services/api/ApiRequestOptions.d.ts +43 -0
- package/types/_core/scripts/services/api/BaseQuery.d.ts +25 -0
- package/types/_core/scripts/services/api/Query.d.ts +56 -0
- package/types/_core/scripts/services/api/QuerySorting.d.ts +18 -0
- package/types/_core/scripts/services/api/ServerResonseType.d.ts +2 -0
- package/types/_core/scripts/services/commands/Command.d.ts +22 -0
- package/types/_core/scripts/services/commands/CommandGroup.d.ts +15 -0
- package/types/_core/scripts/services/commands/CommandManager.d.ts +77 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFieldControlFacade.d.ts +26 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +36 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFieldStateFacade.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFormControlFacade.d.ts +133 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFormFacade.d.ts +102 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFormLayout.d.ts +12 -0
- package/types/_core/scripts/services/customModules/facades/IAppFacade.d.ts +38 -0
- package/types/_core/scripts/services/customModules/facades/IAuthFacade.d.ts +9 -0
- package/types/_core/scripts/services/customModules/facades/ILegacyFacade.d.ts +238 -0
- package/types/_core/scripts/services/customModules/facades/IMdtFacade.d.ts +87 -0
- package/types/_core/scripts/services/customModules/facades/IModuleRegistryFacade.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/IPageFacade.d.ts +7 -0
- package/types/_core/scripts/services/customModules/facades/List/Column/IColumnFacade.d.ts +7 -0
- package/types/_core/scripts/services/customModules/facades/List/IListCellFacade.d.ts +8 -0
- package/types/_core/scripts/services/customModules/facades/List/IListComponentFacade.d.ts +10 -0
- package/types/_core/scripts/services/customModules/facades/List/IListControlFacade.d.ts +88 -0
- package/types/_core/scripts/services/customModules/facades/List/IListRowFacade.d.ts +2 -0
- package/types/_core/scripts/services/customModules/facades/List/IListServiceFacade.d.ts +96 -0
- package/types/_core/scripts/services/customModules/facades/List/ListOptions/IListOptions.d.ts +4 -0
- package/types/_core/scripts/services/customModules/facades/components/CodeEditorFacade.d.ts +9 -0
- package/types/_core/scripts/services/customModules/facades/components/ModalFacade.d.ts +4 -0
- package/types/_core/scripts/services/customModules/facades/formDashboard/IFormDashboard.d.ts +20 -0
- package/types/_core/scripts/services/customModules/facades/internalModules/importFormCtrl.types.d.ts +77 -0
- package/types/_core/scripts/services/customModules/facades/internalModules/importModuleFacade.d.ts +53 -0
- package/types/_core/scripts/services/customModules/facades/internalModules/jobFacade.d.ts +7 -0
- package/types/_core/scripts/services/customModules/facades/internalModules/modulesFacadeTypes.d.ts +12 -0
- package/types/_core/scripts/services/customModules/facades/internalModules/statusFacade.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/record/IRecordFacade.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/record/IRecordManagerFacade.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/schema/IFieldFacade.d.ts +14 -0
- package/types/_core/scripts/services/customModules/facades/schema/IObjectFacade.d.ts +20 -0
- package/types/_core/scripts/services/customModules/facades/schema/ISchemaFacade.d.ts +24 -0
- package/types/_core/scripts/services/customModules/facades/schema/fieldBuilder/fieldBuilder/IFieldBuilder.d.ts +23 -0
- package/types/_core/scripts/services/customModules/facades/schema/fieldBuilder/fieldFkBuilder/IFieldFkBuilder.d.ts +8 -0
- package/types/_core/scripts/services/customModules/facades/services/CommandManagerFacade.d.ts +11 -0
- package/types/_core/scripts/services/customModules/facades/services/IListButtonExtendPipelineService.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/services/INavigationFacade.d.ts +91 -0
- package/types/_core/scripts/services/customModules/facades/services/ISecurityFacade.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/utils/IApiFacade.d.ts +91 -0
- package/types/_core/scripts/services/customModules/facades/utils/IUiComponentsFacade.d.ts +185 -0
- package/types/_core/scripts/services/customModules/facades/utils/IUiFacade.d.ts +83 -0
- package/types/_core/scripts/services/customModules/facades/utils/IUtilsFacade.d.ts +224 -0
- package/types/_core/scripts/services/customModules/facades/utils/ImUtilsFacade.d.ts +41 -0
- package/types/_core/scripts/services/dropdown/IDropDownMenu.d.ts +40 -0
- package/types/_core/scripts/services/e2e/e2eServiceType.d.ts +11 -0
- package/types/_core/scripts/ui-kit/IUiKitUtilsFacade.d.ts +21 -0
- package/types/_core/scripts/ui-kit/UiKitFacade.d.ts +101 -0
- package/types/_core/scripts/views/controls/Control.d.ts +7 -0
- package/types/_core/scripts/views/controls/panels/panelOptions.d.ts +15 -0
- package/types/_core/scripts/views/form/controls/commonControl/ICommonControl.d.ts +28 -0
- package/types/_core/scripts/views/form/controls/fileupload/FileInputFacade.types.d.ts +6 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +24 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +70 -0
- package/types/_core/scripts/views/form/controls/picker/multiPickerFacade/IMultiPickerFacade.d.ts +36 -0
- package/types/_core/scripts/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +21 -0
- package/types/_core/scripts/views/form/formTypes.d.ts +5 -0
- package/types/_core/scripts/views/form/schema/FormPageExtOptions.schema.d.ts +22 -0
- package/types/_core/scripts/views/form/schema/FormPageOptions.schema.d.ts +19 -0
- package/types/_core/scripts/views/gallery/ImageFetchOptions.d.ts +5 -0
- package/types/_core/scripts/views/list/ListViewOptions.d.ts +99 -0
- package/types/_core/scripts/views/list/features/aggregation/AggregationRowListOptions.d.ts +23 -0
- package/types/_core/scripts/views/list/schema/ListPageExtOptions.schema.d.ts +123 -0
- package/types/_core/scripts/views/list/schema/ListPageOptions.schema.d.ts +145 -0
- package/types/_core/scripts/views/list/tabular/TabularListTypes.d.ts +53 -0
- package/types/_core/scripts/views/page/PageZoneTypes.d.ts +1 -0
- package/types/_core/scripts/views/page/charts/ChartControlOptions.schema.d.ts +759 -0
- package/types/_core/scripts/views/page/charts/facade/IChartControlFacade.d.ts +29 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/config/chartConfig.d.ts +31 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/config/filterConfig.d.ts +56 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/config/listConfig.d.ts +9 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/config/reportDashboardConfig.d.ts +55 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/controls/dynamicChart/dynamicChartControlPublicOptions.d.ts +3 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/index.d.ts +5 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/utils/formJsonVarParser.d.ts +13 -0
- package/types/common/Datasource.d.ts +9 -9
- package/types/common/Field.d.ts +51 -51
- package/types/common/FieldSettings.schema.d.ts +32 -32
- package/types/common/MdtField.d.ts +9 -9
- package/types/common/MdtObject.d.ts +7 -7
- package/types/common/Record.d.ts +27 -27
- package/types/common/Table.d.ts +66 -66
- package/types/common/form/tabs/TabsFormExtenderOptions.d.ts +14 -14
- package/types/common/list/aggregation/AggregayionTypes.d.ts +2 -2
- package/types/common/list/cacheUpdateTime/CacheUpdateTimePublicOptions.d.ts +6 -6
- package/types/common/list/cellControlExtender/CellControlExtender.d.ts +1 -1
- package/types/common/list/columnMenu/ColumnMenuOptions.d.ts +17 -17
- package/types/common/list/columnMenu/QuickFilterOptions.d.ts +7 -7
- package/types/common/list/columnMenu/ValuesFilterOptions.d.ts +24 -24
- package/types/common/list/form/FormListPublicOptions.d.ts +44 -44
- package/types/common/list/gallery/GalleryListExtenderPublicOptions.d.ts +11 -11
- package/types/common/list/group/groupTypes.d.ts +177 -177
- package/types/common/list/hierarchy/hierarchyTypes.d.ts +48 -48
- package/types/common/list/historyType/HistoryTypeListExtenderOptions.d.ts +3 -3
- package/types/common/list/labelStyle/LabelStylePublicOptions.d.ts +6 -6
- package/types/common/list/legend/LegendListExtenderOptions.d.ts +8 -8
- package/types/common/list/listView/ListViewListExtenderOptions.d.ts +25 -25
- package/types/common/list/namedFilter/InMemoryNamedFilterOptions.d.ts +23 -23
- package/types/common/list/namedFilter/NamedFilterListExtenderPublicOptions.d.ts +29 -29
- package/types/common/list/reorder/ReorderListExtenderPublicOptions.d.ts +4 -4
- package/types/common/list/select/SelectPublicOptions.d.ts +18 -18
- package/types/common/list/styleField/StyleFieldListExtenderPublicOptions.d.ts +3 -3
- package/types/common/list/toolbar/ToolbarPublicOptions.d.ts +23 -23
- package/types/common/list/virtualScroll/VIrtualScrollPublicOptions.d.ts +7 -7
- package/types/common/serverMessage/ServerMessageTypes.d.ts +17 -17
- package/types/components/baseFormControls/input/inputOptions.d.ts +31 -30
- package/types/components/baseFormControls/maskedInput/MaskFormatter.types.d.ts +2 -2
- package/types/components/button/baseButton/buttonOptions.d.ts +12 -12
- package/types/components/buttonGroup/buttonGroupOptions.d.ts +7 -7
- package/types/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -5
- package/types/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +20 -20
- package/types/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +32 -32
- package/types/components/form/fieldView/fieldViewOptions.d.ts +13 -13
- package/types/components/form/header/types.d.ts +14 -14
- package/types/components/form/label/labelOptions.d.ts +23 -23
- package/types/components/icon/iconOptions.d.ts +24 -23
- package/types/components/iconButton/iconButtonOptions.d.ts +10 -9
- package/types/components/navigation/header/userButton/UserMenuSlot.d.ts +10 -10
- package/types/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -5
- package/types/components/resizablePanels/panelTitle/panelTitleOptions.d.ts +16 -16
- package/types/components/resizablePanels/panelToolbar/panelToolbarOptions.d.ts +4 -4
- package/types/components/resizablePanels/resizablePanel/resizablePanelOptions.d.ts +24 -24
- package/types/components/resizablePanels/resizablePanelsOptions.d.ts +22 -22
- package/types/components/textWithIcon/textWithIconOptions.d.ts +17 -16
- package/types/components/toggleablePanels/toggleablePanelsOptions.d.ts +40 -40
- package/types/data/active/ActivationListAdapterTypes.d.ts +6 -6
- package/types/data/fieldFilter/ToolbarFieldFilterOptions.d.ts +21 -21
- package/types/data/periods/helpers/types.d.ts +4 -4
- package/types/datasources/FetchResult.d.ts +5 -5
- package/types/helpers/IUi.d.ts +2 -2
- package/types/helpers/dateUtils.d.ts +23 -23
- package/types/helpers/deleteFromArray.d.ts +1 -1
- package/types/helpers/events/EventEmitter.d.ts +12 -12
- package/types/helpers/fireEvent.d.ts +4 -4
- package/types/helpers/formatOptions.d.ts +24 -24
- package/types/helpers/formattedText.d.ts +8 -8
- package/types/helpers/pipeline/ImmutableArgPipeline.d.ts +8 -8
- package/types/helpers/pipeline/Pipeline.d.ts +20 -20
- package/types/helpers/redraw.d.ts +16 -16
- package/types/helpers/types.d.ts +85 -84
- package/types/helpers/ui/elementModificators/focusableComponent.d.ts +15 -14
- package/types/helpers/ui/elementModificators/modificatorsTypes.d.ts +4 -4
- package/types/helpers/ui/keyboardUtils/getKeySymbol.d.ts +2 -2
- package/types/helpers/ui/keyboardUtils/keyboardUtils.d.ts +23 -23
- package/types/helpers/ui/keyboardUtils/osByUserAgent.d.ts +1 -1
- package/types/helpers/ui/toolbarItemTypes.d.ts +30 -30
- package/types/helpers/utils/classNames.d.ts +20 -20
- package/types/helpers/utils/duration/durationFormatTypes.d.ts +21 -21
- package/types/helpers/utils/keyStorage/KeyStorage.d.ts +6 -6
- package/types/helpers/utils/memoization/memoize.d.ts +18 -18
- package/types/helpers/utils/object.d.ts +10 -10
- package/types/helpers/utils/stringifyControlSize.d.ts +3 -3
- package/types/helpers/utils/valued/getValued.d.ts +18 -18
- package/types/helpers/zone/IZone.d.ts +8 -7
- package/types/job/scripts/types.d.ts +11 -0
- package/types/security/PermissionLevel.d.ts +40 -40
- package/types/security/User.d.ts +20 -20
- package/types/services/HotkeyManager.d.ts +6 -6
- package/types/services/IFilter.d.ts +322 -322
- package/types/services/ModuleData.d.ts +9 -9
- package/types/services/api/ApiAccessor/apiV1Types.d.ts +266 -266
- package/types/services/api/ApiAccessor/apiV2Types.d.ts +586 -586
- package/types/services/api/ApiAccessor/binding/bindingApiTypes.d.ts +42 -42
- package/types/services/api/ApiAccessor/job/jobApiTypes.d.ts +83 -83
- package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/count/count.d.ts +10 -10
- package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/hierarchy/hierarchyQueryHelpersTypes.d.ts +28 -28
- package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/placeIn/placeInQueryTypes.d.ts +9 -9
- package/types/services/api/ApiAccessorRequestAdapter/handlers/messageTypes.d.ts +37 -37
- package/types/services/api/ApiAccessorRequestAdapter/message/apiV2MessageTypes.d.ts +2 -2
- package/types/services/api/ApiRequestOptions.d.ts +43 -43
- package/types/services/api/BaseQuery.d.ts +25 -25
- package/types/services/api/Query.d.ts +56 -56
- package/types/services/api/QuerySorting.d.ts +18 -18
- package/types/services/api/ServerResonseType.d.ts +2 -2
- package/types/services/commands/Command.d.ts +22 -22
- package/types/services/commands/CommandGroup.d.ts +15 -15
- package/types/services/commands/CommandManager.d.ts +77 -77
- package/types/services/customModules/facades/Form/IFieldControlFacade.d.ts +26 -26
- package/types/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +38 -38
- package/types/services/customModules/facades/Form/IFieldStateFacade.d.ts +13 -13
- package/types/services/customModules/facades/Form/IFormControlFacade.d.ts +133 -133
- package/types/services/customModules/facades/Form/IFormFacade.d.ts +106 -106
- package/types/services/customModules/facades/Form/IFormLayout.d.ts +12 -12
- package/types/services/customModules/facades/IAppFacade.d.ts +38 -38
- package/types/services/customModules/facades/IAuthFacade.d.ts +9 -9
- package/types/services/customModules/facades/ILegacyFacade.d.ts +240 -239
- package/types/services/customModules/facades/IMdtFacade.d.ts +91 -90
- package/types/services/customModules/facades/IModuleRegistryFacade.d.ts +5 -5
- package/types/services/customModules/facades/IPageFacade.d.ts +7 -7
- package/types/services/customModules/facades/List/Column/IColumnFacade.d.ts +7 -7
- package/types/services/customModules/facades/List/IListCellFacade.d.ts +9 -9
- package/types/services/customModules/facades/List/IListComponentFacade.d.ts +10 -10
- package/types/services/customModules/facades/List/IListControlFacade.d.ts +90 -90
- package/types/services/customModules/facades/List/IListRowFacade.d.ts +2 -2
- package/types/services/customModules/facades/List/IListServiceFacade.d.ts +96 -96
- package/types/services/customModules/facades/List/ListOptions/IListOptions.d.ts +4 -4
- package/types/services/customModules/facades/components/CodeEditorFacade.d.ts +9 -9
- package/types/services/customModules/facades/components/ModalFacade.d.ts +4 -4
- package/types/services/customModules/facades/formDashboard/IFormDashboard.d.ts +20 -20
- package/types/services/customModules/facades/internalModules/importFormCtrl.types.d.ts +83 -83
- package/types/services/customModules/facades/internalModules/importModuleFacade.d.ts +59 -59
- package/types/services/customModules/facades/internalModules/jobFacade.d.ts +24 -24
- package/types/services/customModules/facades/internalModules/modulesFacadeTypes.d.ts +16 -16
- package/types/services/customModules/facades/internalModules/statusFacade.d.ts +11 -11
- package/types/services/customModules/facades/record/IRecordFacade.d.ts +13 -13
- package/types/services/customModules/facades/record/IRecordManagerFacade.d.ts +5 -5
- package/types/services/customModules/facades/schema/IFieldFacade.d.ts +14 -14
- package/types/services/customModules/facades/schema/IObjectFacade.d.ts +20 -20
- package/types/services/customModules/facades/schema/ISchemaFacade.d.ts +24 -24
- package/types/services/customModules/facades/schema/fieldBuilder/fieldBuilder/IFieldBuilder.d.ts +23 -23
- package/types/services/customModules/facades/schema/fieldBuilder/fieldFkBuilder/IFieldFkBuilder.d.ts +8 -8
- package/types/services/customModules/facades/services/CommandManagerFacade.d.ts +11 -11
- package/types/services/customModules/facades/services/IListButtonExtendPipelineService.d.ts +13 -13
- package/types/services/customModules/facades/services/INavigationFacade.d.ts +92 -92
- package/types/services/customModules/facades/services/ISecurityFacade.d.ts +13 -13
- package/types/services/customModules/facades/sharedModules/ISharedModulesFacade.d.ts +4 -4
- package/types/services/customModules/facades/utils/IApiFacade.d.ts +93 -91
- package/types/services/customModules/facades/utils/IUiComponentsFacade.d.ts +191 -190
- package/types/services/customModules/facades/utils/IUiFacade.d.ts +84 -83
- package/types/services/customModules/facades/utils/IUtilsFacade.d.ts +225 -225
- package/types/services/customModules/facades/utils/ImUtilsFacade.d.ts +42 -41
- package/types/services/dropdown/IDropDownMenu.d.ts +41 -40
- package/types/services/e2e/e2eServiceType.d.ts +11 -11
- package/types/ui-kit/IUiKitUtilsFacade.d.ts +40 -41
- package/types/ui-kit/UiKitFacade.d.ts +124 -124
- package/types/ui-kit/components/calendar/Calendar.d.ts +3 -3
- package/types/views/controls/Control.d.ts +7 -7
- package/types/views/controls/panels/panelOptions.d.ts +15 -15
- package/types/views/form/controls/commonControl/ICommonControl.d.ts +29 -28
- package/types/views/form/controls/fileupload/FileInputFacade.types.d.ts +6 -6
- package/types/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +24 -24
- package/types/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +70 -70
- package/types/views/form/controls/picker/multiPickerFacade/IMultiPickerFacade.d.ts +36 -36
- package/types/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +21 -21
- package/types/views/form/formTypes.d.ts +5 -5
- package/types/views/form/schema/FormPageExtOptions.schema.d.ts +22 -22
- package/types/views/form/schema/FormPageOptions.schema.d.ts +19 -19
- package/types/views/gallery/ImageFetchOptions.d.ts +5 -5
- package/types/views/list/ListViewOptions.d.ts +102 -101
- package/types/views/list/features/aggregation/AggregationRowListOptions.d.ts +23 -23
- package/types/views/list/schema/ListPageExtOptions.schema.d.ts +123 -123
- package/types/views/list/schema/ListPageOptions.schema.d.ts +150 -150
- package/types/views/list/tabular/TabularListTypes.d.ts +53 -53
- package/types/views/page/PageZoneTypes.d.ts +1 -1
- package/types/views/page/charts/ChartControlOptions.schema.d.ts +850 -850
- package/types/views/page/charts/facade/IChartControlFacade.d.ts +29 -29
- package/types/views/page/charts/reportDashboard/config/chartConfig.d.ts +31 -31
- package/types/views/page/charts/reportDashboard/config/filterConfig.d.ts +56 -56
- package/types/views/page/charts/reportDashboard/config/listConfig.d.ts +9 -9
- package/types/views/page/charts/reportDashboard/config/reportDashboardConfig.d.ts +55 -55
- package/types/views/page/charts/reportDashboard/controls/dynamicChart/dynamicChartControlPublicOptions.d.ts +3 -3
- package/types/views/page/charts/reportDashboard/index.d.ts +5 -5
- package/types/views/page/charts/reportDashboard/utils/formJsonVarParser.d.ts +13 -13
|
@@ -1,41 +1,42 @@
|
|
|
1
|
-
/// <reference types="../../../../mithril" />
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* Utils.classNames('foo',
|
|
34
|
-
* Utils.classNames({
|
|
35
|
-
* Utils.classNames({ 'foo-bar':
|
|
36
|
-
* Utils.classNames({ foo
|
|
37
|
-
* Utils.classNames(
|
|
38
|
-
* Utils.classNames(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
/// <reference types="../../../../mithril" />
|
|
2
|
+
/// <reference types="mithril" />
|
|
3
|
+
import { ClassNamesArg } from "mdtScripts/helpers/utils/classNames";
|
|
4
|
+
import { MithrilControl } from "../../../../helpers/types";
|
|
5
|
+
export type ConfigFunction = (element: HTMLElement, isInitialized: boolean, context?: any) => void;
|
|
6
|
+
export interface ImUtilsFacade {
|
|
7
|
+
/** Проверка, есть ли класс у элемента */
|
|
8
|
+
hasClass(obj: _mithril.MithrilVirtualElement, className: string): boolean;
|
|
9
|
+
/** Добавить класс для элемента */
|
|
10
|
+
addClass(obj: _mithril.MithrilVirtualElement, className: string): void;
|
|
11
|
+
/** Удалить класс у элемента */
|
|
12
|
+
removeClass(obj: _mithril.MithrilVirtualElement, className: string): void;
|
|
13
|
+
/** Переключить класс элемента. Если у элемента есть данный класс, то он будет удален. Если у элемента нет данного класса, то он будет добавлен. */
|
|
14
|
+
toggleClass(obj: _mithril.MithrilVirtualElement, className: string): void;
|
|
15
|
+
/** Добавить стили для элемента */
|
|
16
|
+
addStyle(obj: _mithril.MithrilVirtualElement, prop: string, value: string): void;
|
|
17
|
+
/** Установить функцию жизненного цикла Mithril компонента */
|
|
18
|
+
config(obj: _mithril.MithrilVirtualElement, config: ConfigFunction, before?: boolean): _mithril.MithrilVirtualElement;
|
|
19
|
+
/** Подписаться на событие удаления компонента со страницы */
|
|
20
|
+
onunload(ctx: any, fn: Function): void;
|
|
21
|
+
/** Установить атрибут элемента */
|
|
22
|
+
attr(obj: {
|
|
23
|
+
$attrs: any;
|
|
24
|
+
}, attr?: string, value?: string, op?: boolean): void;
|
|
25
|
+
/** Проверить наличие view у компонента */
|
|
26
|
+
hasView(ctrl: MithrilControl): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Формирует строку CSS-классов из набора аргументов (строки, объекты, массивы).
|
|
29
|
+
*
|
|
30
|
+
* @param args Список классов, объектов или массивов, которые будут объединены в одну строку
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Utils.classNames('foo', 'bar'); // 'foo bar'
|
|
34
|
+
* Utils.classNames('foo', { bar: true }); // 'foo bar'
|
|
35
|
+
* Utils.classNames({ 'foo-bar': true }); // 'foo-bar'
|
|
36
|
+
* Utils.classNames({ 'foo-bar': false }); // ''
|
|
37
|
+
* Utils.classNames({ foo: true }, { bar: true }); // 'foo bar'
|
|
38
|
+
* Utils.classNames('foo', { bar: true, duck: false }, 'baz', { quux: true }); // 'foo bar baz quux'
|
|
39
|
+
* Utils.classNames(null, false, 'bar', undefined, 0, { baz: null }, ''); // 'bar'
|
|
40
|
+
*/
|
|
41
|
+
classNames(...args: ClassNamesArg[]): string;
|
|
42
|
+
}
|
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
/// <reference types="../../../../mithril" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export type
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
/// <reference types="../../../../mithril" />
|
|
2
|
+
/// <reference types="mithril" />
|
|
3
|
+
import { MithrilContext, MithrilControl } from "../../helpers/types";
|
|
4
|
+
export declare class IDropdownMenu<I> {
|
|
5
|
+
constructor(items: I[], uid: string, options?: DropdownOptions<I>);
|
|
6
|
+
bind(el: HTMLElement, ctx: MithrilContext): void;
|
|
7
|
+
show(): void;
|
|
8
|
+
close(): void;
|
|
9
|
+
isShown(): boolean;
|
|
10
|
+
}
|
|
11
|
+
export type DropdownItemIndex = number;
|
|
12
|
+
export type DropdownItem<I> = Exclude<I, MithrilControl> | I;
|
|
13
|
+
export interface DropdownOptions<I> {
|
|
14
|
+
getItems: () => I[];
|
|
15
|
+
onSelect: (item: DropdownItem<I>) => void;
|
|
16
|
+
itemView: (item: DropdownItem<I>, viewState: {
|
|
17
|
+
isCurrent: boolean;
|
|
18
|
+
}) => _mithril.MithrilVirtualElement;
|
|
19
|
+
class?: string;
|
|
20
|
+
onShow?: () => void;
|
|
21
|
+
onClose?: () => void;
|
|
22
|
+
wrapAttrs?: _mithril.MithrilAttributes;
|
|
23
|
+
isCurrent?: (item: DropdownItem<I>) => DropdownItemIndex;
|
|
24
|
+
}
|
|
25
|
+
export interface DropdownMenuViewOptions<I> {
|
|
26
|
+
items: I[];
|
|
27
|
+
itemView?: (item: DropdownItem<I>, viewState: {
|
|
28
|
+
isCurrent: boolean;
|
|
29
|
+
}) => _mithril.MithrilVirtualElement;
|
|
30
|
+
onSelect: (item: DropdownItem<I>) => void;
|
|
31
|
+
class?: string;
|
|
32
|
+
wrapAttrs?: _mithril.MithrilAttributes;
|
|
33
|
+
isCurrent?: DropdownItemIndex;
|
|
34
|
+
}
|
|
35
|
+
export type DropdownTargetContext<I> = MithrilContext<{
|
|
36
|
+
$dropdown?: IDropdownMenu<I>;
|
|
37
|
+
}>;
|
|
38
|
+
export interface DropdownMenuNavigatorOptions {
|
|
39
|
+
select: (idx: DropdownItemIndex) => void;
|
|
40
|
+
getItemsAmount?: () => number;
|
|
41
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="../../../../mithril" />
|
|
2
|
-
export interface E2eServiceType {
|
|
3
|
-
mark(el: HTMLElement, ...markOptionsArray: MarkOptions[]): any;
|
|
4
|
-
unmark(el: HTMLElement, keys: string[] | string): any;
|
|
5
|
-
selector(...markOptionsArray: MarkOptions[]): string;
|
|
6
|
-
signIn(login: string, password: string): MPromise<unknown>;
|
|
7
|
-
}
|
|
8
|
-
export type MarkOptions = {
|
|
9
|
-
testid?: string;
|
|
10
|
-
[k: string]: string;
|
|
11
|
-
};
|
|
1
|
+
/// <reference types="../../../../mithril" />
|
|
2
|
+
export interface E2eServiceType {
|
|
3
|
+
mark(el: HTMLElement, ...markOptionsArray: MarkOptions[]): any;
|
|
4
|
+
unmark(el: HTMLElement, keys: string[] | string): any;
|
|
5
|
+
selector(...markOptionsArray: MarkOptions[]): string;
|
|
6
|
+
signIn(login: string, password: string): MPromise<unknown>;
|
|
7
|
+
}
|
|
8
|
+
export type MarkOptions = {
|
|
9
|
+
testid?: string;
|
|
10
|
+
[k: string]: string;
|
|
11
|
+
};
|
|
@@ -1,41 +1,40 @@
|
|
|
1
|
-
/// <reference types="../../../../mithril" />
|
|
2
|
-
/// <reference types="
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* @param
|
|
15
|
-
* @
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
export {};
|
|
1
|
+
/// <reference types="../../../../mithril" />
|
|
2
|
+
/// <reference types="mithril" />
|
|
3
|
+
/// <reference types="react" />
|
|
4
|
+
import { ClassNamesArg } from "../helpers/utils/classNames";
|
|
5
|
+
import { ViewElement } from "../helpers/types";
|
|
6
|
+
interface ReactComponentWrapOptions extends Omit<_mithril.MithrilAttributes, "className"> {
|
|
7
|
+
className?: ClassNamesArg;
|
|
8
|
+
}
|
|
9
|
+
export interface IUiKitUtilsFacade {
|
|
10
|
+
/**
|
|
11
|
+
* Адаптирует React-компонент из UI Kit для использования в Mithril-представлениях.
|
|
12
|
+
*
|
|
13
|
+
* @param Component React-компонент из UI Kit
|
|
14
|
+
* @param props Пропсы для компонента
|
|
15
|
+
* @returns ViewElement для использования в Mithril
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // В Mithril view:
|
|
19
|
+
* return UiKitUtils.wrapComponent(Button, {
|
|
20
|
+
* children: "Нажми меня",
|
|
21
|
+
* variant: "primary"
|
|
22
|
+
* });
|
|
23
|
+
*/
|
|
24
|
+
wrapComponent<P>(Component: React.FC<P>, props?: P, options?: ReactComponentWrapOptions): ViewElement;
|
|
25
|
+
/**
|
|
26
|
+
* Создаёт класс-контроллер для интеграции React-компонента в Mithril-контролы/формы.
|
|
27
|
+
*
|
|
28
|
+
* Возвращает класс с методом `$view`, который оборачивает указанный React-компонент в Mithril через uiKitWrap.
|
|
29
|
+
* @example
|
|
30
|
+
* FormService.registerControl({
|
|
31
|
+
* code: "reportDashboard",
|
|
32
|
+
* title: "Report Dashboard",
|
|
33
|
+
* type: createReactControl(ReactComponent)
|
|
34
|
+
* });
|
|
35
|
+
*/
|
|
36
|
+
createReactControl<P>(Component: React.FC<P>): new () => {
|
|
37
|
+
$view: () => ViewElement;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
import * as alert from "ics-ui-kit/dist/components/alert";
|
|
2
|
-
import * as alertDialog from "ics-ui-kit/dist/components/alert-dialog";
|
|
3
|
-
import * as avatar from "ics-ui-kit/dist/components/avatar";
|
|
4
|
-
import * as badge from "ics-ui-kit/dist/components/badge";
|
|
5
|
-
import * as breadcrumb from "ics-ui-kit/dist/components/breadcrumb";
|
|
6
|
-
import * as button from "ics-ui-kit/dist/components/button";
|
|
7
|
-
import * as card from "ics-ui-kit/dist/components/card";
|
|
8
|
-
import * as checkbox from "ics-ui-kit/dist/components/checkbox";
|
|
9
|
-
import * as collapsible from "ics-ui-kit/dist/components/collapsible";
|
|
10
|
-
import * as command from "ics-ui-kit/dist/components/command";
|
|
11
|
-
import * as dialog from "ics-ui-kit/dist/components/dialog";
|
|
12
|
-
import * as divider from "ics-ui-kit/dist/components/divider";
|
|
13
|
-
import * as dropdown from "ics-ui-kit/dist/components/dropdown";
|
|
14
|
-
import * as emptyState from "ics-ui-kit/dist/components/empty-state";
|
|
15
|
-
import * as errorState from "ics-ui-kit/dist/components/error-state";
|
|
16
|
-
import * as field from "ics-ui-kit/dist/components/field";
|
|
17
|
-
import * as fileUpload from "ics-ui-kit/dist/components/file-upload";
|
|
18
|
-
import * as form from "ics-ui-kit/dist/components/form";
|
|
19
|
-
import * as icon from "ics-ui-kit/dist/components/icon";
|
|
20
|
-
import * as input from "ics-ui-kit/dist/components/input";
|
|
21
|
-
import * as inputOTP from "ics-ui-kit/dist/components/input-otp";
|
|
22
|
-
import * as label from "ics-ui-kit/dist/components/label";
|
|
23
|
-
import * as menuItem from "ics-ui-kit/dist/components/menu-item";
|
|
24
|
-
import * as overflowTooltip from "ics-ui-kit/dist/components/overflow-tooltip";
|
|
25
|
-
import * as overlay from "ics-ui-kit/dist/components/overlay";
|
|
26
|
-
import * as popover from "ics-ui-kit/dist/components/popover";
|
|
27
|
-
import * as progress from "ics-ui-kit/dist/components/progress";
|
|
28
|
-
import * as prose from "ics-ui-kit/dist/components/prose";
|
|
29
|
-
import * as resizable from "ics-ui-kit/dist/components/resizable";
|
|
30
|
-
import * as searchSelect from "ics-ui-kit/dist/components/search-select";
|
|
31
|
-
import * as select from "ics-ui-kit/dist/components/select";
|
|
32
|
-
import * as sheet from "ics-ui-kit/dist/components/sheet";
|
|
33
|
-
import * as sidebar from "ics-ui-kit/dist/components/sidebar";
|
|
34
|
-
import * as skeleton from "ics-ui-kit/dist/components/skeleton";
|
|
35
|
-
import * as switchComponent from "ics-ui-kit/dist/components/switch";
|
|
36
|
-
import * as table from "ics-ui-kit/dist/components/table";
|
|
37
|
-
import * as tabs from "ics-ui-kit/dist/components/tabs";
|
|
38
|
-
import * as tag from "ics-ui-kit/dist/components/tag";
|
|
39
|
-
import * as textarea from "ics-ui-kit/dist/components/textarea";
|
|
40
|
-
import * as toast from "ics-ui-kit/dist/components/toast";
|
|
41
|
-
import * as toggle from "ics-ui-kit/dist/components/toggle";
|
|
42
|
-
import * as toggleGroup from "ics-ui-kit/dist/components/toggle-group";
|
|
43
|
-
import * as toolbar from "ics-ui-kit/dist/components/toolbar";
|
|
44
|
-
import * as tooltip from "ics-ui-kit/dist/components/tooltip";
|
|
45
|
-
import * as reactHookForm from "ics-ui-kit/dist/vendors/react-hook-form";
|
|
46
|
-
import * as reactTable from "ics-ui-kit/dist/vendors/tanstack/react-table";
|
|
47
|
-
import * as zod from "ics-ui-kit/dist/vendors/zod";
|
|
48
|
-
import { cn } from "ics-ui-kit/dist/lib/utils";
|
|
49
|
-
/**
|
|
50
|
-
* Фасад для ре-экспорта компонентов из UI Kit.
|
|
51
|
-
* В этом классе должны быть только ре-экспорты из UI Kit с сохранением структуры.
|
|
52
|
-
* Любые модификации или дополнительные логика должны быть реализованы отдельно.
|
|
53
|
-
*/
|
|
54
|
-
export declare class UiKitFacade {
|
|
55
|
-
components: {
|
|
56
|
-
readonly alert: typeof alert;
|
|
57
|
-
readonly "alert-dialog": typeof alertDialog;
|
|
58
|
-
readonly avatar: typeof avatar;
|
|
59
|
-
readonly badge: typeof badge;
|
|
60
|
-
readonly breadcrumb: typeof breadcrumb;
|
|
61
|
-
readonly button: typeof button;
|
|
62
|
-
readonly calendar: {
|
|
63
|
-
readonly Calendar: (props: import("react-day-picker").DayPickerProps) => import("react").JSX.Element;
|
|
64
|
-
};
|
|
65
|
-
readonly card: typeof card;
|
|
66
|
-
readonly checkbox: typeof checkbox;
|
|
67
|
-
readonly collapsible: typeof collapsible;
|
|
68
|
-
readonly command: typeof command;
|
|
69
|
-
readonly dialog: typeof dialog;
|
|
70
|
-
readonly divider: typeof divider;
|
|
71
|
-
readonly dropdown: typeof dropdown;
|
|
72
|
-
readonly "empty-state": typeof emptyState;
|
|
73
|
-
readonly "error-state": typeof errorState;
|
|
74
|
-
readonly field: typeof field;
|
|
75
|
-
readonly "file-upload": typeof fileUpload;
|
|
76
|
-
readonly form: typeof form;
|
|
77
|
-
readonly icon: typeof icon;
|
|
78
|
-
readonly input: typeof input;
|
|
79
|
-
readonly "input-otp": typeof inputOTP;
|
|
80
|
-
readonly label: typeof label;
|
|
81
|
-
readonly "menu-item": typeof menuItem;
|
|
82
|
-
readonly "overflow-tooltip": typeof overflowTooltip;
|
|
83
|
-
readonly overlay: typeof overlay;
|
|
84
|
-
readonly popover: typeof popover;
|
|
85
|
-
readonly progress: typeof progress;
|
|
86
|
-
readonly prose: typeof prose;
|
|
87
|
-
readonly resizable: typeof resizable;
|
|
88
|
-
readonly "search-select": typeof searchSelect;
|
|
89
|
-
readonly select: typeof select;
|
|
90
|
-
readonly sheet: typeof sheet;
|
|
91
|
-
readonly sidebar: typeof sidebar;
|
|
92
|
-
readonly skeleton: typeof skeleton;
|
|
93
|
-
readonly switch: typeof switchComponent;
|
|
94
|
-
readonly table: typeof table;
|
|
95
|
-
readonly tabs: typeof tabs;
|
|
96
|
-
readonly tag: typeof tag;
|
|
97
|
-
readonly textarea: typeof textarea;
|
|
98
|
-
readonly toast: typeof toast;
|
|
99
|
-
readonly toggle: typeof toggle;
|
|
100
|
-
readonly "toggle-group": typeof toggleGroup;
|
|
101
|
-
readonly tooltip: typeof tooltip;
|
|
102
|
-
readonly toolbar: typeof toolbar;
|
|
103
|
-
};
|
|
104
|
-
vendors: {
|
|
105
|
-
tanstack: {
|
|
106
|
-
"react-table": typeof reactTable;
|
|
107
|
-
};
|
|
108
|
-
zod: typeof zod;
|
|
109
|
-
"react-hook-form": typeof reactHookForm;
|
|
110
|
-
};
|
|
111
|
-
hooks: {
|
|
112
|
-
useIsSm: () => boolean;
|
|
113
|
-
useIsMd: () => boolean;
|
|
114
|
-
useIsLg: () => boolean;
|
|
115
|
-
useIsXl: () => boolean;
|
|
116
|
-
useIs2Xl: () => boolean;
|
|
117
|
-
useIsMobile: () => boolean;
|
|
118
|
-
useBreakpoint: (breakpoint: "lg" | "sm" | "md" | "xl" | "2xl") => boolean;
|
|
119
|
-
useActiveBreakpoint: () => "lg" | "sm" | "md" | "xl" | "2xl";
|
|
120
|
-
};
|
|
121
|
-
lib: {
|
|
122
|
-
cn: typeof cn;
|
|
123
|
-
};
|
|
124
|
-
}
|
|
1
|
+
import * as alert from "ics-ui-kit/dist/components/alert";
|
|
2
|
+
import * as alertDialog from "ics-ui-kit/dist/components/alert-dialog";
|
|
3
|
+
import * as avatar from "ics-ui-kit/dist/components/avatar";
|
|
4
|
+
import * as badge from "ics-ui-kit/dist/components/badge";
|
|
5
|
+
import * as breadcrumb from "ics-ui-kit/dist/components/breadcrumb";
|
|
6
|
+
import * as button from "ics-ui-kit/dist/components/button";
|
|
7
|
+
import * as card from "ics-ui-kit/dist/components/card";
|
|
8
|
+
import * as checkbox from "ics-ui-kit/dist/components/checkbox";
|
|
9
|
+
import * as collapsible from "ics-ui-kit/dist/components/collapsible";
|
|
10
|
+
import * as command from "ics-ui-kit/dist/components/command";
|
|
11
|
+
import * as dialog from "ics-ui-kit/dist/components/dialog";
|
|
12
|
+
import * as divider from "ics-ui-kit/dist/components/divider";
|
|
13
|
+
import * as dropdown from "ics-ui-kit/dist/components/dropdown";
|
|
14
|
+
import * as emptyState from "ics-ui-kit/dist/components/empty-state";
|
|
15
|
+
import * as errorState from "ics-ui-kit/dist/components/error-state";
|
|
16
|
+
import * as field from "ics-ui-kit/dist/components/field";
|
|
17
|
+
import * as fileUpload from "ics-ui-kit/dist/components/file-upload";
|
|
18
|
+
import * as form from "ics-ui-kit/dist/components/form";
|
|
19
|
+
import * as icon from "ics-ui-kit/dist/components/icon";
|
|
20
|
+
import * as input from "ics-ui-kit/dist/components/input";
|
|
21
|
+
import * as inputOTP from "ics-ui-kit/dist/components/input-otp";
|
|
22
|
+
import * as label from "ics-ui-kit/dist/components/label";
|
|
23
|
+
import * as menuItem from "ics-ui-kit/dist/components/menu-item";
|
|
24
|
+
import * as overflowTooltip from "ics-ui-kit/dist/components/overflow-tooltip";
|
|
25
|
+
import * as overlay from "ics-ui-kit/dist/components/overlay";
|
|
26
|
+
import * as popover from "ics-ui-kit/dist/components/popover";
|
|
27
|
+
import * as progress from "ics-ui-kit/dist/components/progress";
|
|
28
|
+
import * as prose from "ics-ui-kit/dist/components/prose";
|
|
29
|
+
import * as resizable from "ics-ui-kit/dist/components/resizable";
|
|
30
|
+
import * as searchSelect from "ics-ui-kit/dist/components/search-select";
|
|
31
|
+
import * as select from "ics-ui-kit/dist/components/select";
|
|
32
|
+
import * as sheet from "ics-ui-kit/dist/components/sheet";
|
|
33
|
+
import * as sidebar from "ics-ui-kit/dist/components/sidebar";
|
|
34
|
+
import * as skeleton from "ics-ui-kit/dist/components/skeleton";
|
|
35
|
+
import * as switchComponent from "ics-ui-kit/dist/components/switch";
|
|
36
|
+
import * as table from "ics-ui-kit/dist/components/table";
|
|
37
|
+
import * as tabs from "ics-ui-kit/dist/components/tabs";
|
|
38
|
+
import * as tag from "ics-ui-kit/dist/components/tag";
|
|
39
|
+
import * as textarea from "ics-ui-kit/dist/components/textarea";
|
|
40
|
+
import * as toast from "ics-ui-kit/dist/components/toast";
|
|
41
|
+
import * as toggle from "ics-ui-kit/dist/components/toggle";
|
|
42
|
+
import * as toggleGroup from "ics-ui-kit/dist/components/toggle-group";
|
|
43
|
+
import * as toolbar from "ics-ui-kit/dist/components/toolbar";
|
|
44
|
+
import * as tooltip from "ics-ui-kit/dist/components/tooltip";
|
|
45
|
+
import * as reactHookForm from "ics-ui-kit/dist/vendors/react-hook-form";
|
|
46
|
+
import * as reactTable from "ics-ui-kit/dist/vendors/tanstack/react-table";
|
|
47
|
+
import * as zod from "ics-ui-kit/dist/vendors/zod";
|
|
48
|
+
import { cn } from "ics-ui-kit/dist/lib/utils";
|
|
49
|
+
/**
|
|
50
|
+
* Фасад для ре-экспорта компонентов из UI Kit.
|
|
51
|
+
* В этом классе должны быть только ре-экспорты из UI Kit с сохранением структуры.
|
|
52
|
+
* Любые модификации или дополнительные логика должны быть реализованы отдельно.
|
|
53
|
+
*/
|
|
54
|
+
export declare class UiKitFacade {
|
|
55
|
+
components: {
|
|
56
|
+
readonly alert: typeof alert;
|
|
57
|
+
readonly "alert-dialog": typeof alertDialog;
|
|
58
|
+
readonly avatar: typeof avatar;
|
|
59
|
+
readonly badge: typeof badge;
|
|
60
|
+
readonly breadcrumb: typeof breadcrumb;
|
|
61
|
+
readonly button: typeof button;
|
|
62
|
+
readonly calendar: {
|
|
63
|
+
readonly Calendar: (props: import("react-day-picker").DayPickerProps) => import("react").JSX.Element;
|
|
64
|
+
};
|
|
65
|
+
readonly card: typeof card;
|
|
66
|
+
readonly checkbox: typeof checkbox;
|
|
67
|
+
readonly collapsible: typeof collapsible;
|
|
68
|
+
readonly command: typeof command;
|
|
69
|
+
readonly dialog: typeof dialog;
|
|
70
|
+
readonly divider: typeof divider;
|
|
71
|
+
readonly dropdown: typeof dropdown;
|
|
72
|
+
readonly "empty-state": typeof emptyState;
|
|
73
|
+
readonly "error-state": typeof errorState;
|
|
74
|
+
readonly field: typeof field;
|
|
75
|
+
readonly "file-upload": typeof fileUpload;
|
|
76
|
+
readonly form: typeof form;
|
|
77
|
+
readonly icon: typeof icon;
|
|
78
|
+
readonly input: typeof input;
|
|
79
|
+
readonly "input-otp": typeof inputOTP;
|
|
80
|
+
readonly label: typeof label;
|
|
81
|
+
readonly "menu-item": typeof menuItem;
|
|
82
|
+
readonly "overflow-tooltip": typeof overflowTooltip;
|
|
83
|
+
readonly overlay: typeof overlay;
|
|
84
|
+
readonly popover: typeof popover;
|
|
85
|
+
readonly progress: typeof progress;
|
|
86
|
+
readonly prose: typeof prose;
|
|
87
|
+
readonly resizable: typeof resizable;
|
|
88
|
+
readonly "search-select": typeof searchSelect;
|
|
89
|
+
readonly select: typeof select;
|
|
90
|
+
readonly sheet: typeof sheet;
|
|
91
|
+
readonly sidebar: typeof sidebar;
|
|
92
|
+
readonly skeleton: typeof skeleton;
|
|
93
|
+
readonly switch: typeof switchComponent;
|
|
94
|
+
readonly table: typeof table;
|
|
95
|
+
readonly tabs: typeof tabs;
|
|
96
|
+
readonly tag: typeof tag;
|
|
97
|
+
readonly textarea: typeof textarea;
|
|
98
|
+
readonly toast: typeof toast;
|
|
99
|
+
readonly toggle: typeof toggle;
|
|
100
|
+
readonly "toggle-group": typeof toggleGroup;
|
|
101
|
+
readonly tooltip: typeof tooltip;
|
|
102
|
+
readonly toolbar: typeof toolbar;
|
|
103
|
+
};
|
|
104
|
+
vendors: {
|
|
105
|
+
tanstack: {
|
|
106
|
+
"react-table": typeof reactTable;
|
|
107
|
+
};
|
|
108
|
+
zod: typeof zod;
|
|
109
|
+
"react-hook-form": typeof reactHookForm;
|
|
110
|
+
};
|
|
111
|
+
hooks: {
|
|
112
|
+
useIsSm: () => boolean;
|
|
113
|
+
useIsMd: () => boolean;
|
|
114
|
+
useIsLg: () => boolean;
|
|
115
|
+
useIsXl: () => boolean;
|
|
116
|
+
useIs2Xl: () => boolean;
|
|
117
|
+
useIsMobile: () => boolean;
|
|
118
|
+
useBreakpoint: (breakpoint: "lg" | "sm" | "md" | "xl" | "2xl") => boolean;
|
|
119
|
+
useActiveBreakpoint: () => "lg" | "sm" | "md" | "xl" | "2xl";
|
|
120
|
+
};
|
|
121
|
+
lib: {
|
|
122
|
+
cn: typeof cn;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { CalendarProps as CalendarComponentProps } from "ics-ui-kit/dist/components/calendar";
|
|
3
|
-
export declare const Calendar: (props: CalendarComponentProps) => React.JSX.Element;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { CalendarProps as CalendarComponentProps } from "ics-ui-kit/dist/components/calendar";
|
|
3
|
+
export declare const Calendar: (props: CalendarComponentProps) => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type Control = {};
|
|
2
|
-
export declare enum ControlSize {
|
|
3
|
-
ExtraSmall = 1,
|
|
4
|
-
Small = 2,
|
|
5
|
-
Normal = 3,
|
|
6
|
-
Large = 4
|
|
7
|
-
}
|
|
1
|
+
export type Control = {};
|
|
2
|
+
export declare enum ControlSize {
|
|
3
|
+
ExtraSmall = 1,
|
|
4
|
+
Small = 2,
|
|
5
|
+
Normal = 3,
|
|
6
|
+
Large = 4
|
|
7
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export interface PanelOptions extends IPanelOptions {
|
|
2
|
-
pinned?: boolean;
|
|
3
|
-
focused?: boolean;
|
|
4
|
-
minimized?: boolean;
|
|
5
|
-
closable?: boolean;
|
|
6
|
-
minimizable?: boolean;
|
|
7
|
-
actionsEnabled?: boolean;
|
|
8
|
-
control?: any;
|
|
9
|
-
useAnimations?: boolean;
|
|
10
|
-
unminimizeAction?: any;
|
|
11
|
-
}
|
|
12
|
-
export interface IPanelOptions {
|
|
13
|
-
/** Отображать боковую панель в расширенном на весь экран виде */
|
|
14
|
-
maximized?: boolean;
|
|
15
|
-
}
|
|
1
|
+
export interface PanelOptions extends IPanelOptions {
|
|
2
|
+
pinned?: boolean;
|
|
3
|
+
focused?: boolean;
|
|
4
|
+
minimized?: boolean;
|
|
5
|
+
closable?: boolean;
|
|
6
|
+
minimizable?: boolean;
|
|
7
|
+
actionsEnabled?: boolean;
|
|
8
|
+
control?: any;
|
|
9
|
+
useAnimations?: boolean;
|
|
10
|
+
unminimizeAction?: any;
|
|
11
|
+
}
|
|
12
|
+
export interface IPanelOptions {
|
|
13
|
+
/** Отображать боковую панель в расширенном на весь экран виде */
|
|
14
|
+
maximized?: boolean;
|
|
15
|
+
}
|