@bryntum/scheduler-react-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.
Files changed (56) hide show
  1. package/README.md +52 -0
  2. package/lib/BryntumEventColorField.d.ts +232 -0
  3. package/lib/BryntumEventColorField.js +169 -0
  4. package/lib/BryntumEventColorField.js.map +1 -0
  5. package/lib/BryntumProjectCombo.d.ts +268 -0
  6. package/lib/BryntumProjectCombo.js +203 -0
  7. package/lib/BryntumProjectCombo.js.map +1 -0
  8. package/lib/BryntumResourceCombo.d.ts +268 -0
  9. package/lib/BryntumResourceCombo.js +203 -0
  10. package/lib/BryntumResourceCombo.js.map +1 -0
  11. package/lib/BryntumResourceFilter.d.ts +215 -0
  12. package/lib/BryntumResourceFilter.js +154 -0
  13. package/lib/BryntumResourceFilter.js.map +1 -0
  14. package/lib/BryntumScheduler.d.ts +2039 -0
  15. package/lib/BryntumScheduler.js +642 -0
  16. package/lib/BryntumScheduler.js.map +1 -0
  17. package/lib/BryntumSchedulerBase.d.ts +2038 -0
  18. package/lib/BryntumSchedulerBase.js +641 -0
  19. package/lib/BryntumSchedulerBase.js.map +1 -0
  20. package/lib/BryntumSchedulerDatePicker.d.ts +314 -0
  21. package/lib/BryntumSchedulerDatePicker.js +216 -0
  22. package/lib/BryntumSchedulerDatePicker.js.map +1 -0
  23. package/lib/BryntumSchedulerProjectModel.d.ts +91 -0
  24. package/lib/BryntumSchedulerProjectModel.js +98 -0
  25. package/lib/BryntumSchedulerProjectModel.js.map +1 -0
  26. package/lib/BryntumTimelineHistogram.d.ts +1185 -0
  27. package/lib/BryntumTimelineHistogram.js +448 -0
  28. package/lib/BryntumTimelineHistogram.js.map +1 -0
  29. package/lib/BryntumUndoRedo.d.ts +190 -0
  30. package/lib/BryntumUndoRedo.js +152 -0
  31. package/lib/BryntumUndoRedo.js.map +1 -0
  32. package/lib/BryntumViewPresetCombo.d.ts +216 -0
  33. package/lib/BryntumViewPresetCombo.js +158 -0
  34. package/lib/BryntumViewPresetCombo.js.map +1 -0
  35. package/lib/WrapperHelper.d.ts +26 -0
  36. package/lib/WrapperHelper.js +569 -0
  37. package/lib/WrapperHelper.js.map +1 -0
  38. package/lib/index.d.ts +11 -0
  39. package/lib/index.js +12 -0
  40. package/lib/index.js.map +1 -0
  41. package/license.pdf +0 -0
  42. package/licenses.md +310 -0
  43. package/package.json +25 -0
  44. package/src/BryntumEventColorField.tsx +996 -0
  45. package/src/BryntumProjectCombo.tsx +1233 -0
  46. package/src/BryntumResourceCombo.tsx +1236 -0
  47. package/src/BryntumResourceFilter.tsx +931 -0
  48. package/src/BryntumScheduler.tsx +5184 -0
  49. package/src/BryntumSchedulerBase.tsx +5182 -0
  50. package/src/BryntumSchedulerDatePicker.tsx +1365 -0
  51. package/src/BryntumSchedulerProjectModel.tsx +424 -0
  52. package/src/BryntumTimelineHistogram.tsx +3427 -0
  53. package/src/BryntumUndoRedo.tsx +886 -0
  54. package/src/BryntumViewPresetCombo.tsx +915 -0
  55. package/src/WrapperHelper.tsx +1125 -0
  56. package/src/index.ts +15 -0
@@ -0,0 +1,152 @@
1
+ import React from 'react';
2
+ import { UndoRedo } from '@bryntum/scheduler-thin';
3
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
4
+ export class BryntumUndoRedo extends React.Component {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.processWidgetContent = processWidgetContent;
8
+ }
9
+ componentDidMount() {
10
+ this.instance = createWidget(this);
11
+ }
12
+ componentWillUnmount() {
13
+ var _a, _b;
14
+ (_b = (_a = this.instance) === null || _a === void 0 ? void 0 : _a.destroy) === null || _b === void 0 ? void 0 : _b.call(_a);
15
+ }
16
+ shouldComponentUpdate(nextProps, nextState) {
17
+ return shouldComponentUpdate(this, nextProps, nextState);
18
+ }
19
+ render() {
20
+ const className = `b-react-undo-redo-container`;
21
+ return (React.createElement("div", { className: className, ref: (element) => (this.element = element) }));
22
+ }
23
+ }
24
+ BryntumUndoRedo.instanceClass = UndoRedo;
25
+ BryntumUndoRedo.instanceName = 'UndoRedo';
26
+ BryntumUndoRedo.configNames = [
27
+ 'adopt',
28
+ 'align',
29
+ 'anchor',
30
+ 'ariaDescription',
31
+ 'ariaLabel',
32
+ 'autoUpdateRecord',
33
+ 'bubbleEvents',
34
+ 'centered',
35
+ 'color',
36
+ 'config',
37
+ 'constrainTo',
38
+ 'contentElementCls',
39
+ 'dataField',
40
+ 'defaultBindProperty',
41
+ 'defaultFocus',
42
+ 'defaults',
43
+ 'detectCSSCompatibilityIssues',
44
+ 'dock',
45
+ 'draggable',
46
+ 'elementAttributes',
47
+ 'floating',
48
+ 'hideAnimation',
49
+ 'hideWhenEmpty',
50
+ 'htmlCls',
51
+ 'ignoreParentReadOnly',
52
+ 'itemCls',
53
+ 'lazyItems',
54
+ 'listeners',
55
+ 'localeClass',
56
+ 'localizable',
57
+ 'localizableProperties',
58
+ 'maskDefaults',
59
+ 'masked',
60
+ 'monitorResize',
61
+ 'namedItems',
62
+ 'owner',
63
+ 'positioned',
64
+ 'preventTooltipOnTouch',
65
+ 'relayStoreEvents',
66
+ 'ripple',
67
+ 'rootElement',
68
+ 'scheduler',
69
+ 'scrollAction',
70
+ 'showAnimation',
71
+ 'showTooltipWhenDisabled',
72
+ 'showZeroActionBadge',
73
+ 'tab',
74
+ 'tabBarItems',
75
+ 'tag',
76
+ 'text',
77
+ 'textAlign',
78
+ 'textContent',
79
+ 'title',
80
+ 'type',
81
+ 'ui',
82
+ 'weight'
83
+ ];
84
+ BryntumUndoRedo.propertyConfigNames = [
85
+ 'alignSelf',
86
+ 'appendTo',
87
+ 'callOnFunctions',
88
+ 'catchEventHandlerExceptions',
89
+ 'cls',
90
+ 'column',
91
+ 'content',
92
+ 'dataset',
93
+ 'disabled',
94
+ 'extraData',
95
+ 'flex',
96
+ 'height',
97
+ 'hidden',
98
+ 'html',
99
+ 'id',
100
+ 'inputFieldAlign',
101
+ 'insertBefore',
102
+ 'insertFirst',
103
+ 'items',
104
+ 'keyMap',
105
+ 'labelPosition',
106
+ 'layout',
107
+ 'layoutStyle',
108
+ 'margin',
109
+ 'maxHeight',
110
+ 'maximizeOnMobile',
111
+ 'maxWidth',
112
+ 'minHeight',
113
+ 'minWidth',
114
+ 'onBeforeDestroy',
115
+ 'onBeforeHide',
116
+ 'onBeforeSetRecord',
117
+ 'onBeforeShow',
118
+ 'onCatchAll',
119
+ 'onDestroy',
120
+ 'onDirtyStateChange',
121
+ 'onElementCreated',
122
+ 'onFocusIn',
123
+ 'onFocusOut',
124
+ 'onHide',
125
+ 'onPaint',
126
+ 'onReadOnly',
127
+ 'onRecompose',
128
+ 'onResize',
129
+ 'onShow',
130
+ 'project',
131
+ 'readOnly',
132
+ 'record',
133
+ 'rendition',
134
+ 'rtl',
135
+ 'scrollable',
136
+ 'span',
137
+ 'strictRecordMapping',
138
+ 'tooltip',
139
+ 'width',
140
+ 'x',
141
+ 'y'
142
+ ];
143
+ BryntumUndoRedo.propertyNames = [
144
+ 'anchorSize',
145
+ 'focusVisible',
146
+ 'hasChanges',
147
+ 'isSettingValues',
148
+ 'isValid',
149
+ 'parent',
150
+ 'values'
151
+ ];
152
+ //# sourceMappingURL=BryntumUndoRedo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BryntumUndoRedo.js","sourceRoot":"","sources":["../src/BryntumUndoRedo.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAkG,QAAQ,EAAqB,MAAM,yBAAyB,CAAC;AAEtK,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAksB/F,MAAM,OAAO,eAAgB,SAAQ,KAAK,CAAC,SAA+B;IAA1E;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;IAqKhD,CAAC;IA5BG,iBAAiB;QACb,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;I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IACX,UAAU;IACV,iBAAiB;IACjB,6BAA6B;IAC7B,KAAK;IACL,QAAQ;IACR,SAAS;IACT,SAAS;IACT,UAAU;IACV,WAAW;IACX,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,IAAI;IACJ,iBAAiB;IACjB,cAAc;IACd,aAAa;IACb,OAAO;IACP,QAAQ;IACR,eAAe;IACf,QAAQ;IACR,aAAa;IACb,QAAQ;IACR,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,WAAW;IACX,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,mBAAmB;IACnB,cAAc;IACd,YAAY;IACZ,WAAW;IACX,oBAAoB;IACpB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,aAAa;IACb,UAAU;IACV,QAAQ;IACR,SAAS;IACT,UAAU;IACV,QAAQ;IACR,WAAW;IACX,KAAK;IACL,YAAY;IACZ,MAAM;IACN,qBAAqB;IACrB,SAAS;IACT,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,6BAAa,GAAG;IACnB,YAAY;IACZ,cAAc;IACd,YAAY;IACZ,iBAAiB;IACjB,SAAS;IACT,QAAQ;IACR,QAAQ;CACX,CAAC"}
@@ -0,0 +1,216 @@
1
+ import React from 'react';
2
+ import { AlignSpec, Base, Combo, ComboModel, Duration, DurationConfig, Field, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, Widget } from '@bryntum/core-thin';
3
+ import { TimelineBase, ViewPresetCombo, ViewPresetComboListeners } from '@bryntum/scheduler-thin';
4
+ import { processWidgetContent } from './WrapperHelper.js';
5
+ export declare type BryntumViewPresetComboProps = {
6
+ align?: AlignSpec | string;
7
+ alignSelf?: string;
8
+ anchor?: boolean;
9
+ appendTo?: HTMLElement | string;
10
+ ariaDescription?: string;
11
+ ariaLabel?: string;
12
+ badge?: string;
13
+ bubbleEvents?: object;
14
+ cacheLastResult?: number | string | Duration | DurationConfig;
15
+ callOnFunctions?: boolean;
16
+ catchEventHandlerExceptions?: boolean;
17
+ centered?: boolean;
18
+ clearTextOnSelection?: boolean;
19
+ clearWhenInputEmpty?: boolean;
20
+ client?: TimelineBase;
21
+ cls?: string | object;
22
+ color?: string;
23
+ column?: number;
24
+ config?: object;
25
+ constrainTo?: HTMLElement | Widget | Rectangle;
26
+ contentElementCls?: string | object;
27
+ dataField?: string;
28
+ defaultBindProperty?: string;
29
+ detectCSSCompatibilityIssues?: boolean;
30
+ disabled?: boolean | 'inert';
31
+ dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
32
+ draggable?: boolean | {
33
+ handleSelector?: string;
34
+ };
35
+ editable?: boolean;
36
+ elementAttributes?: Record<string, string | null>;
37
+ extraData?: any;
38
+ flex?: number | string;
39
+ floating?: boolean;
40
+ height?: string | number;
41
+ hidden?: boolean;
42
+ hideAnimation?: boolean | object;
43
+ hidePickerOnSelect?: boolean;
44
+ hint?: string | ((data: {
45
+ source: Field;
46
+ value: any;
47
+ }) => string);
48
+ hintHtml?: string | ((data: {
49
+ source: Field;
50
+ value: any;
51
+ }) => string);
52
+ id?: string;
53
+ ignoreParentReadOnly?: boolean;
54
+ inputAlign?: string;
55
+ inputAttributes?: Record<string, string>;
56
+ inputTag?: string;
57
+ inputWidth?: string | number;
58
+ insertBefore?: HTMLElement | string;
59
+ insertFirst?: HTMLElement | string;
60
+ keyMap?: Record<string, KeyMapConfig>;
61
+ label?: string;
62
+ labelCls?: string | object;
63
+ labelPosition?: 'before' | 'above' | null;
64
+ labels?: object[];
65
+ labelWidth?: string | number;
66
+ listCls?: string;
67
+ listeners?: ViewPresetComboListeners;
68
+ listItemTpl?: (record: Model | ComboModel) => string | void;
69
+ localeClass?: typeof Base;
70
+ localizable?: boolean;
71
+ localizableProperties?: string[];
72
+ margin?: number | string;
73
+ maskDefaults?: MaskConfig;
74
+ masked?: boolean | string | MaskConfig;
75
+ maxHeight?: string | number;
76
+ maximizeOnMobile?: number | string;
77
+ maxWidth?: string | number;
78
+ minHeight?: string | number;
79
+ minWidth?: string | number;
80
+ monitorResize?: boolean | {
81
+ immediate?: boolean;
82
+ };
83
+ name?: string;
84
+ overlayAnchor?: boolean;
85
+ owner?: Widget | any;
86
+ pickerWidth?: number | string;
87
+ positioned?: boolean;
88
+ presets?: any[];
89
+ preventTooltipOnTouch?: boolean;
90
+ readOnly?: boolean;
91
+ relayStoreEvents?: boolean;
92
+ rendition?: 'outlined' | 'filled' | string;
93
+ ripple?: boolean | {
94
+ delegate?: string;
95
+ color?: string;
96
+ radius?: number;
97
+ clip?: string;
98
+ };
99
+ rootElement?: ShadowRoot | HTMLElement;
100
+ rtl?: boolean;
101
+ scrollAction?: 'hide' | 'realign' | null;
102
+ showAnimation?: boolean | object;
103
+ showRequiredIndicator?: string;
104
+ showTooltipWhenDisabled?: boolean;
105
+ skipValidation?: boolean;
106
+ span?: number;
107
+ tab?: boolean | TabConfig;
108
+ tabIndex?: number;
109
+ textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
110
+ type?: 'viewpresetcombo';
111
+ ui?: string | object;
112
+ useFixedDuration?: boolean;
113
+ weight?: number;
114
+ width?: string | number;
115
+ x?: number;
116
+ y?: number;
117
+ onAction?: ((event: {
118
+ source: Combo;
119
+ value: any;
120
+ record: Model;
121
+ records: Model[];
122
+ userAction: boolean;
123
+ }) => void) | string;
124
+ onBeforeDestroy?: ((event: {
125
+ source: Base;
126
+ }) => void) | string;
127
+ onBeforeHide?: ((event: {
128
+ source: Widget;
129
+ }) => Promise<boolean> | boolean | void) | string;
130
+ onBeforeShow?: ((event: {
131
+ source: Widget | any;
132
+ }) => Promise<boolean> | boolean | void) | string;
133
+ onCatchAll?: ((event: {
134
+ [key: string]: any;
135
+ type: string;
136
+ }) => void) | string;
137
+ onChange?: ((event: {
138
+ source: Field | any;
139
+ value: string | number | boolean | any;
140
+ oldValue: string | number | boolean | any;
141
+ valid: boolean;
142
+ event: Event;
143
+ userAction: boolean;
144
+ checked: boolean;
145
+ }) => void) | string;
146
+ onClear?: ((event: {
147
+ source: Field | any;
148
+ }) => void) | string;
149
+ onDestroy?: ((event: {
150
+ source: Base;
151
+ }) => void) | string;
152
+ onElementCreated?: ((event: {
153
+ element: HTMLElement;
154
+ }) => void) | string;
155
+ onFocusIn?: ((event: {
156
+ source: Widget;
157
+ fromElement: HTMLElement;
158
+ toElement: HTMLElement;
159
+ fromWidget: Widget;
160
+ toWidget: Widget;
161
+ backwards: boolean;
162
+ }) => void) | string;
163
+ onFocusOut?: ((event: {
164
+ source: Widget;
165
+ fromElement: HTMLElement;
166
+ toElement: HTMLElement;
167
+ fromWidget: Widget;
168
+ toWidget: Widget;
169
+ backwards: boolean;
170
+ }) => void) | string;
171
+ onHide?: ((event: {
172
+ source: Widget;
173
+ }) => void) | string;
174
+ onPaint?: ((event: {
175
+ source: Widget;
176
+ firstPaint: boolean;
177
+ }) => void) | string;
178
+ onReadOnly?: ((event: {
179
+ readOnly: boolean;
180
+ }) => void) | string;
181
+ onRecompose?: (() => void) | string;
182
+ onResize?: ((event: {
183
+ source: Widget;
184
+ width: number;
185
+ height: number;
186
+ oldWidth: number;
187
+ oldHeight: number;
188
+ }) => void) | string;
189
+ onSelect?: ((event: {
190
+ source: Combo;
191
+ record: Model;
192
+ records: Model[];
193
+ userAction: boolean;
194
+ }) => void) | string;
195
+ onShow?: ((event: {
196
+ source: Widget;
197
+ }) => void) | string;
198
+ onTrigger?: ((event: {
199
+ source: Field | any;
200
+ trigger: Widget;
201
+ }) => void) | string;
202
+ };
203
+ export declare class BryntumViewPresetCombo extends React.Component<BryntumViewPresetComboProps> {
204
+ static instanceClass: typeof ViewPresetCombo;
205
+ static instanceName: string;
206
+ processWidgetContent: typeof processWidgetContent;
207
+ static configNames: string[];
208
+ static propertyConfigNames: string[];
209
+ static propertyNames: string[];
210
+ instance: ViewPresetCombo;
211
+ element: HTMLElement;
212
+ componentDidMount(): void;
213
+ componentWillUnmount(): void;
214
+ shouldComponentUpdate(nextProps: Readonly<BryntumViewPresetComboProps>, nextState: Readonly<{}>): boolean;
215
+ render(): React.ReactNode;
216
+ }
@@ -0,0 +1,158 @@
1
+ import React from 'react';
2
+ import { ViewPresetCombo } from '@bryntum/scheduler-thin';
3
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
4
+ export class BryntumViewPresetCombo extends React.Component {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.processWidgetContent = processWidgetContent;
8
+ }
9
+ componentDidMount() {
10
+ this.instance = createWidget(this);
11
+ }
12
+ componentWillUnmount() {
13
+ var _a, _b;
14
+ (_b = (_a = this.instance) === null || _a === void 0 ? void 0 : _a.destroy) === null || _b === void 0 ? void 0 : _b.call(_a);
15
+ }
16
+ shouldComponentUpdate(nextProps, nextState) {
17
+ return shouldComponentUpdate(this, nextProps, nextState);
18
+ }
19
+ render() {
20
+ const className = `b-react-view-preset-combo-container`;
21
+ return (React.createElement("div", { className: className, ref: (element) => (this.element = element) }));
22
+ }
23
+ }
24
+ BryntumViewPresetCombo.instanceClass = ViewPresetCombo;
25
+ BryntumViewPresetCombo.instanceName = 'ViewPresetCombo';
26
+ BryntumViewPresetCombo.configNames = [
27
+ 'align',
28
+ 'anchor',
29
+ 'ariaDescription',
30
+ 'ariaLabel',
31
+ 'bubbleEvents',
32
+ 'cacheLastResult',
33
+ 'centered',
34
+ 'clearTextOnSelection',
35
+ 'clearWhenInputEmpty',
36
+ 'client',
37
+ 'color',
38
+ 'config',
39
+ 'constrainTo',
40
+ 'contentElementCls',
41
+ 'dataField',
42
+ 'defaultBindProperty',
43
+ 'detectCSSCompatibilityIssues',
44
+ 'dock',
45
+ 'draggable',
46
+ 'elementAttributes',
47
+ 'floating',
48
+ 'hideAnimation',
49
+ 'hidePickerOnSelect',
50
+ 'hint',
51
+ 'hintHtml',
52
+ 'ignoreParentReadOnly',
53
+ 'inputAlign',
54
+ 'inputAttributes',
55
+ 'inputTag',
56
+ 'inputWidth',
57
+ 'labelCls',
58
+ 'labelPosition',
59
+ 'labels',
60
+ 'labelWidth',
61
+ 'listCls',
62
+ 'listeners',
63
+ 'listItemTpl',
64
+ 'localeClass',
65
+ 'localizable',
66
+ 'localizableProperties',
67
+ 'maskDefaults',
68
+ 'masked',
69
+ 'monitorResize',
70
+ 'name',
71
+ 'overlayAnchor',
72
+ 'owner',
73
+ 'pickerWidth',
74
+ 'positioned',
75
+ 'presets',
76
+ 'preventTooltipOnTouch',
77
+ 'relayStoreEvents',
78
+ 'ripple',
79
+ 'rootElement',
80
+ 'scrollAction',
81
+ 'showAnimation',
82
+ 'showTooltipWhenDisabled',
83
+ 'skipValidation',
84
+ 'tab',
85
+ 'tabIndex',
86
+ 'textAlign',
87
+ 'type',
88
+ 'ui',
89
+ 'useFixedDuration',
90
+ 'weight'
91
+ ];
92
+ BryntumViewPresetCombo.propertyConfigNames = [
93
+ 'alignSelf',
94
+ 'appendTo',
95
+ 'badge',
96
+ 'callOnFunctions',
97
+ 'catchEventHandlerExceptions',
98
+ 'cls',
99
+ 'column',
100
+ 'disabled',
101
+ 'editable',
102
+ 'extraData',
103
+ 'flex',
104
+ 'height',
105
+ 'hidden',
106
+ 'id',
107
+ 'insertBefore',
108
+ 'insertFirst',
109
+ 'keyMap',
110
+ 'label',
111
+ 'margin',
112
+ 'maxHeight',
113
+ 'maximizeOnMobile',
114
+ 'maxWidth',
115
+ 'minHeight',
116
+ 'minWidth',
117
+ 'onAction',
118
+ 'onBeforeDestroy',
119
+ 'onBeforeHide',
120
+ 'onBeforeShow',
121
+ 'onCatchAll',
122
+ 'onChange',
123
+ 'onClear',
124
+ 'onDestroy',
125
+ 'onElementCreated',
126
+ 'onFocusIn',
127
+ 'onFocusOut',
128
+ 'onHide',
129
+ 'onPaint',
130
+ 'onReadOnly',
131
+ 'onRecompose',
132
+ 'onResize',
133
+ 'onSelect',
134
+ 'onShow',
135
+ 'onTrigger',
136
+ 'readOnly',
137
+ 'rendition',
138
+ 'rtl',
139
+ 'showRequiredIndicator',
140
+ 'span',
141
+ 'width',
142
+ 'x',
143
+ 'y'
144
+ ];
145
+ BryntumViewPresetCombo.propertyNames = [
146
+ 'anchorSize',
147
+ 'focusVisible',
148
+ 'formula',
149
+ 'input',
150
+ 'multiSelect',
151
+ 'parent',
152
+ 'picker',
153
+ 'placeholder',
154
+ 'required',
155
+ 'tooltip',
156
+ 'value'
157
+ ];
158
+ //# sourceMappingURL=BryntumViewPresetCombo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BryntumViewPresetCombo.js","sourceRoot":"","sources":["../src/BryntumViewPresetCombo.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAgB,eAAe,EAA4B,MAAM,yBAAyB,CAAC;AAElG,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAytB/F,MAAM,OAAO,sBAAuB,SAAQ,KAAK,CAAC,SAAsC;IAAxF;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;IA2KhD,CAAC;IA5BG,iBAAiB;QACb,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IAED,oBAAoB;;QAEhB,MAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,OAAO,kDAAI,CAAC;IAC/B,CAAC;IASD,qBAAqB,CAAC,SAAgD,EAAE,SAAuB;QAC3F,OAAO,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IAC7D,CAAC;IAED,MAAM;QAEF,MAAM,SAAS,GAAG,qCAAqC,CAAC;QACxD,OAAO,CACH,6BAAK,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,GAAG,OAAQ,CAAC,GAAQ,CACjF,CAAC;IAEN,CAAC;;AA9KM,oCAAa,GAAG,eAAe,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AW;IACX,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,aAAa;IACb,UAAU;IACV,UAAU;IACV,QAAQ;IACR,WAAW;IACX,UAAU;IACV,WAAW;IACX,KAAK;IACL,uBAAuB;IACvB,MAAM;IACN,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,oCAAa,GAAG;IACnB,YAAY;IACZ,cAAc;IACd,SAAS;IACT,OAAO;IACP,aAAa;IACb,QAAQ;IACR,QAAQ;IACR,aAAa;IACb,UAAU;IACV,SAAS;IACT,OAAO;CACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { Widget } from '@bryntum/core-thin';
3
+ declare global {
4
+ interface Window {
5
+ bryntum: {
6
+ isTestEnv?: boolean;
7
+ react?: {
8
+ isReactElement?: (element: any) => boolean;
9
+ handleReactElement?: (widget: Widget, element: any) => void;
10
+ handleReactHeaderElement?: (column: {
11
+ grid: any;
12
+ id: string;
13
+ }, headerElement: HTMLElement, html: any) => void;
14
+ };
15
+ };
16
+ }
17
+ }
18
+ declare function createWidget(component: any): any;
19
+ declare function shouldComponentUpdate(component: any, nextProps: Readonly<any>, nextState: Readonly<any>): boolean;
20
+ declare function processWidgetContent({ reactElement, widget, reactComponent, contentElement }: {
21
+ reactElement: any;
22
+ widget: any;
23
+ reactComponent: any;
24
+ contentElement: any;
25
+ }): React.ReactPortal | undefined;
26
+ export { createWidget, shouldComponentUpdate, processWidgetContent };