@g1cloud/bluesea 5.0.0-beta.9 → 6.0.0-alpha.0
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 +11 -0
- package/bin/install-claude-skill.mjs +74 -0
- package/css/bluesea.css +12 -30478
- package/dist/index.d.ts +10 -130
- package/dist/index.js +13 -0
- package/package.json +41 -59
- package/skills/bluesea-ui/SKILL.md +345 -0
- package/skills/bluesea-ui/references/components.md +196 -0
- package/skills/bluesea-ui/references/grid.md +159 -0
- package/skills/bluesea-ui/references/i18n.md +149 -0
- package/skills/bluesea-ui/references/validation.md +178 -0
- package/css/frame-default.css +0 -703
- package/dist/BSAlertModal-DypUvVcH.js +0 -52
- package/dist/BSGridColumnSettingModal-DhGr9UtK.js +0 -149
- package/dist/BSRichTextMaximizedModal-DmPabr58.js +0 -62
- package/dist/BSYesNoModal-CBrzf4F5.js +0 -57
- package/dist/BSYoutubeInputModal-BxabTSWx.js +0 -76
- package/dist/ImageInsertModal-K1Tx7ys2.js +0 -106
- package/dist/ImageProperties.vue_vue_type_script_setup_true_lang-D8KH2XwP.js +0 -180
- package/dist/ImagePropertiesModal-Duu4PBjb.js +0 -98
- package/dist/LinkPropertiesModal-Bx3WJhkN.js +0 -119
- package/dist/TableInsertModal-DBrcQa3b.js +0 -74
- package/dist/TablePropertiesModal-ClsK1yM4.js +0 -353
- package/dist/VideoInsertModal-C-b0-PU0.js +0 -106
- package/dist/VideoProperties.vue_vue_type_script_setup_true_lang-zYZJtiR2.js +0 -194
- package/dist/VideoPropertiesModal-zlEThjim.js +0 -98
- package/dist/YoutubeInsertModal-Gpob0la3.js +0 -84
- package/dist/YoutubeProperties.vue_vue_type_script_setup_true_lang-CDvDzheM.js +0 -181
- package/dist/YoutubePropertiesModal-C3I5eF0-.js +0 -102
- package/dist/bluesea.css +0 -11278
- package/dist/bluesea.js +0 -223
- package/dist/bluesea.umd.cjs +0 -72228
- package/dist/component/basic/BSButton.vue.d.ts +0 -50
- package/dist/component/basic/BSCalendar.vue.d.ts +0 -68
- package/dist/component/basic/BSCalendarRange.vue.d.ts +0 -57
- package/dist/component/basic/BSConsole.vue.d.ts +0 -36
- package/dist/component/basic/BSDate.vue.d.ts +0 -19
- package/dist/component/basic/BSFormLabel.vue.d.ts +0 -19
- package/dist/component/basic/BSImage.vue.d.ts +0 -44
- package/dist/component/basic/BSLink.vue.d.ts +0 -21
- package/dist/component/basic/BSLoadingIcon.vue.d.ts +0 -2
- package/dist/component/basic/BSPageNavigation.vue.d.ts +0 -52
- package/dist/component/basic/BSPopup.vue.d.ts +0 -70
- package/dist/component/basic/BSPopupButton.vue.d.ts +0 -41
- package/dist/component/basic/BSProgressBar.vue.d.ts +0 -33
- package/dist/component/basic/BSTooltip.vue.d.ts +0 -35
- package/dist/component/global/AddressSearchButton.vue.d.ts +0 -36
- package/dist/component/global/AddressSearchList.gen.d.ts +0 -4
- package/dist/component/global/BSAddressInput.vue.d.ts +0 -72
- package/dist/component/global/BSLocaleSelect.vue.d.ts +0 -35
- package/dist/component/global/BSNameInput.vue.d.ts +0 -80
- package/dist/component/global/BSTelInput.vue.d.ts +0 -88
- package/dist/component/grid/BSDateRangeFilter.vue.d.ts +0 -63
- package/dist/component/grid/BSDateRangeFilters.vue.d.ts +0 -56
- package/dist/component/grid/BSGrid.vue.d.ts +0 -177
- package/dist/component/grid/BSGridCell.vue.d.ts +0 -85
- package/dist/component/grid/BSGridCellCheckbox.vue.d.ts +0 -21
- package/dist/component/grid/BSGridCellDragHandle.vue.d.ts +0 -15
- package/dist/component/grid/BSGridCellEdit.vue.d.ts +0 -21
- package/dist/component/grid/BSGridCellSerialNo.vue.d.ts +0 -15
- package/dist/component/grid/BSGridColumnSettingModal.vue.d.ts +0 -25
- package/dist/component/grid/BSGridControl.vue.d.ts +0 -78
- package/dist/component/grid/BSGridHeaderCell.vue.d.ts +0 -45
- package/dist/component/grid/BSGridHeaderCellCheckbox.vue.d.ts +0 -19
- package/dist/component/grid/BSGridHeaderCellResizeHandle.vue.d.ts +0 -21
- package/dist/component/grid/BSGridHeaderCellSerialNo.vue.d.ts +0 -2
- package/dist/component/grid/BSGridLookup.vue.d.ts +0 -67
- package/dist/component/grid/BSGridRow.vue.d.ts +0 -140
- package/dist/component/grid/BSTextFilter.vue.d.ts +0 -42
- package/dist/component/grid/DateFilterModel.d.ts +0 -19
- package/dist/component/grid/GridExtension.d.ts +0 -17
- package/dist/component/grid/GridLib.d.ts +0 -21
- package/dist/component/grid/GridModel.d.ts +0 -399
- package/dist/component/grid/extension/gridExcelDownloadExtension.d.ts +0 -22
- package/dist/component/grid/vDndSupport.d.ts +0 -18
- package/dist/component/input/BSCheckbox.vue.d.ts +0 -63
- package/dist/component/input/BSCheckboxGroup.vue.d.ts +0 -79
- package/dist/component/input/BSCodeEditor.vue.d.ts +0 -73
- package/dist/component/input/BSColorInput.vue.d.ts +0 -68
- package/dist/component/input/BSDateInput.vue.d.ts +0 -90
- package/dist/component/input/BSDateInputPopup.vue.d.ts +0 -41
- package/dist/component/input/BSDateRange.vue.d.ts +0 -113
- package/dist/component/input/BSDateRangeInputPopup.vue.d.ts +0 -45
- package/dist/component/input/BSDateRangePresets.vue.d.ts +0 -40
- package/dist/component/input/BSHtmlEditor.vue.d.ts +0 -64
- package/dist/component/input/BSImageUpload.vue.d.ts +0 -118
- package/dist/component/input/BSMediaPreview.vue.d.ts +0 -55
- package/dist/component/input/BSMultiImageUpload.vue.d.ts +0 -108
- package/dist/component/input/BSMultiSelect.vue.d.ts +0 -91
- package/dist/component/input/BSNumberInput.vue.d.ts +0 -91
- package/dist/component/input/BSPopupSelect.vue.d.ts +0 -54
- package/dist/component/input/BSPositionedImageUpload.vue.d.ts +0 -97
- package/dist/component/input/BSPriceInput.vue.d.ts +0 -91
- package/dist/component/input/BSRadioButton.vue.d.ts +0 -72
- package/dist/component/input/BSRadioButtonGroup.vue.d.ts +0 -86
- package/dist/component/input/BSSelect.vue.d.ts +0 -95
- package/dist/component/input/BSSelectPopup.vue.d.ts +0 -87
- package/dist/component/input/BSTextArea.vue.d.ts +0 -88
- package/dist/component/input/BSTextInput.vue.d.ts +0 -100
- package/dist/component/input/BSTreeMultiSelect.vue.d.ts +0 -89
- package/dist/component/input/BSTreeSelect.vue.d.ts +0 -90
- package/dist/component/input/BSYesNoGroup.vue.d.ts +0 -55
- package/dist/component/input/BSYesNoSelect.vue.d.ts +0 -51
- package/dist/component/input/BSYoutubeInputModal.vue.d.ts +0 -6
- package/dist/component/input/DateInputLib.d.ts +0 -27
- package/dist/component/input/DateRangePresetModel.d.ts +0 -16
- package/dist/component/input/HtmlEditorModel.d.ts +0 -5
- package/dist/component/input/ImageUploadLib.d.ts +0 -22
- package/dist/component/input/ImageUploadModel.d.ts +0 -12
- package/dist/component/input/ValidationErrors.vue.d.ts +0 -19
- package/dist/component/input/vDragAndDropSupport.d.ts +0 -10
- package/dist/component/layout/BSCardLayout.vue.d.ts +0 -41
- package/dist/component/layout/BSHorizontalLayoutResizer.vue.d.ts +0 -6
- package/dist/component/layout/BSListControl.vue.d.ts +0 -52
- package/dist/component/layout/BSListLayout.vue.d.ts +0 -85
- package/dist/component/layout/BSListLayoutItem.vue.d.ts +0 -82
- package/dist/component/layout/BSTabSheet.vue.d.ts +0 -63
- package/dist/component/layout/BSVerticalLayoutResizer.vue.d.ts +0 -6
- package/dist/component/layout/SlideDownTransition.vue.d.ts +0 -9
- package/dist/component/layout/TabSheetModel.d.ts +0 -49
- package/dist/component/multilang/BSMultiLangExpandButton.vue.d.ts +0 -2
- package/dist/component/multilang/BSMultiLangHtmlEditor.vue.d.ts +0 -84
- package/dist/component/multilang/BSMultiLangImageUpload.vue.d.ts +0 -81
- package/dist/component/multilang/BSMultiLangRichText.vue.d.ts +0 -93
- package/dist/component/multilang/BSMultiLangTextArea.vue.d.ts +0 -96
- package/dist/component/multilang/BSMultiLangTextInput.vue.d.ts +0 -96
- package/dist/component/multilang/multiLangLib.d.ts +0 -6
- package/dist/component/richtext/BSRichText.vue.d.ts +0 -90
- package/dist/component/richtext/BSRichTextMaximizedModal.vue.d.ts +0 -74
- package/dist/component/richtext/RichTextLib.d.ts +0 -15
- package/dist/component/richtext/RichTextModel.d.ts +0 -9
- package/dist/component/richtext/RichTextToolbar.vue.d.ts +0 -36
- package/dist/component/richtext/image/ImageInsertModal.vue.d.ts +0 -22
- package/dist/component/richtext/image/ImageProperties.vue.d.ts +0 -19
- package/dist/component/richtext/image/ImagePropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/image/RichTextImage.d.ts +0 -7
- package/dist/component/richtext/image/RichTextImageLib.d.ts +0 -13
- package/dist/component/richtext/image/ToolButtonImage.vue.d.ts +0 -19
- package/dist/component/richtext/link/LinkPropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/link/ToolButtonLink.vue.d.ts +0 -19
- package/dist/component/richtext/richTextUtil.d.ts +0 -18
- package/dist/component/richtext/table/RichTextTable.d.ts +0 -8
- package/dist/component/richtext/table/RichTextTableCell.d.ts +0 -1
- package/dist/component/richtext/table/RichTextTableLib.d.ts +0 -23
- package/dist/component/richtext/table/RichTextTableView.d.ts +0 -19
- package/dist/component/richtext/table/TableInsertModal.vue.d.ts +0 -17
- package/dist/component/richtext/table/TablePropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/table/ToolButtonTable.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonFontColor.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonFontSize.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonFontStyle.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonHeading.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonListItem.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonMaximize.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonTextAlign.vue.d.ts +0 -19
- package/dist/component/richtext/video/RichTextVideo.d.ts +0 -29
- package/dist/component/richtext/video/RichTextVideoLib.d.ts +0 -16
- package/dist/component/richtext/video/ToolButtonVideo.vue.d.ts +0 -19
- package/dist/component/richtext/video/VideoInsertModal.vue.d.ts +0 -22
- package/dist/component/richtext/video/VideoProperties.vue.d.ts +0 -19
- package/dist/component/richtext/video/VideoPropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/youtube/RichTextYoutube.d.ts +0 -8
- package/dist/component/richtext/youtube/RichTextYoutubeLib.d.ts +0 -14
- package/dist/component/richtext/youtube/ToolButtonYoutube.vue.d.ts +0 -19
- package/dist/component/richtext/youtube/YoutubeInsertModal.vue.d.ts +0 -17
- package/dist/component/richtext/youtube/YoutubeProperties.vue.d.ts +0 -19
- package/dist/component/richtext/youtube/YoutubePropertiesModal.vue.d.ts +0 -17
- package/dist/component/tree/BSTree.vue.d.ts +0 -107
- package/dist/component/tree/BSTreeControl.vue.d.ts +0 -90
- package/dist/component/tree/BSTreeRow.vue.d.ts +0 -92
- package/dist/component/tree/TreeLib.d.ts +0 -11
- package/dist/component/tree/TreeModel.d.ts +0 -188
- package/dist/component/tree/vTreeDndSupport.d.ts +0 -10
- package/dist/config/config.d.ts +0 -155
- package/dist/contextmenu/BSContextMenu.vue.d.ts +0 -43
- package/dist/contextmenu/BSContextMenuContainer.vue.d.ts +0 -2
- package/dist/contextmenu/contextMenuPlugin.d.ts +0 -43
- package/dist/directive/vClickOutside.d.ts +0 -21
- package/dist/directive/vFocusJump.d.ts +0 -19
- package/dist/directive/vFocusLoop.d.ts +0 -25
- package/dist/directive/vFocusOnLoad.d.ts +0 -4
- package/dist/directive/vT.d.ts +0 -11
- package/dist/directive/vTooltip.d.ts +0 -9
- package/dist/frame/FrameModel.d.ts +0 -82
- package/dist/frame/ShortcutKeyHandler.d.ts +0 -37
- package/dist/frame/default/DefaultBody.vue.d.ts +0 -2
- package/dist/frame/default/DefaultFrameModel.d.ts +0 -107
- package/dist/frame/default/DefaultHeader.vue.d.ts +0 -23
- package/dist/frame/default/HeaderTab.vue.d.ts +0 -17
- package/dist/frame/default/HeaderTabListButton.vue.d.ts +0 -2
- package/dist/frame/default/HeaderTabs.vue.d.ts +0 -15
- package/dist/frame/default/SidebarMenu.vue.d.ts +0 -2
- package/dist/frame/default/SidebarMenuItem.vue.d.ts +0 -25
- package/dist/frame/default/SidebarMenuLink.vue.d.ts +0 -29
- package/dist/frame/default/SidebarMenuSearch.vue.d.ts +0 -28
- package/dist/index-DxMqs72-.js +0 -70181
- package/dist/modal/BSAlertModal.vue.d.ts +0 -23
- package/dist/modal/BSModalContainer.vue.d.ts +0 -2
- package/dist/modal/BSModalFrame.vue.d.ts +0 -37
- package/dist/modal/BSModalWrapper.vue.d.ts +0 -17
- package/dist/modal/BSYesNoModal.vue.d.ts +0 -25
- package/dist/modal/modalPlugin.d.ts +0 -73
- package/dist/model/CommonTypes.d.ts +0 -96
- package/dist/model/DefaultImpl.d.ts +0 -8
- package/dist/model/FieldContext.d.ts +0 -15
- package/dist/model/FilterModel.d.ts +0 -114
- package/dist/model/MoneySerializer.d.ts +0 -3
- package/dist/model/PaginatedList.d.ts +0 -29
- package/dist/model/SearchModel.d.ts +0 -22
- package/dist/notification/BSAlarmFrame.vue.d.ts +0 -26
- package/dist/notification/BSNotificationContainer.vue.d.ts +0 -2
- package/dist/notification/notificationPlugin.d.ts +0 -33
- package/dist/savepoint/SavePoint.d.ts +0 -47
- package/dist/text/i18n.d.ts +0 -28
- package/dist/util/alertUtil.d.ts +0 -1
- package/dist/util/componentUtil.d.ts +0 -40
- package/dist/util/debounceUtil.d.ts +0 -16
- package/dist/util/elementUtil.d.ts +0 -58
- package/dist/util/formatUtil.d.ts +0 -70
- package/dist/util/langUtil.d.ts +0 -3
- package/dist/util/multiLangUtil.d.ts +0 -27
- package/dist/util/routeUtil.d.ts +0 -3
- package/dist/util/typeUtil.d.ts +0 -18
- package/dist/util/waitUtil.d.ts +0 -19
- package/dist/validator/FieldValidator.d.ts +0 -45
- package/dist/validator/FormValidator.d.ts +0 -35
- package/scss/bluesea-base.scss +0 -6
- package/scss/bluesea.scss +0 -2
- package/scss/component.scss +0 -515
- package/scss/font.scss +0 -3
- package/scss/frame/default.scss +0 -293
- package/scss/layout.scss +0 -192
- package/scss/reset.scss +0 -68
- package/scss/rich-text-container.scss +0 -113
- package/scss/rich-text-content.scss +0 -137
- package/scss/transition.scss +0 -108
- package/scss/utility.scss +0 -816
- package/scss/variable.scss +0 -347
- package/text/bluesea_text_en.json +0 -956
- package/text/bluesea_text_fr.json +0 -956
- package/text/bluesea_text_ja.json +0 -956
- package/text/bluesea_text_ko.json +0 -956
- package/text/bluesea_text_zh.json +0 -956
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MultiLangText } from '../model/CommonTypes';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
title?: MultiLangText | undefined;
|
|
5
|
-
message?: MultiLangText | undefined;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
click: () => void;
|
|
8
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
title?: MultiLangText | undefined;
|
|
10
|
-
message?: MultiLangText | undefined;
|
|
11
|
-
}>>> & Readonly<{
|
|
12
|
-
onClick?: (() => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
-
} : {
|
|
20
|
-
type: import('vue').PropType<T[K]>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { MultiLangText } from '../model/CommonTypes';
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
title?: MultiLangText | undefined;
|
|
5
|
-
hideMaximizeButton?: boolean | undefined;
|
|
6
|
-
hideCloseButton?: boolean | undefined;
|
|
7
|
-
autoFocus?: boolean | undefined;
|
|
8
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
closeModal: () => void;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
title?: MultiLangText | undefined;
|
|
12
|
-
hideMaximizeButton?: boolean | undefined;
|
|
13
|
-
hideCloseButton?: boolean | undefined;
|
|
14
|
-
autoFocus?: boolean | undefined;
|
|
15
|
-
}>>> & Readonly<{
|
|
16
|
-
onCloseModal?: (() => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
18
|
-
title?(_: {}): any;
|
|
19
|
-
"title-buttons"?(_: {}): any;
|
|
20
|
-
default?(_: {}): any;
|
|
21
|
-
buttons?(_: {}): any;
|
|
22
|
-
}>;
|
|
23
|
-
export default _default;
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: import('vue').PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
-
new (): {
|
|
35
|
-
$slots: S;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { RegisteredModalItem } from './modalPlugin';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
modalItem: RegisteredModalItem;
|
|
5
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
modalItem: RegisteredModalItem;
|
|
7
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { MultiLangText } from '../model/CommonTypes';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
title?: MultiLangText | undefined;
|
|
5
|
-
message?: MultiLangText | undefined;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
clickNo: () => void;
|
|
8
|
-
clickYes: () => void;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
title?: MultiLangText | undefined;
|
|
11
|
-
message?: MultiLangText | undefined;
|
|
12
|
-
}>>> & Readonly<{
|
|
13
|
-
onClickNo?: (() => any) | undefined;
|
|
14
|
-
onClickYes?: (() => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { App, Component } from 'vue';
|
|
2
|
-
import { MultiLangText } from '../model/CommonTypes';
|
|
3
|
-
|
|
4
|
-
export declare const modalPluginKey = "BlueseaModalPlugin";
|
|
5
|
-
export declare const modalHandleKey = "BlueseaModalHandle";
|
|
6
|
-
export type ModalStyle = {
|
|
7
|
-
width?: string;
|
|
8
|
-
height?: string;
|
|
9
|
-
minWidth?: string;
|
|
10
|
-
maxWidth?: string;
|
|
11
|
-
minHeight?: string;
|
|
12
|
-
maxHeight?: string;
|
|
13
|
-
resizable?: boolean;
|
|
14
|
-
styleClass?: string;
|
|
15
|
-
escToClose?: boolean;
|
|
16
|
-
};
|
|
17
|
-
export type ModalStyleChangeListener = (modalStyle: ModalStyle) => void;
|
|
18
|
-
export type ModalPosition = {
|
|
19
|
-
vertical?: 'top' | 'middle' | 'bottom';
|
|
20
|
-
horizontal?: 'left' | 'center' | 'right';
|
|
21
|
-
offsetX?: number;
|
|
22
|
-
offsetY?: number;
|
|
23
|
-
};
|
|
24
|
-
export type ModalPositionChangeListener = (modalPosition: ModalPosition) => void;
|
|
25
|
-
export type ModalItem = {
|
|
26
|
-
component: Component;
|
|
27
|
-
pageId?: string;
|
|
28
|
-
style?: ModalStyle;
|
|
29
|
-
position?: ModalPosition;
|
|
30
|
-
bind?: {
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
};
|
|
33
|
-
on?: {
|
|
34
|
-
[key: string]: Function | Function[];
|
|
35
|
-
};
|
|
36
|
-
slots?: {
|
|
37
|
-
[key: string]: string | {
|
|
38
|
-
component: string | Component;
|
|
39
|
-
bind?: {
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
};
|
|
42
|
-
on?: {
|
|
43
|
-
[key: string]: Function | Function[];
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export interface ModalHandle {
|
|
49
|
-
maximized: boolean;
|
|
50
|
-
close(): void;
|
|
51
|
-
setDefaultStyle(modalStyle: ModalStyle): void;
|
|
52
|
-
setDefaultPosition(modalPosition: ModalPosition): void;
|
|
53
|
-
setDefaultStyleListener(listener?: ModalStyleChangeListener): void;
|
|
54
|
-
setDefaultPositionListener(listener?: ModalPositionChangeListener): void;
|
|
55
|
-
}
|
|
56
|
-
export type RegisteredModalItem = ModalItem & {
|
|
57
|
-
modalId: string;
|
|
58
|
-
modalHandle: ModalHandle;
|
|
59
|
-
escToClose?: boolean;
|
|
60
|
-
};
|
|
61
|
-
export declare class BSModal {
|
|
62
|
-
modalItems: RegisteredModalItem[];
|
|
63
|
-
openModal(modalItem: ModalItem): RegisteredModalItem;
|
|
64
|
-
closeModal(modalItem: RegisteredModalItem | string): void;
|
|
65
|
-
closeAllModals(): void;
|
|
66
|
-
openAlert(title?: MultiLangText, message?: MultiLangText, clickHandler?: () => void | Promise<void>): RegisteredModalItem;
|
|
67
|
-
openYesNo(title?: MultiLangText, message?: MultiLangText, yesHandler?: () => void | Promise<void>, noHandler?: () => void | Promise<void>): RegisteredModalItem;
|
|
68
|
-
install(app: App): void;
|
|
69
|
-
}
|
|
70
|
-
export declare const useModal: () => BSModal;
|
|
71
|
-
export declare const provideModalHandle: (modalHandle: ModalHandle) => void;
|
|
72
|
-
export declare const useModalHandle: () => ModalHandle;
|
|
73
|
-
export declare const createModalPlugin: () => BSModal;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
export type LabelProvider<T> = (item: T) => MultiLangText | undefined;
|
|
2
|
-
export type KeyProvider<T> = (item: T) => string | undefined;
|
|
3
|
-
export type EnabledItemProvider<T> = (item: T) => boolean;
|
|
4
|
-
export type IconProvider<T> = (item: T) => string | undefined;
|
|
5
|
-
export type TooltipProvider<T> = (item: T) => MultiLangText | undefined;
|
|
6
|
-
export type LocaleName = string;
|
|
7
|
-
export type TimeZone = string;
|
|
8
|
-
export type DateResolution = 'DAY' | 'HOUR' | 'MINUTE_10' | 'MINUTE' | 'SECOND';
|
|
9
|
-
export type DisplayDateResolution = 'DAY' | 'MINUTE' | 'SECOND';
|
|
10
|
-
/**
|
|
11
|
-
* {ko:'버튼', en:'Button'} 처럼, 언어코드별로 텍스트를 갖고있는 타입
|
|
12
|
-
*/
|
|
13
|
-
export type MultiLangString = Record<LocaleName, string>;
|
|
14
|
-
/**
|
|
15
|
-
* texts_ko.json, texts_en.json 등에서 관리되는, key 와 message 를 갖고 있는 타입
|
|
16
|
-
*/
|
|
17
|
-
export type MultiLangMessage = {
|
|
18
|
-
key: string;
|
|
19
|
-
args?: unknown[];
|
|
20
|
-
locale?: LocaleName;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* string, MultiLangString, MultiLangMessage 를 모두 포괄하는 타입.
|
|
24
|
-
* 각종 caption, label 등을 받을 때에는 MultiLangText 로 받으면 된다.
|
|
25
|
-
*/
|
|
26
|
-
export type MultiLangText = string | MultiLangString | MultiLangMessage;
|
|
27
|
-
/**
|
|
28
|
-
* MultiLangString 과 MultiLangMessage 은 모두 object 타입이므로, 이를 구분하는 것이 애매한데,
|
|
29
|
-
* `key` 속성이 있으면 MultiLangMessage 로 판단한다.
|
|
30
|
-
* @param text
|
|
31
|
-
*/
|
|
32
|
-
export declare const isMultiLangMessage: (text: MultiLangText) => boolean;
|
|
33
|
-
/**
|
|
34
|
-
* 언어별 ImageFile 을 가지는 타입
|
|
35
|
-
*/
|
|
36
|
-
export type MultiLangStoredFile = Record<LocaleName, StoredFile>;
|
|
37
|
-
/**
|
|
38
|
-
* BSTextInput 등의 prefix, suffix 타입
|
|
39
|
-
*/
|
|
40
|
-
export type PrefixSuffix = {
|
|
41
|
-
type: 'text' | 'font-icon' | 'image-url';
|
|
42
|
-
value: MultiLangText;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* 'KRW', 'USD', 'JPY' 등의 화폐 단위
|
|
46
|
-
*/
|
|
47
|
-
export type CurrencyCode = string;
|
|
48
|
-
export type Money = {
|
|
49
|
-
amount?: number;
|
|
50
|
-
currency: CurrencyCode;
|
|
51
|
-
};
|
|
52
|
-
export type Name = {
|
|
53
|
-
name1?: string;
|
|
54
|
-
name2?: string;
|
|
55
|
-
name3?: string;
|
|
56
|
-
name4?: string;
|
|
57
|
-
};
|
|
58
|
-
export declare const isNameEmpty: (name?: Name) => boolean;
|
|
59
|
-
export declare const serializeName: (name?: Name) => string;
|
|
60
|
-
export type Tel = {
|
|
61
|
-
countryNo?: string;
|
|
62
|
-
phoneNo?: string;
|
|
63
|
-
};
|
|
64
|
-
export declare const serializeTel: (tel?: Tel, showCountryNo?: boolean) => string;
|
|
65
|
-
export type Address = {
|
|
66
|
-
countryCode?: string;
|
|
67
|
-
zipCode?: string;
|
|
68
|
-
address1?: string;
|
|
69
|
-
address2?: string;
|
|
70
|
-
address3?: string;
|
|
71
|
-
address4?: string;
|
|
72
|
-
address5?: string;
|
|
73
|
-
};
|
|
74
|
-
export declare const serializeAddress: (address?: Address) => string;
|
|
75
|
-
export type StoredFile = {
|
|
76
|
-
fileUrl?: string;
|
|
77
|
-
mediaType?: 'Image' | 'Video' | 'Youtube' | 'Unknown';
|
|
78
|
-
thumbnailUrl?: string;
|
|
79
|
-
altText?: string;
|
|
80
|
-
width?: number;
|
|
81
|
-
height?: number;
|
|
82
|
-
imageNo?: number;
|
|
83
|
-
file?: File;
|
|
84
|
-
thumbnailFile?: File;
|
|
85
|
-
};
|
|
86
|
-
export type TelCountry = {
|
|
87
|
-
code: string;
|
|
88
|
-
name: MultiLangText;
|
|
89
|
-
dialNo?: string;
|
|
90
|
-
};
|
|
91
|
-
export type AddressCountry = {
|
|
92
|
-
code: string;
|
|
93
|
-
name: MultiLangText;
|
|
94
|
-
};
|
|
95
|
-
export declare class IllegalAccessError {
|
|
96
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { KeyProvider, LabelProvider, MultiLangText } from './CommonTypes';
|
|
2
|
-
|
|
3
|
-
export declare const defaultLabelProvider: <T>(item: T) => string;
|
|
4
|
-
export declare const emptyLabelProvider: <T>(_item: T) => undefined;
|
|
5
|
-
export declare const executeLabelProviderOrDefault: <T>(item: T, labelProvider: LabelProvider<T> | undefined, defaultLabel: (item: T) => string) => MultiLangText;
|
|
6
|
-
export declare const defaultKeyProvider: <T>(item: T) => string;
|
|
7
|
-
export declare const emptyKeyProvider: <T>(_item: T) => undefined;
|
|
8
|
-
export declare const executeKeyProviderOrDefault: <T>(item: T, keyProvider: KeyProvider<T> | undefined, defaultKey: (item: T) => string) => string;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { LocaleName } from './CommonTypes.ts';
|
|
2
|
-
|
|
3
|
-
export type IterationContext<T> = {
|
|
4
|
-
componentName: string;
|
|
5
|
-
record: T;
|
|
6
|
-
recordKey?: string;
|
|
7
|
-
recordIndex?: number;
|
|
8
|
-
data: T[];
|
|
9
|
-
};
|
|
10
|
-
export type FieldContext<T> = {
|
|
11
|
-
iteration?: IterationContext<T>;
|
|
12
|
-
locale?: LocaleName;
|
|
13
|
-
};
|
|
14
|
-
export declare const provideFieldContext: <T>(fieldContext: FieldContext<T>) => void;
|
|
15
|
-
export declare const useFieldContext: () => FieldContext<any> | undefined;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { default as dayjs, Dayjs } from 'dayjs';
|
|
2
|
-
|
|
3
|
-
export type FilterType = 'AND' | 'OR' | 'IN' | 'BT_V' | 'BT_D' | 'EQ' | 'NOT' | 'LIKE' | 'NU' | 'NN';
|
|
4
|
-
export interface Filter {
|
|
5
|
-
serialize(): unknown[] | undefined;
|
|
6
|
-
isEmpty(): boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface LeafFilter {
|
|
9
|
-
getFilterValueString(): string | string[];
|
|
10
|
-
}
|
|
11
|
-
export declare abstract class AbstractFilter implements Filter {
|
|
12
|
-
protected type: FilterType;
|
|
13
|
-
protected constructor(type: FilterType);
|
|
14
|
-
serialize(): unknown[] | undefined;
|
|
15
|
-
isEmpty(): boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare class AndFilter extends AbstractFilter {
|
|
18
|
-
readonly filters: Filter[];
|
|
19
|
-
constructor(filters: Filter[]);
|
|
20
|
-
toString(): string;
|
|
21
|
-
serialize(): unknown[] | undefined;
|
|
22
|
-
isEmpty(): boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare class OrFilter extends AbstractFilter {
|
|
25
|
-
readonly filters: Filter[];
|
|
26
|
-
constructor(filters: Filter[]);
|
|
27
|
-
toString(): string;
|
|
28
|
-
serialize(): unknown[] | undefined;
|
|
29
|
-
isEmpty(): boolean;
|
|
30
|
-
}
|
|
31
|
-
export declare class NotFilter extends AbstractFilter {
|
|
32
|
-
readonly filter: Filter;
|
|
33
|
-
constructor(filter: Filter);
|
|
34
|
-
toString(): string;
|
|
35
|
-
serialize(): unknown[] | undefined;
|
|
36
|
-
isEmpty(): boolean;
|
|
37
|
-
}
|
|
38
|
-
export declare class InFilter extends AbstractFilter implements LeafFilter {
|
|
39
|
-
readonly names: string[];
|
|
40
|
-
readonly values: (string | number)[];
|
|
41
|
-
readonly ignoreCase?: boolean | undefined;
|
|
42
|
-
constructor(names: string[], values: (string | number)[], ignoreCase?: boolean | undefined);
|
|
43
|
-
toString(): string;
|
|
44
|
-
serialize(): unknown[] | undefined;
|
|
45
|
-
getFilterValueString(): string | string[];
|
|
46
|
-
isEmpty(): boolean;
|
|
47
|
-
}
|
|
48
|
-
export declare class LikeFilter extends AbstractFilter implements LeafFilter {
|
|
49
|
-
readonly names: string[];
|
|
50
|
-
readonly value: string;
|
|
51
|
-
readonly prefix?: boolean | undefined;
|
|
52
|
-
readonly suffix?: boolean | undefined;
|
|
53
|
-
readonly ignoreCase: boolean;
|
|
54
|
-
constructor(names: string[], value: string, prefix?: boolean | undefined, suffix?: boolean | undefined, ignoreCase?: boolean);
|
|
55
|
-
toString(): string;
|
|
56
|
-
serialize(): unknown[] | undefined;
|
|
57
|
-
getFilterValueString(): string | string[];
|
|
58
|
-
isEmpty(): boolean;
|
|
59
|
-
}
|
|
60
|
-
export declare class EqualFilter extends AbstractFilter implements LeafFilter {
|
|
61
|
-
readonly names: string[];
|
|
62
|
-
readonly value: string | number | boolean;
|
|
63
|
-
readonly ignoreCase?: boolean | undefined;
|
|
64
|
-
constructor(names: string[], value: string | number | boolean, ignoreCase?: boolean | undefined);
|
|
65
|
-
toString(): string;
|
|
66
|
-
serialize(): unknown[] | undefined;
|
|
67
|
-
getFilterValueString(): string | string[];
|
|
68
|
-
isEmpty(): boolean;
|
|
69
|
-
}
|
|
70
|
-
export declare class BetweenFilter extends AbstractFilter {
|
|
71
|
-
readonly name: string;
|
|
72
|
-
readonly fromValue?: string | number | undefined;
|
|
73
|
-
readonly toValue?: string | number | undefined;
|
|
74
|
-
constructor(name: string, fromValue?: string | number | undefined, toValue?: string | number | undefined);
|
|
75
|
-
toString(): string;
|
|
76
|
-
serialize(): unknown[] | undefined;
|
|
77
|
-
isEmpty(): boolean;
|
|
78
|
-
}
|
|
79
|
-
export declare class BetweenDateFilter extends AbstractFilter {
|
|
80
|
-
readonly name: string;
|
|
81
|
-
readonly fromValue?: string | Date | dayjs.Dayjs | undefined;
|
|
82
|
-
readonly toValue?: string | Date | dayjs.Dayjs | undefined;
|
|
83
|
-
constructor(name: string, fromValue?: string | Date | dayjs.Dayjs | undefined, toValue?: string | Date | dayjs.Dayjs | undefined);
|
|
84
|
-
toString(): string;
|
|
85
|
-
serialize(): unknown[] | undefined;
|
|
86
|
-
isEmpty(): boolean;
|
|
87
|
-
}
|
|
88
|
-
export declare class IsNullFilter extends AbstractFilter implements LeafFilter {
|
|
89
|
-
readonly names: string[];
|
|
90
|
-
constructor(names: string[]);
|
|
91
|
-
toString(): string;
|
|
92
|
-
serialize(): unknown[] | undefined;
|
|
93
|
-
getFilterValueString(): string | string[];
|
|
94
|
-
isEmpty(): boolean;
|
|
95
|
-
}
|
|
96
|
-
export declare class IsNotNullFilter extends AbstractFilter implements LeafFilter {
|
|
97
|
-
readonly names: string[];
|
|
98
|
-
constructor(names: string[]);
|
|
99
|
-
toString(): string;
|
|
100
|
-
serialize(): unknown[] | undefined;
|
|
101
|
-
getFilterValueString(): string | string[];
|
|
102
|
-
isEmpty(): boolean;
|
|
103
|
-
}
|
|
104
|
-
export declare const andFilter: (filters: Filter[]) => AndFilter;
|
|
105
|
-
export declare const orFilter: (filters: Filter[]) => OrFilter;
|
|
106
|
-
export declare const notFilter: (filter: Filter) => NotFilter;
|
|
107
|
-
export declare const inFilter: (names: string[], values: (string | number)[], ignoreCase?: boolean) => InFilter;
|
|
108
|
-
export declare const likeFilter: (names: string[], value: string, prefix?: boolean, suffix?: boolean, ignoreCase?: boolean) => LikeFilter;
|
|
109
|
-
export declare const equalFilter: (names: string[], value: string | number | boolean, ignoreCase?: boolean) => EqualFilter;
|
|
110
|
-
export declare const betweenFilter: (name: string, fromValue?: string | number, toValue?: string | number) => BetweenFilter;
|
|
111
|
-
export declare const betweenDateFilter: (name: string, fromValue?: Date | Dayjs | string, toValue?: Date | Dayjs | string) => BetweenDateFilter;
|
|
112
|
-
export declare const isNullFilter: (names: string[]) => IsNullFilter;
|
|
113
|
-
export declare const isNotNullFilter: (names: string[]) => IsNotNullFilter;
|
|
114
|
-
export declare const acceptFilter: (filter: Filter, visit: (filter: Filter) => boolean | undefined) => void;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
interface HttpResponse<T = unknown> {
|
|
2
|
-
data: T;
|
|
3
|
-
headers: Record<string, unknown>;
|
|
4
|
-
}
|
|
5
|
-
export declare class PaginatedList<T> {
|
|
6
|
-
data: T[];
|
|
7
|
-
totalCount: number;
|
|
8
|
-
offset: number;
|
|
9
|
-
limit: number;
|
|
10
|
-
static of<T>(data?: T[], totalCount?: number | undefined, offset?: number, limit?: number | undefined): PaginatedList<T>;
|
|
11
|
-
/**
|
|
12
|
-
* `AxiosResponse` 등의 http response 로부터 `PaginatedList` 를 생성한다.
|
|
13
|
-
* @param response
|
|
14
|
-
* @param converter
|
|
15
|
-
*/
|
|
16
|
-
static fromAxiosResponse<T, D = T>(response: HttpResponse<T[]>, converter?: (data: T) => D): PaginatedList<D>;
|
|
17
|
-
/**
|
|
18
|
-
* Axios Header 와 response data 로부터 `PaginatedList` 를 생성한다.
|
|
19
|
-
* @param headers
|
|
20
|
-
* @param data
|
|
21
|
-
* @param converter
|
|
22
|
-
*/
|
|
23
|
-
static fromAxiosHeader<T, D = T>(headers: Record<string, unknown>, data: T[], converter?: (data: T) => D): PaginatedList<D>;
|
|
24
|
-
/**
|
|
25
|
-
* @return 로딩된 데이터가 비어있으면 true
|
|
26
|
-
*/
|
|
27
|
-
isEmpty(): boolean;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Filter } from './FilterModel';
|
|
2
|
-
|
|
3
|
-
export type Sort = {
|
|
4
|
-
propertyId: string;
|
|
5
|
-
ascending?: boolean;
|
|
6
|
-
nullHandling?: 'Default' | 'NullsFirst' | 'NullsLast';
|
|
7
|
-
};
|
|
8
|
-
export type QueryMap = {
|
|
9
|
-
filter?: string;
|
|
10
|
-
sort?: string;
|
|
11
|
-
offset?: number;
|
|
12
|
-
limit?: number;
|
|
13
|
-
};
|
|
14
|
-
export declare class SearchParam {
|
|
15
|
-
offset?: number;
|
|
16
|
-
limit?: number;
|
|
17
|
-
gridFilter: Record<string, any>;
|
|
18
|
-
lookupFilter: Filter[];
|
|
19
|
-
defaultFilter: Filter[];
|
|
20
|
-
sorts?: Sort[];
|
|
21
|
-
toQueryMap(): QueryMap;
|
|
22
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { MultiLangText } from '../model/CommonTypes';
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
title?: MultiLangText | undefined;
|
|
5
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
title?: MultiLangText | undefined;
|
|
7
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
8
|
-
title?(_: {}): any;
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
buttons?(_: {}): any;
|
|
11
|
-
}>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
-
new (): {
|
|
24
|
-
$slots: S;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { MultiLangText } from '../model/CommonTypes';
|
|
2
|
-
import { Component, Raw } from 'vue';
|
|
3
|
-
|
|
4
|
-
export type NotificationStyle = 'error' | 'info';
|
|
5
|
-
export type NotificationEntry = {
|
|
6
|
-
entryId: number;
|
|
7
|
-
message: MultiLangText;
|
|
8
|
-
style: NotificationStyle;
|
|
9
|
-
duration: number;
|
|
10
|
-
};
|
|
11
|
-
export declare const notificationEntries: import('vue').Reactive<NotificationEntry[]>;
|
|
12
|
-
export declare const showNotification: (message: MultiLangText, style?: NotificationStyle, durationInMilliSeconds?: number) => void;
|
|
13
|
-
export type AlarmEntry = {
|
|
14
|
-
entryId: number;
|
|
15
|
-
component: Raw<Component>;
|
|
16
|
-
duration: number;
|
|
17
|
-
};
|
|
18
|
-
export declare const alarmEntries: import('vue').Reactive<AlarmEntry[]>;
|
|
19
|
-
export declare const showAlarm: (component: Component, durationInMilliSeconds?: number) => void;
|
|
20
|
-
export declare const closeAlarm: (entryId: number | AlarmEntry) => void;
|
|
21
|
-
export type TooltipEntry = {
|
|
22
|
-
content: MultiLangText;
|
|
23
|
-
target: HTMLElement;
|
|
24
|
-
cursorInTooltip: boolean;
|
|
25
|
-
};
|
|
26
|
-
export declare const tooltipEntry: import('vue').Ref<TooltipEntry | undefined, TooltipEntry | undefined>;
|
|
27
|
-
export declare const showTooltip: (content: MultiLangText, target: HTMLElement) => void;
|
|
28
|
-
export declare const hideTooltip: () => void;
|
|
29
|
-
export declare const isTooltipDisplayed: () => boolean;
|
|
30
|
-
export declare const showLoadingIcon: import('vue').Ref<boolean, boolean>;
|
|
31
|
-
export declare const showLoading: () => void;
|
|
32
|
-
export declare const hideLoading: () => void;
|
|
33
|
-
export declare const withLoading: <T>(func: () => Promise<T>) => Promise<T>;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
|
|
3
|
-
export type SavePointValueProvider<T> = {
|
|
4
|
-
getCurrentValue: () => T;
|
|
5
|
-
setCurrentValue: (value: T) => void;
|
|
6
|
-
compare?: (savedValue: T, currentValue: T) => boolean;
|
|
7
|
-
};
|
|
8
|
-
export type SavePointHandlerRegisterOption<T> = {
|
|
9
|
-
field: Ref<HTMLElement | undefined>;
|
|
10
|
-
} & SavePointValueProvider<T>;
|
|
11
|
-
export interface ChildSavePoint {
|
|
12
|
-
set(): void;
|
|
13
|
-
rollback(): void;
|
|
14
|
-
isModified(): boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface SavePoint {
|
|
17
|
-
registerField<T>(option: SavePointHandlerRegisterOption<T>): SavePointHandler<T>;
|
|
18
|
-
unregisterField(field: Ref<HTMLElement | undefined>): void;
|
|
19
|
-
addChild(child: ChildSavePoint): void;
|
|
20
|
-
removeChild(child: ChildSavePoint): void;
|
|
21
|
-
set(): void;
|
|
22
|
-
setNextTick(): Promise<void>;
|
|
23
|
-
rollback(): void;
|
|
24
|
-
isModified(): boolean;
|
|
25
|
-
}
|
|
26
|
-
export declare class SavePointImpl implements SavePoint {
|
|
27
|
-
private fields;
|
|
28
|
-
private children?;
|
|
29
|
-
registerField<T>(option: SavePointHandlerRegisterOption<T>): SavePointHandler<T>;
|
|
30
|
-
unregisterField(field: Ref<HTMLElement | undefined>): void;
|
|
31
|
-
addChild(child: ChildSavePoint): void;
|
|
32
|
-
removeChild(child: ChildSavePoint): void;
|
|
33
|
-
set(): void;
|
|
34
|
-
setNextTick(): Promise<void>;
|
|
35
|
-
rollback(): void;
|
|
36
|
-
isModified(): boolean;
|
|
37
|
-
}
|
|
38
|
-
export declare const provideSavePoint: () => SavePoint;
|
|
39
|
-
export declare const useSavePoint: () => SavePoint | undefined;
|
|
40
|
-
export declare const cancelProvidedSavePoint: () => void;
|
|
41
|
-
export interface SavePointHandler<T> {
|
|
42
|
-
saveValue(): void;
|
|
43
|
-
getSavedValue(): T | undefined;
|
|
44
|
-
rollbackValue(): void;
|
|
45
|
-
isModified(currentValue: T): boolean;
|
|
46
|
-
isFieldModified(): boolean;
|
|
47
|
-
}
|
package/dist/text/i18n.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export type TextRecord = {
|
|
2
|
-
key: string;
|
|
3
|
-
text: string;
|
|
4
|
-
html?: boolean;
|
|
5
|
-
};
|
|
6
|
-
export type ResolvedTextRecord = TextRecord & {
|
|
7
|
-
resolved: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare class I18NTexts {
|
|
10
|
-
private localeTexts;
|
|
11
|
-
addTexts(locale: string, textList: TextRecord[]): void;
|
|
12
|
-
/**
|
|
13
|
-
* 현재 언어코드에서 `key` 에 해당하는 `TextRecord` 를 리턴한다.
|
|
14
|
-
* @param key
|
|
15
|
-
* @param args
|
|
16
|
-
*/
|
|
17
|
-
t(key: string, args?: unknown[]): ResolvedTextRecord;
|
|
18
|
-
/**
|
|
19
|
-
* `locale` 언어코드에서 `key` 에 해당하는 `TextRecord` 를 리턴한다.
|
|
20
|
-
* @param locale
|
|
21
|
-
* @param key
|
|
22
|
-
* @param args
|
|
23
|
-
*/
|
|
24
|
-
text(locale: string, key: string, args?: unknown[]): ResolvedTextRecord;
|
|
25
|
-
private resolveText;
|
|
26
|
-
private ensureAddLocale;
|
|
27
|
-
}
|
|
28
|
-
export declare const i18n: I18NTexts;
|
package/dist/util/alertUtil.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const alertMessage: (msgCode: string, locale?: string) => void;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { MultiLangString, MultiLangText } from '../model/CommonTypes';
|
|
2
|
-
import { TreeChildrenProvider } from '../component/tree/TreeModel';
|
|
3
|
-
|
|
4
|
-
declare const componentUtil: {
|
|
5
|
-
handleExternalErrorMessage(showErrorMessage: boolean, errorMessage?: string, elementId?: string): void;
|
|
6
|
-
generateNextId(prefix: string): string;
|
|
7
|
-
generateNextName(prefix: string): string;
|
|
8
|
-
isRelativeSize(size?: string): boolean;
|
|
9
|
-
delayed<T>(func: () => T, millis?: number): void;
|
|
10
|
-
toMultiLangTextArray(texts?: MultiLangText | MultiLangText[]): MultiLangText[];
|
|
11
|
-
/**
|
|
12
|
-
* tree 형식 데이터의 각 node 를 깊이우선 탐색하며 visitor 를 실행한다.
|
|
13
|
-
* visitor 가 true 를 리턴하면 더이상 탐색하지 않는다.
|
|
14
|
-
* @param visitor
|
|
15
|
-
* @param items
|
|
16
|
-
* @param childrenProvider
|
|
17
|
-
*/
|
|
18
|
-
acceptTreeItems<T_1>(visitor: (item: T_1) => (boolean | undefined), items: T_1[], childrenProvider?: TreeChildrenProvider<T_1>): boolean;
|
|
19
|
-
isCursorInElement(event: MouseEvent, element: Element, leftMargin?: number, rightMargin?: number, topMargin?: number, bottomMargin?: number): boolean;
|
|
20
|
-
isRelativeUrl(url: string): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* value 가 숫자로만 이루어진 경우 뒤에 'px' 단위를 붙인다.
|
|
23
|
-
* @param value
|
|
24
|
-
*/
|
|
25
|
-
numberToPixel(value?: string): string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* MultiLangString 에서 값이 blank 인 항목을 제거하고, key 순서대로 정렬된 객체를 리턴한다.
|
|
28
|
-
* @param value
|
|
29
|
-
*/
|
|
30
|
-
compactMultiLangString(value: MultiLangString): MultiLangString;
|
|
31
|
-
/**
|
|
32
|
-
* 두 개의 MultiLangString 객체가 동일한지 확인한다.
|
|
33
|
-
* 값이 blank 인 항목은 제외하고 비교한다.
|
|
34
|
-
* @param a
|
|
35
|
-
* @param b
|
|
36
|
-
*/
|
|
37
|
-
equalsMultiLangString(a: MultiLangString | undefined, b: MultiLangString | undefined): boolean;
|
|
38
|
-
trimStringValue(value?: string, trim?: boolean): string | undefined;
|
|
39
|
-
};
|
|
40
|
-
export default componentUtil;
|