@bryntum/core-vue-3-thin 7.1.1
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 +53 -0
- package/lib/chunks/04iGTdr4.js +305 -0
- package/lib/chunks/04iGTdr4.js.map +1 -0
- package/lib/chunks/50EFBKUJ.js +305 -0
- package/lib/chunks/50EFBKUJ.js.map +1 -0
- package/lib/chunks/9l_t8_Hn.js +279 -0
- package/lib/chunks/9l_t8_Hn.js.map +1 -0
- package/lib/chunks/BDjSyfX1.js +231 -0
- package/lib/chunks/BDjSyfX1.js.map +1 -0
- package/lib/chunks/BEIlMzLy.js +329 -0
- package/lib/chunks/BEIlMzLy.js.map +1 -0
- package/lib/chunks/BGHGQ3of.js +334 -0
- package/lib/chunks/BGHGQ3of.js.map +1 -0
- package/lib/chunks/BPCnTL_S.js +311 -0
- package/lib/chunks/BPCnTL_S.js.map +1 -0
- package/lib/chunks/BccmKSjV.js +332 -0
- package/lib/chunks/BccmKSjV.js.map +1 -0
- package/lib/chunks/Beqfuio_.js +324 -0
- package/lib/chunks/Beqfuio_.js.map +1 -0
- package/lib/chunks/BhvCgnAQ.js +348 -0
- package/lib/chunks/BhvCgnAQ.js.map +1 -0
- package/lib/chunks/BjofEFjT.js +90 -0
- package/lib/chunks/BjofEFjT.js.map +1 -0
- package/lib/chunks/Bqt3amcP.js +332 -0
- package/lib/chunks/Bqt3amcP.js.map +1 -0
- package/lib/chunks/BrGP25YO.js +273 -0
- package/lib/chunks/BrGP25YO.js.map +1 -0
- package/lib/chunks/C08cDbJ_.js +315 -0
- package/lib/chunks/C08cDbJ_.js.map +1 -0
- package/lib/chunks/C37G38Em.js +233 -0
- package/lib/chunks/C37G38Em.js.map +1 -0
- package/lib/chunks/C4Plc5KT.js +313 -0
- package/lib/chunks/C4Plc5KT.js.map +1 -0
- package/lib/chunks/C5CKKnb-.js +28 -0
- package/lib/chunks/C5CKKnb-.js.map +1 -0
- package/lib/chunks/C5fDrmXK.js +308 -0
- package/lib/chunks/C5fDrmXK.js.map +1 -0
- package/lib/chunks/C7jiLVhi.js +332 -0
- package/lib/chunks/C7jiLVhi.js.map +1 -0
- package/lib/chunks/CCOHmzO2.js +326 -0
- package/lib/chunks/CCOHmzO2.js.map +1 -0
- package/lib/chunks/CJ_VkUSL.js +311 -0
- package/lib/chunks/CJ_VkUSL.js.map +1 -0
- package/lib/chunks/CQxDiecl.js +303 -0
- package/lib/chunks/CQxDiecl.js.map +1 -0
- package/lib/chunks/CY2MQpEF.js +311 -0
- package/lib/chunks/CY2MQpEF.js.map +1 -0
- package/lib/chunks/CglOknHW.js +326 -0
- package/lib/chunks/CglOknHW.js.map +1 -0
- package/lib/chunks/CjxVRXWC.js +322 -0
- package/lib/chunks/CjxVRXWC.js.map +1 -0
- package/lib/chunks/CtYTESR7.js +334 -0
- package/lib/chunks/CtYTESR7.js.map +1 -0
- package/lib/chunks/D6reMBCw.js +293 -0
- package/lib/chunks/D6reMBCw.js.map +1 -0
- package/lib/chunks/DAF6eal3.js +380 -0
- package/lib/chunks/DAF6eal3.js.map +1 -0
- package/lib/chunks/DDx2bcZ4.js +311 -0
- package/lib/chunks/DDx2bcZ4.js.map +1 -0
- package/lib/chunks/DMPfOU5b.js +328 -0
- package/lib/chunks/DMPfOU5b.js.map +1 -0
- package/lib/chunks/DUIWxr9S.js +287 -0
- package/lib/chunks/DUIWxr9S.js.map +1 -0
- package/lib/chunks/DXudB--w.js +285 -0
- package/lib/chunks/DXudB--w.js.map +1 -0
- package/lib/chunks/DdOigT_0.js +317 -0
- package/lib/chunks/DdOigT_0.js.map +1 -0
- package/lib/chunks/DdlURSV2.js +402 -0
- package/lib/chunks/DdlURSV2.js.map +1 -0
- package/lib/chunks/Dg8brqqq.js +265 -0
- package/lib/chunks/Dg8brqqq.js.map +1 -0
- package/lib/chunks/EhPIs-5p.js +316 -0
- package/lib/chunks/EhPIs-5p.js.map +1 -0
- package/lib/chunks/GPQ2KdEZ.js +277 -0
- package/lib/chunks/GPQ2KdEZ.js.map +1 -0
- package/lib/chunks/I1j1h3ES.js +331 -0
- package/lib/chunks/I1j1h3ES.js.map +1 -0
- package/lib/chunks/N0tT12PU.js +299 -0
- package/lib/chunks/N0tT12PU.js.map +1 -0
- package/lib/chunks/UsX3m2ag.js +318 -0
- package/lib/chunks/UsX3m2ag.js.map +1 -0
- package/lib/chunks/ZCAFO-QE.js +283 -0
- package/lib/chunks/ZCAFO-QE.js.map +1 -0
- package/lib/chunks/aFUypleu.js +344 -0
- package/lib/chunks/aFUypleu.js.map +1 -0
- package/lib/chunks/b7paFuwf.js +304 -0
- package/lib/chunks/b7paFuwf.js.map +1 -0
- package/lib/chunks/dpFvo-c8.js +241 -0
- package/lib/chunks/dpFvo-c8.js.map +1 -0
- package/lib/chunks/ffxvxZgO.js +285 -0
- package/lib/chunks/ffxvxZgO.js.map +1 -0
- package/lib/chunks/i1fKEJ02.js +289 -0
- package/lib/chunks/i1fKEJ02.js.map +1 -0
- package/lib/chunks/r16hhPbD.js +284 -0
- package/lib/chunks/r16hhPbD.js.map +1 -0
- package/lib/chunks/sfgBkKKU.js +340 -0
- package/lib/chunks/sfgBkKKU.js.map +1 -0
- package/lib/chunks/wUYS2r48.js +301 -0
- package/lib/chunks/wUYS2r48.js.map +1 -0
- package/lib/components/BryntumButton.js +5 -0
- package/lib/components/BryntumButton.js.map +1 -0
- package/lib/components/BryntumButtonGroup.js +5 -0
- package/lib/components/BryntumButtonGroup.js.map +1 -0
- package/lib/components/BryntumChatPanel.js +5 -0
- package/lib/components/BryntumChatPanel.js.map +1 -0
- package/lib/components/BryntumCheckbox.js +5 -0
- package/lib/components/BryntumCheckbox.js.map +1 -0
- package/lib/components/BryntumCheckboxGroup.js +5 -0
- package/lib/components/BryntumCheckboxGroup.js.map +1 -0
- package/lib/components/BryntumChipView.js +5 -0
- package/lib/components/BryntumChipView.js.map +1 -0
- package/lib/components/BryntumCodeEditor.js +5 -0
- package/lib/components/BryntumCodeEditor.js.map +1 -0
- package/lib/components/BryntumColorField.js +5 -0
- package/lib/components/BryntumColorField.js.map +1 -0
- package/lib/components/BryntumCombo.js +5 -0
- package/lib/components/BryntumCombo.js.map +1 -0
- package/lib/components/BryntumContainer.js +5 -0
- package/lib/components/BryntumContainer.js.map +1 -0
- package/lib/components/BryntumDateField.js +5 -0
- package/lib/components/BryntumDateField.js.map +1 -0
- package/lib/components/BryntumDatePicker.js +5 -0
- package/lib/components/BryntumDatePicker.js.map +1 -0
- package/lib/components/BryntumDateRangeField.js +5 -0
- package/lib/components/BryntumDateRangeField.js.map +1 -0
- package/lib/components/BryntumDateTimeField.js +5 -0
- package/lib/components/BryntumDateTimeField.js.map +1 -0
- package/lib/components/BryntumDemoCodeEditor.js +5 -0
- package/lib/components/BryntumDemoCodeEditor.js.map +1 -0
- package/lib/components/BryntumDemoHeader.js +5 -0
- package/lib/components/BryntumDemoHeader.js.map +1 -0
- package/lib/components/BryntumDisplayField.js +5 -0
- package/lib/components/BryntumDisplayField.js.map +1 -0
- package/lib/components/BryntumDurationField.js +5 -0
- package/lib/components/BryntumDurationField.js.map +1 -0
- package/lib/components/BryntumEditor.js +5 -0
- package/lib/components/BryntumEditor.js.map +1 -0
- package/lib/components/BryntumFieldFilterPicker.js +5 -0
- package/lib/components/BryntumFieldFilterPicker.js.map +1 -0
- package/lib/components/BryntumFieldFilterPickerGroup.js +5 -0
- package/lib/components/BryntumFieldFilterPickerGroup.js.map +1 -0
- package/lib/components/BryntumFieldSet.js +5 -0
- package/lib/components/BryntumFieldSet.js.map +1 -0
- package/lib/components/BryntumFileField.js +5 -0
- package/lib/components/BryntumFileField.js.map +1 -0
- package/lib/components/BryntumFilePicker.js +5 -0
- package/lib/components/BryntumFilePicker.js.map +1 -0
- package/lib/components/BryntumFilterField.js +5 -0
- package/lib/components/BryntumFilterField.js.map +1 -0
- package/lib/components/BryntumFullscreenButton.js +5 -0
- package/lib/components/BryntumFullscreenButton.js.map +1 -0
- package/lib/components/BryntumHint.js +5 -0
- package/lib/components/BryntumHint.js.map +1 -0
- package/lib/components/BryntumLabel.js +5 -0
- package/lib/components/BryntumLabel.js.map +1 -0
- package/lib/components/BryntumList.js +5 -0
- package/lib/components/BryntumList.js.map +1 -0
- package/lib/components/BryntumMenu.js +5 -0
- package/lib/components/BryntumMenu.js.map +1 -0
- package/lib/components/BryntumMonthPicker.js +5 -0
- package/lib/components/BryntumMonthPicker.js.map +1 -0
- package/lib/components/BryntumNumberField.js +5 -0
- package/lib/components/BryntumNumberField.js.map +1 -0
- package/lib/components/BryntumPagingToolbar.js +5 -0
- package/lib/components/BryntumPagingToolbar.js.map +1 -0
- package/lib/components/BryntumPanel.js +5 -0
- package/lib/components/BryntumPanel.js.map +1 -0
- package/lib/components/BryntumPasswordField.js +5 -0
- package/lib/components/BryntumPasswordField.js.map +1 -0
- package/lib/components/BryntumRadio.js +5 -0
- package/lib/components/BryntumRadio.js.map +1 -0
- package/lib/components/BryntumRadioGroup.js +5 -0
- package/lib/components/BryntumRadioGroup.js.map +1 -0
- package/lib/components/BryntumSlideToggle.js +5 -0
- package/lib/components/BryntumSlideToggle.js.map +1 -0
- package/lib/components/BryntumSlider.js +5 -0
- package/lib/components/BryntumSlider.js.map +1 -0
- package/lib/components/BryntumSplitter.js +5 -0
- package/lib/components/BryntumSplitter.js.map +1 -0
- package/lib/components/BryntumTabPanel.js +5 -0
- package/lib/components/BryntumTabPanel.js.map +1 -0
- package/lib/components/BryntumTextAreaField.js +5 -0
- package/lib/components/BryntumTextAreaField.js.map +1 -0
- package/lib/components/BryntumTextAreaPickerField.js +5 -0
- package/lib/components/BryntumTextAreaPickerField.js.map +1 -0
- package/lib/components/BryntumTextField.js +5 -0
- package/lib/components/BryntumTextField.js.map +1 -0
- package/lib/components/BryntumTimeField.js +5 -0
- package/lib/components/BryntumTimeField.js.map +1 -0
- package/lib/components/BryntumTimePicker.js +5 -0
- package/lib/components/BryntumTimePicker.js.map +1 -0
- package/lib/components/BryntumToolbar.js +5 -0
- package/lib/components/BryntumToolbar.js.map +1 -0
- package/lib/components/BryntumWidget.js +5 -0
- package/lib/components/BryntumWidget.js.map +1 -0
- package/lib/components/BryntumYearPicker.js +5 -0
- package/lib/components/BryntumYearPicker.js.map +1 -0
- package/lib/helper/WrapperHelper.js +291 -0
- package/lib/helper/WrapperHelper.js.map +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +101 -0
- package/lib/index.js.map +1 -0
- package/license.pdf +0 -0
- package/licenses.md +310 -0
- package/package.json +27 -0
- package/src/components/BryntumButton.vue +952 -0
- package/src/components/BryntumButtonGroup.vue +967 -0
- package/src/components/BryntumButtonGroupProps.ts +574 -0
- package/src/components/BryntumButtonProps.ts +555 -0
- package/src/components/BryntumChatPanel.vue +1159 -0
- package/src/components/BryntumChatPanelProps.ts +706 -0
- package/src/components/BryntumCheckbox.vue +1071 -0
- package/src/components/BryntumCheckboxGroup.vue +1193 -0
- package/src/components/BryntumCheckboxGroupProps.ts +738 -0
- package/src/components/BryntumCheckboxProps.ts +630 -0
- package/src/components/BryntumChipView.vue +979 -0
- package/src/components/BryntumChipViewProps.ts +582 -0
- package/src/components/BryntumCodeEditor.vue +1136 -0
- package/src/components/BryntumCodeEditorProps.ts +707 -0
- package/src/components/BryntumColorField.vue +1060 -0
- package/src/components/BryntumColorFieldProps.ts +641 -0
- package/src/components/BryntumCombo.vue +1298 -0
- package/src/components/BryntumComboProps.ts +837 -0
- package/src/components/BryntumContainer.vue +917 -0
- package/src/components/BryntumContainerProps.ts +562 -0
- package/src/components/BryntumDateField.vue +1120 -0
- package/src/components/BryntumDateFieldProps.ts +692 -0
- package/src/components/BryntumDatePicker.vue +1427 -0
- package/src/components/BryntumDatePickerProps.ts +897 -0
- package/src/components/BryntumDateRangeField.vue +1122 -0
- package/src/components/BryntumDateRangeFieldProps.ts +693 -0
- package/src/components/BryntumDateTimeField.vue +1007 -0
- package/src/components/BryntumDateTimeFieldProps.ts +599 -0
- package/src/components/BryntumDemoCodeEditor.vue +1152 -0
- package/src/components/BryntumDemoCodeEditorProps.ts +720 -0
- package/src/components/BryntumDemoHeader.vue +131 -0
- package/src/components/BryntumDisplayField.vue +1044 -0
- package/src/components/BryntumDisplayFieldProps.ts +631 -0
- package/src/components/BryntumDurationField.vue +1103 -0
- package/src/components/BryntumDurationFieldProps.ts +682 -0
- package/src/components/BryntumEditor.vue +1093 -0
- package/src/components/BryntumEditorProps.ts +621 -0
- package/src/components/BryntumFieldFilterPicker.vue +1002 -0
- package/src/components/BryntumFieldFilterPickerGroup.vue +1038 -0
- package/src/components/BryntumFieldFilterPickerGroupProps.ts +645 -0
- package/src/components/BryntumFieldFilterPickerProps.ts +623 -0
- package/src/components/BryntumFieldSet.vue +1129 -0
- package/src/components/BryntumFieldSetProps.ts +702 -0
- package/src/components/BryntumFileField.vue +1047 -0
- package/src/components/BryntumFileFieldProps.ts +633 -0
- package/src/components/BryntumFilePicker.vue +948 -0
- package/src/components/BryntumFilePickerProps.ts +574 -0
- package/src/components/BryntumFilterField.vue +1088 -0
- package/src/components/BryntumFilterFieldProps.ts +667 -0
- package/src/components/BryntumFullscreenButton.vue +38 -0
- package/src/components/BryntumHint.vue +1199 -0
- package/src/components/BryntumHintProps.ts +752 -0
- package/src/components/BryntumLabel.vue +770 -0
- package/src/components/BryntumLabelProps.ts +458 -0
- package/src/components/BryntumList.vue +956 -0
- package/src/components/BryntumListProps.ts +562 -0
- package/src/components/BryntumMenu.vue +1223 -0
- package/src/components/BryntumMenuProps.ts +748 -0
- package/src/components/BryntumMonthPicker.vue +1133 -0
- package/src/components/BryntumMonthPickerProps.ts +687 -0
- package/src/components/BryntumNumberField.vue +1090 -0
- package/src/components/BryntumNumberFieldProps.ts +670 -0
- package/src/components/BryntumPagingToolbar.vue +989 -0
- package/src/components/BryntumPagingToolbarProps.ts +591 -0
- package/src/components/BryntumPanel.vue +1106 -0
- package/src/components/BryntumPanelProps.ts +683 -0
- package/src/components/BryntumPasswordField.vue +1034 -0
- package/src/components/BryntumPasswordFieldProps.ts +622 -0
- package/src/components/BryntumRadio.vue +1071 -0
- package/src/components/BryntumRadioGroup.vue +1159 -0
- package/src/components/BryntumRadioGroupProps.ts +728 -0
- package/src/components/BryntumRadioProps.ts +630 -0
- package/src/components/BryntumSlideToggle.vue +1071 -0
- package/src/components/BryntumSlideToggleProps.ts +630 -0
- package/src/components/BryntumSlider.vue +871 -0
- package/src/components/BryntumSliderProps.ts +522 -0
- package/src/components/BryntumSplitter.vue +813 -0
- package/src/components/BryntumSplitterProps.ts +467 -0
- package/src/components/BryntumTabPanel.vue +1164 -0
- package/src/components/BryntumTabPanelProps.ts +709 -0
- package/src/components/BryntumTextAreaField.vue +1046 -0
- package/src/components/BryntumTextAreaFieldProps.ts +632 -0
- package/src/components/BryntumTextAreaPickerField.vue +1067 -0
- package/src/components/BryntumTextAreaPickerFieldProps.ts +647 -0
- package/src/components/BryntumTextField.vue +1052 -0
- package/src/components/BryntumTextFieldProps.ts +636 -0
- package/src/components/BryntumTimeField.vue +1101 -0
- package/src/components/BryntumTimeFieldProps.ts +676 -0
- package/src/components/BryntumTimePicker.vue +952 -0
- package/src/components/BryntumTimePickerProps.ts +582 -0
- package/src/components/BryntumToolbar.vue +982 -0
- package/src/components/BryntumToolbarProps.ts +585 -0
- package/src/components/BryntumWidget.vue +765 -0
- package/src/components/BryntumWidgetProps.ts +454 -0
- package/src/components/BryntumYearPicker.vue +1144 -0
- package/src/components/BryntumYearPickerProps.ts +704 -0
- package/src/helper/WrapperHelper.ts +573 -0
- package/src/index.ts +101 -0
- package/src/vite-env.d.ts +1 -0
|
@@ -0,0 +1,573 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vue 3 widget helper
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { type ComponentInternalInstance, nextTick } from 'vue';
|
|
6
|
+
import { type VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
|
+
|
|
8
|
+
declare global {
|
|
9
|
+
interface Window {
|
|
10
|
+
bryntum: {
|
|
11
|
+
isTestEnv?: boolean;
|
|
12
|
+
vue?: {
|
|
13
|
+
isVueConfig?: (config: any) => boolean;
|
|
14
|
+
handleVueContent?: (widget: Widget, html: VueConfig) => void;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
interface RenderElement extends HTMLElement {
|
|
21
|
+
vueKey: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type Data = Record<string, unknown>;
|
|
25
|
+
|
|
26
|
+
type SuppressNew<T> = { [K in keyof T]: T[ K ] }
|
|
27
|
+
|
|
28
|
+
type AnyConstructor<
|
|
29
|
+
Instance extends object = object,
|
|
30
|
+
Static extends object = object
|
|
31
|
+
> = (new (...input: any[]) => Instance) & SuppressNew<Static>
|
|
32
|
+
|
|
33
|
+
type AnyWidget = AnyConstructor<any, any>;
|
|
34
|
+
|
|
35
|
+
type RenderData = {
|
|
36
|
+
record: any,
|
|
37
|
+
row: any,
|
|
38
|
+
column: any,
|
|
39
|
+
cellElement: RenderElement
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type VueTeleportConfig = {
|
|
43
|
+
vue: boolean,
|
|
44
|
+
is: string,
|
|
45
|
+
bind?: object
|
|
46
|
+
on?: object
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type WidgetData<T extends AnyWidget> = {
|
|
50
|
+
instanceClass: T,
|
|
51
|
+
instanceName: string
|
|
52
|
+
isView?: boolean,
|
|
53
|
+
dataStores?: object,
|
|
54
|
+
projectStores?: boolean,
|
|
55
|
+
configNames: string[]
|
|
56
|
+
propertyConfigNames: string[]
|
|
57
|
+
propertyNames: string[]
|
|
58
|
+
eventNames: string[]
|
|
59
|
+
featureNames?: string[]
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type WidgetConfig<T extends AnyWidget> = {
|
|
63
|
+
me?: ComponentInternalInstance;
|
|
64
|
+
widgetData: WidgetData<T>,
|
|
65
|
+
emit: (...args: any[]) => any
|
|
66
|
+
element: HTMLDivElement;
|
|
67
|
+
processCellContent?: Function;
|
|
68
|
+
processEventContent?: Function;
|
|
69
|
+
processWidgetContent?: Function;
|
|
70
|
+
hasFrameworkRenderer?: Function;
|
|
71
|
+
toRaw?: Function
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export type BryntumConfig = Record<string, any> & {
|
|
75
|
+
vueComponent?: Object,
|
|
76
|
+
listeners: Record<string, Function>,
|
|
77
|
+
features: {},
|
|
78
|
+
processCellContent: Function,
|
|
79
|
+
processEventContent: Function,
|
|
80
|
+
processWidgetContent: Function;
|
|
81
|
+
hasFrameworkRenderer: Function
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export class WrapperHelper {
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Development warning. Showed when environment is set to 'development'
|
|
88
|
+
* @param {String} clsName vue component instance
|
|
89
|
+
* @param {String} msg console message
|
|
90
|
+
*/
|
|
91
|
+
static devWarning(clsName: string, msg: string) {
|
|
92
|
+
// @ts-ignore
|
|
93
|
+
if (window.bryntum?.isTestEnv || process.env.NODE_ENV === 'development') {
|
|
94
|
+
console.warn(`Bryntum${clsName}Component development warning!\n${msg}\n` +
|
|
95
|
+
'Please check Vue integration guide: https://bryntum.com/products/grid/docs/guide/Grid/integration/vue/guide'
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
static devWarningContainer(clsName: string, containerParam: string) {
|
|
101
|
+
WrapperHelper.devWarning(clsName,
|
|
102
|
+
`Using "${containerParam}" parameter for configuration is not recommended.\n` +
|
|
103
|
+
'Widget is placed automatically inside it\'s container element.\n' +
|
|
104
|
+
`Solution: remove "${containerParam}" parameter from configuration.`
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
static devWarningConfigProp(clsName: string, prop: string) {
|
|
109
|
+
WrapperHelper.devWarning(clsName,
|
|
110
|
+
`Using "${prop}" parameter for configuration is not recommended.\n` +
|
|
111
|
+
`Solution: Use separate parameter for each "${prop}" value to enable reactive updates of the API instance`
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
static devWarningUpdateProp(clsName: string, prop: string) {
|
|
116
|
+
WrapperHelper.devWarning(clsName,
|
|
117
|
+
`"${prop}" is a static config option for component constructor only. No runtime changes are supported!`
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
static camelize(str: string) {
|
|
122
|
+
return str.replace(/-./g, s => (s[1] || '').toUpperCase());
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
static capitalize(str: string) {
|
|
126
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Returns `true` if the provided configuration object is valid for Vue processing.
|
|
131
|
+
* @param {*} config
|
|
132
|
+
* @returns {Boolean}
|
|
133
|
+
*/
|
|
134
|
+
static isVueConfig(config: any): boolean {
|
|
135
|
+
return Boolean(config?.vue);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Creates bryntum component config from vue component
|
|
140
|
+
* @param {Object} context
|
|
141
|
+
* @param {Object} context.me vue component instance
|
|
142
|
+
* @param {Object} context.widgetData reference to data
|
|
143
|
+
* @param {Function} context.emit reference to emit
|
|
144
|
+
* @param {Object} context.element HTML element
|
|
145
|
+
* @param {Function} context.processCellContent cell renderer method
|
|
146
|
+
* @param {Function} context.processEventContent event renderer method
|
|
147
|
+
* @param {Function} context.processWidgetContent widget renderer method
|
|
148
|
+
* @param {Function} context.hasFrameworkRenderer checks presence of vue renderer
|
|
149
|
+
* @param {Function} context.toRaw Vue fn to unwrap reactive object
|
|
150
|
+
* @returns {Object} config object
|
|
151
|
+
*/
|
|
152
|
+
static createConfig<T extends AnyWidget>({
|
|
153
|
+
me,
|
|
154
|
+
widgetData,
|
|
155
|
+
emit,
|
|
156
|
+
element,
|
|
157
|
+
processCellContent,
|
|
158
|
+
processEventContent,
|
|
159
|
+
processWidgetContent,
|
|
160
|
+
hasFrameworkRenderer,
|
|
161
|
+
toRaw
|
|
162
|
+
}: WidgetConfig<T>) {
|
|
163
|
+
|
|
164
|
+
const
|
|
165
|
+
props: Record<string, any> = {},
|
|
166
|
+
vProps = me!.vnode!.props! || {};
|
|
167
|
+
|
|
168
|
+
for (const key of Object.keys(vProps)) {
|
|
169
|
+
// Convert possible kebab keys to camelCase
|
|
170
|
+
props[this.camelize(key)] = vProps[key];
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
const
|
|
174
|
+
{
|
|
175
|
+
instanceClass,
|
|
176
|
+
instanceName
|
|
177
|
+
} = widgetData,
|
|
178
|
+
isValidProp = (propName: string) => props[propName] !== undefined,
|
|
179
|
+
configNames = (widgetData.configNames || []).filter(isValidProp),
|
|
180
|
+
propertyConfigNames = (widgetData.propertyConfigNames || []).filter(isValidProp),
|
|
181
|
+
propertyNames = (widgetData.propertyNames || []).filter(isValidProp),
|
|
182
|
+
featureNames = (widgetData.featureNames || []).filter(isValidProp),
|
|
183
|
+
// Disable event listeners for onProps, which are duplicating functions with preventable result support
|
|
184
|
+
eventNames = widgetData.eventNames.filter(eventName => !isValidProp(eventName) && !props[`on${this.capitalize(eventName)}`]),
|
|
185
|
+
bryntumConfig = {
|
|
186
|
+
vueComponent : me,
|
|
187
|
+
listeners : {},
|
|
188
|
+
features : {},
|
|
189
|
+
processCellContent,
|
|
190
|
+
processEventContent,
|
|
191
|
+
processWidgetContent,
|
|
192
|
+
hasFrameworkRenderer
|
|
193
|
+
} as BryntumConfig;
|
|
194
|
+
|
|
195
|
+
// Setup events listeners
|
|
196
|
+
eventNames.forEach(eventName => bryntumConfig.listeners[eventName] = (params: any) => emit(eventName, params));
|
|
197
|
+
|
|
198
|
+
// Setup configs
|
|
199
|
+
[
|
|
200
|
+
...configNames,
|
|
201
|
+
...propertyConfigNames,
|
|
202
|
+
...featureNames
|
|
203
|
+
].forEach(propName => {
|
|
204
|
+
WrapperHelper.applyPropValue(bryntumConfig, propName, props[propName], true, toRaw);
|
|
205
|
+
if (['features', 'config'].includes(propName)) {
|
|
206
|
+
WrapperHelper.devWarningConfigProp(instanceClass.$name, propName);
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
// Add vue wrapper class name
|
|
211
|
+
bryntumConfig.cls = (bryntumConfig.cls || '') + ` b-vue-${instanceClass.$name.toLowerCase()}-container`;
|
|
212
|
+
|
|
213
|
+
// Prepare watch arrays
|
|
214
|
+
widgetData.configNames = configNames;
|
|
215
|
+
widgetData.propertyNames = [
|
|
216
|
+
...configNames,
|
|
217
|
+
...propertyNames,
|
|
218
|
+
...propertyConfigNames,
|
|
219
|
+
...featureNames
|
|
220
|
+
];
|
|
221
|
+
|
|
222
|
+
// Cleanup unused instance arrays
|
|
223
|
+
widgetData.eventNames = [];
|
|
224
|
+
widgetData.propertyConfigNames = [];
|
|
225
|
+
widgetData.featureNames = [];
|
|
226
|
+
|
|
227
|
+
// If component has no container specified in config then use adopt to Wrapper's element
|
|
228
|
+
const
|
|
229
|
+
containerParam = [
|
|
230
|
+
'adopt',
|
|
231
|
+
'appendTo',
|
|
232
|
+
'insertAfter',
|
|
233
|
+
'insertBefore'
|
|
234
|
+
].find((prop: string) => bryntumConfig[prop]);
|
|
235
|
+
|
|
236
|
+
if (!containerParam) {
|
|
237
|
+
if (instanceName === 'Button') {
|
|
238
|
+
// Button should always be <a> or <button> inside owner element
|
|
239
|
+
bryntumConfig.appendTo = element;
|
|
240
|
+
}
|
|
241
|
+
else {
|
|
242
|
+
bryntumConfig.adopt = element;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
WrapperHelper.devWarningContainer(instanceClass.$name, containerParam);
|
|
247
|
+
}
|
|
248
|
+
return bryntumConfig;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Setup store events relay
|
|
253
|
+
* @param {Object} data reference to data
|
|
254
|
+
* @param {Object} instance bryntum widget instance
|
|
255
|
+
*/
|
|
256
|
+
static relayStores(data: any, instance: any) {
|
|
257
|
+
const { dataStores, projectStores } = data;
|
|
258
|
+
|
|
259
|
+
if (dataStores) {
|
|
260
|
+
Object.keys(dataStores).forEach(storeName => {
|
|
261
|
+
const store = projectStores ? instance.project[storeName] : instance[storeName];
|
|
262
|
+
if (store) {
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
if (store.syncDataOnLoad == null && !store.readUrl && !store.lazyLoad && (!store.crudManager || !store.crudManager.loadUrl)) {
|
|
266
|
+
store.syncDataOnLoad = true;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
// Makes relaying store events configurable but off by default
|
|
272
|
+
if (instance && instance.relayStoreEvents) {
|
|
273
|
+
store.relayAll(instance, dataStores[storeName]);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
delete data.dataStores;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Creates bryntum Widget from vue component
|
|
283
|
+
* @param {Object} config
|
|
284
|
+
* @param {Object} config.me vue component instance
|
|
285
|
+
* @param {Object} config.widgetData reference to data
|
|
286
|
+
* @param {Function} config.emit reference to emit
|
|
287
|
+
* @param {Object} config.element HTML element
|
|
288
|
+
* @param {Function} config.processCellContent cell renderer method
|
|
289
|
+
* @param {Function} config.hasFrameworkRenderer check the presence of vue renderer
|
|
290
|
+
* @param {Function} config.toRaw Vue fn to unwrap reactive object
|
|
291
|
+
* @returns {Object} widget object
|
|
292
|
+
*/
|
|
293
|
+
static createWidget<T extends AnyWidget>(config: WidgetConfig<T>): InstanceType<T> {
|
|
294
|
+
const
|
|
295
|
+
{ instanceClass } = config.widgetData,
|
|
296
|
+
cfg = WrapperHelper.createConfig(config);
|
|
297
|
+
return (instanceClass.$name === 'Widget' ? Widget.create(cfg) : new instanceClass(cfg)) as InstanceType<T>;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Applies property value to Bryntum config or instance.
|
|
302
|
+
* @param {Object} configOrInstance target object
|
|
303
|
+
* @param {String} prop property name
|
|
304
|
+
* @param {Object} value value
|
|
305
|
+
* @param {Boolean} [isConfig] config setting mode
|
|
306
|
+
* @param {Function} [toRaw] Vue fn to unwrap reactive object
|
|
307
|
+
*/
|
|
308
|
+
static applyPropValue(configOrInstance: any, prop: string, value: any, isConfig = true, toRaw?: Function) {
|
|
309
|
+
|
|
310
|
+
if (prop === 'project') {
|
|
311
|
+
// Allow use ProjectModel component as project
|
|
312
|
+
if (value && typeof value === 'object') {
|
|
313
|
+
configOrInstance[prop] = value.instance ? value.instance.value || value.instance : value;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
else if (prop === 'features' && typeof value === 'object') {
|
|
317
|
+
Object.keys(value).forEach(key => WrapperHelper.applyPropValue(configOrInstance, `${key}Feature`, value[key], isConfig, toRaw));
|
|
318
|
+
}
|
|
319
|
+
else if (prop === 'config' && typeof value === 'object') {
|
|
320
|
+
Object.keys(value).forEach(key => WrapperHelper.applyPropValue(configOrInstance, key, value[key], isConfig, toRaw));
|
|
321
|
+
}
|
|
322
|
+
else if (prop === 'columns' && !isConfig) {
|
|
323
|
+
configOrInstance['columns'].data = value;
|
|
324
|
+
}
|
|
325
|
+
else if (prop.endsWith('Feature')) {
|
|
326
|
+
const
|
|
327
|
+
features = configOrInstance['features'],
|
|
328
|
+
featureName = prop.replace('Feature', '');
|
|
329
|
+
if (isConfig) {
|
|
330
|
+
features[featureName] = value;
|
|
331
|
+
}
|
|
332
|
+
else {
|
|
333
|
+
const feature = features[featureName];
|
|
334
|
+
if (feature) {
|
|
335
|
+
feature.setConfig(value);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
configOrInstance[prop] = toRaw ? toRaw(value) : value;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Creates watches for vue component properties
|
|
346
|
+
* @param {Object} me vue component instance
|
|
347
|
+
* @param {Object} instance bryntum widget instance
|
|
348
|
+
* @param {Object} props reference to props
|
|
349
|
+
* @param {Object} data reference to data
|
|
350
|
+
* @param {Function} watcher watch method reference (Accepts: prop and newValue)
|
|
351
|
+
*/
|
|
352
|
+
static watchProps<T extends AnyWidget>(
|
|
353
|
+
instance: InstanceType<T>,
|
|
354
|
+
data: WidgetData<T>,
|
|
355
|
+
watcher: (prop: string, callback: (value: any) => void) => void) {
|
|
356
|
+
const
|
|
357
|
+
{
|
|
358
|
+
configNames,
|
|
359
|
+
propertyNames,
|
|
360
|
+
instanceClass
|
|
361
|
+
} = data;
|
|
362
|
+
|
|
363
|
+
propertyNames.forEach(prop => watcher(prop, newValue => {
|
|
364
|
+
const value = Array.isArray(newValue) ? newValue.slice() : newValue;
|
|
365
|
+
WrapperHelper.applyPropValue(instance, prop, value, false);
|
|
366
|
+
|
|
367
|
+
// Check if property is a config and notify
|
|
368
|
+
if (configNames.includes(prop)) {
|
|
369
|
+
WrapperHelper.devWarningUpdateProp(instanceClass.$name, prop);
|
|
370
|
+
}
|
|
371
|
+
}));
|
|
372
|
+
|
|
373
|
+
// Cleanup unused instance arrays
|
|
374
|
+
data.configNames = [];
|
|
375
|
+
data.propertyNames = [];
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Called from Widget.js to add the Vue component to teleports
|
|
380
|
+
* @param {Object} context
|
|
381
|
+
* @param {Widget} context.widget Widget which content is rendered by the Vue component
|
|
382
|
+
* @param {Object} context.html Object containing the Vue component properties and event listeners
|
|
383
|
+
*/
|
|
384
|
+
static processWidgetContent({ widget, html }: { widget: Widget; html: VueTeleportConfig }) {
|
|
385
|
+
const
|
|
386
|
+
{ is, bind = {}, vue, on = {} } = html,
|
|
387
|
+
// @ts-ignore
|
|
388
|
+
{ vueComponent } = this,
|
|
389
|
+
{ teleports : { value : teleports } } = vueComponent.provides,
|
|
390
|
+
{ contentElement : to, id } = widget;
|
|
391
|
+
|
|
392
|
+
if (vue) {
|
|
393
|
+
const key = `key-${id}`;
|
|
394
|
+
|
|
395
|
+
// delete the teleport with the same key if any
|
|
396
|
+
if (teleports.has(key)) {
|
|
397
|
+
teleports.delete(key);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
nextTick(() => {
|
|
401
|
+
teleports.set(key, { bind, on, key, is, to });
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Handles the content provided by a Vue component for the widget.
|
|
408
|
+
* @param {Widget} widget Owner widget
|
|
409
|
+
* @param {String} html The HTML content to be processed
|
|
410
|
+
*/
|
|
411
|
+
static handleVueContent(widget: Widget, html: VueConfig): void {
|
|
412
|
+
// Called when a Vue component is to provide the widget content
|
|
413
|
+
const
|
|
414
|
+
hasTeleports = (element: any) => Boolean(element.vueComponent?.provides?.teleports),
|
|
415
|
+
parentView = widget.closest(hasTeleports) as any,
|
|
416
|
+
// Find a view (grid, scheduler, etc.) which has `teleports` defined. It also has `processWidgetContent`
|
|
417
|
+
view = parentView?.vueComponent ? parentView : Widget.query(hasTeleports);
|
|
418
|
+
|
|
419
|
+
view?.processWidgetContent?.({ widget, html });
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* Event renderer method
|
|
424
|
+
* @param {Object} context
|
|
425
|
+
* @param {*} context.jsx
|
|
426
|
+
* @param {DomConfig} context.domConfig
|
|
427
|
+
* @param {HTMLElement} context.targetElement
|
|
428
|
+
* @param {Boolean} context.isRelease
|
|
429
|
+
* @returns {Boolean}
|
|
430
|
+
*/
|
|
431
|
+
static processEventContent({
|
|
432
|
+
// Core passes it as jsx for React wrappers.
|
|
433
|
+
// Let's rename it to a more appropriate name.
|
|
434
|
+
jsx : rendererConfig,
|
|
435
|
+
domConfig,
|
|
436
|
+
targetElement,
|
|
437
|
+
isRelease
|
|
438
|
+
}: {
|
|
439
|
+
jsx: { [key: string]: any },
|
|
440
|
+
domConfig: any;
|
|
441
|
+
isRelease: boolean;
|
|
442
|
+
targetElement: HTMLElement & { vueKey: string }
|
|
443
|
+
scrolling: boolean
|
|
444
|
+
}) {
|
|
445
|
+
|
|
446
|
+
let wrap: any = targetElement,
|
|
447
|
+
returnValue = false;
|
|
448
|
+
|
|
449
|
+
// @ts-ignore
|
|
450
|
+
const domConfigData = this.isVertical ? domConfig?.elementData?.renderData : domConfig?.elementData;
|
|
451
|
+
|
|
452
|
+
if (WrapperHelper.isVueConfig(rendererConfig) && rendererConfig?.is) {
|
|
453
|
+
if (domConfig?.dataset?.isMilestone) {
|
|
454
|
+
wrap = targetElement.parentElement!.parentElement!.parentElement!;
|
|
455
|
+
}
|
|
456
|
+
else {
|
|
457
|
+
wrap = targetElement.parentElement!.parentElement!;
|
|
458
|
+
}
|
|
459
|
+
const
|
|
460
|
+
// Vertical nests renderData, while horizontal does not
|
|
461
|
+
// @ts-ignore
|
|
462
|
+
wrapData = this.isVertical ? wrap.elementData.renderData : wrap.elementData,
|
|
463
|
+
{ assignmentRecord } = isRelease ? domConfigData : wrapData,
|
|
464
|
+
{ eventRecord } = wrapData,
|
|
465
|
+
{ vueComponent } = this as any,
|
|
466
|
+
{ teleports : { value : teleports } } = vueComponent.provides,
|
|
467
|
+
|
|
468
|
+
// Recurring events are handled a bit differently so get the flag
|
|
469
|
+
isRecurring = eventRecord.isRecurring || eventRecord.isOccurrence,
|
|
470
|
+
key = `assignment-${assignmentRecord?.id}${isRecurring ? '-' + eventRecord.id : ''}`;
|
|
471
|
+
|
|
472
|
+
if (wrap.vueKey) {
|
|
473
|
+
teleports.delete(wrap.vueKey);
|
|
474
|
+
}
|
|
475
|
+
const
|
|
476
|
+
bind = { ...rendererConfig },
|
|
477
|
+
{ is, on = {} } = bind;
|
|
478
|
+
|
|
479
|
+
delete bind.is;
|
|
480
|
+
delete bind.on;
|
|
481
|
+
|
|
482
|
+
nextTick(() => {
|
|
483
|
+
teleports.set(key, {
|
|
484
|
+
bind,
|
|
485
|
+
key,
|
|
486
|
+
is,
|
|
487
|
+
on,
|
|
488
|
+
to : targetElement,
|
|
489
|
+
generation : assignmentRecord.generation
|
|
490
|
+
});
|
|
491
|
+
|
|
492
|
+
});
|
|
493
|
+
|
|
494
|
+
wrap.vueKey = key;
|
|
495
|
+
returnValue = true;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
return returnValue;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Cell renderer method
|
|
503
|
+
* @param {Object} context
|
|
504
|
+
* @param {RenderData} context.rendererData
|
|
505
|
+
* @param {*} context.rendererHtml
|
|
506
|
+
* @returns {Boolean}
|
|
507
|
+
*/
|
|
508
|
+
static processCellContent({ rendererData, rendererHtml }: { rendererData: RenderData, rendererHtml: any }) {
|
|
509
|
+
const { record, column, cellElement, row } = rendererData;
|
|
510
|
+
|
|
511
|
+
// Only run for cells with vue renderers
|
|
512
|
+
if (WrapperHelper.isVueConfig(column.data) && column.data?.renderer) {
|
|
513
|
+
const
|
|
514
|
+
// `this` is a caller component
|
|
515
|
+
{ vueComponent } = this as any,
|
|
516
|
+
// `teleports` is javascript Map object
|
|
517
|
+
{ teleports : { value : teleports } } = vueComponent.provides,
|
|
518
|
+
key = `${column.id}-${record.id}`,
|
|
519
|
+
renderElement = column.tree
|
|
520
|
+
? cellElement.querySelector('.b-tree-cell-value')
|
|
521
|
+
: cellElement;
|
|
522
|
+
|
|
523
|
+
// If the cell already has a teleport, release it
|
|
524
|
+
if (cellElement.vueKey) {
|
|
525
|
+
teleports.delete(cellElement.vueKey);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
const
|
|
529
|
+
bind = { ...rendererHtml },
|
|
530
|
+
{ is, on = {} } = bind;
|
|
531
|
+
|
|
532
|
+
delete bind.is;
|
|
533
|
+
delete bind.on;
|
|
534
|
+
|
|
535
|
+
// Create new teleport
|
|
536
|
+
nextTick(() => {
|
|
537
|
+
// Only teleport if the row is still used for the same record. Since this happens async, we might have
|
|
538
|
+
// scrolled over the entire block of rows since the render
|
|
539
|
+
if (row.id === record.id) {
|
|
540
|
+
teleports.set(key, {
|
|
541
|
+
bind,
|
|
542
|
+
key,
|
|
543
|
+
is,
|
|
544
|
+
on,
|
|
545
|
+
to : renderElement,
|
|
546
|
+
generation : record.generation
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
});
|
|
550
|
+
|
|
551
|
+
// Link cell to the teleport, to be able to release it above
|
|
552
|
+
cellElement.vueKey = key;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @param {Object} context
|
|
559
|
+
* @param {*} context.cellContent Content to be rendered in cell (set by renderer)
|
|
560
|
+
* @param {*} context.column Column being rendered
|
|
561
|
+
* @returns {Boolean} `true` if there is a Vue Renderer in this cell, `false` otherwise
|
|
562
|
+
*/
|
|
563
|
+
static hasFrameworkRenderer({ cellContent, column }: { cellContent: any, column: any }) {
|
|
564
|
+
return cellContent && typeof cellContent === 'object' && WrapperHelper.isVueConfig(column?.data);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
// Expose wrapper methods on window.bryntum
|
|
569
|
+
window.bryntum = window.bryntum || {};
|
|
570
|
+
window.bryntum.vue = {
|
|
571
|
+
isVueConfig : WrapperHelper.isVueConfig,
|
|
572
|
+
handleVueContent : WrapperHelper.handleVueContent
|
|
573
|
+
};
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vue 3 wrappers
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export { default as BryntumFullscreenButton } from './components/BryntumFullscreenButton.vue';
|
|
6
|
+
export { default as BryntumDemoHeader } from './components/BryntumDemoHeader.vue';
|
|
7
|
+
|
|
8
|
+
export { default as BryntumButton } from './components/BryntumButton.vue';
|
|
9
|
+
export * from './components/BryntumButtonProps';
|
|
10
|
+
export { default as BryntumButtonGroup } from './components/BryntumButtonGroup.vue';
|
|
11
|
+
export * from './components/BryntumButtonGroupProps';
|
|
12
|
+
export { default as BryntumChatPanel } from './components/BryntumChatPanel.vue';
|
|
13
|
+
export * from './components/BryntumChatPanelProps';
|
|
14
|
+
export { default as BryntumCheckbox } from './components/BryntumCheckbox.vue';
|
|
15
|
+
export * from './components/BryntumCheckboxProps';
|
|
16
|
+
export { default as BryntumCheckboxGroup } from './components/BryntumCheckboxGroup.vue';
|
|
17
|
+
export * from './components/BryntumCheckboxGroupProps';
|
|
18
|
+
export { default as BryntumChipView } from './components/BryntumChipView.vue';
|
|
19
|
+
export * from './components/BryntumChipViewProps';
|
|
20
|
+
export { default as BryntumCodeEditor } from './components/BryntumCodeEditor.vue';
|
|
21
|
+
export * from './components/BryntumCodeEditorProps';
|
|
22
|
+
export { default as BryntumColorField } from './components/BryntumColorField.vue';
|
|
23
|
+
export * from './components/BryntumColorFieldProps';
|
|
24
|
+
export { default as BryntumCombo } from './components/BryntumCombo.vue';
|
|
25
|
+
export * from './components/BryntumComboProps';
|
|
26
|
+
export { default as BryntumContainer } from './components/BryntumContainer.vue';
|
|
27
|
+
export * from './components/BryntumContainerProps';
|
|
28
|
+
export { default as BryntumDateField } from './components/BryntumDateField.vue';
|
|
29
|
+
export * from './components/BryntumDateFieldProps';
|
|
30
|
+
export { default as BryntumDatePicker } from './components/BryntumDatePicker.vue';
|
|
31
|
+
export * from './components/BryntumDatePickerProps';
|
|
32
|
+
export { default as BryntumDateRangeField } from './components/BryntumDateRangeField.vue';
|
|
33
|
+
export * from './components/BryntumDateRangeFieldProps';
|
|
34
|
+
export { default as BryntumDateTimeField } from './components/BryntumDateTimeField.vue';
|
|
35
|
+
export * from './components/BryntumDateTimeFieldProps';
|
|
36
|
+
export { default as BryntumDemoCodeEditor } from './components/BryntumDemoCodeEditor.vue';
|
|
37
|
+
export * from './components/BryntumDemoCodeEditorProps';
|
|
38
|
+
export { default as BryntumDisplayField } from './components/BryntumDisplayField.vue';
|
|
39
|
+
export * from './components/BryntumDisplayFieldProps';
|
|
40
|
+
export { default as BryntumDurationField } from './components/BryntumDurationField.vue';
|
|
41
|
+
export * from './components/BryntumDurationFieldProps';
|
|
42
|
+
export { default as BryntumEditor } from './components/BryntumEditor.vue';
|
|
43
|
+
export * from './components/BryntumEditorProps';
|
|
44
|
+
export { default as BryntumFieldFilterPicker } from './components/BryntumFieldFilterPicker.vue';
|
|
45
|
+
export * from './components/BryntumFieldFilterPickerProps';
|
|
46
|
+
export { default as BryntumFieldFilterPickerGroup } from './components/BryntumFieldFilterPickerGroup.vue';
|
|
47
|
+
export * from './components/BryntumFieldFilterPickerGroupProps';
|
|
48
|
+
export { default as BryntumFieldSet } from './components/BryntumFieldSet.vue';
|
|
49
|
+
export * from './components/BryntumFieldSetProps';
|
|
50
|
+
export { default as BryntumFileField } from './components/BryntumFileField.vue';
|
|
51
|
+
export * from './components/BryntumFileFieldProps';
|
|
52
|
+
export { default as BryntumFilePicker } from './components/BryntumFilePicker.vue';
|
|
53
|
+
export * from './components/BryntumFilePickerProps';
|
|
54
|
+
export { default as BryntumFilterField } from './components/BryntumFilterField.vue';
|
|
55
|
+
export * from './components/BryntumFilterFieldProps';
|
|
56
|
+
export { default as BryntumHint } from './components/BryntumHint.vue';
|
|
57
|
+
export * from './components/BryntumHintProps';
|
|
58
|
+
export { default as BryntumLabel } from './components/BryntumLabel.vue';
|
|
59
|
+
export * from './components/BryntumLabelProps';
|
|
60
|
+
export { default as BryntumList } from './components/BryntumList.vue';
|
|
61
|
+
export * from './components/BryntumListProps';
|
|
62
|
+
export { default as BryntumMenu } from './components/BryntumMenu.vue';
|
|
63
|
+
export * from './components/BryntumMenuProps';
|
|
64
|
+
export { default as BryntumMonthPicker } from './components/BryntumMonthPicker.vue';
|
|
65
|
+
export * from './components/BryntumMonthPickerProps';
|
|
66
|
+
export { default as BryntumNumberField } from './components/BryntumNumberField.vue';
|
|
67
|
+
export * from './components/BryntumNumberFieldProps';
|
|
68
|
+
export { default as BryntumPagingToolbar } from './components/BryntumPagingToolbar.vue';
|
|
69
|
+
export * from './components/BryntumPagingToolbarProps';
|
|
70
|
+
export { default as BryntumPanel } from './components/BryntumPanel.vue';
|
|
71
|
+
export * from './components/BryntumPanelProps';
|
|
72
|
+
export { default as BryntumPasswordField } from './components/BryntumPasswordField.vue';
|
|
73
|
+
export * from './components/BryntumPasswordFieldProps';
|
|
74
|
+
export { default as BryntumRadio } from './components/BryntumRadio.vue';
|
|
75
|
+
export * from './components/BryntumRadioProps';
|
|
76
|
+
export { default as BryntumRadioGroup } from './components/BryntumRadioGroup.vue';
|
|
77
|
+
export * from './components/BryntumRadioGroupProps';
|
|
78
|
+
export { default as BryntumSlider } from './components/BryntumSlider.vue';
|
|
79
|
+
export * from './components/BryntumSliderProps';
|
|
80
|
+
export { default as BryntumSlideToggle } from './components/BryntumSlideToggle.vue';
|
|
81
|
+
export * from './components/BryntumSlideToggleProps';
|
|
82
|
+
export { default as BryntumSplitter } from './components/BryntumSplitter.vue';
|
|
83
|
+
export * from './components/BryntumSplitterProps';
|
|
84
|
+
export { default as BryntumTabPanel } from './components/BryntumTabPanel.vue';
|
|
85
|
+
export * from './components/BryntumTabPanelProps';
|
|
86
|
+
export { default as BryntumTextAreaField } from './components/BryntumTextAreaField.vue';
|
|
87
|
+
export * from './components/BryntumTextAreaFieldProps';
|
|
88
|
+
export { default as BryntumTextAreaPickerField } from './components/BryntumTextAreaPickerField.vue';
|
|
89
|
+
export * from './components/BryntumTextAreaPickerFieldProps';
|
|
90
|
+
export { default as BryntumTextField } from './components/BryntumTextField.vue';
|
|
91
|
+
export * from './components/BryntumTextFieldProps';
|
|
92
|
+
export { default as BryntumTimeField } from './components/BryntumTimeField.vue';
|
|
93
|
+
export * from './components/BryntumTimeFieldProps';
|
|
94
|
+
export { default as BryntumTimePicker } from './components/BryntumTimePicker.vue';
|
|
95
|
+
export * from './components/BryntumTimePickerProps';
|
|
96
|
+
export { default as BryntumToolbar } from './components/BryntumToolbar.vue';
|
|
97
|
+
export * from './components/BryntumToolbarProps';
|
|
98
|
+
export { default as BryntumWidget } from './components/BryntumWidget.vue';
|
|
99
|
+
export * from './components/BryntumWidgetProps';
|
|
100
|
+
export { default as BryntumYearPicker } from './components/BryntumYearPicker.vue';
|
|
101
|
+
export * from './components/BryntumYearPickerProps';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|