@bryntum/grid-vue-3 7.1.2 → 7.2.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 +12 -6
- package/lib/chunks/04Z-r-G1.js.map +1 -1
- package/lib/chunks/0Ky_G00z.js.map +1 -1
- package/lib/chunks/3_Jl90jj.js.map +1 -1
- package/lib/chunks/AVu6kI-X.js.map +1 -1
- package/lib/chunks/{BJYsAxtn.js → B3a2J_HP.js} +5 -3
- package/lib/chunks/B3a2J_HP.js.map +1 -0
- package/lib/chunks/{ByzGrGZw.js → B7CUcqMQ.js} +3 -1
- package/lib/chunks/B7CUcqMQ.js.map +1 -0
- package/lib/chunks/BBC3WPSR.js.map +1 -1
- package/lib/chunks/{Cn0Ya94A.js → BD4TMzsE.js} +3 -1
- package/lib/chunks/BD4TMzsE.js.map +1 -0
- package/lib/chunks/{IBkVu35t.js → BHu8f9Dp.js} +3 -1
- package/lib/chunks/BHu8f9Dp.js.map +1 -0
- package/lib/chunks/BKvUHcRy.js.map +1 -1
- package/lib/chunks/BMWqDhWz.js.map +1 -1
- package/lib/chunks/BPOTClrj.js.map +1 -1
- package/lib/chunks/{Bl1nY0zs.js → BPv29c1L.js} +3 -1
- package/lib/chunks/BPv29c1L.js.map +1 -0
- package/lib/chunks/{Bthy3WK_.js → BRNxaOZY.js} +3 -1
- package/lib/chunks/BRNxaOZY.js.map +1 -0
- package/lib/chunks/BWrol08V.js.map +1 -1
- package/lib/chunks/{DXV8OaJW.js → BY2XtRFp.js} +6 -4
- package/lib/chunks/BY2XtRFp.js.map +1 -0
- package/lib/chunks/{Cz-i63Mo.js → BYlVqoOH.js} +15 -13
- package/lib/chunks/BYlVqoOH.js.map +1 -0
- package/lib/chunks/{DS2xjnqc.js → B_RpDuPl.js} +3 -1
- package/lib/chunks/B_RpDuPl.js.map +1 -0
- package/lib/chunks/BbodcqTk.js.map +1 -1
- package/lib/chunks/BgOlt8-g.js.map +1 -1
- package/lib/chunks/{D4TAsqNB.js → BqITFN7j.js} +14 -6
- package/lib/chunks/BqITFN7j.js.map +1 -0
- package/lib/chunks/{DeUYzvrV.js → Bvuz69bz.js} +3 -1
- package/lib/chunks/Bvuz69bz.js.map +1 -0
- package/lib/chunks/CJT_5YUM.js.map +1 -1
- package/lib/chunks/{CUfL9xTp.js → CLKJB9_Q.js} +4 -2
- package/lib/chunks/CLKJB9_Q.js.map +1 -0
- package/lib/chunks/{GrzzpFHn.js → CNE3kq27.js} +3 -3
- package/lib/chunks/CNE3kq27.js.map +1 -0
- package/lib/chunks/{0VK2Jl2S.js → CQgQ2Hfd.js} +3 -1
- package/lib/chunks/CQgQ2Hfd.js.map +1 -0
- package/lib/chunks/CQgsdC7Q.js.map +1 -1
- package/lib/chunks/{CnFT3nUZ.js → CV1EW6aO.js} +3 -1
- package/lib/chunks/CV1EW6aO.js.map +1 -0
- package/lib/chunks/Cclk1cBi.js.map +1 -1
- package/lib/chunks/CgTmdNXZ.js.map +1 -1
- package/lib/chunks/{CSCDOxmI.js → CunmgJPL.js} +3 -1
- package/lib/chunks/CunmgJPL.js.map +1 -0
- package/lib/chunks/{CP3_GOOQ.js → D3b2wehg.js} +8 -6
- package/lib/chunks/D3b2wehg.js.map +1 -0
- package/lib/chunks/{khm7PMFG.js → D60vm2qH.js} +14 -6
- package/lib/chunks/D60vm2qH.js.map +1 -0
- package/lib/chunks/{Cqm7WaTu.js → DE9qm6LG.js} +14 -6
- package/lib/chunks/DE9qm6LG.js.map +1 -0
- package/lib/chunks/{BMkTynCV.js → DFUB7put.js} +3 -1
- package/lib/chunks/DFUB7put.js.map +1 -0
- package/lib/chunks/{CCW_cQEW.js → DHJN18Gw.js} +8 -6
- package/lib/chunks/DHJN18Gw.js.map +1 -0
- package/lib/chunks/{B0KAsWgX.js → DWD7C5DJ.js} +8 -6
- package/lib/chunks/DWD7C5DJ.js.map +1 -0
- package/lib/chunks/{XEoDbTsi.js → DZvKTDOi.js} +6 -4
- package/lib/chunks/DZvKTDOi.js.map +1 -0
- package/lib/chunks/DawhlNJV.js +241 -0
- package/lib/chunks/DawhlNJV.js.map +1 -0
- package/lib/chunks/{CKeNM4Nf.js → DeAg7gRc.js} +8 -6
- package/lib/chunks/DeAg7gRc.js.map +1 -0
- package/lib/chunks/{Bxb1qCH5.js → DmIKA2f7.js} +3 -1
- package/lib/chunks/DmIKA2f7.js.map +1 -0
- package/lib/chunks/DtvMMHtT.js.map +1 -1
- package/lib/chunks/EaZAZW8K.js.map +1 -1
- package/lib/chunks/{DTGbweaj.js → HNHtYUoU.js} +3 -1
- package/lib/chunks/HNHtYUoU.js.map +1 -0
- package/lib/chunks/{CePBa5ww.js → IyCjzWTA.js} +3 -3
- package/lib/chunks/IyCjzWTA.js.map +1 -0
- package/lib/chunks/{B5X85Zm3.js → LB6c5aKr.js} +3 -1
- package/lib/chunks/LB6c5aKr.js.map +1 -0
- package/lib/chunks/LWuAb4ZQ.js.map +1 -1
- package/lib/chunks/Q-pjsizq.js.map +1 -1
- package/lib/chunks/R6LyS5qC.js.map +1 -1
- package/lib/chunks/TzHGidVW.js.map +1 -1
- package/lib/chunks/{BUNTCdI4.js → VeuBxM6a.js} +3 -1
- package/lib/chunks/VeuBxM6a.js.map +1 -0
- package/lib/chunks/{CLKayagc.js → iQlD9PJv.js} +3 -3
- package/lib/chunks/iQlD9PJv.js.map +1 -0
- package/lib/chunks/{JkrJNJEn.js → mUDWZD2y.js} +6 -4
- package/lib/chunks/mUDWZD2y.js.map +1 -0
- package/lib/chunks/{BDxULi0Y.js → zig45kOk.js} +3 -1
- package/lib/chunks/zig45kOk.js.map +1 -0
- package/lib/components/BryntumButtonGroup.js +1 -1
- package/lib/components/BryntumChatPanel.js +1 -1
- package/lib/components/BryntumCheckboxGroup.js +1 -1
- package/lib/components/BryntumChipView.js +1 -1
- package/lib/components/BryntumCodeEditor.js +1 -1
- package/lib/components/BryntumContainer.js +1 -1
- package/lib/components/BryntumDateField.js +1 -1
- package/lib/components/BryntumDatePicker.js +1 -1
- package/lib/components/BryntumDemoCodeEditor.js +1 -1
- package/lib/components/BryntumEditor.js +1 -1
- package/lib/components/BryntumFieldFilterPicker.js +1 -1
- package/lib/components/BryntumFieldFilterPickerGroup.js +1 -1
- package/lib/components/BryntumFieldSet.js +1 -1
- package/lib/components/BryntumFilePicker.js +1 -1
- package/lib/components/BryntumGrid.js +1 -1
- package/lib/components/BryntumGridBase.js +1 -1
- package/lib/components/BryntumGridFieldFilterPicker.js +1 -1
- package/lib/components/BryntumGridFieldFilterPickerGroup.js +1 -1
- package/lib/components/BryntumGroupBar.js +1 -1
- package/lib/components/BryntumHint.js +1 -1
- package/lib/components/BryntumList.js +1 -1
- package/lib/components/BryntumMenu.js +1 -1
- package/lib/components/BryntumMonthPicker.js +1 -1
- package/lib/components/BryntumPagingToolbar.js +1 -1
- package/lib/components/BryntumPanel.js +1 -1
- package/lib/components/BryntumProgressBar.js +5 -0
- package/lib/components/BryntumProgressBar.js.map +1 -0
- package/lib/components/BryntumRadioGroup.js +1 -1
- package/lib/components/BryntumTabPanel.js +1 -1
- package/lib/components/BryntumTimeField.js +1 -1
- package/lib/components/BryntumTimePicker.js +1 -1
- package/lib/components/BryntumToolbar.js +1 -1
- package/lib/components/BryntumTreeGrid.js +1 -1
- package/lib/components/BryntumYearPicker.js +1 -1
- package/lib/helper/WrapperHelper.js +42 -42
- package/lib/helper/WrapperHelper.js.map +1 -1
- package/lib/index.js +65 -63
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +2 -2
- package/src/components/BryntumAIFilterFieldProps.ts +2 -2
- package/src/components/BryntumButton.vue +2 -2
- package/src/components/BryntumButtonGroup.vue +5 -0
- package/src/components/BryntumButtonGroupProps.ts +4 -0
- package/src/components/BryntumButtonProps.ts +2 -2
- package/src/components/BryntumChatPanel.vue +7 -2
- package/src/components/BryntumChatPanelProps.ts +6 -2
- package/src/components/BryntumCheckboxGroup.vue +7 -2
- package/src/components/BryntumCheckboxGroupProps.ts +6 -2
- package/src/components/BryntumChecklistFilterCombo.vue +2 -2
- package/src/components/BryntumChecklistFilterComboProps.ts +2 -2
- package/src/components/BryntumChipView.vue +4 -4
- package/src/components/BryntumChipViewProps.ts +2 -2
- package/src/components/BryntumCodeEditor.vue +7 -2
- package/src/components/BryntumCodeEditorProps.ts +6 -2
- package/src/components/BryntumCombo.vue +2 -2
- package/src/components/BryntumComboProps.ts +2 -2
- package/src/components/BryntumContainer.vue +7 -2
- package/src/components/BryntumContainerProps.ts +6 -2
- package/src/components/BryntumDateField.vue +13 -3
- package/src/components/BryntumDateFieldProps.ts +12 -3
- package/src/components/BryntumDatePicker.vue +8 -3
- package/src/components/BryntumDatePickerProps.ts +6 -2
- package/src/components/BryntumDateRangeField.vue +2 -2
- package/src/components/BryntumDateRangeFieldProps.ts +2 -2
- package/src/components/BryntumDateTimeField.vue +2 -2
- package/src/components/BryntumDateTimeFieldProps.ts +2 -2
- package/src/components/BryntumDemoCodeEditor.vue +7 -2
- package/src/components/BryntumDemoCodeEditorProps.ts +6 -2
- package/src/components/BryntumDisplayField.vue +2 -2
- package/src/components/BryntumDisplayFieldProps.ts +2 -2
- package/src/components/BryntumDurationField.vue +2 -2
- package/src/components/BryntumDurationFieldProps.ts +2 -2
- package/src/components/BryntumEditor.vue +7 -2
- package/src/components/BryntumEditorProps.ts +6 -2
- package/src/components/BryntumFieldFilterPicker.vue +7 -2
- package/src/components/BryntumFieldFilterPickerGroup.vue +7 -2
- package/src/components/BryntumFieldFilterPickerGroupProps.ts +6 -2
- package/src/components/BryntumFieldFilterPickerProps.ts +6 -2
- package/src/components/BryntumFieldSet.vue +7 -2
- package/src/components/BryntumFieldSetProps.ts +6 -2
- package/src/components/BryntumFileField.vue +2 -2
- package/src/components/BryntumFileFieldProps.ts +2 -2
- package/src/components/BryntumFilePicker.vue +7 -2
- package/src/components/BryntumFilePickerProps.ts +6 -2
- package/src/components/BryntumFilterField.vue +2 -2
- package/src/components/BryntumFilterFieldProps.ts +2 -2
- package/src/components/BryntumGrid.vue +63 -24
- package/src/components/BryntumGridBase.vue +63 -24
- package/src/components/BryntumGridBaseProps.ts +15 -2
- package/src/components/BryntumGridChartDesigner.vue +2 -2
- package/src/components/BryntumGridChartDesignerProps.ts +2 -2
- package/src/components/BryntumGridFieldFilterPicker.vue +7 -2
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +7 -2
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +6 -2
- package/src/components/BryntumGridFieldFilterPickerProps.ts +6 -2
- package/src/components/BryntumGridProps.ts +15 -2
- package/src/components/BryntumGroupBar.vue +4 -4
- package/src/components/BryntumGroupBarProps.ts +2 -2
- package/src/components/BryntumHint.vue +7 -2
- package/src/components/BryntumHintProps.ts +6 -2
- package/src/components/BryntumLabel.vue +2 -2
- package/src/components/BryntumLabelProps.ts +2 -2
- package/src/components/BryntumList.vue +4 -4
- package/src/components/BryntumListProps.ts +2 -2
- package/src/components/BryntumMenu.vue +7 -2
- package/src/components/BryntumMenuProps.ts +6 -2
- package/src/components/BryntumMonthPicker.vue +7 -2
- package/src/components/BryntumMonthPickerProps.ts +6 -2
- package/src/components/BryntumNumberField.vue +2 -2
- package/src/components/BryntumNumberFieldProps.ts +2 -2
- package/src/components/BryntumPagingToolbar.vue +7 -2
- package/src/components/BryntumPagingToolbarProps.ts +6 -2
- package/src/components/BryntumPanel.vue +7 -2
- package/src/components/BryntumPanelProps.ts +6 -2
- package/src/components/BryntumPasswordField.vue +2 -2
- package/src/components/BryntumPasswordFieldProps.ts +2 -2
- package/src/components/BryntumProgressBar.vue +792 -0
- package/src/components/BryntumProgressBarProps.ts +477 -0
- package/src/components/BryntumRadioGroup.vue +7 -2
- package/src/components/BryntumRadioGroupProps.ts +6 -2
- package/src/components/BryntumSlider.vue +2 -2
- package/src/components/BryntumSliderProps.ts +2 -2
- package/src/components/BryntumSplitter.vue +2 -2
- package/src/components/BryntumSplitterProps.ts +2 -2
- package/src/components/BryntumTabPanel.vue +7 -2
- package/src/components/BryntumTabPanelProps.ts +6 -2
- package/src/components/BryntumTextAreaField.vue +2 -2
- package/src/components/BryntumTextAreaFieldProps.ts +2 -2
- package/src/components/BryntumTextAreaPickerField.vue +2 -2
- package/src/components/BryntumTextAreaPickerFieldProps.ts +2 -2
- package/src/components/BryntumTextField.vue +2 -2
- package/src/components/BryntumTextFieldProps.ts +2 -2
- package/src/components/BryntumTimeField.vue +11 -2
- package/src/components/BryntumTimeFieldProps.ts +10 -2
- package/src/components/BryntumTimePicker.vue +7 -2
- package/src/components/BryntumTimePickerProps.ts +6 -2
- package/src/components/BryntumToolbar.vue +7 -2
- package/src/components/BryntumToolbarProps.ts +6 -2
- package/src/components/BryntumTreeCombo.vue +2 -2
- package/src/components/BryntumTreeComboProps.ts +2 -2
- package/src/components/BryntumTreeGrid.vue +63 -24
- package/src/components/BryntumTreeGridProps.ts +15 -2
- package/src/components/BryntumWidget.vue +2 -2
- package/src/components/BryntumWidgetProps.ts +2 -2
- package/src/components/BryntumYearPicker.vue +7 -2
- package/src/components/BryntumYearPickerProps.ts +6 -2
- package/src/helper/WrapperHelper.ts +5 -1
- package/src/index.ts +2 -0
- package/lib/chunks/0VK2Jl2S.js.map +0 -1
- package/lib/chunks/B0KAsWgX.js.map +0 -1
- package/lib/chunks/B5X85Zm3.js.map +0 -1
- package/lib/chunks/BDxULi0Y.js.map +0 -1
- package/lib/chunks/BJYsAxtn.js.map +0 -1
- package/lib/chunks/BMkTynCV.js.map +0 -1
- package/lib/chunks/BUNTCdI4.js.map +0 -1
- package/lib/chunks/Bl1nY0zs.js.map +0 -1
- package/lib/chunks/Bthy3WK_.js.map +0 -1
- package/lib/chunks/Bxb1qCH5.js.map +0 -1
- package/lib/chunks/ByzGrGZw.js.map +0 -1
- package/lib/chunks/CCW_cQEW.js.map +0 -1
- package/lib/chunks/CKeNM4Nf.js.map +0 -1
- package/lib/chunks/CLKayagc.js.map +0 -1
- package/lib/chunks/CP3_GOOQ.js.map +0 -1
- package/lib/chunks/CSCDOxmI.js.map +0 -1
- package/lib/chunks/CUfL9xTp.js.map +0 -1
- package/lib/chunks/CePBa5ww.js.map +0 -1
- package/lib/chunks/Cn0Ya94A.js.map +0 -1
- package/lib/chunks/CnFT3nUZ.js.map +0 -1
- package/lib/chunks/Cqm7WaTu.js.map +0 -1
- package/lib/chunks/Cz-i63Mo.js.map +0 -1
- package/lib/chunks/D4TAsqNB.js.map +0 -1
- package/lib/chunks/DS2xjnqc.js.map +0 -1
- package/lib/chunks/DTGbweaj.js.map +0 -1
- package/lib/chunks/DXV8OaJW.js.map +0 -1
- package/lib/chunks/DeUYzvrV.js.map +0 -1
- package/lib/chunks/GrzzpFHn.js.map +0 -1
- package/lib/chunks/IBkVu35t.js.map +0 -1
- package/lib/chunks/JkrJNJEn.js.map +0 -1
- package/lib/chunks/XEoDbTsi.js.map +0 -1
- package/lib/chunks/khm7PMFG.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WrapperHelper.js","sources":["../../src/helper/WrapperHelper.ts"],"sourcesContent":["/**\n * Vue 3 widget helper\n */\n\nimport { type ComponentInternalInstance, nextTick } from 'vue';\nimport { type VueConfig, Widget } from '@bryntum/grid';\n\ndeclare global {\n interface Window {\n bryntum: {\n isTestEnv?: boolean;\n vue?: {\n isVueConfig?: (config: any) => boolean;\n handleVueContent?: (widget: Widget, html: VueConfig) => void;\n };\n };\n }\n}\n\ninterface RenderElement extends HTMLElement {\n vueKey: string;\n}\n\nexport type Data = Record<string, unknown>;\n\ntype SuppressNew<T> = { [K in keyof T]: T[ K ] }\n\ntype AnyConstructor<\n Instance extends object = object,\n Static extends object = object\n> = (new (...input: any[]) => Instance) & SuppressNew<Static>\n\ntype AnyWidget = AnyConstructor<any, any>;\n\ntype RenderData = {\n record: any,\n row: any,\n column: any,\n cellElement: RenderElement\n}\n\ntype VueTeleportConfig = {\n vue: boolean,\n is: string,\n bind?: object\n on?: object\n}\n\nexport type WidgetData<T extends AnyWidget> = {\n instanceClass: T,\n instanceName: string\n isView?: boolean,\n dataStores?: object,\n projectStores?: boolean,\n configNames: string[]\n propertyConfigNames: string[]\n propertyNames: string[]\n eventNames: string[]\n featureNames?: string[]\n}\n\nexport type WidgetConfig<T extends AnyWidget> = {\n me?: ComponentInternalInstance;\n widgetData: WidgetData<T>,\n emit: (...args: any[]) => any\n element: HTMLDivElement;\n processCellContent?: Function;\n processEventContent?: Function;\n processWidgetContent?: Function;\n hasFrameworkRenderer?: Function;\n toRaw?: Function\n}\n\nexport type BryntumConfig = Record<string, any> & {\n vueComponent?: Object,\n listeners: Record<string, Function>,\n features: {},\n processCellContent: Function,\n processEventContent: Function,\n processWidgetContent: Function;\n hasFrameworkRenderer: Function\n};\n\nexport class WrapperHelper {\n\n /**\n * Development warning. Showed when environment is set to 'development'\n * @param {String} clsName vue component instance\n * @param {String} msg console message\n */\n static devWarning(clsName: string, msg: string) {\n // @ts-ignore\n if (window.bryntum?.isTestEnv || process.env.NODE_ENV === 'development') {\n console.warn(`Bryntum${clsName}Component development warning!\\n${msg}\\n` +\n 'Please check Vue integration guide: https://bryntum.com/products/grid/docs/guide/Grid/integration/vue/guide'\n );\n }\n }\n\n static devWarningContainer(clsName: string, containerParam: string) {\n WrapperHelper.devWarning(clsName,\n `Using \"${containerParam}\" parameter for configuration is not recommended.\\n` +\n 'Widget is placed automatically inside it\\'s container element.\\n' +\n `Solution: remove \"${containerParam}\" parameter from configuration.`\n );\n }\n\n static devWarningConfigProp(clsName: string, prop: string) {\n WrapperHelper.devWarning(clsName,\n `Using \"${prop}\" parameter for configuration is not recommended.\\n` +\n `Solution: Use separate parameter for each \"${prop}\" value to enable reactive updates of the API instance`\n );\n }\n\n static devWarningUpdateProp(clsName: string, prop: string) {\n WrapperHelper.devWarning(clsName,\n `\"${prop}\" is a static config option for component constructor only. No runtime changes are supported!`\n );\n }\n\n static camelize(str: string) {\n return str.replace(/-./g, s => (s[1] || '').toUpperCase());\n }\n\n static capitalize(str: string) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n }\n\n /**\n * Returns `true` if the provided configuration object is valid for Vue processing.\n * @param {*} config\n * @returns {Boolean}\n */\n static isVueConfig(config: any): boolean {\n return Boolean(config?.vue);\n }\n\n /**\n * Creates bryntum component config from vue component\n * @param {Object} context\n * @param {Object} context.me vue component instance\n * @param {Object} context.widgetData reference to data\n * @param {Function} context.emit reference to emit\n * @param {Object} context.element HTML element\n * @param {Function} context.processCellContent cell renderer method\n * @param {Function} context.processEventContent event renderer method\n * @param {Function} context.processWidgetContent widget renderer method\n * @param {Function} context.hasFrameworkRenderer checks presence of vue renderer\n * @param {Function} context.toRaw Vue fn to unwrap reactive object\n * @returns {Object} config object\n */\n static createConfig<T extends AnyWidget>({\n me,\n widgetData,\n emit,\n element,\n processCellContent,\n processEventContent,\n processWidgetContent,\n hasFrameworkRenderer,\n toRaw\n }: WidgetConfig<T>) {\n\n const\n props: Record<string, any> = {},\n vProps = me!.vnode!.props! || {};\n\n for (const key of Object.keys(vProps)) {\n // Convert possible kebab keys to camelCase\n props[this.camelize(key)] = vProps[key];\n }\n\n const\n {\n instanceClass,\n instanceName\n } = widgetData,\n isValidProp = (propName: string) => props[propName] !== undefined,\n configNames = (widgetData.configNames || []).filter(isValidProp),\n propertyConfigNames = (widgetData.propertyConfigNames || []).filter(isValidProp),\n propertyNames = (widgetData.propertyNames || []).filter(isValidProp),\n featureNames = (widgetData.featureNames || []).filter(isValidProp),\n // Disable event listeners for onProps, which are duplicating functions with preventable result support\n eventNames = widgetData.eventNames.filter(eventName => !isValidProp(eventName) && !props[`on${this.capitalize(eventName)}`]),\n bryntumConfig = {\n vueComponent : me,\n listeners : {},\n features : {},\n processCellContent,\n processEventContent,\n processWidgetContent,\n hasFrameworkRenderer\n } as BryntumConfig;\n\n // Setup events listeners\n eventNames.forEach(eventName => bryntumConfig.listeners[eventName] = (params: any) => emit(eventName, params));\n\n // Setup configs\n [\n ...configNames,\n ...propertyConfigNames,\n ...featureNames\n ].forEach(propName => {\n WrapperHelper.applyPropValue(bryntumConfig, propName, props[propName], true, toRaw);\n if (['features', 'config'].includes(propName)) {\n WrapperHelper.devWarningConfigProp(instanceClass.$name, propName);\n }\n });\n\n // Add vue wrapper class name\n bryntumConfig.cls = (bryntumConfig.cls || '') + ` b-vue-${instanceClass.$name.toLowerCase()}-container`;\n\n // Prepare watch arrays\n widgetData.configNames = configNames;\n widgetData.propertyNames = [\n ...configNames,\n ...propertyNames,\n ...propertyConfigNames,\n ...featureNames\n ];\n\n // Cleanup unused instance arrays\n widgetData.eventNames = [];\n widgetData.propertyConfigNames = [];\n widgetData.featureNames = [];\n\n // If component has no container specified in config then use adopt to Wrapper's element\n const\n containerParam = [\n 'adopt',\n 'appendTo',\n 'insertAfter',\n 'insertBefore'\n ].find((prop: string) => bryntumConfig[prop]);\n\n if (!containerParam) {\n if (instanceName === 'Button') {\n // Button should always be <a> or <button> inside owner element\n bryntumConfig.appendTo = element;\n }\n else {\n bryntumConfig.adopt = element;\n }\n }\n else {\n WrapperHelper.devWarningContainer(instanceClass.$name, containerParam);\n }\n return bryntumConfig;\n }\n\n /**\n * Setup store events relay\n * @param {Object} data reference to data\n * @param {Object} instance bryntum widget instance\n */\n static relayStores(data: any, instance: any) {\n const { dataStores, projectStores } = data;\n\n if (dataStores) {\n Object.keys(dataStores).forEach(storeName => {\n const store = projectStores ? instance.project[storeName] : instance[storeName];\n if (store) {\n\n\n if (store.syncDataOnLoad == null && !store.readUrl && !store.lazyLoad && (!store.crudManager || !store.crudManager.loadUrl)) {\n store.syncDataOnLoad = true;\n }\n\n\n\n // Makes relaying store events configurable but off by default\n if (instance && instance.relayStoreEvents) {\n store.relayAll(instance, dataStores[storeName]);\n }\n }\n });\n delete data.dataStores;\n }\n }\n\n /**\n * Creates bryntum Widget from vue component\n * @param {Object} config\n * @param {Object} config.me vue component instance\n * @param {Object} config.widgetData reference to data\n * @param {Function} config.emit reference to emit\n * @param {Object} config.element HTML element\n * @param {Function} config.processCellContent cell renderer method\n * @param {Function} config.hasFrameworkRenderer check the presence of vue renderer\n * @param {Function} config.toRaw Vue fn to unwrap reactive object\n * @returns {Object} widget object\n */\n static createWidget<T extends AnyWidget>(config: WidgetConfig<T>): InstanceType<T> {\n const\n { instanceClass } = config.widgetData,\n cfg = WrapperHelper.createConfig(config);\n return (instanceClass.$name === 'Widget' ? Widget.create(cfg) : new instanceClass(cfg)) as InstanceType<T>;\n }\n\n /**\n * Applies property value to Bryntum config or instance.\n * @param {Object} configOrInstance target object\n * @param {String} prop property name\n * @param {Object} value value\n * @param {Boolean} [isConfig] config setting mode\n * @param {Function} [toRaw] Vue fn to unwrap reactive object\n */\n static applyPropValue(configOrInstance: any, prop: string, value: any, isConfig = true, toRaw?: Function) {\n\n if (prop === 'project') {\n // Allow use ProjectModel component as project\n if (value && typeof value === 'object') {\n configOrInstance[prop] = value.instance ? value.instance.value || value.instance : value;\n }\n }\n else if (prop === 'features' && typeof value === 'object') {\n Object.keys(value).forEach(key => WrapperHelper.applyPropValue(configOrInstance, `${key}Feature`, value[key], isConfig, toRaw));\n }\n else if (prop === 'config' && typeof value === 'object') {\n Object.keys(value).forEach(key => WrapperHelper.applyPropValue(configOrInstance, key, value[key], isConfig, toRaw));\n }\n else if (prop === 'columns' && !isConfig) {\n configOrInstance['columns'].data = value;\n }\n else if (prop.endsWith('Feature')) {\n const\n features = configOrInstance['features'],\n featureName = prop.replace('Feature', '');\n if (isConfig) {\n features[featureName] = value;\n }\n else {\n const feature = features[featureName];\n if (feature) {\n feature.setConfig(value);\n }\n }\n }\n else {\n configOrInstance[prop] = toRaw ? toRaw(value) : value;\n }\n }\n\n /**\n * Creates watches for vue component properties\n * @param {Object} me vue component instance\n * @param {Object} instance bryntum widget instance\n * @param {Object} props reference to props\n * @param {Object} data reference to data\n * @param {Function} watcher watch method reference (Accepts: prop and newValue)\n */\n static watchProps<T extends AnyWidget>(\n instance: InstanceType<T>,\n data: WidgetData<T>,\n watcher: (prop: string, callback: (value: any) => void) => void) {\n const\n {\n configNames,\n propertyNames,\n instanceClass\n } = data;\n\n propertyNames.forEach(prop => watcher(prop, newValue => {\n const value = Array.isArray(newValue) ? newValue.slice() : newValue;\n WrapperHelper.applyPropValue(instance, prop, value, false);\n\n // Check if property is a config and notify\n if (configNames.includes(prop)) {\n WrapperHelper.devWarningUpdateProp(instanceClass.$name, prop);\n }\n }));\n\n // Cleanup unused instance arrays\n data.configNames = [];\n data.propertyNames = [];\n }\n\n /**\n * Called from Widget.js to add the Vue component to teleports\n * @param {Object} context\n * @param {Widget} context.widget Widget which content is rendered by the Vue component\n * @param {Object} context.html Object containing the Vue component properties and event listeners\n */\n static processWidgetContent({ widget, html }: { widget: Widget; html: VueTeleportConfig }) {\n const\n { is, bind = {}, vue, on = {} } = html,\n // @ts-ignore\n { vueComponent } = this,\n { teleports : { value : teleports } } = vueComponent.provides,\n { contentElement : to, id } = widget;\n\n if (vue) {\n const key = `key-${id}`;\n\n // delete the teleport with the same key if any\n if (teleports.has(key)) {\n teleports.delete(key);\n }\n\n nextTick(() => {\n teleports.set(key, { bind, on, key, is, to });\n });\n }\n }\n\n /**\n * Handles the content provided by a Vue component for the widget.\n * @param {Widget} widget Owner widget\n * @param {String} html The HTML content to be processed\n */\n static handleVueContent(widget: Widget, html: VueConfig): void {\n // Called when a Vue component is to provide the widget content\n const\n hasTeleports = (element: any) => Boolean(element.vueComponent?.provides?.teleports),\n parentView = widget.closest(hasTeleports) as any,\n // Find a view (grid, scheduler, etc.) which has `teleports` defined. It also has `processWidgetContent`\n view = parentView?.vueComponent ? parentView : Widget.query(hasTeleports);\n\n view?.processWidgetContent?.({ widget, html });\n }\n\n /**\n * Event renderer method\n * @param {Object} context\n * @param {*} context.jsx\n * @param {DomConfig} context.domConfig\n * @param {HTMLElement} context.targetElement\n * @param {Boolean} context.isRelease\n * @returns {Boolean}\n */\n static processEventContent({\n // Core passes it as jsx for React wrappers.\n // Let's rename it to a more appropriate name.\n jsx : rendererConfig,\n domConfig,\n targetElement,\n isRelease\n }: {\n jsx: { [key: string]: any },\n domConfig: any;\n isRelease: boolean;\n targetElement: HTMLElement & { vueKey: string }\n scrolling: boolean\n }) {\n\n let wrap: any = targetElement,\n returnValue = false;\n\n // @ts-ignore\n const domConfigData = this.isVertical ? domConfig?.elementData?.renderData : domConfig?.elementData;\n\n if (WrapperHelper.isVueConfig(rendererConfig) && rendererConfig?.is) {\n if (domConfig?.dataset?.isMilestone) {\n wrap = targetElement.parentElement!.parentElement!.parentElement!;\n }\n else {\n wrap = targetElement.parentElement!.parentElement!;\n }\n const\n // Vertical nests renderData, while horizontal does not\n // @ts-ignore\n wrapData = this.isVertical ? wrap.elementData.renderData : wrap.elementData,\n { assignmentRecord } = isRelease ? domConfigData : wrapData,\n { eventRecord } = wrapData,\n { vueComponent } = this as any,\n { teleports : { value : teleports } } = vueComponent.provides,\n\n // Recurring events are handled a bit differently so get the flag\n isRecurring = eventRecord.isRecurring || eventRecord.isOccurrence,\n key = `assignment-${assignmentRecord?.id}${isRecurring ? '-' + eventRecord.id : ''}`;\n\n if (wrap.vueKey) {\n teleports.delete(wrap.vueKey);\n }\n const\n bind = { ...rendererConfig },\n { is, on = {} } = bind;\n\n delete bind.is;\n delete bind.on;\n\n nextTick(() => {\n teleports.set(key, {\n bind,\n key,\n is,\n on,\n to : targetElement,\n generation : assignmentRecord.generation\n });\n\n });\n\n wrap.vueKey = key;\n returnValue = true;\n }\n\n return returnValue;\n }\n\n /**\n * Cell renderer method\n * @param {Object} context\n * @param {RenderData} context.rendererData\n * @param {*} context.rendererHtml\n * @returns {Boolean}\n */\n static processCellContent({ rendererData, rendererHtml }: { rendererData: RenderData, rendererHtml: any }) {\n const { record, column, cellElement, row } = rendererData;\n\n // Only run for cells with vue renderers\n if (WrapperHelper.isVueConfig(column.data) && column.data?.renderer) {\n const\n // `this` is a caller component\n { vueComponent } = this as any,\n // `teleports` is javascript Map object\n { teleports : { value : teleports } } = vueComponent.provides,\n key = `${column.id}-${record.id}`,\n renderElement = column.tree\n ? cellElement.querySelector('.b-tree-cell-value')\n : cellElement;\n\n // If the cell already has a teleport, release it\n if (cellElement.vueKey) {\n teleports.delete(cellElement.vueKey);\n }\n\n const\n bind = { ...rendererHtml },\n { is, on = {} } = bind;\n\n delete bind.is;\n delete bind.on;\n\n // Create new teleport\n nextTick(() => {\n // Only teleport if the row is still used for the same record. Since this happens async, we might have\n // scrolled over the entire block of rows since the render\n if (row.id === record.id) {\n teleports.set(key, {\n bind,\n key,\n is,\n on,\n to : renderElement,\n generation : record.generation\n });\n }\n });\n\n // Link cell to the teleport, to be able to release it above\n cellElement.vueKey = key;\n }\n }\n\n /**\n *\n * @param {Object} context\n * @param {*} context.cellContent Content to be rendered in cell (set by renderer)\n * @param {*} context.column Column being rendered\n * @returns {Boolean} `true` if there is a Vue Renderer in this cell, `false` otherwise\n */\n static hasFrameworkRenderer({ cellContent, column }: { cellContent: any, column: any }) {\n return cellContent && typeof cellContent === 'object' && WrapperHelper.isVueConfig(column?.data);\n }\n}\n\n// Expose wrapper methods on window.bryntum\nwindow.bryntum = window.bryntum || {};\nwindow.bryntum.vue = {\n isVueConfig : WrapperHelper.isVueConfig,\n handleVueContent : WrapperHelper.handleVueContent\n};\n"],"names":["WrapperHelper","clsName","msg","containerParam","prop","str","s","config","me","widgetData","emit","element","processCellContent","processEventContent","processWidgetContent","hasFrameworkRenderer","toRaw","props","vProps","key","instanceClass","instanceName","isValidProp","propName","configNames","propertyConfigNames","propertyNames","featureNames","eventNames","eventName","bryntumConfig","params","data","instance","dataStores","projectStores","storeName","store","cfg","Widget","configOrInstance","value","isConfig","features","featureName","feature","watcher","newValue","widget","html","is","bind","vue","on","vueComponent","teleports","to","id","nextTick","hasTeleports","parentView","rendererConfig","domConfig","targetElement","isRelease","wrap","returnValue","domConfigData","wrapData","assignmentRecord","eventRecord","isRecurring","rendererData","rendererHtml","record","column","cellElement","row","renderElement","cellContent"],"mappings":";;AAmFO,MAAMA,EAAc;AAAA;AAAA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;AACvC,OAAO,QAAQ,MAAM;AAAA,EACjB,aAAmB3E,EAAc;AAAA,EACjC,kBAAmBA,EAAc;AACrC;"}
|
|
1
|
+
{"version":3,"file":"WrapperHelper.js","sources":["../../src/helper/WrapperHelper.ts"],"sourcesContent":["/**\n * Vue 3 widget helper\n */\n\nimport { type ComponentInternalInstance, nextTick } from 'vue';\nimport { type VueConfig, Widget } from '@bryntum/grid';\n\ndeclare global {\n interface Window {\n bryntum: {\n isTestEnv?: boolean;\n vue?: {\n isVueConfig?: (config: any) => boolean;\n handleVueContent?: (widget: Widget, html: VueConfig) => void;\n };\n };\n }\n}\n\ninterface RenderElement extends HTMLElement {\n vueKey: string;\n}\n\nexport type Data = Record<string, unknown>;\n\ntype SuppressNew<T> = { [K in keyof T]: T[ K ] }\n\ntype AnyConstructor<\n Instance extends object = object,\n Static extends object = object\n> = (new (...input: any[]) => Instance) & SuppressNew<Static>\n\ntype AnyWidget = AnyConstructor<any, any>;\n\ntype RenderData = {\n record: any,\n row: any,\n column: any,\n cellElement: RenderElement\n}\n\ntype VueTeleportConfig = {\n vue: boolean,\n is: string,\n bind?: object\n on?: object\n}\n\nexport type WidgetData<T extends AnyWidget> = {\n instanceClass: T,\n instanceName: string\n isView?: boolean,\n dataStores?: object,\n projectStores?: boolean,\n configNames: string[]\n propertyConfigNames: string[]\n propertyNames: string[]\n eventNames: string[]\n featureNames?: string[]\n}\n\nexport type WidgetConfig<T extends AnyWidget> = {\n me?: ComponentInternalInstance;\n widgetData: WidgetData<T>,\n emit: (...args: any[]) => any\n element: HTMLDivElement;\n processCellContent?: Function;\n processEventContent?: Function;\n processWidgetContent?: Function;\n hasFrameworkRenderer?: Function;\n toRaw?: Function\n}\n\nexport type BryntumConfig = Record<string, any> & {\n vueComponent?: Object,\n listeners: Record<string, Function>,\n features: {},\n processCellContent: Function,\n processEventContent: Function,\n processWidgetContent: Function;\n hasFrameworkRenderer: Function\n};\n\nexport class WrapperHelper {\n\n /**\n * Development warning. Showed when environment is set to 'development'\n * @param {String} clsName vue component instance\n * @param {String} msg console message\n */\n static devWarning(clsName: string, msg: string) {\n // @ts-ignore\n if (window.bryntum?.isTestEnv || process.env.NODE_ENV === 'development') {\n console.warn(`Bryntum${clsName}Component development warning!\\n${msg}\\n` +\n 'Please check Vue integration guide: https://bryntum.com/products/grid/docs/guide/Grid/integration/vue/guide'\n );\n }\n }\n\n static devWarningContainer(clsName: string, containerParam: string) {\n WrapperHelper.devWarning(clsName,\n `Using \"${containerParam}\" parameter for configuration is not recommended.\\n` +\n 'Widget is placed automatically inside it\\'s container element.\\n' +\n `Solution: remove \"${containerParam}\" parameter from configuration.`\n );\n }\n\n static devWarningConfigProp(clsName: string, prop: string) {\n WrapperHelper.devWarning(clsName,\n `Using \"${prop}\" parameter for configuration is not recommended.\\n` +\n `Solution: Use separate parameter for each \"${prop}\" value to enable reactive updates of the API instance`\n );\n }\n\n static devWarningUpdateProp(clsName: string, prop: string) {\n WrapperHelper.devWarning(clsName,\n `\"${prop}\" is a static config option for component constructor only. No runtime changes are supported!`\n );\n }\n\n static camelize(str: string) {\n return str.replace(/-./g, s => (s[1] || '').toUpperCase());\n }\n\n static capitalize(str: string) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n }\n\n /**\n * Returns `true` if the provided configuration object is valid for Vue processing.\n * @param {*} config\n * @returns {Boolean}\n */\n static isVueConfig(config: any): boolean {\n return Boolean(config?.vue);\n }\n\n /**\n * Creates bryntum component config from vue component\n * @param {Object} context\n * @param {Object} context.me vue component instance\n * @param {Object} context.widgetData reference to data\n * @param {Function} context.emit reference to emit\n * @param {Object} context.element HTML element\n * @param {Function} context.processCellContent cell renderer method\n * @param {Function} context.processEventContent event renderer method\n * @param {Function} context.processWidgetContent widget renderer method\n * @param {Function} context.hasFrameworkRenderer checks presence of vue renderer\n * @param {Function} context.toRaw Vue fn to unwrap reactive object\n * @returns {Object} config object\n */\n static createConfig<T extends AnyWidget>({\n me,\n widgetData,\n emit,\n element,\n processCellContent,\n processEventContent,\n processWidgetContent,\n hasFrameworkRenderer,\n toRaw\n }: WidgetConfig<T>) {\n\n const\n props: Record<string, any> = {},\n vProps = me!.vnode!.props! || {};\n\n for (const key of Object.keys(vProps)) {\n // Convert possible kebab keys to camelCase\n props[this.camelize(key)] = vProps[key];\n }\n\n const\n {\n instanceClass,\n instanceName\n } = widgetData,\n isValidProp = (propName: string) => props[propName] !== undefined,\n configNames = (widgetData.configNames || []).filter(isValidProp),\n propertyConfigNames = (widgetData.propertyConfigNames || []).filter(isValidProp),\n propertyNames = (widgetData.propertyNames || []).filter(isValidProp),\n featureNames = (widgetData.featureNames || []).filter(isValidProp),\n // Disable event listeners for onProps, which are duplicating functions with preventable result support\n eventNames = widgetData.eventNames.filter(eventName => !isValidProp(eventName) && !props[`on${this.capitalize(eventName)}`]),\n bryntumConfig = {\n vueComponent : me,\n listeners : {},\n features : {},\n processCellContent,\n processEventContent,\n processWidgetContent,\n hasFrameworkRenderer\n } as BryntumConfig;\n\n // Setup events listeners\n eventNames.forEach(eventName => bryntumConfig.listeners[eventName] = (params: any) => emit(eventName, params));\n\n // Setup configs\n [\n ...configNames,\n ...propertyConfigNames,\n ...featureNames\n ].forEach(propName => {\n WrapperHelper.applyPropValue(bryntumConfig, propName, props[propName], true, toRaw);\n if (['features', 'config'].includes(propName)) {\n WrapperHelper.devWarningConfigProp(instanceClass.$name, propName);\n }\n });\n\n // Add vue wrapper class name\n bryntumConfig.cls = (bryntumConfig.cls || '') + ` b-vue-${instanceClass.$name.toLowerCase()}-container`;\n\n // Prepare watch arrays\n widgetData.configNames = configNames;\n widgetData.propertyNames = [\n ...configNames,\n ...propertyNames,\n ...propertyConfigNames,\n ...featureNames\n ];\n\n // Cleanup unused instance arrays\n widgetData.eventNames = [];\n widgetData.propertyConfigNames = [];\n widgetData.featureNames = [];\n\n // If component has no container specified in config then use adopt to Wrapper's element\n const\n containerParam = [\n 'adopt',\n 'appendTo',\n 'insertAfter',\n 'insertBefore'\n ].find((prop: string) => bryntumConfig[prop]);\n\n if (!containerParam) {\n if (instanceName === 'Button') {\n // Button should always be <a> or <button> inside owner element\n bryntumConfig.appendTo = element;\n }\n else {\n bryntumConfig.adopt = element;\n }\n }\n else {\n WrapperHelper.devWarningContainer(instanceClass.$name, containerParam);\n }\n return bryntumConfig;\n }\n\n /**\n * Setup store events relay\n * @param {Object} data reference to data\n * @param {Object} instance bryntum widget instance\n */\n static relayStores(data: any, instance: any) {\n const { dataStores, projectStores } = data;\n\n if (dataStores) {\n Object.keys(dataStores).forEach(storeName => {\n const store = projectStores ? instance.project[storeName] : instance[storeName];\n if (store) {\n\n\n if (store.syncDataOnLoad == null && !store.readUrl && !store.lazyLoad && (!store.crudManager || !store.crudManager.loadUrl)) {\n store.syncDataOnLoad = true;\n }\n\n\n\n // Makes relaying store events configurable but off by default\n if (instance && instance.relayStoreEvents) {\n store.relayAll(instance, dataStores[storeName]);\n }\n }\n });\n delete data.dataStores;\n }\n }\n\n /**\n * Creates bryntum Widget from vue component\n * @param {Object} config\n * @param {Object} config.me vue component instance\n * @param {Object} config.widgetData reference to data\n * @param {Function} config.emit reference to emit\n * @param {Object} config.element HTML element\n * @param {Function} config.processCellContent cell renderer method\n * @param {Function} config.hasFrameworkRenderer check the presence of vue renderer\n * @param {Function} config.toRaw Vue fn to unwrap reactive object\n * @returns {Object} widget object\n */\n static createWidget<T extends AnyWidget>(config: WidgetConfig<T>): InstanceType<T> {\n const\n { instanceClass } = config.widgetData,\n cfg = WrapperHelper.createConfig(config);\n return (instanceClass.$name === 'Widget' ? Widget.create(cfg) : new instanceClass(cfg)) as InstanceType<T>;\n }\n\n /**\n * Applies property value to Bryntum config or instance.\n * @param {Object} configOrInstance target object\n * @param {String} prop property name\n * @param {Object} value value\n * @param {Boolean} [isConfig] config setting mode\n * @param {Function} [toRaw] Vue fn to unwrap reactive object\n */\n static applyPropValue(configOrInstance: any, prop: string, value: any, isConfig = true, toRaw?: Function) {\n\n if (prop === 'project') {\n // Allow use ProjectModel component as project\n if (value && typeof value === 'object') {\n configOrInstance[prop] = value.instance ? value.instance.value || value.instance : value;\n }\n }\n else if (prop === 'features' && typeof value === 'object') {\n Object.keys(value).forEach(key => WrapperHelper.applyPropValue(configOrInstance, `${key}Feature`, value[key], isConfig, toRaw));\n }\n else if (prop === 'config' && typeof value === 'object') {\n Object.keys(value).forEach(key => WrapperHelper.applyPropValue(configOrInstance, key, value[key], isConfig, toRaw));\n }\n else if (prop === 'columns' && !isConfig) {\n configOrInstance['columns'].data = value;\n }\n else if (prop.endsWith('Feature')) {\n const\n features = configOrInstance['features'],\n featureName = prop.replace('Feature', '');\n if (isConfig) {\n features[featureName] = value;\n }\n else {\n const feature = features[featureName];\n if (feature) {\n feature.setConfig(value);\n }\n }\n }\n else {\n configOrInstance[prop] = toRaw ? toRaw(value) : value;\n }\n }\n\n /**\n * Creates watches for vue component properties\n * @param {Object} me vue component instance\n * @param {Object} instance bryntum widget instance\n * @param {Object} props reference to props\n * @param {Object} data reference to data\n * @param {Function} watcher watch method reference (Accepts: prop and newValue)\n */\n static watchProps<T extends AnyWidget>(\n instance: InstanceType<T>,\n data: WidgetData<T>,\n watcher: (prop: string, callback: (value: any) => void) => void) {\n const\n {\n configNames,\n propertyNames,\n instanceClass\n } = data;\n\n propertyNames.forEach(prop => watcher(prop, newValue => {\n const value = Array.isArray(newValue) ? newValue.slice() : newValue;\n WrapperHelper.applyPropValue(instance, prop, value, false);\n\n // Check if property is a config and notify\n if (configNames.includes(prop)) {\n WrapperHelper.devWarningUpdateProp(instanceClass.$name, prop);\n }\n }));\n\n // Cleanup unused instance arrays\n data.configNames = [];\n data.propertyNames = [];\n }\n\n /**\n * Called from Widget.js to add the Vue component to teleports\n * @param {Object} context\n * @param {Widget} context.widget Widget which content is rendered by the Vue component\n * @param {Object} context.html Object containing the Vue component properties and event listeners\n */\n static processWidgetContent({ widget, html }: { widget: Widget; html: VueTeleportConfig }) {\n const\n { is, bind = {}, vue, on = {} } = html,\n // @ts-ignore\n { vueComponent } = this,\n { teleports : { value : teleports } } = vueComponent.provides,\n { contentElement : to, id } = widget;\n\n if (vue) {\n const key = `key-${id}`;\n\n // delete the teleport with the same key if any\n if (teleports.has(key)) {\n teleports.delete(key);\n }\n\n nextTick(() => {\n teleports.set(key, { bind, on, key, is, to });\n });\n }\n }\n\n /**\n * Handles the content provided by a Vue component for the widget.\n * @param {Widget} widget Owner widget\n * @param {String} html The HTML content to be processed\n */\n static handleVueContent(widget: Widget, html: VueConfig): void {\n // Called when a Vue component is to provide the widget content\n const\n hasTeleports = (element: any) => Boolean(element.vueComponent?.provides?.teleports),\n parentView = widget.closest(hasTeleports) as any,\n // Find a view (grid, scheduler, etc.) which has `teleports` defined. It also has `processWidgetContent`\n view = parentView?.vueComponent ? parentView : Widget.query(hasTeleports);\n\n view?.processWidgetContent?.({ widget, html });\n }\n\n /**\n * Event renderer method\n * @param {Object} context\n * @param {*} context.jsx\n * @param {DomConfig} context.domConfig\n * @param {HTMLElement} context.targetElement\n * @param {Boolean} context.isRelease\n * @returns {Boolean}\n */\n static processEventContent({\n // Core passes it as jsx for React wrappers.\n // Let's rename it to a more appropriate name.\n jsx : rendererConfig,\n domConfig,\n targetElement,\n isRelease\n }: {\n jsx: { [key: string]: any },\n domConfig: any;\n isRelease: boolean;\n targetElement: HTMLElement & { vueKey: string }\n scrolling: boolean\n }) {\n\n let wrap: any = targetElement,\n returnValue = false;\n\n // @ts-ignore\n const domConfigData = this.isVertical ? domConfig?.elementData?.renderData : domConfig?.elementData;\n\n if (WrapperHelper.isVueConfig(rendererConfig) && rendererConfig?.is) {\n if (domConfig?.dataset?.isMilestone) {\n wrap = targetElement.parentElement!.parentElement!.parentElement!;\n }\n else {\n wrap = targetElement.parentElement!.parentElement!;\n }\n const\n // Vertical nests renderData, while horizontal does not\n // @ts-ignore\n wrapData = this.isVertical ? wrap.elementData.renderData : wrap.elementData,\n { assignmentRecord } = isRelease ? domConfigData : wrapData,\n { eventRecord } = wrapData,\n { vueComponent } = this as any,\n { teleports : { value : teleports } } = vueComponent.provides,\n\n // Recurring events are handled a bit differently so get the flag\n isRecurring = eventRecord.isRecurring || eventRecord.isOccurrence,\n key = `assignment-${assignmentRecord?.id}${isRecurring ? '-' + eventRecord.id : ''}`;\n\n // Only delete the teleport if it's rendering into this specific targetElement.\n // Prevents issues when elements are reused during scrolling with LockRows feature.\n if (wrap.vueKey && teleports.get(wrap.vueKey)?.to === targetElement) {\n // Only delete if the existing teleport is rendering into this specific targetElement\n teleports.delete(wrap.vueKey);\n }\n\n const\n bind = { ...rendererConfig },\n { is, on = {} } = bind;\n\n delete bind.is;\n delete bind.on;\n\n nextTick(() => {\n teleports.set(key, {\n bind,\n key,\n is,\n on,\n to : targetElement,\n generation : assignmentRecord.generation\n });\n\n });\n\n wrap.vueKey = key;\n returnValue = true;\n }\n\n return returnValue;\n }\n\n /**\n * Cell renderer method\n * @param {Object} context\n * @param {RenderData} context.rendererData\n * @param {*} context.rendererHtml\n * @returns {Boolean}\n */\n static processCellContent({ rendererData, rendererHtml }: { rendererData: RenderData, rendererHtml: any }) {\n const { record, column, cellElement, row } = rendererData;\n\n // Only run for cells with vue renderers\n if (WrapperHelper.isVueConfig(column.data) && column.data?.renderer) {\n const\n // `this` is a caller component\n { vueComponent } = this as any,\n // `teleports` is javascript Map object\n { teleports : { value : teleports } } = vueComponent.provides,\n key = `${column.id}-${record.id}`,\n renderElement = column.tree\n ? cellElement.querySelector('.b-tree-cell-value')\n : cellElement;\n\n // If the cell already has a teleport, release it\n if (cellElement.vueKey) {\n teleports.delete(cellElement.vueKey);\n }\n\n const\n bind = { ...rendererHtml },\n { is, on = {} } = bind;\n\n delete bind.is;\n delete bind.on;\n\n // Create new teleport\n nextTick(() => {\n // Only teleport if the row is still used for the same record. Since this happens async, we might have\n // scrolled over the entire block of rows since the render\n if (row.id === record.id) {\n teleports.set(key, {\n bind,\n key,\n is,\n on,\n to : renderElement,\n generation : record.generation\n });\n }\n });\n\n // Link cell to the teleport, to be able to release it above\n cellElement.vueKey = key;\n }\n }\n\n /**\n *\n * @param {Object} context\n * @param {*} context.cellContent Content to be rendered in cell (set by renderer)\n * @param {*} context.column Column being rendered\n * @returns {Boolean} `true` if there is a Vue Renderer in this cell, `false` otherwise\n */\n static hasFrameworkRenderer({ cellContent, column }: { cellContent: any, column: any }) {\n return cellContent && typeof cellContent === 'object' && WrapperHelper.isVueConfig(column?.data);\n }\n}\n\n// Expose wrapper methods on window.bryntum\nwindow.bryntum = window.bryntum || {};\nwindow.bryntum.vue = {\n isVueConfig : WrapperHelper.isVueConfig,\n handleVueContent : WrapperHelper.handleVueContent\n};\n"],"names":["WrapperHelper","clsName","msg","containerParam","prop","str","s","config","me","widgetData","emit","element","processCellContent","processEventContent","processWidgetContent","hasFrameworkRenderer","toRaw","props","vProps","key","instanceClass","instanceName","isValidProp","propName","configNames","propertyConfigNames","propertyNames","featureNames","eventNames","eventName","bryntumConfig","params","data","instance","dataStores","projectStores","storeName","store","cfg","Widget","configOrInstance","value","isConfig","features","featureName","feature","watcher","newValue","widget","html","is","bind","vue","on","vueComponent","teleports","to","id","nextTick","hasTeleports","parentView","rendererConfig","domConfig","targetElement","isRelease","wrap","returnValue","domConfigData","wrapData","assignmentRecord","eventRecord","isRecurring","rendererData","rendererHtml","record","column","cellElement","row","renderElement","cellContent"],"mappings":";;AAmFO,MAAMA,EAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOvB,OAAO,WAAWC,GAAiBC,GAAa;AAE5C,KAAI,OAAO,SAAS,aAAa,QAAQ,IAAI,aAAa,kBACtD,QAAQ;AAAA,MAAK,UAAUD,CAAO;AAAA,EAAmCC,CAAG;AAAA;AAAA,IAAA;AAAA,EAI5E;AAAA,EAEA,OAAO,oBAAoBD,GAAiBE,GAAwB;AAChE,IAAAH,EAAc;AAAA,MAAWC;AAAA,MACrB,UAAUE,CAAc;AAAA;AAAA,oBAEHA,CAAc;AAAA,IAAA;AAAA,EAE3C;AAAA,EAEA,OAAO,qBAA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,YAEI,EAAE,cAAArB,EAAA,IAAsC,MAExC,EAAE,WAAY,EAAE,OAAQC,EAAA,EAAU,IAAMD,EAAa,UACrDnC,IAAwC,GAAGwD,EAAO,EAAE,IAAID,EAAO,EAAE,IACjEI,IAAwCH,EAAO,OACzCC,EAAY,cAAc,oBAAoB,IAC9CA;AAGV,MAAIA,EAAY,UACZrB,EAAU,OAAOqB,EAAY,MAAM;AAGvC,YACIzB,IAAkB,EAAE,GAAGsB,EAAA,GACvB,EAAE,IAAAvB,GAAI,IAAAG,IAAK,CAAA,EAAC,IAAMF;AAEtB,aAAOA,EAAK,IACZ,OAAOA,EAAK,IAGZO,EAAS,MAAM;AAGX,QAAImB,EAAI,OAAOH,EAAO,MAClBnB,EAAU,IAAIpC,GAAK;AAAA,UACf,MAAAgC;AAAA,UACA,KAAAhC;AAAA,UACA,IAAA+B;AAAA,UACA,IAAAG;AAAA,UACA,IAAayB;AAAA,UACb,YAAaJ,EAAO;AAAA,QAAA,CACvB;AAAA,MAET,CAAC,GAGDE,EAAY,SAASzD;AAAA,IACzB;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,OAAO,qBAAqB,EAAE,aAAA4D,GAAa,QAAAJ,KAA6C;AACpF,WAAOI,KAAe,OAAOA,KAAgB,YAAY/E,EAAc,YAAY2E,GAAQ,IAAI;AAAA,EACnG;AACJ;AAGA,OAAO,UAAc,OAAO,WAAW,CAAA;AACvC,OAAO,QAAQ,MAAM;AAAA,EACjB,aAAmB3E,EAAc;AAAA,EACjC,kBAAmBA,EAAc;AACrC;"}
|
package/lib/index.js
CHANGED
|
@@ -2,66 +2,67 @@ import { _ as e } from "./chunks/CjbIP_NG.js";
|
|
|
2
2
|
import { _ as a } from "./chunks/Dd15o4qp.js";
|
|
3
3
|
import { _ as u } from "./chunks/LWuAb4ZQ.js";
|
|
4
4
|
import "@bryntum/grid";
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as y } from "./chunks/
|
|
5
|
+
import { _ as s } from "./chunks/04Z-r-G1.js";
|
|
6
|
+
import { _ as B } from "./chunks/BPv29c1L.js";
|
|
7
|
+
import { _ as y } from "./chunks/DHJN18Gw.js";
|
|
8
8
|
import { _ } from "./chunks/CfxwRYrQ.js";
|
|
9
|
-
import { _ as d } from "./chunks/
|
|
9
|
+
import { _ as d } from "./chunks/DFUB7put.js";
|
|
10
10
|
import { _ as P } from "./chunks/BgOlt8-g.js";
|
|
11
|
-
import { _ as k } from "./chunks/
|
|
12
|
-
import { _ as G } from "./chunks/
|
|
11
|
+
import { _ as k } from "./chunks/iQlD9PJv.js";
|
|
12
|
+
import { _ as G } from "./chunks/B7CUcqMQ.js";
|
|
13
13
|
import { _ as b } from "./chunks/DZSI_5IZ.js";
|
|
14
14
|
import { _ as g } from "./chunks/3_Jl90jj.js";
|
|
15
|
-
import { _ as S } from "./chunks/
|
|
16
|
-
import { _ as E } from "./chunks/
|
|
17
|
-
import { _ as w } from "./chunks/
|
|
15
|
+
import { _ as S } from "./chunks/BRNxaOZY.js";
|
|
16
|
+
import { _ as E } from "./chunks/CunmgJPL.js";
|
|
17
|
+
import { _ as w } from "./chunks/CLKJB9_Q.js";
|
|
18
18
|
import { _ as L } from "./chunks/BPOTClrj.js";
|
|
19
19
|
import { _ as I } from "./chunks/CgTmdNXZ.js";
|
|
20
|
-
import { _ as V } from "./chunks/
|
|
20
|
+
import { _ as V } from "./chunks/DWD7C5DJ.js";
|
|
21
21
|
import { _ as Y } from "./chunks/BWrol08V.js";
|
|
22
22
|
import { _ as q } from "./chunks/BBC3WPSR.js";
|
|
23
|
-
import { _ as z } from "./chunks/
|
|
24
|
-
import { _ as K } from "./chunks/
|
|
25
|
-
import { _ as Q } from "./chunks/
|
|
26
|
-
import { _ as X } from "./chunks/
|
|
23
|
+
import { _ as z } from "./chunks/VeuBxM6a.js";
|
|
24
|
+
import { _ as K } from "./chunks/DmIKA2f7.js";
|
|
25
|
+
import { _ as Q } from "./chunks/CV1EW6aO.js";
|
|
26
|
+
import { _ as X } from "./chunks/Bvuz69bz.js";
|
|
27
27
|
import { _ as $ } from "./chunks/TzHGidVW.js";
|
|
28
|
-
import { _ as or } from "./chunks/
|
|
28
|
+
import { _ as or } from "./chunks/CQgQ2Hfd.js";
|
|
29
29
|
import { _ as er } from "./chunks/BbodcqTk.js";
|
|
30
|
-
import { _ as ar } from "./chunks/
|
|
31
|
-
import { _ as ur } from "./chunks/
|
|
32
|
-
import { _ as
|
|
33
|
-
import { _ as
|
|
34
|
-
import { _ as yr } from "./chunks/
|
|
35
|
-
import { _ as _r } from "./chunks/
|
|
36
|
-
import { _ as dr } from "./chunks/
|
|
30
|
+
import { _ as ar } from "./chunks/DE9qm6LG.js";
|
|
31
|
+
import { _ as ur } from "./chunks/BqITFN7j.js";
|
|
32
|
+
import { _ as sr } from "./chunks/R6LyS5qC.js";
|
|
33
|
+
import { _ as Br } from "./chunks/BD4TMzsE.js";
|
|
34
|
+
import { _ as yr } from "./chunks/D3b2wehg.js";
|
|
35
|
+
import { _ as _r } from "./chunks/CNE3kq27.js";
|
|
36
|
+
import { _ as dr } from "./chunks/mUDWZD2y.js";
|
|
37
37
|
import { _ as Pr } from "./chunks/BMWqDhWz.js";
|
|
38
|
-
import { _ as kr } from "./chunks/
|
|
39
|
-
import { _ as Gr } from "./chunks/
|
|
40
|
-
import { _ as br } from "./chunks/
|
|
38
|
+
import { _ as kr } from "./chunks/IyCjzWTA.js";
|
|
39
|
+
import { _ as Gr } from "./chunks/BHu8f9Dp.js";
|
|
40
|
+
import { _ as br } from "./chunks/HNHtYUoU.js";
|
|
41
41
|
import { _ as gr } from "./chunks/CJT_5YUM.js";
|
|
42
|
-
import { _ as Sr } from "./chunks/
|
|
43
|
-
import { _ as Er } from "./chunks/
|
|
42
|
+
import { _ as Sr } from "./chunks/BY2XtRFp.js";
|
|
43
|
+
import { _ as Er } from "./chunks/zig45kOk.js";
|
|
44
44
|
import { _ as wr } from "./chunks/CQgsdC7Q.js";
|
|
45
|
-
import { _ as Lr } from "./chunks/
|
|
46
|
-
import { _ as Ir } from "./chunks/
|
|
47
|
-
import { _ as Vr } from "./chunks/
|
|
48
|
-
import { _ as Yr } from "./chunks/
|
|
49
|
-
import { _ as qr } from "./chunks/
|
|
50
|
-
import { _ as zr } from "./chunks/
|
|
51
|
-
import { _ as Kr } from "./chunks/
|
|
52
|
-
import { _ as Qr } from "./chunks/
|
|
53
|
-
import { _ as Xr } from "./chunks/
|
|
54
|
-
import { _ as $r } from "./chunks/
|
|
55
|
-
import { _ as oo } from "./chunks/
|
|
56
|
-
import { _ as eo } from "./chunks/
|
|
57
|
-
import { _ as ao } from "./chunks/
|
|
58
|
-
import { _ as uo } from "./chunks/
|
|
59
|
-
import { _ as
|
|
60
|
-
import { _ as
|
|
45
|
+
import { _ as Lr } from "./chunks/DawhlNJV.js";
|
|
46
|
+
import { _ as Ir } from "./chunks/CGG-ccPF.js";
|
|
47
|
+
import { _ as Vr } from "./chunks/B3a2J_HP.js";
|
|
48
|
+
import { _ as Yr } from "./chunks/BKvUHcRy.js";
|
|
49
|
+
import { _ as qr } from "./chunks/BiGRne7x.js";
|
|
50
|
+
import { _ as zr } from "./chunks/EaZAZW8K.js";
|
|
51
|
+
import { _ as Kr } from "./chunks/BYlVqoOH.js";
|
|
52
|
+
import { _ as Qr } from "./chunks/AVu6kI-X.js";
|
|
53
|
+
import { _ as Xr } from "./chunks/Cclk1cBi.js";
|
|
54
|
+
import { _ as $r } from "./chunks/Q-pjsizq.js";
|
|
55
|
+
import { _ as oo } from "./chunks/LB6c5aKr.js";
|
|
56
|
+
import { _ as eo } from "./chunks/DeAg7gRc.js";
|
|
57
|
+
import { _ as ao } from "./chunks/DZvKTDOi.js";
|
|
58
|
+
import { _ as uo } from "./chunks/DtvMMHtT.js";
|
|
59
|
+
import { _ as so } from "./chunks/D60vm2qH.js";
|
|
60
|
+
import { _ as Bo } from "./chunks/0Ky_G00z.js";
|
|
61
|
+
import { _ as yo } from "./chunks/B_RpDuPl.js";
|
|
61
62
|
export {
|
|
62
63
|
u as BryntumAIFilterField,
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
s as BryntumButton,
|
|
65
|
+
B as BryntumButtonGroup,
|
|
65
66
|
y as BryntumChatPanel,
|
|
66
67
|
_ as BryntumCheckbox,
|
|
67
68
|
d as BryntumCheckboxGroup,
|
|
@@ -89,8 +90,8 @@ export {
|
|
|
89
90
|
e as BryntumFullscreenButton,
|
|
90
91
|
ar as BryntumGrid,
|
|
91
92
|
ur as BryntumGridBase,
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
sr as BryntumGridChartDesigner,
|
|
94
|
+
Br as BryntumGridFieldFilterPicker,
|
|
94
95
|
yr as BryntumGridFieldFilterPickerGroup,
|
|
95
96
|
_r as BryntumGroupBar,
|
|
96
97
|
dr as BryntumHint,
|
|
@@ -102,21 +103,22 @@ export {
|
|
|
102
103
|
Sr as BryntumPagingToolbar,
|
|
103
104
|
Er as BryntumPanel,
|
|
104
105
|
wr as BryntumPasswordField,
|
|
105
|
-
Lr as
|
|
106
|
-
Ir as
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
zr as
|
|
111
|
-
Kr as
|
|
112
|
-
Qr as
|
|
113
|
-
Xr as
|
|
114
|
-
$r as
|
|
115
|
-
oo as
|
|
116
|
-
eo as
|
|
117
|
-
ao as
|
|
118
|
-
uo as
|
|
119
|
-
|
|
120
|
-
|
|
106
|
+
Lr as BryntumProgressBar,
|
|
107
|
+
Ir as BryntumRadio,
|
|
108
|
+
Vr as BryntumRadioGroup,
|
|
109
|
+
qr as BryntumSlideToggle,
|
|
110
|
+
Yr as BryntumSlider,
|
|
111
|
+
zr as BryntumSplitter,
|
|
112
|
+
Kr as BryntumTabPanel,
|
|
113
|
+
Qr as BryntumTextAreaField,
|
|
114
|
+
Xr as BryntumTextAreaPickerField,
|
|
115
|
+
$r as BryntumTextField,
|
|
116
|
+
oo as BryntumTimeField,
|
|
117
|
+
eo as BryntumTimePicker,
|
|
118
|
+
ao as BryntumToolbar,
|
|
119
|
+
uo as BryntumTreeCombo,
|
|
120
|
+
so as BryntumTreeGrid,
|
|
121
|
+
Bo as BryntumWidget,
|
|
122
|
+
yo as BryntumYearPicker
|
|
121
123
|
};
|
|
122
124
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AIFilterFieldListeners, AlignSpec, Base, ContainerItemConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, Grid, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/grid';
|
|
13
|
+
import type { AIFilterFieldListeners, AlignSpec, Base, Color, ContainerItemConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, Grid, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/grid';
|
|
14
14
|
import { AIFilterField } from '@bryntum/grid';
|
|
15
15
|
|
|
16
16
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -123,7 +123,7 @@ defineProps<{
|
|
|
123
123
|
* ...
|
|
124
124
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-color)
|
|
125
125
|
*/
|
|
126
|
-
color ? :
|
|
126
|
+
color ? : Color
|
|
127
127
|
/**
|
|
128
128
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
129
129
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AIFilterFieldListeners, AlignSpec, Base, ContainerItemConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, Grid, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/grid';
|
|
1
|
+
import type { AIFilterFieldListeners, AlignSpec, Base, Color, ContainerItemConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, Grid, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/grid';
|
|
2
2
|
import { } from '@bryntum/grid';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumAIFilterFieldProps = {
|
|
@@ -109,7 +109,7 @@ export declare type BryntumAIFilterFieldProps = {
|
|
|
109
109
|
* ...
|
|
110
110
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-color)
|
|
111
111
|
*/
|
|
112
|
-
color ? :
|
|
112
|
+
color ? : Color
|
|
113
113
|
/**
|
|
114
114
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
115
115
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, ButtonListeners, ContainerItemConfig, DomConfig, KeyMapConfig, MaskConfig, Menu, MenuConfig, MenuItemEntry, PopupConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
13
|
+
import type { AlignSpec, Base, ButtonListeners, Color, ContainerItemConfig, DomConfig, KeyMapConfig, MaskConfig, Menu, MenuConfig, MenuItemEntry, PopupConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
14
14
|
import { Button } from '@bryntum/grid';
|
|
15
15
|
|
|
16
16
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -107,7 +107,7 @@ defineProps<{
|
|
|
107
107
|
* ...
|
|
108
108
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Button#config-color)
|
|
109
109
|
*/
|
|
110
|
-
color ? :
|
|
110
|
+
color ? : Color
|
|
111
111
|
/**
|
|
112
112
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
113
113
|
*/
|
|
@@ -64,6 +64,10 @@ defineProps<{
|
|
|
64
64
|
* Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
65
65
|
*/
|
|
66
66
|
autoUpdateRecord ? : Boolean
|
|
67
|
+
/**
|
|
68
|
+
* Set `true` to add a border to this container's element.
|
|
69
|
+
*/
|
|
70
|
+
border ? : Boolean
|
|
67
71
|
/**
|
|
68
72
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
69
73
|
* hierarchy when triggered.
|
|
@@ -782,6 +786,7 @@ const widgetData = {
|
|
|
782
786
|
'ariaDescription',
|
|
783
787
|
'ariaLabel',
|
|
784
788
|
'autoUpdateRecord',
|
|
789
|
+
'border',
|
|
785
790
|
'bubbleEvents',
|
|
786
791
|
'centered',
|
|
787
792
|
'color',
|
|
@@ -50,6 +50,10 @@ export declare type BryntumButtonGroupProps = {
|
|
|
50
50
|
* Update assigned [record](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
51
51
|
*/
|
|
52
52
|
autoUpdateRecord ? : Boolean
|
|
53
|
+
/**
|
|
54
|
+
* Set `true` to add a border to this container's element.
|
|
55
|
+
*/
|
|
56
|
+
border ? : Boolean
|
|
53
57
|
/**
|
|
54
58
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
55
59
|
* hierarchy when triggered.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, ButtonListeners, ContainerItemConfig, DomConfig, KeyMapConfig, MaskConfig, MenuConfig, MenuItemEntry, PopupConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
1
|
+
import type { AlignSpec, Base, ButtonListeners, Color, ContainerItemConfig, DomConfig, KeyMapConfig, MaskConfig, MenuConfig, MenuItemEntry, PopupConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
2
2
|
import { } from '@bryntum/grid';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumButtonProps = {
|
|
@@ -93,7 +93,7 @@ export declare type BryntumButtonProps = {
|
|
|
93
93
|
* ...
|
|
94
94
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Button#config-color)
|
|
95
95
|
*/
|
|
96
|
-
color ? :
|
|
96
|
+
color ? : Color
|
|
97
97
|
/**
|
|
98
98
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
99
99
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, ChatMessageModelConfig, ChatPanelListeners, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
13
|
+
import type { AlignSpec, Base, ChatMessageModelConfig, ChatPanelListeners, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
14
14
|
import { ChatPanel } from '@bryntum/grid';
|
|
15
15
|
|
|
16
16
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -81,6 +81,10 @@ defineProps<{
|
|
|
81
81
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-bodyCls)
|
|
82
82
|
*/
|
|
83
83
|
bodyCls ? : string|object
|
|
84
|
+
/**
|
|
85
|
+
* Set `true` to add a border to this container's element.
|
|
86
|
+
*/
|
|
87
|
+
border ? : Boolean
|
|
84
88
|
/**
|
|
85
89
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
86
90
|
* hierarchy when triggered.
|
|
@@ -137,7 +141,7 @@ defineProps<{
|
|
|
137
141
|
* ...
|
|
138
142
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-color)
|
|
139
143
|
*/
|
|
140
|
-
color ? :
|
|
144
|
+
color ? : Color
|
|
141
145
|
/**
|
|
142
146
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
143
147
|
*/
|
|
@@ -948,6 +952,7 @@ const widgetData = {
|
|
|
948
952
|
'autoUpdateRecord',
|
|
949
953
|
'bbar',
|
|
950
954
|
'bodyCls',
|
|
955
|
+
'border',
|
|
951
956
|
'bubbleEvents',
|
|
952
957
|
'centered',
|
|
953
958
|
'collapsible',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, ChatMessageModelConfig, ChatPanelListeners, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
1
|
+
import type { AlignSpec, Base, ChatMessageModelConfig, ChatPanelListeners, Color, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
2
2
|
import { } from '@bryntum/grid';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumChatPanelProps = {
|
|
@@ -67,6 +67,10 @@ export declare type BryntumChatPanelProps = {
|
|
|
67
67
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-bodyCls)
|
|
68
68
|
*/
|
|
69
69
|
bodyCls ? : string|object
|
|
70
|
+
/**
|
|
71
|
+
* Set `true` to add a border to this container's element.
|
|
72
|
+
*/
|
|
73
|
+
border ? : Boolean
|
|
70
74
|
/**
|
|
71
75
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
72
76
|
* hierarchy when triggered.
|
|
@@ -123,7 +127,7 @@ export declare type BryntumChatPanelProps = {
|
|
|
123
127
|
* ...
|
|
124
128
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-color)
|
|
125
129
|
*/
|
|
126
|
-
color ? :
|
|
130
|
+
color ? : Color
|
|
127
131
|
/**
|
|
128
132
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
129
133
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, CheckboxConfig, CheckboxGroupListeners, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
13
|
+
import type { AlignSpec, Base, CheckboxConfig, CheckboxGroupListeners, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
14
14
|
import { CheckboxGroup } from '@bryntum/grid';
|
|
15
15
|
|
|
16
16
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -77,6 +77,10 @@ defineProps<{
|
|
|
77
77
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/CheckboxGroup#config-bodyCls)
|
|
78
78
|
*/
|
|
79
79
|
bodyCls ? : string|object
|
|
80
|
+
/**
|
|
81
|
+
* Set `true` to add a border to this container's element.
|
|
82
|
+
*/
|
|
83
|
+
border ? : Boolean
|
|
80
84
|
/**
|
|
81
85
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
82
86
|
* hierarchy when triggered.
|
|
@@ -127,7 +131,7 @@ defineProps<{
|
|
|
127
131
|
* ...
|
|
128
132
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/CheckboxGroup#config-color)
|
|
129
133
|
*/
|
|
130
|
-
color ? :
|
|
134
|
+
color ? : Color
|
|
131
135
|
/**
|
|
132
136
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
133
137
|
*/
|
|
@@ -978,6 +982,7 @@ const widgetData = {
|
|
|
978
982
|
'autoUpdateRecord',
|
|
979
983
|
'bbar',
|
|
980
984
|
'bodyCls',
|
|
985
|
+
'border',
|
|
981
986
|
'bubbleEvents',
|
|
982
987
|
'centered',
|
|
983
988
|
'collapsible',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, CheckboxConfig, CheckboxGroupListeners, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
1
|
+
import type { AlignSpec, Base, CheckboxConfig, CheckboxGroupListeners, Color, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/grid';
|
|
2
2
|
import { } from '@bryntum/grid';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumCheckboxGroupProps = {
|
|
@@ -63,6 +63,10 @@ export declare type BryntumCheckboxGroupProps = {
|
|
|
63
63
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/CheckboxGroup#config-bodyCls)
|
|
64
64
|
*/
|
|
65
65
|
bodyCls ? : string|object
|
|
66
|
+
/**
|
|
67
|
+
* Set `true` to add a border to this container's element.
|
|
68
|
+
*/
|
|
69
|
+
border ? : Boolean
|
|
66
70
|
/**
|
|
67
71
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
68
72
|
* hierarchy when triggered.
|
|
@@ -113,7 +117,7 @@ export declare type BryntumCheckboxGroupProps = {
|
|
|
113
117
|
* ...
|
|
114
118
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/CheckboxGroup#config-color)
|
|
115
119
|
*/
|
|
116
|
-
color ? :
|
|
120
|
+
color ? : Color
|
|
117
121
|
/**
|
|
118
122
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
119
123
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, ChecklistFilterComboListeners, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, ContainerItemConfig, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/grid';
|
|
13
|
+
import type { AlignSpec, Base, ChecklistFilterComboListeners, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, ContainerItemConfig, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/grid';
|
|
14
14
|
import { ChecklistFilterCombo } from '@bryntum/grid';
|
|
15
15
|
|
|
16
16
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -151,7 +151,7 @@ defineProps<{
|
|
|
151
151
|
* ...
|
|
152
152
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-color)
|
|
153
153
|
*/
|
|
154
|
-
color ? :
|
|
154
|
+
color ? : Color
|
|
155
155
|
/**
|
|
156
156
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
157
157
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, ChecklistFilterComboListeners, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, ContainerItemConfig, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/grid';
|
|
1
|
+
import type { AlignSpec, Base, ChecklistFilterComboListeners, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, ContainerItemConfig, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/grid';
|
|
2
2
|
import { } from '@bryntum/grid';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumChecklistFilterComboProps = {
|
|
@@ -137,7 +137,7 @@ export declare type BryntumChecklistFilterComboProps = {
|
|
|
137
137
|
* ...
|
|
138
138
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-color)
|
|
139
139
|
*/
|
|
140
|
-
color ? :
|
|
140
|
+
color ? : Color
|
|
141
141
|
/**
|
|
142
142
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
143
143
|
*/
|