@vmscloud/moz-ui-grid-vue 0.1.41
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 +71 -0
- package/dist/MozGrid.vue.d.ts +127 -0
- package/dist/bridge/VueRenderer.d.ts +37 -0
- package/dist/bridge/fieldBuilder.d.ts +9 -0
- package/dist/bridge/lifecycle.d.ts +6 -0
- package/dist/bridge/templateRegistry.d.ts +8 -0
- package/dist/chunks/index-BDQ0HlwR.js +3404 -0
- package/dist/chunks/index-D5KJLBGW.cjs +14 -0
- package/dist/chunks/notification.contract-BTOch6ed.js +16 -0
- package/dist/chunks/notification.contract-oFkBaE2U.cjs +1 -0
- package/dist/compat/MozGridVue.vue.d.ts +645 -0
- package/dist/compat/MozPivotVue.vue.d.ts +606 -0
- package/dist/compat/index.d.ts +9 -0
- package/dist/compat/legacyGridAliases.d.ts +8 -0
- package/dist/composables/useGridPreset.d.ts +19 -0
- package/dist/contracts/UserLayoutInstance.d.ts +38 -0
- package/dist/contracts/notification.contract.d.ts +41 -0
- package/dist/contracts/userLayout.contract.d.ts +16 -0
- package/dist/index.cjs +26 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +90599 -0
- package/dist/legacy/components/common/Dragging.d.ts +17 -0
- package/dist/legacy/components/common/Dragging.vue.d.ts +49 -0
- package/dist/legacy/components/common/custom-cell/FormulaEngine.d.ts +256 -0
- package/dist/legacy/components/common/custom-cell/FormulaInput.vue.d.ts +33 -0
- package/dist/legacy/components/common/custom-cell/GridCustomCell.vue.d.ts +23 -0
- package/dist/legacy/components/common/custom-cell/useFormulaAutocomplete.d.ts +44 -0
- package/dist/legacy/components/common/excel/ClientExcelUploadPopup.vue.d.ts +201 -0
- package/dist/legacy/components/common/excel/assets/IconDropZone.vue.d.ts +2 -0
- package/dist/legacy/components/common/excel/assets/IconFileUpload.vue.d.ts +2 -0
- package/dist/legacy/components/common/filter/GridFilter.vue.d.ts +23 -0
- package/dist/legacy/components/common/footer/GridFooter.vue.d.ts +29 -0
- package/dist/legacy/components/common/sort/GridSort.vue.d.ts +23 -0
- package/dist/legacy/components/common/toolbar/GridSearchInput.vue.d.ts +33 -0
- package/dist/legacy/components/grid/MozGridVue.vue.d.ts +2041 -0
- package/dist/legacy/components/grid/MozGridVueCore.vue.d.ts +118 -0
- package/dist/legacy/components/grid/bulk-editor/GridBulkEditor.vue.d.ts +10 -0
- package/dist/legacy/components/grid/column-settings/AlignPicker.vue.d.ts +10 -0
- package/dist/legacy/components/grid/column-settings/ColorSwatchPicker.vue.d.ts +11 -0
- package/dist/legacy/components/grid/column-settings/ColumnListItem.vue.d.ts +17 -0
- package/dist/legacy/components/grid/column-settings/ColumnOptionsPanel.vue.d.ts +32 -0
- package/dist/legacy/components/grid/column-settings/FontSizePicker.vue.d.ts +10 -0
- package/dist/legacy/components/grid/column-settings/FontStyleToggles.vue.d.ts +15 -0
- package/dist/legacy/components/grid/column-settings/MaskPresetPicker.vue.d.ts +14 -0
- package/dist/legacy/components/grid/context-menu/GridContextMenu.vue.d.ts +208 -0
- package/dist/legacy/components/grid/group-panel/GroupPanel.vue.d.ts +18 -0
- package/dist/legacy/components/grid/toolbar/ColumnPicker.vue.d.ts +17 -0
- package/dist/legacy/components/grid/toolbar/ColumnSettings.vue.d.ts +30 -0
- package/dist/legacy/components/grid/toolbar/GridOptionModal.vue.d.ts +211 -0
- package/dist/legacy/components/grid/toolbar/GridToolBox.vue.d.ts +69 -0
- package/dist/legacy/components/pivot/MozPivotVue.vue.d.ts +1868 -0
- package/dist/legacy/components/pivot/PivotContextMenu.vue.d.ts +634 -0
- package/dist/legacy/components/pivot/PivotFieldChip.vue.d.ts +16 -0
- package/dist/legacy/components/pivot/PivotFieldDropZone.vue.d.ts +26 -0
- package/dist/legacy/components/pivot/PivotFieldPanel.vue.d.ts +28 -0
- package/dist/legacy/components/pivot/PivotOptionModal.vue.d.ts +534 -0
- package/dist/legacy/components/pivot/PivotToolBox.vue.d.ts +79 -0
- package/dist/legacy/components/pivot/chart/EChart.vue.d.ts +13 -0
- package/dist/legacy/components/pivot/chart/MozPivotChart.types.d.ts +16 -0
- package/dist/legacy/components/pivot/chart/MozPivotChart.vue.d.ts +14 -0
- package/dist/legacy/components/pivot/chart/PivotChartDetail.vue.d.ts +13 -0
- package/dist/legacy/components/pivot/chart/PivotChartMini.vue.d.ts +18 -0
- package/dist/legacy/components/pivot/chart/PivotChartMultiple.vue.d.ts +18 -0
- package/dist/legacy/components/pivot/chart/PivotChartToolbar.vue.d.ts +38 -0
- package/dist/legacy/components/pivot/chart/chartUtils.d.ts +45 -0
- package/dist/legacy/components/pivot/chart/useChartData.d.ts +35 -0
- package/dist/legacy/composables/useCellTooltip.d.ts +8 -0
- package/dist/legacy/composables/useClientExcelExport.d.ts +24 -0
- package/dist/legacy/composables/useClientExcelStore.d.ts +16 -0
- package/dist/legacy/composables/useColumnFormatter.d.ts +45 -0
- package/dist/legacy/composables/useColumnSettings.d.ts +35 -0
- package/dist/legacy/composables/useContextMenu.d.ts +71 -0
- package/dist/legacy/composables/useGridBulkEditor.d.ts +36 -0
- package/dist/legacy/composables/useGridChanges.d.ts +28 -0
- package/dist/legacy/composables/useGridColumns.d.ts +37 -0
- package/dist/legacy/composables/useGridCustomCell.d.ts +34 -0
- package/dist/legacy/composables/useGridEvents.d.ts +14 -0
- package/dist/legacy/composables/useGridFilter.d.ts +38 -0
- package/dist/legacy/composables/useGridInstance.d.ts +16 -0
- package/dist/legacy/composables/useGridSelect.d.ts +18 -0
- package/dist/legacy/composables/useGridSelection.d.ts +18 -0
- package/dist/legacy/composables/useGridSort.d.ts +38 -0
- package/dist/legacy/composables/useGridUndoRedo.d.ts +28 -0
- package/dist/legacy/composables/useGridValidation.d.ts +28 -0
- package/dist/legacy/composables/useMaskPresets.d.ts +38 -0
- package/dist/legacy/composables/useSearchHighlight.d.ts +12 -0
- package/dist/legacy/icons/IconAdd.vue.d.ts +11 -0
- package/dist/legacy/icons/IconArrowDownWithTail.vue.d.ts +11 -0
- package/dist/legacy/icons/IconArrowLeft.vue.d.ts +11 -0
- package/dist/legacy/icons/IconArrowLeftWithTail.vue.d.ts +11 -0
- package/dist/legacy/icons/IconArrowRight.vue.d.ts +11 -0
- package/dist/legacy/icons/IconArrowUpCenter.vue.d.ts +11 -0
- package/dist/legacy/icons/IconArrowUpWithTail.vue.d.ts +11 -0
- package/dist/legacy/icons/IconChart.vue.d.ts +11 -0
- package/dist/legacy/icons/IconClose.vue.d.ts +13 -0
- package/dist/legacy/icons/IconColorPicker.vue.d.ts +11 -0
- package/dist/legacy/icons/IconCustomCell.vue.d.ts +11 -0
- package/dist/legacy/icons/IconDecide.vue.d.ts +11 -0
- package/dist/legacy/icons/IconDownload.vue.d.ts +11 -0
- package/dist/legacy/icons/IconDragHandler.vue.d.ts +11 -0
- package/dist/legacy/icons/IconFilter.vue.d.ts +11 -0
- package/dist/legacy/icons/IconInfoFilled.vue.d.ts +11 -0
- package/dist/legacy/icons/IconRedo.vue.d.ts +9 -0
- package/dist/legacy/icons/IconReset.vue.d.ts +9 -0
- package/dist/legacy/icons/IconResetGridToolbar.vue.d.ts +11 -0
- package/dist/legacy/icons/IconSearch.vue.d.ts +11 -0
- package/dist/legacy/icons/IconSetting.vue.d.ts +11 -0
- package/dist/legacy/icons/IconSettingFilled.vue.d.ts +11 -0
- package/dist/legacy/icons/IconSort.vue.d.ts +11 -0
- package/dist/legacy/icons/IconToastWarning.vue.d.ts +11 -0
- package/dist/legacy/icons/IconUndo.vue.d.ts +9 -0
- package/dist/legacy/icons/index.d.ts +25 -0
- package/dist/legacy/index.d.ts +69 -0
- package/dist/legacy/shared/colorPresets.d.ts +36 -0
- package/dist/legacy/store/UploadRefreshRegistry.d.ts +5 -0
- package/dist/legacy/store/excelStore.d.ts +89 -0
- package/dist/legacy/store/index.d.ts +231 -0
- package/dist/legacy/stores/index.d.ts +2 -0
- package/dist/legacy/stores/projectInfo/projectInfo.contract.d.ts +130 -0
- package/dist/legacy/stories/Autofit.stories.d.ts +9 -0
- package/dist/legacy/stories/CRUD.stories.d.ts +9 -0
- package/dist/legacy/stories/CellAttributes.stories.d.ts +19 -0
- package/dist/legacy/stories/CellMask.stories.d.ts +19 -0
- package/dist/legacy/stories/ClientExcel.stories.d.ts +8 -0
- package/dist/legacy/stories/Clipboard.stories.d.ts +12 -0
- package/dist/legacy/stories/ColumnVisibility.stories.d.ts +12 -0
- package/dist/legacy/stories/ColumnWidths.stories.d.ts +11 -0
- package/dist/legacy/stories/CustomSortFilter.stories.d.ts +7 -0
- package/dist/legacy/stories/DynamicRowHeight.stories.d.ts +13 -0
- package/dist/legacy/stories/Editors.stories.d.ts +9 -0
- package/dist/legacy/stories/EmptyState.stories.d.ts +10 -0
- package/dist/legacy/stories/FormatRow.stories.d.ts +20 -0
- package/dist/legacy/stories/Grouping.stories.d.ts +14 -0
- package/dist/legacy/stories/HeaderGroup.stories.d.ts +11 -0
- package/dist/legacy/stories/LargeData.stories.d.ts +19 -0
- package/dist/legacy/stories/MasterDetail.stories.d.ts +17 -0
- package/dist/legacy/stories/Merge.stories.d.ts +10 -0
- package/dist/legacy/stories/MultiRow.stories.d.ts +12 -0
- package/dist/legacy/stories/MultiRowCrud.stories.d.ts +11 -0
- package/dist/legacy/stories/MultiRowGroup.stories.d.ts +11 -0
- package/dist/legacy/stories/Pinning.stories.d.ts +44 -0
- package/dist/legacy/stories/Pivot.stories.d.ts +23 -0
- package/dist/legacy/stories/PivotAdvanced.stories.d.ts +20 -0
- package/dist/legacy/stories/PivotChart.stories.d.ts +23 -0
- package/dist/legacy/stories/PivotNonNumeric.stories.d.ts +27 -0
- package/dist/legacy/stories/Preset.stories.d.ts +11 -0
- package/dist/legacy/stories/ReactiveAPI.stories.d.ts +8 -0
- package/dist/legacy/stories/ReactiveSafety.stories.d.ts +28 -0
- package/dist/legacy/stories/Repro.stories.d.ts +36 -0
- package/dist/legacy/stories/RowAPI.stories.d.ts +12 -0
- package/dist/legacy/stories/SelectionModes.stories.d.ts +35 -0
- package/dist/legacy/stories/Streaming.stories.d.ts +12 -0
- package/dist/legacy/stories/Tree.stories.d.ts +13 -0
- package/dist/legacy/stories/WorkerMode.stories.d.ts +15 -0
- package/dist/legacy/stories/_helpers/localDataLoader.d.ts +7 -0
- package/dist/legacy/stories/_helpers/sampleData.d.ts +117 -0
- package/dist/legacy/types/FileParameter.d.ts +31 -0
- package/dist/legacy/types/StreamingParameter.d.ts +18 -0
- package/dist/legacy/types/excel.types.d.ts +48 -0
- package/dist/legacy/types/index.d.ts +10 -0
- package/dist/legacy/types/pivot-props.d.ts +140 -0
- package/dist/legacy/types/props.d.ts +176 -0
- package/dist/legacy/types/toolbar.d.ts +225 -0
- package/dist/legacy/utils/async/debounce.d.ts +4 -0
- package/dist/legacy/utils/crypto/crypto.d.ts +7 -0
- package/dist/legacy/utils/dialog/dialog.d.ts +19 -0
- package/dist/legacy/utils/excel/ExcelGuard.d.ts +73 -0
- package/dist/legacy/utils/excel/ExcelImportUtil.d.ts +34 -0
- package/dist/legacy/utils/excel/ExcelQueueManager.d.ts +57 -0
- package/dist/legacy/utils/excel/ExcelTaskRunner.d.ts +17 -0
- package/dist/legacy/utils/excel/ExcelTimeoutManager.d.ts +37 -0
- package/dist/legacy/utils/file.d.ts +34 -0
- package/dist/legacy/utils/http/rest.d.ts +5 -0
- package/dist/legacy/utils/id/generator.d.ts +2 -0
- package/dist/legacy/utils/index.d.ts +10 -0
- package/dist/store.cjs +1 -0
- package/dist/store.js +8 -0
- package/dist/stories/ColumnLockVisible.stories.d.ts +42 -0
- package/dist/stories/DateBooleanFilter.stories.d.ts +42 -0
- package/dist/stories/DisplayedRowApi.stories.d.ts +28 -0
- package/dist/stories/FieldId.stories.d.ts +113 -0
- package/dist/stories/GroupPanelWithoutToolbox.stories.d.ts +28 -0
- package/dist/stories/GroupRowRecycle.stories.d.ts +45 -0
- package/dist/stories/GroupTreeExpandNav.stories.d.ts +41 -0
- package/dist/stories/LargeData.stories.d.ts +20 -0
- package/dist/stories/MozGrid.stories.d.ts +51 -0
- package/dist/stories/PivotBarInitiallyOpen.stories.d.ts +69 -0
- package/dist/stories/PivotBarWithoutToolbox.stories.d.ts +39 -0
- package/dist/stories/SelectionApiPlayground.stories.d.ts +28 -0
- package/dist/stories/SingleSelectionModes.stories.d.ts +47 -0
- package/dist/stories/WideColumns.stories.d.ts +17 -0
- package/dist/style.css +1 -0
- package/dist/templates/CellEditor.d.ts +27 -0
- package/dist/templates/CellTemplate.d.ts +27 -0
- package/dist/templates/DetailTemplate.d.ts +60 -0
- package/dist/templates/GroupTemplate.d.ts +17 -0
- package/dist/templates/HeaderTemplate.d.ts +25 -0
- package/dist/types/injection-keys.d.ts +24 -0
- package/dist/types/slots.d.ts +49 -0
- package/dist/utils/excel/ExcelGuard.cjs +1 -0
- package/dist/utils/excel/ExcelGuard.js +74 -0
- package/dist/utils/excel/ExcelImportUtil.cjs +1 -0
- package/dist/utils/excel/ExcelImportUtil.js +61 -0
- package/dist/utils/excel/ExcelQueueManager.cjs +1 -0
- package/dist/utils/excel/ExcelQueueManager.js +10 -0
- package/dist/utils/excel/ExcelTaskRunner.cjs +1 -0
- package/dist/utils/excel/ExcelTaskRunner.js +12 -0
- package/dist/utils/excel/ExcelTimeoutManager.cjs +1 -0
- package/dist/utils/excel/ExcelTimeoutManager.js +420 -0
- package/docs/manual/examples.md +2385 -0
- package/docs/manual/reference.md +4695 -0
- package/docs/manual/reference_vue.md +709 -0
- package/package.json +129 -0
|
@@ -0,0 +1,634 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
import { IContextMenuConfig } from '../../types/toolbar';
|
|
3
|
+
interface Props {
|
|
4
|
+
config?: IContextMenuConfig;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
7
|
+
contextMenuRef: import('vue').Ref<({
|
|
8
|
+
$: import('vue').ComponentInternalInstance;
|
|
9
|
+
$data: {};
|
|
10
|
+
$props: Partial<{
|
|
11
|
+
direction: string;
|
|
12
|
+
minWidth: string;
|
|
13
|
+
transition: string;
|
|
14
|
+
noPadding: boolean;
|
|
15
|
+
beforeClose: Function;
|
|
16
|
+
toTopCenter: boolean;
|
|
17
|
+
toBottomCenter: boolean;
|
|
18
|
+
disableCloseOnClickBackdrop: boolean;
|
|
19
|
+
}> & Omit<{
|
|
20
|
+
readonly direction: string;
|
|
21
|
+
readonly minWidth: string;
|
|
22
|
+
readonly transition: string;
|
|
23
|
+
readonly noPadding: boolean;
|
|
24
|
+
readonly beforeClose: Function;
|
|
25
|
+
readonly toTopCenter: boolean;
|
|
26
|
+
readonly toBottomCenter: boolean;
|
|
27
|
+
readonly disableCloseOnClickBackdrop: boolean;
|
|
28
|
+
readonly itemSource?: import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[] | undefined;
|
|
29
|
+
readonly fixPosition?: import('../../../../../../moz-ui-components/src/shared/types').ContextPosition | undefined;
|
|
30
|
+
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "direction" | "minWidth" | "transition" | "noPadding" | "beforeClose" | "toTopCenter" | "toBottomCenter" | "disableCloseOnClickBackdrop">;
|
|
33
|
+
$attrs: import('vue').Attrs;
|
|
34
|
+
$refs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
} & {
|
|
37
|
+
targetRef: HTMLDivElement;
|
|
38
|
+
modalWrapperRef: HTMLDivElement;
|
|
39
|
+
contextMenuRef: HTMLDivElement;
|
|
40
|
+
};
|
|
41
|
+
$slots: Readonly<{
|
|
42
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
45
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
46
|
+
$host: Element | null;
|
|
47
|
+
$emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void);
|
|
48
|
+
$el: any;
|
|
49
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
50
|
+
itemSource: {
|
|
51
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[]>;
|
|
52
|
+
};
|
|
53
|
+
beforeClose: {
|
|
54
|
+
type: FunctionConstructor;
|
|
55
|
+
default: () => void;
|
|
56
|
+
};
|
|
57
|
+
transition: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
minWidth: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
direction: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
fixPosition: {
|
|
70
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').ContextPosition>;
|
|
71
|
+
};
|
|
72
|
+
toTopCenter: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
required: false;
|
|
75
|
+
};
|
|
76
|
+
toBottomCenter: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
required: false;
|
|
79
|
+
};
|
|
80
|
+
noPadding: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
required: false;
|
|
83
|
+
};
|
|
84
|
+
disableCloseOnClickBackdrop: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
required: false;
|
|
87
|
+
};
|
|
88
|
+
}>> & Readonly<{
|
|
89
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
91
|
+
}>, {
|
|
92
|
+
state: import('vue').Ref<boolean, boolean>;
|
|
93
|
+
open: (setMenuItems?: (menuProps
|
|
94
|
+
/**
|
|
95
|
+
* PivotContextMenu.vue
|
|
96
|
+
*
|
|
97
|
+
* 피벗 그리드 전용 컨텍스트 메뉴.
|
|
98
|
+
* moz-wijmo-grid의 ExtendPivotGridContextMenu.ts를 참고하여 구현.
|
|
99
|
+
*
|
|
100
|
+
* 메뉴 항목:
|
|
101
|
+
* 1. 필터 추가 (해당 열에 필터 다이얼로그)
|
|
102
|
+
* 2. 선택값으로 필터링 (셀 값 즉시 필터)
|
|
103
|
+
* 3. 열 필터 초기화
|
|
104
|
+
* 4. 데이터 복사 / 헤더 포함 복사
|
|
105
|
+
* 5. 선택 영역 합계 표시
|
|
106
|
+
*/
|
|
107
|
+
?: any) => import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[], menuProps?: any) => void;
|
|
108
|
+
close: () => void;
|
|
109
|
+
toggle: () => void;
|
|
110
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
111
|
+
close: (...args: any[]) => void;
|
|
112
|
+
open: (...args: any[]) => void;
|
|
113
|
+
}, string, {
|
|
114
|
+
direction: string;
|
|
115
|
+
minWidth: string;
|
|
116
|
+
transition: string;
|
|
117
|
+
noPadding: boolean;
|
|
118
|
+
beforeClose: Function;
|
|
119
|
+
toTopCenter: boolean;
|
|
120
|
+
toBottomCenter: boolean;
|
|
121
|
+
disableCloseOnClickBackdrop: boolean;
|
|
122
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
123
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
124
|
+
created?: (() => void) | (() => void)[];
|
|
125
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
126
|
+
mounted?: (() => void) | (() => void)[];
|
|
127
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
128
|
+
updated?: (() => void) | (() => void)[];
|
|
129
|
+
activated?: (() => void) | (() => void)[];
|
|
130
|
+
deactivated?: (() => void) | (() => void)[];
|
|
131
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
132
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
133
|
+
destroyed?: (() => void) | (() => void)[];
|
|
134
|
+
unmounted?: (() => void) | (() => void)[];
|
|
135
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
136
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
137
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
138
|
+
};
|
|
139
|
+
$forceUpdate: () => void;
|
|
140
|
+
$nextTick: typeof nextTick;
|
|
141
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
142
|
+
} & Readonly<{
|
|
143
|
+
direction: string;
|
|
144
|
+
minWidth: string;
|
|
145
|
+
transition: string;
|
|
146
|
+
noPadding: boolean;
|
|
147
|
+
beforeClose: Function;
|
|
148
|
+
toTopCenter: boolean;
|
|
149
|
+
toBottomCenter: boolean;
|
|
150
|
+
disableCloseOnClickBackdrop: boolean;
|
|
151
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
152
|
+
itemSource: {
|
|
153
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[]>;
|
|
154
|
+
};
|
|
155
|
+
beforeClose: {
|
|
156
|
+
type: FunctionConstructor;
|
|
157
|
+
default: () => void;
|
|
158
|
+
};
|
|
159
|
+
transition: {
|
|
160
|
+
type: StringConstructor;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
minWidth: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
direction: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
fixPosition: {
|
|
172
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').ContextPosition>;
|
|
173
|
+
};
|
|
174
|
+
toTopCenter: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
required: false;
|
|
177
|
+
};
|
|
178
|
+
toBottomCenter: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
required: false;
|
|
181
|
+
};
|
|
182
|
+
noPadding: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
required: false;
|
|
185
|
+
};
|
|
186
|
+
disableCloseOnClickBackdrop: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
required: false;
|
|
189
|
+
};
|
|
190
|
+
}>> & Readonly<{
|
|
191
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
192
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
193
|
+
}>, "close" | "toggle" | "state" | "open" | ("direction" | "minWidth" | "transition" | "noPadding" | "beforeClose" | "toTopCenter" | "toBottomCenter" | "disableCloseOnClickBackdrop")> & {
|
|
194
|
+
state: boolean;
|
|
195
|
+
open: (setMenuItems?: (menuProps
|
|
196
|
+
/**
|
|
197
|
+
* PivotContextMenu.vue
|
|
198
|
+
*
|
|
199
|
+
* 피벗 그리드 전용 컨텍스트 메뉴.
|
|
200
|
+
* moz-wijmo-grid의 ExtendPivotGridContextMenu.ts를 참고하여 구현.
|
|
201
|
+
*
|
|
202
|
+
* 메뉴 항목:
|
|
203
|
+
* 1. 필터 추가 (해당 열에 필터 다이얼로그)
|
|
204
|
+
* 2. 선택값으로 필터링 (셀 값 즉시 필터)
|
|
205
|
+
* 3. 열 필터 초기화
|
|
206
|
+
* 4. 데이터 복사 / 헤더 포함 복사
|
|
207
|
+
* 5. 선택 영역 합계 표시
|
|
208
|
+
*/
|
|
209
|
+
?: any) => import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[], menuProps?: any) => void;
|
|
210
|
+
close: () => void;
|
|
211
|
+
toggle: () => void;
|
|
212
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
213
|
+
$slots: any;
|
|
214
|
+
}) | null, ({
|
|
215
|
+
$: import('vue').ComponentInternalInstance;
|
|
216
|
+
$data: {};
|
|
217
|
+
$props: Partial<{
|
|
218
|
+
direction: string;
|
|
219
|
+
minWidth: string;
|
|
220
|
+
transition: string;
|
|
221
|
+
noPadding: boolean;
|
|
222
|
+
beforeClose: Function;
|
|
223
|
+
toTopCenter: boolean;
|
|
224
|
+
toBottomCenter: boolean;
|
|
225
|
+
disableCloseOnClickBackdrop: boolean;
|
|
226
|
+
}> & Omit<{
|
|
227
|
+
readonly direction: string;
|
|
228
|
+
readonly minWidth: string;
|
|
229
|
+
readonly transition: string;
|
|
230
|
+
readonly noPadding: boolean;
|
|
231
|
+
readonly beforeClose: Function;
|
|
232
|
+
readonly toTopCenter: boolean;
|
|
233
|
+
readonly toBottomCenter: boolean;
|
|
234
|
+
readonly disableCloseOnClickBackdrop: boolean;
|
|
235
|
+
readonly itemSource?: import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[] | undefined;
|
|
236
|
+
readonly fixPosition?: import('../../../../../../moz-ui-components/src/shared/types').ContextPosition | undefined;
|
|
237
|
+
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
238
|
+
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
239
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "direction" | "minWidth" | "transition" | "noPadding" | "beforeClose" | "toTopCenter" | "toBottomCenter" | "disableCloseOnClickBackdrop">;
|
|
240
|
+
$attrs: import('vue').Attrs;
|
|
241
|
+
$refs: {
|
|
242
|
+
[x: string]: unknown;
|
|
243
|
+
} & {
|
|
244
|
+
targetRef: HTMLDivElement;
|
|
245
|
+
modalWrapperRef: HTMLDivElement;
|
|
246
|
+
contextMenuRef: HTMLDivElement;
|
|
247
|
+
};
|
|
248
|
+
$slots: Readonly<{
|
|
249
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
250
|
+
}>;
|
|
251
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
252
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
253
|
+
$host: Element | null;
|
|
254
|
+
$emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void);
|
|
255
|
+
$el: any;
|
|
256
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
257
|
+
itemSource: {
|
|
258
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[]>;
|
|
259
|
+
};
|
|
260
|
+
beforeClose: {
|
|
261
|
+
type: FunctionConstructor;
|
|
262
|
+
default: () => void;
|
|
263
|
+
};
|
|
264
|
+
transition: {
|
|
265
|
+
type: StringConstructor;
|
|
266
|
+
default: string;
|
|
267
|
+
};
|
|
268
|
+
minWidth: {
|
|
269
|
+
type: StringConstructor;
|
|
270
|
+
default: string;
|
|
271
|
+
};
|
|
272
|
+
direction: {
|
|
273
|
+
type: StringConstructor;
|
|
274
|
+
default: string;
|
|
275
|
+
};
|
|
276
|
+
fixPosition: {
|
|
277
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').ContextPosition>;
|
|
278
|
+
};
|
|
279
|
+
toTopCenter: {
|
|
280
|
+
type: BooleanConstructor;
|
|
281
|
+
required: false;
|
|
282
|
+
};
|
|
283
|
+
toBottomCenter: {
|
|
284
|
+
type: BooleanConstructor;
|
|
285
|
+
required: false;
|
|
286
|
+
};
|
|
287
|
+
noPadding: {
|
|
288
|
+
type: BooleanConstructor;
|
|
289
|
+
required: false;
|
|
290
|
+
};
|
|
291
|
+
disableCloseOnClickBackdrop: {
|
|
292
|
+
type: BooleanConstructor;
|
|
293
|
+
required: false;
|
|
294
|
+
};
|
|
295
|
+
}>> & Readonly<{
|
|
296
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
297
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
298
|
+
}>, {
|
|
299
|
+
state: import('vue').Ref<boolean, boolean>;
|
|
300
|
+
open: (setMenuItems?: (menuProps
|
|
301
|
+
/**
|
|
302
|
+
* PivotContextMenu.vue
|
|
303
|
+
*
|
|
304
|
+
* 피벗 그리드 전용 컨텍스트 메뉴.
|
|
305
|
+
* moz-wijmo-grid의 ExtendPivotGridContextMenu.ts를 참고하여 구현.
|
|
306
|
+
*
|
|
307
|
+
* 메뉴 항목:
|
|
308
|
+
* 1. 필터 추가 (해당 열에 필터 다이얼로그)
|
|
309
|
+
* 2. 선택값으로 필터링 (셀 값 즉시 필터)
|
|
310
|
+
* 3. 열 필터 초기화
|
|
311
|
+
* 4. 데이터 복사 / 헤더 포함 복사
|
|
312
|
+
* 5. 선택 영역 합계 표시
|
|
313
|
+
*/
|
|
314
|
+
?: any) => import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[], menuProps?: any) => void;
|
|
315
|
+
close: () => void;
|
|
316
|
+
toggle: () => void;
|
|
317
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
318
|
+
close: (...args: any[]) => void;
|
|
319
|
+
open: (...args: any[]) => void;
|
|
320
|
+
}, string, {
|
|
321
|
+
direction: string;
|
|
322
|
+
minWidth: string;
|
|
323
|
+
transition: string;
|
|
324
|
+
noPadding: boolean;
|
|
325
|
+
beforeClose: Function;
|
|
326
|
+
toTopCenter: boolean;
|
|
327
|
+
toBottomCenter: boolean;
|
|
328
|
+
disableCloseOnClickBackdrop: boolean;
|
|
329
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
330
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
331
|
+
created?: (() => void) | (() => void)[];
|
|
332
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
333
|
+
mounted?: (() => void) | (() => void)[];
|
|
334
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
335
|
+
updated?: (() => void) | (() => void)[];
|
|
336
|
+
activated?: (() => void) | (() => void)[];
|
|
337
|
+
deactivated?: (() => void) | (() => void)[];
|
|
338
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
339
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
340
|
+
destroyed?: (() => void) | (() => void)[];
|
|
341
|
+
unmounted?: (() => void) | (() => void)[];
|
|
342
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
343
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
344
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
345
|
+
};
|
|
346
|
+
$forceUpdate: () => void;
|
|
347
|
+
$nextTick: typeof nextTick;
|
|
348
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
349
|
+
} & Readonly<{
|
|
350
|
+
direction: string;
|
|
351
|
+
minWidth: string;
|
|
352
|
+
transition: string;
|
|
353
|
+
noPadding: boolean;
|
|
354
|
+
beforeClose: Function;
|
|
355
|
+
toTopCenter: boolean;
|
|
356
|
+
toBottomCenter: boolean;
|
|
357
|
+
disableCloseOnClickBackdrop: boolean;
|
|
358
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
359
|
+
itemSource: {
|
|
360
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[]>;
|
|
361
|
+
};
|
|
362
|
+
beforeClose: {
|
|
363
|
+
type: FunctionConstructor;
|
|
364
|
+
default: () => void;
|
|
365
|
+
};
|
|
366
|
+
transition: {
|
|
367
|
+
type: StringConstructor;
|
|
368
|
+
default: string;
|
|
369
|
+
};
|
|
370
|
+
minWidth: {
|
|
371
|
+
type: StringConstructor;
|
|
372
|
+
default: string;
|
|
373
|
+
};
|
|
374
|
+
direction: {
|
|
375
|
+
type: StringConstructor;
|
|
376
|
+
default: string;
|
|
377
|
+
};
|
|
378
|
+
fixPosition: {
|
|
379
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').ContextPosition>;
|
|
380
|
+
};
|
|
381
|
+
toTopCenter: {
|
|
382
|
+
type: BooleanConstructor;
|
|
383
|
+
required: false;
|
|
384
|
+
};
|
|
385
|
+
toBottomCenter: {
|
|
386
|
+
type: BooleanConstructor;
|
|
387
|
+
required: false;
|
|
388
|
+
};
|
|
389
|
+
noPadding: {
|
|
390
|
+
type: BooleanConstructor;
|
|
391
|
+
required: false;
|
|
392
|
+
};
|
|
393
|
+
disableCloseOnClickBackdrop: {
|
|
394
|
+
type: BooleanConstructor;
|
|
395
|
+
required: false;
|
|
396
|
+
};
|
|
397
|
+
}>> & Readonly<{
|
|
398
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
399
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
400
|
+
}>, "close" | "toggle" | "state" | "open" | ("direction" | "minWidth" | "transition" | "noPadding" | "beforeClose" | "toTopCenter" | "toBottomCenter" | "disableCloseOnClickBackdrop")> & {
|
|
401
|
+
state: boolean;
|
|
402
|
+
open: (setMenuItems?: (menuProps
|
|
403
|
+
/**
|
|
404
|
+
* PivotContextMenu.vue
|
|
405
|
+
*
|
|
406
|
+
* 피벗 그리드 전용 컨텍스트 메뉴.
|
|
407
|
+
* moz-wijmo-grid의 ExtendPivotGridContextMenu.ts를 참고하여 구현.
|
|
408
|
+
*
|
|
409
|
+
* 메뉴 항목:
|
|
410
|
+
* 1. 필터 추가 (해당 열에 필터 다이얼로그)
|
|
411
|
+
* 2. 선택값으로 필터링 (셀 값 즉시 필터)
|
|
412
|
+
* 3. 열 필터 초기화
|
|
413
|
+
* 4. 데이터 복사 / 헤더 포함 복사
|
|
414
|
+
* 5. 선택 영역 합계 표시
|
|
415
|
+
*/
|
|
416
|
+
?: any) => import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[], menuProps?: any) => void;
|
|
417
|
+
close: () => void;
|
|
418
|
+
toggle: () => void;
|
|
419
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
420
|
+
$slots: any;
|
|
421
|
+
}) | null>;
|
|
422
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
423
|
+
config: IContextMenuConfig;
|
|
424
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
425
|
+
contextMenuRef: ({
|
|
426
|
+
$: import('vue').ComponentInternalInstance;
|
|
427
|
+
$data: {};
|
|
428
|
+
$props: Partial<{
|
|
429
|
+
direction: string;
|
|
430
|
+
minWidth: string;
|
|
431
|
+
transition: string;
|
|
432
|
+
noPadding: boolean;
|
|
433
|
+
beforeClose: Function;
|
|
434
|
+
toTopCenter: boolean;
|
|
435
|
+
toBottomCenter: boolean;
|
|
436
|
+
disableCloseOnClickBackdrop: boolean;
|
|
437
|
+
}> & Omit<{
|
|
438
|
+
readonly direction: string;
|
|
439
|
+
readonly minWidth: string;
|
|
440
|
+
readonly transition: string;
|
|
441
|
+
readonly noPadding: boolean;
|
|
442
|
+
readonly beforeClose: Function;
|
|
443
|
+
readonly toTopCenter: boolean;
|
|
444
|
+
readonly toBottomCenter: boolean;
|
|
445
|
+
readonly disableCloseOnClickBackdrop: boolean;
|
|
446
|
+
readonly itemSource?: import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[] | undefined;
|
|
447
|
+
readonly fixPosition?: import('../../../../../../moz-ui-components/src/shared/types').ContextPosition | undefined;
|
|
448
|
+
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
449
|
+
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
450
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "direction" | "minWidth" | "transition" | "noPadding" | "beforeClose" | "toTopCenter" | "toBottomCenter" | "disableCloseOnClickBackdrop">;
|
|
451
|
+
$attrs: import('vue').Attrs;
|
|
452
|
+
$refs: {
|
|
453
|
+
[x: string]: unknown;
|
|
454
|
+
} & {
|
|
455
|
+
targetRef: HTMLDivElement;
|
|
456
|
+
modalWrapperRef: HTMLDivElement;
|
|
457
|
+
contextMenuRef: HTMLDivElement;
|
|
458
|
+
};
|
|
459
|
+
$slots: Readonly<{
|
|
460
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
461
|
+
}>;
|
|
462
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
463
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
464
|
+
$host: Element | null;
|
|
465
|
+
$emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void);
|
|
466
|
+
$el: any;
|
|
467
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
468
|
+
itemSource: {
|
|
469
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[]>;
|
|
470
|
+
};
|
|
471
|
+
beforeClose: {
|
|
472
|
+
type: FunctionConstructor;
|
|
473
|
+
default: () => void;
|
|
474
|
+
};
|
|
475
|
+
transition: {
|
|
476
|
+
type: StringConstructor;
|
|
477
|
+
default: string;
|
|
478
|
+
};
|
|
479
|
+
minWidth: {
|
|
480
|
+
type: StringConstructor;
|
|
481
|
+
default: string;
|
|
482
|
+
};
|
|
483
|
+
direction: {
|
|
484
|
+
type: StringConstructor;
|
|
485
|
+
default: string;
|
|
486
|
+
};
|
|
487
|
+
fixPosition: {
|
|
488
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').ContextPosition>;
|
|
489
|
+
};
|
|
490
|
+
toTopCenter: {
|
|
491
|
+
type: BooleanConstructor;
|
|
492
|
+
required: false;
|
|
493
|
+
};
|
|
494
|
+
toBottomCenter: {
|
|
495
|
+
type: BooleanConstructor;
|
|
496
|
+
required: false;
|
|
497
|
+
};
|
|
498
|
+
noPadding: {
|
|
499
|
+
type: BooleanConstructor;
|
|
500
|
+
required: false;
|
|
501
|
+
};
|
|
502
|
+
disableCloseOnClickBackdrop: {
|
|
503
|
+
type: BooleanConstructor;
|
|
504
|
+
required: false;
|
|
505
|
+
};
|
|
506
|
+
}>> & Readonly<{
|
|
507
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
508
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
509
|
+
}>, {
|
|
510
|
+
state: import('vue').Ref<boolean, boolean>;
|
|
511
|
+
open: (setMenuItems?: (menuProps
|
|
512
|
+
/**
|
|
513
|
+
* PivotContextMenu.vue
|
|
514
|
+
*
|
|
515
|
+
* 피벗 그리드 전용 컨텍스트 메뉴.
|
|
516
|
+
* moz-wijmo-grid의 ExtendPivotGridContextMenu.ts를 참고하여 구현.
|
|
517
|
+
*
|
|
518
|
+
* 메뉴 항목:
|
|
519
|
+
* 1. 필터 추가 (해당 열에 필터 다이얼로그)
|
|
520
|
+
* 2. 선택값으로 필터링 (셀 값 즉시 필터)
|
|
521
|
+
* 3. 열 필터 초기화
|
|
522
|
+
* 4. 데이터 복사 / 헤더 포함 복사
|
|
523
|
+
* 5. 선택 영역 합계 표시
|
|
524
|
+
*/
|
|
525
|
+
?: any) => import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[], menuProps?: any) => void;
|
|
526
|
+
close: () => void;
|
|
527
|
+
toggle: () => void;
|
|
528
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
529
|
+
close: (...args: any[]) => void;
|
|
530
|
+
open: (...args: any[]) => void;
|
|
531
|
+
}, string, {
|
|
532
|
+
direction: string;
|
|
533
|
+
minWidth: string;
|
|
534
|
+
transition: string;
|
|
535
|
+
noPadding: boolean;
|
|
536
|
+
beforeClose: Function;
|
|
537
|
+
toTopCenter: boolean;
|
|
538
|
+
toBottomCenter: boolean;
|
|
539
|
+
disableCloseOnClickBackdrop: boolean;
|
|
540
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
541
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
542
|
+
created?: (() => void) | (() => void)[];
|
|
543
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
544
|
+
mounted?: (() => void) | (() => void)[];
|
|
545
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
546
|
+
updated?: (() => void) | (() => void)[];
|
|
547
|
+
activated?: (() => void) | (() => void)[];
|
|
548
|
+
deactivated?: (() => void) | (() => void)[];
|
|
549
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
550
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
551
|
+
destroyed?: (() => void) | (() => void)[];
|
|
552
|
+
unmounted?: (() => void) | (() => void)[];
|
|
553
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
554
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
555
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
556
|
+
};
|
|
557
|
+
$forceUpdate: () => void;
|
|
558
|
+
$nextTick: typeof nextTick;
|
|
559
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
560
|
+
} & Readonly<{
|
|
561
|
+
direction: string;
|
|
562
|
+
minWidth: string;
|
|
563
|
+
transition: string;
|
|
564
|
+
noPadding: boolean;
|
|
565
|
+
beforeClose: Function;
|
|
566
|
+
toTopCenter: boolean;
|
|
567
|
+
toBottomCenter: boolean;
|
|
568
|
+
disableCloseOnClickBackdrop: boolean;
|
|
569
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
570
|
+
itemSource: {
|
|
571
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[]>;
|
|
572
|
+
};
|
|
573
|
+
beforeClose: {
|
|
574
|
+
type: FunctionConstructor;
|
|
575
|
+
default: () => void;
|
|
576
|
+
};
|
|
577
|
+
transition: {
|
|
578
|
+
type: StringConstructor;
|
|
579
|
+
default: string;
|
|
580
|
+
};
|
|
581
|
+
minWidth: {
|
|
582
|
+
type: StringConstructor;
|
|
583
|
+
default: string;
|
|
584
|
+
};
|
|
585
|
+
direction: {
|
|
586
|
+
type: StringConstructor;
|
|
587
|
+
default: string;
|
|
588
|
+
};
|
|
589
|
+
fixPosition: {
|
|
590
|
+
type: import('vue').PropType<import('../../../../../../moz-ui-components/src/shared/types').ContextPosition>;
|
|
591
|
+
};
|
|
592
|
+
toTopCenter: {
|
|
593
|
+
type: BooleanConstructor;
|
|
594
|
+
required: false;
|
|
595
|
+
};
|
|
596
|
+
toBottomCenter: {
|
|
597
|
+
type: BooleanConstructor;
|
|
598
|
+
required: false;
|
|
599
|
+
};
|
|
600
|
+
noPadding: {
|
|
601
|
+
type: BooleanConstructor;
|
|
602
|
+
required: false;
|
|
603
|
+
};
|
|
604
|
+
disableCloseOnClickBackdrop: {
|
|
605
|
+
type: BooleanConstructor;
|
|
606
|
+
required: false;
|
|
607
|
+
};
|
|
608
|
+
}>> & Readonly<{
|
|
609
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
610
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
611
|
+
}>, "close" | "toggle" | "state" | "open" | ("direction" | "minWidth" | "transition" | "noPadding" | "beforeClose" | "toTopCenter" | "toBottomCenter" | "disableCloseOnClickBackdrop")> & {
|
|
612
|
+
state: boolean;
|
|
613
|
+
open: (setMenuItems?: (menuProps
|
|
614
|
+
/**
|
|
615
|
+
* PivotContextMenu.vue
|
|
616
|
+
*
|
|
617
|
+
* 피벗 그리드 전용 컨텍스트 메뉴.
|
|
618
|
+
* moz-wijmo-grid의 ExtendPivotGridContextMenu.ts를 참고하여 구현.
|
|
619
|
+
*
|
|
620
|
+
* 메뉴 항목:
|
|
621
|
+
* 1. 필터 추가 (해당 열에 필터 다이얼로그)
|
|
622
|
+
* 2. 선택값으로 필터링 (셀 값 즉시 필터)
|
|
623
|
+
* 3. 열 필터 초기화
|
|
624
|
+
* 4. 데이터 복사 / 헤더 포함 복사
|
|
625
|
+
* 5. 선택 영역 합계 표시
|
|
626
|
+
*/
|
|
627
|
+
?: any) => import('../../../../../../moz-ui-components/src/shared/types').IContextMenu[], menuProps?: any) => void;
|
|
628
|
+
close: () => void;
|
|
629
|
+
toggle: () => void;
|
|
630
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
631
|
+
$slots: any;
|
|
632
|
+
}) | null;
|
|
633
|
+
}, any>;
|
|
634
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
field: string;
|
|
3
|
+
header?: string;
|
|
4
|
+
area: string;
|
|
5
|
+
aggregate?: string;
|
|
6
|
+
/** 현재 칩이 설정 팝업의 대상인지 여부 (톱니바퀴 색상 활성화) */
|
|
7
|
+
settingsActive?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
remove: () => any;
|
|
11
|
+
"open-settings": () => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
+
onRemove?: (() => any) | undefined;
|
|
14
|
+
"onOpen-settings"?: (() => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PivotRowField, PivotColumnField, PivotValueField, PivotFilterField } from '../../../../../moz-ui-grid-core/src/index.ts';
|
|
2
|
+
type PivotField = PivotRowField | PivotColumnField | PivotValueField | PivotFilterField;
|
|
3
|
+
interface Props {
|
|
4
|
+
area: 'row' | 'column' | 'value' | 'filter';
|
|
5
|
+
label: string;
|
|
6
|
+
/** 현재 설정 팝업이 열려있는 값 필드 식별자 (값 영역 칩 톱니바퀴 활성 표시용) */
|
|
7
|
+
settingsActiveField?: string;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = Props;
|
|
10
|
+
type __VLS_PublicProps = {
|
|
11
|
+
'fields': PivotField[];
|
|
12
|
+
} & __VLS_Props;
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"open-settings": (field: PivotValueField) => any;
|
|
15
|
+
"field-removed": (field: string) => any;
|
|
16
|
+
"aggregate-changed": (field: string, aggregate: string) => any;
|
|
17
|
+
"item-dropped": (item: any) => any;
|
|
18
|
+
"update:fields": (value: PivotField[]) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
+
"onOpen-settings"?: ((field: PivotValueField) => any) | undefined;
|
|
21
|
+
"onField-removed"?: ((field: string) => any) | undefined;
|
|
22
|
+
"onAggregate-changed"?: ((field: string, aggregate: string) => any) | undefined;
|
|
23
|
+
"onItem-dropped"?: ((item: any) => any) | undefined;
|
|
24
|
+
"onUpdate:fields"?: ((value: PivotField[]) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
|
+
export default _default;
|