@bryntum/schedulerpro-vue-3-thin 7.2.3 → 7.3.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 +7 -7
- package/lib/chunks/{D4JDuI0s.js → B4dVznPx.js} +1 -8
- package/lib/chunks/B4dVznPx.js.map +1 -0
- package/lib/chunks/{BhUeT19h.js → BFFz1c24.js} +5 -5
- package/lib/chunks/BFFz1c24.js.map +1 -0
- package/lib/chunks/{BJPdcix1.js → BIkGnHve.js} +3 -3
- package/lib/chunks/BIkGnHve.js.map +1 -0
- package/lib/chunks/{BRGc8bUJ.js → BNBuOpUp.js} +8 -7
- package/lib/chunks/BNBuOpUp.js.map +1 -0
- package/lib/chunks/{BjTPjWi9.js → Bp7aU5Ia.js} +6 -6
- package/lib/chunks/Bp7aU5Ia.js.map +1 -0
- package/lib/chunks/{CuODT2-U.js → C3Dz-ovY.js} +3 -3
- package/lib/chunks/C3Dz-ovY.js.map +1 -0
- package/lib/chunks/{BTT_cGQU.js → CPjow0gO.js} +8 -9
- package/lib/chunks/CPjow0gO.js.map +1 -0
- package/lib/chunks/{DYBe70El.js → CqtUB81W.js} +18 -11
- package/lib/chunks/CqtUB81W.js.map +1 -0
- package/lib/chunks/{C41opZKx.js → CvNpXefN.js} +18 -11
- package/lib/chunks/CvNpXefN.js.map +1 -0
- package/lib/chunks/{BbI7XKMd.js → D0hJ3P6L.js} +5 -3
- package/lib/chunks/D0hJ3P6L.js.map +1 -0
- package/lib/chunks/{BpAvqwr_.js → D1a3F6m-.js} +23 -13
- package/lib/chunks/D1a3F6m-.js.map +1 -0
- package/lib/chunks/{CGbW6pgm.js → DPA-xEW5.js} +8 -9
- package/lib/chunks/DPA-xEW5.js.map +1 -0
- package/lib/chunks/{MOjUZ-Rj.js → DdbMybqv.js} +5 -5
- package/lib/chunks/DdbMybqv.js.map +1 -0
- package/lib/chunks/{DGV7a5Xo.js → DjFBhm9P.js} +6 -6
- package/lib/chunks/DjFBhm9P.js.map +1 -0
- package/lib/chunks/{Dz-up1_i.js → DmFXOMJ5.js} +5 -5
- package/lib/chunks/DmFXOMJ5.js.map +1 -0
- package/lib/chunks/{DwzPrR90.js → Pb5GbfMi.js} +5 -5
- package/lib/chunks/Pb5GbfMi.js.map +1 -0
- package/lib/chunks/{M0cBUV91.js → W-pa3HyX.js} +6 -6
- package/lib/chunks/W-pa3HyX.js.map +1 -0
- package/lib/chunks/{CJFZbm_i.js → b8yreHIz.js} +23 -13
- package/lib/chunks/b8yreHIz.js.map +1 -0
- package/lib/chunks/{9jfNe_y3.js → oM3gO3yH.js} +14 -8
- package/lib/chunks/oM3gO3yH.js.map +1 -0
- package/lib/chunks/{BO8FwQoh.js → p1r0F5YC.js} +6 -6
- package/lib/chunks/p1r0F5YC.js.map +1 -0
- package/lib/chunks/{DlNFp5e-.js → s35t-2ke.js} +10 -10
- package/lib/chunks/s35t-2ke.js.map +1 -0
- package/lib/chunks/{j8JzZ-07.js → yF4wtntA.js} +4 -4
- package/lib/chunks/yF4wtntA.js.map +1 -0
- package/lib/components/BryntumCalendarEditor.js +1 -1
- package/lib/components/BryntumCalendarField.js +1 -1
- package/lib/components/BryntumConstraintTypePicker.js +1 -1
- package/lib/components/BryntumCostAccrualField.js +1 -1
- package/lib/components/BryntumDependencyTypePicker.js +1 -1
- package/lib/components/BryntumEffortField.js +1 -1
- package/lib/components/BryntumEndDateField.js +1 -1
- package/lib/components/BryntumModelCombo.js +1 -1
- package/lib/components/BryntumRateTableField.js +1 -1
- package/lib/components/BryntumResourceEditor.js +1 -1
- package/lib/components/BryntumResourceGrid.js +1 -1
- package/lib/components/BryntumResourceHistogram.js +1 -1
- package/lib/components/BryntumResourceTypeField.js +1 -1
- package/lib/components/BryntumResourceUtilization.js +1 -1
- package/lib/components/BryntumSchedulerPro.js +1 -1
- package/lib/components/BryntumSchedulerProBase.js +1 -1
- package/lib/components/BryntumSchedulerProProjectModel.js +1 -1
- package/lib/components/BryntumSchedulingDirectionPicker.js +1 -1
- package/lib/components/BryntumSchedulingModePicker.js +1 -1
- package/lib/components/BryntumStartDateField.js +1 -1
- package/lib/components/BryntumThemeCombo.js +57 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTimeline.js +1 -1
- package/lib/components/BryntumVersionGrid.js +1 -1
- package/lib/index.js +22 -22
- package/package.json +1 -1
- package/src/components/BryntumCalendarEditor.vue +127 -186
- package/src/components/BryntumCalendarEditorProps.ts +123 -177
- package/src/components/BryntumCalendarField.vue +91 -151
- package/src/components/BryntumCalendarFieldProps.ts +87 -143
- package/src/components/BryntumConstraintTypePicker.vue +91 -151
- package/src/components/BryntumConstraintTypePickerProps.ts +87 -143
- package/src/components/BryntumCostAccrualField.vue +91 -151
- package/src/components/BryntumCostAccrualFieldProps.ts +87 -143
- package/src/components/BryntumDependencyTypePicker.vue +91 -151
- package/src/components/BryntumDependencyTypePickerProps.ts +87 -143
- package/src/components/BryntumEffortField.vue +79 -124
- package/src/components/BryntumEffortFieldProps.ts +73 -114
- package/src/components/BryntumEndDateField.vue +79 -122
- package/src/components/BryntumEndDateFieldProps.ts +75 -114
- package/src/components/BryntumModelCombo.vue +91 -151
- package/src/components/BryntumModelComboProps.ts +87 -143
- package/src/components/BryntumRateTableField.vue +91 -151
- package/src/components/BryntumRateTableFieldProps.ts +87 -143
- package/src/components/BryntumResourceEditor.vue +126 -184
- package/src/components/BryntumResourceEditorProps.ts +122 -175
- package/src/components/BryntumResourceGrid.vue +204 -293
- package/src/components/BryntumResourceGridProps.ts +187 -263
- package/src/components/BryntumResourceHistogram.vue +338 -461
- package/src/components/BryntumResourceHistogramProps.ts +287 -402
- package/src/components/BryntumResourceTypeField.vue +91 -151
- package/src/components/BryntumResourceTypeFieldProps.ts +87 -143
- package/src/components/BryntumResourceUtilization.vue +338 -461
- package/src/components/BryntumResourceUtilizationProps.ts +288 -404
- package/src/components/BryntumSchedulerPro.vue +507 -646
- package/src/components/BryntumSchedulerProBase.vue +507 -646
- package/src/components/BryntumSchedulerProBaseProps.ts +408 -556
- package/src/components/BryntumSchedulerProProjectModel.vue +63 -107
- package/src/components/BryntumSchedulerProProjectModelProps.ts +55 -85
- package/src/components/BryntumSchedulerProProps.ts +408 -556
- package/src/components/BryntumSchedulingDirectionPicker.vue +91 -151
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +87 -143
- package/src/components/BryntumSchedulingModePicker.vue +92 -153
- package/src/components/BryntumSchedulingModePickerProps.ts +88 -145
- package/src/components/BryntumStartDateField.vue +81 -126
- package/src/components/BryntumStartDateFieldProps.ts +77 -118
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeline.vue +428 -597
- package/src/components/BryntumTimelineProps.ts +366 -519
- package/src/components/BryntumVersionGrid.vue +203 -290
- package/src/components/BryntumVersionGridProps.ts +186 -261
- package/lib/chunks/9jfNe_y3.js.map +0 -1
- package/lib/chunks/BJPdcix1.js.map +0 -1
- package/lib/chunks/BO8FwQoh.js.map +0 -1
- package/lib/chunks/BRGc8bUJ.js.map +0 -1
- package/lib/chunks/BTT_cGQU.js.map +0 -1
- package/lib/chunks/BbI7XKMd.js.map +0 -1
- package/lib/chunks/BhUeT19h.js.map +0 -1
- package/lib/chunks/BjTPjWi9.js.map +0 -1
- package/lib/chunks/BpAvqwr_.js.map +0 -1
- package/lib/chunks/C41opZKx.js.map +0 -1
- package/lib/chunks/CGbW6pgm.js.map +0 -1
- package/lib/chunks/CJFZbm_i.js.map +0 -1
- package/lib/chunks/CuODT2-U.js.map +0 -1
- package/lib/chunks/D4JDuI0s.js.map +0 -1
- package/lib/chunks/DGV7a5Xo.js.map +0 -1
- package/lib/chunks/DYBe70El.js.map +0 -1
- package/lib/chunks/DlNFp5e-.js.map +0 -1
- package/lib/chunks/DwzPrR90.js.map +0 -1
- package/lib/chunks/Dz-up1_i.js.map +0 -1
- package/lib/chunks/M0cBUV91.js.map +0 -1
- package/lib/chunks/MOjUZ-Rj.js.map +0 -1
- package/lib/chunks/j8JzZ-07.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pb5GbfMi.js","sources":["../../src/components/BryntumResourceTypeField.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ResourceTypeField -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, Duration, DurationConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';\nimport type { SchedulerProContainerItemConfig, ResourceTypeFieldListeners } from '@bryntum/schedulerpro-thin';\nimport { ResourceTypeField } from '@bryntum/schedulerpro-thin';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n */\n autoComplete ? : string\n /**\n * Configure as `true` to have the picker expand upon focus enter.\n */\n autoExpand ? : Boolean\n /**\n * Specify `true` to auto select field contents on focus\n */\n autoSelect ? : Boolean\n /**\n * Initial text to show in badge.\n */\n badge ? : string\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Enable caching of the last retrieved result until the timeout is reached.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-cacheLastResult)\n */\n cacheLastResult ? : number|string|Duration|DurationConfig\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * Configure as `true` to force case matching when filtering the dropdown list based upon the typed value.\n */\n caseSensitive ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the\n * selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-chipView)\n */\n chipView ? : ChipViewConfig\n /**\n * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly). The trigger is available\n * in the [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which\n * configures the `clear` [trigger](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers).\n */\n clearable ? : Boolean|FieldTriggerConfig\n /**\n * `true` to clear value typed to a multiselect combo when picker is collapsed\n */\n clearTextOnPickerHide ? : Boolean\n /**\n * Specify `false` to not clear value typed to a multiselect combo when an item is selected.\n */\n clearTextOnSelection ? : Boolean\n /**\n * Set to `true` to clear this field when user empties the input element\n */\n clearWhenInputEmpty ? : Boolean\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-cls)\n */\n cls ? : string|object\n /**\n * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets\n * `style` block.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-color)\n */\n color ? : Color\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The configuration for additional items associated to this field. This is typically used to add contextual\n * fields related to a [checkbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See\n * these classes for examples of nested fields.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-container)\n */\n container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig\n /**\n * The config controls how the value of nested items are handled when a parent container gets or sets its\n * [values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-containValues)\n * @param {Core.widget.Field} field Field instance\n * @returns {boolean}\n */\n containValues ? : Boolean|string|((field: Field) => Boolean)\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * If configured as `true`, this means that when an unmatched string is typed into the\n * combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,\n * a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-createOnUnmatched)\n * @param {string} name Record name\n * @param {Core.widget.Combo} combo Combo instance\n * @returns {Core.data.Model} New record\n */\n createOnUnmatched ? : ((name: string, combo: Combo) => Model)|string|Boolean\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Field used for item text when populating from store\n */\n displayField ? : string\n /**\n * Template function that can be used to customize the displayed value\n * @param {Core.data.Model} record The record to provide a textual value for\n * @param {Core.widget.Combo} combo A reference to this Combo\n * @returns {string,void}\n */\n displayValueRenderer ? : (record: Model, combo: Combo) => string|void\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * User can edit text in text field (otherwise only pick from attached picker)\n */\n editable ? : Boolean\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n /**\n * Text to display in the drop down when there are no items in the underlying store.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-emptyText)\n */\n emptyText ? : string\n /**\n * A function which creates an array of values for the [filterParamName](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-filterParamName) to pass\n * any filters to the server upon load.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-encodeFilterParams)\n * @param {object[]} filters filters\n * @returns {object[]} array of values\n */\n encodeFilterParams ? : (filters: object[]) => object[]\n extraData ? : any\n /**\n * If `false`, filtering will be triggered once you exceed [minChars](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-minChars). To filter only when\n * hitting Enter key, set this to `true`;\n */\n filterOnEnter ? : Boolean\n /**\n * The name of an operator type as implemented in [operator](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter#config-operator)\n * to use when filtering the dropdown list based upon the typed value.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-filterOperator)\n */\n filterOperator ? : CollectionCompareOperator\n /**\n * If the dropdown is to be populated with a filtered query to a remote server, specify the\n * name of the parameter to pass the typed string here. By default, the string is simply sent\n * as the value of the parameter. For special encoding, configure the combo with [encodeFilterParams](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-encodeFilterParams)\n */\n filterParamName ? : string\n /**\n * When [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`, you may configure `filterSelected` as\n * `true` to hide items in the dropdown when they are added to the selection.\n * It will appear as if the requested item has \"moved\" into the field's\n * [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-chipView).\n */\n filterSelected ? : Boolean\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `<flex-grow> <flex-shrink> <flex-basis>` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * By default, the picker is hidden on selection in single select mode, and\n * remains to allow more selections when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.\n * Setting this to a `Boolean` value can override that default.\n */\n hidePickerOnSelect ? : Boolean\n /**\n * Configure as `true` to hide the expand trigger. This is automatically set to `true` if\n * remote filtering is enabled by setting the [filterParamName](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-filterParamName) config.\n */\n hideTrigger ? : Boolean\n /**\n * Specify `true` to highlight field after external value changes\n */\n highlightExternalChange ? : Boolean\n /**\n * An optional string to display inside the input field as an overlay. This can be useful for displaying\n * a field's units.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-hint)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hint ? : string|((data: { source: Field, value: any }) => string)\n /**\n * This config is similar to [hint](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.\n * Since this can allow malicious content to be executed, be sure not to include user-entered data or to\n * encode such data (see [encodeHtml](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-hintHtml)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hintHtml ? : string|((data: { source: Field, value: any }) => string)\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Set this config to `true` to always display items horizontally along with this field. This assigns an\n * [hbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the\n * [container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-container).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-inline)\n */\n inline ? : Boolean\n /**\n * Configure this as `true` to render the dropdown list as a permanently visible list\n * in the document flow immediately below the input area instead of as a popup.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-inlinePicker)\n */\n inlinePicker ? : Boolean\n /**\n * Text alignment for the input field.\n */\n inputAlign ? : string\n /**\n * Sets custom attributes of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)\n */\n inputAttributes ? : Record<string, string>\n /**\n * If you need to use something else than a default `input` element, as the input element, provide the tag\n * name here. Please note that this is used for advanced usage only, for example when using WebComponents\n * (custom elements), and that the configured element must fulfil the same contract as a regular input\n * element.\n */\n inputTag ? : string\n /**\n * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).\n */\n inputType ? : string\n /**\n * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any\n * triggers. If a number is specified, `px` will be used.\n */\n inputWidth ? : string|number\n /**\n * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertBefore ? : HTMLElement|string\n /**\n * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * Rows to display in the dropdown (list items).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-items)\n */\n items ? : object[]|string[]|object\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The delay in milliseconds to wait after the last keystroke before triggering a change event.\n * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have\n * immediate feedback, change will still be triggered on blur).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-keyStrokeChangeDelay)\n */\n keyStrokeChangeDelay ? : number\n /**\n * The delay in milliseconds to wait after the last keystroke before filtering the list.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-keyStrokeFilterDelay)\n */\n keyStrokeFilterDelay ? : number\n /**\n * Label, prepended to field\n */\n label ? : string\n /**\n * CSS class name or class names to add to any configured [label](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/mixin/Labelable#config-label)\n */\n labelCls ? : string|object\n /**\n * Label position, either 'before' the field or 'above' the field\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|null\n /**\n * The labels to add either before or after the input field.\n * Each label may have the following properties:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-labels)\n * @property {string} html Label text\n * @property {'start','end'} align Which end of the file the label should go\n */\n labels ? : object[]\n /**\n * The width to apply to the `<label>` element. If a number is specified, `px` will be used.\n */\n labelWidth ? : string|number\n /**\n * CSS class to add to picker\n */\n listCls ? : string\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-listeners)\n */\n listeners ? : ResourceTypeFieldListeners\n /**\n * Template string used to render the list items in the dropdown list\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-listItemTpl)\n * @param {Core.data.Model} record The record representing the item being rendered\n * @returns {string,void}\n */\n listItemTpl ? : (record: Model) => string|void\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The max number of characters for the input field\n */\n maxLength ? : number\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The minimum string length to trigger the filtering, only relevant when [editable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-editable) is `true`.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-minChars)\n */\n minChars ? : number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The min number of characters for the input field\n */\n minLength ? : number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Set to `true` to allow selection of multiple values from the dropdown list.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-multiSelect)\n */\n multiSelect ? : Boolean\n /**\n * A key value which, when typed in a [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) Combo, selects the\n * currently active item in the picker, and clears the input field ready for another\n * match to be typed.\n */\n multiValueSeparator ? : string\n /**\n * Name of the field which is used as a key to get/set values from/to the field.\n * Used prior to [ref](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in\n * [Container.values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-name)\n */\n name ? : string\n /**\n * This implies that the picker will display an anchor pointer, but also means that the picker will align closer\n * to the input field so that the pointer pierces the [pickerAlignElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-pickerAlignElement)\n */\n overlayAnchor ? : Boolean\n /**\n * Configuration object for the [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) on initialization. Returns the\n * [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) instance at runtime.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-picker)\n */\n picker ? : ListConfig\n /**\n * The name of the element property to which the picker should size and align itself.\n */\n pickerAlignElement ? : string\n /**\n * Width of picker, defaults to this combo's [pickerAlignElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-pickerAlignElement) width\n */\n pickerWidth ? : number|string\n /**\n * Text to display in empty field.\n */\n placeholder ? : string\n /**\n * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement), but must\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Optionally a [Filter](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter) config object which the combo should use for\n * filtering using the typed value.\n * This may use a `filterBy` property to test its `value` against any field in the passed record.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-primaryFilter)\n */\n primaryFilter ? : CollectionFilterConfig\n /**\n * Makes the field unmodifiable by user action. The input area is not editable, and triggers\n * are unresponsive.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Predefined style to use for the field. Possible values are:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-rendition)\n */\n rendition ? : 'outlined'|'filled'|string\n /**\n * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will\n * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.\n */\n required ? : Boolean\n /**\n * If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing\n * the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when\n * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)\n * behaviour will be activated.\n */\n revertOnEscape ? : Boolean\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [focusElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-role)\n */\n role ? : string\n /**\n * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-required).\n */\n showRequiredIndicator ? : string\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`\n * to the user).\n */\n skipValidation ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)\n */\n spellCheck ? : Boolean\n /**\n * Store used to populate items. Also accepts a Store config object\n */\n store ? : Store|StoreConfig\n /**\n * A configuration for the [tab](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tab) created for this widget when it is placed in a\n * [TabPanel](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for\n * this widget:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`\n * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable\n * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set\n * to the element programmatically.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-tabIndex)\n */\n tabIndex ? : number\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n /**\n * How to query the store upon click of the expand trigger. Specify one of these values:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-triggerAction)\n */\n triggerAction ? : 'all'|'last'|null\n /**\n * The triggers to add either before or after the input field. Each property name is the reference by which\n * an instantiated Trigger Widget may be retrieved from the live `triggers` property.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-triggers)\n */\n triggers ? : Record<string, FieldTriggerConfig>\n type ? : 'resourceTypeField'|'resourcetypefield'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-ui)\n */\n ui ? : string|object\n /**\n * `true` to cause the field to be in an invalid state while the typed filter string does not match a record in the store.\n */\n validateFilter ? : Boolean\n /**\n * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press\n * or similar.\n */\n validateOnInput ? : Boolean\n /**\n * The initial value of this Combo box. In single select mode (default) it's a simple string value, for\n * [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) mode, it should be an array of record ids.\n */\n value ? : string|number|string[]|number[]\n /**\n * Field used for item value when populating from store. Setting this to `null` will\n * yield the selected record as the Combo's [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#property-value).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-valueField)\n */\n valueField ? : string|null\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * The default action was performed (an item in the list was selected)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Combo} params.params.event.source The combo\n * @param {any} params.params.event.value The [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-valueField) of the selected record\n * @param {Core.data.Model} params.params.event.record Selected record\n * @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`\n * @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction\n */\n (e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.Base} params.params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget,any} params.params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details\n * @param {string} params.params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fired when this field's value changes.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Field,any} params.params.event.source This Field\n * @param {string,number,boolean,any} params.params.event.value This field's value\n * @param {string,number,boolean,any} params.params.event.oldValue This field's previous value\n * @param {boolean} params.params.event.valid True if this field is in a valid state\n * @param {Event} params.params.event.event The triggering DOM event if any\n * @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.params.event.checked\n */\n (e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fired when this field is [cleared](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#function-clear).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#event-clear)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Field,any} params.params.event.source This Field\n */\n (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.Base} params.params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {HTMLElement} params.params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {HTMLElement} params.params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.\n * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {HTMLElement} params.params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.\n * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User typed into the field. Please note that the value attached to this event is the raw input field value and\n * not the combos value\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Combo} params.params.event.source The combo.\n * @param {string} params.params.event.value Raw input value\n * @param {Event} params.params.event.event The triggering DOM event if any.\n */\n (e: 'input', params: ((event: { source: Combo, value: string, event: Event }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget being painted.\n * @param {boolean} params.params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {boolean} params.params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {number} params.params.event.width The new width\n * @param {number} params.params.event.height The new height\n * @param {number} params.params.event.oldWidth The old width\n * @param {number} params.params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * An item in the list was selected\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Combo} params.params.event.source The combo\n * @param {Core.data.Model} params.params.event.record Selected record\n * @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`\n * @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction\n */\n (e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Field,any} params.params.event.source This field\n * @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.\n */\n (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : ResourceTypeField,\n instanceName : 'ResourceTypeField',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoComplete',\n 'autoExpand',\n 'autoSelect',\n 'bubbleEvents',\n 'cacheLastResult',\n 'caseSensitive',\n 'centered',\n 'chipView',\n 'clearable',\n 'clearTextOnPickerHide',\n 'clearTextOnSelection',\n 'clearWhenInputEmpty',\n 'color',\n 'config',\n 'constrainTo',\n 'container',\n 'containValues',\n 'contentElementCls',\n 'createOnUnmatched',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'displayField',\n 'displayValueRenderer',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'emptyText',\n 'encodeFilterParams',\n 'filterOnEnter',\n 'filterParamName',\n 'filterSelected',\n 'floating',\n 'hideAnimation',\n 'hidePickerOnSelect',\n 'hideTrigger',\n 'highlightExternalChange',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inline',\n 'inlinePicker',\n 'inputAlign',\n 'inputAttributes',\n 'inputTag',\n 'inputType',\n 'inputWidth',\n 'items',\n 'keyStrokeChangeDelay',\n 'keyStrokeFilterDelay',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listCls',\n 'listeners',\n 'listItemTpl',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'maxLength',\n 'minChars',\n 'minLength',\n 'monitorResize',\n 'multiValueSeparator',\n 'name',\n 'overlayAnchor',\n 'pickerAlignElement',\n 'pickerWidth',\n 'positioned',\n 'preventTooltipOnTouch',\n 'primaryFilter',\n 'relayStoreEvents',\n 'revertOnEscape',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'spellCheck',\n 'tab',\n 'tabIndex',\n 'textAlign',\n 'title',\n 'triggerAction',\n 'type',\n 'ui',\n 'validateFilter',\n 'validateOnInput',\n 'valueField',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'dataset',\n 'disabled',\n 'editable',\n 'extraData',\n 'filterOperator',\n 'flex',\n 'height',\n 'hidden',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'label',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'multiSelect',\n 'onAction',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onClear',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onInput',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onSelect',\n 'onShow',\n 'onTrigger',\n 'picker',\n 'placeholder',\n 'readOnly',\n 'rendition',\n 'required',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'store',\n 'tooltip',\n 'triggers',\n 'value',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'content',\n 'formula',\n 'html',\n 'input',\n 'parent',\n 'scrollable'\n ],\n eventNames : [\n 'action',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'clear',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'input',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'select',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: ResourceTypeField\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof ResourceTypeField>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","ResourceTypeField","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, ref as r, provide as u, onMounted as g, getCurrentInstance as y, toRaw as b, onBeforeUnmount as f, openBlock as C, createElementBlock as
|
|
1
|
+
import { defineComponent as h, ref as r, provide as u, onMounted as g, getCurrentInstance as y, toRaw as b, onBeforeUnmount as f, openBlock as C, createElementBlock as k, watch as S } from "vue";
|
|
2
2
|
import { CalendarField as x } from "@bryntum/schedulerpro-thin";
|
|
3
3
|
import { WrapperHelper as o } from "../helper/WrapperHelper.js";
|
|
4
4
|
const T = /* @__PURE__ */ h({
|
|
@@ -120,6 +120,7 @@ const T = /* @__PURE__ */ h({
|
|
|
120
120
|
required: {},
|
|
121
121
|
revertOnEscape: {},
|
|
122
122
|
ripple: {},
|
|
123
|
+
role: {},
|
|
123
124
|
rootElement: {},
|
|
124
125
|
rtl: {},
|
|
125
126
|
scrollAction: {},
|
|
@@ -238,6 +239,7 @@ const T = /* @__PURE__ */ h({
|
|
|
238
239
|
"relayStoreEvents",
|
|
239
240
|
"revertOnEscape",
|
|
240
241
|
"ripple",
|
|
242
|
+
"role",
|
|
241
243
|
"rootElement",
|
|
242
244
|
"scrollAction",
|
|
243
245
|
"showAnimation",
|
|
@@ -321,9 +323,7 @@ const T = /* @__PURE__ */ h({
|
|
|
321
323
|
"y"
|
|
322
324
|
],
|
|
323
325
|
propertyNames: [
|
|
324
|
-
"anchorSize",
|
|
325
326
|
"content",
|
|
326
|
-
"focusVisible",
|
|
327
327
|
"formula",
|
|
328
328
|
"html",
|
|
329
329
|
"input",
|
|
@@ -362,7 +362,7 @@ const T = /* @__PURE__ */ h({
|
|
|
362
362
|
element: t.value,
|
|
363
363
|
toRaw: b
|
|
364
364
|
});
|
|
365
|
-
const l = (p, m) =>
|
|
365
|
+
const l = (p, m) => S(() => i.props[p], m);
|
|
366
366
|
o.watchProps(e.value, n, l);
|
|
367
367
|
}), f(() => {
|
|
368
368
|
e.value?.destroy?.();
|
|
@@ -370,7 +370,7 @@ const T = /* @__PURE__ */ h({
|
|
|
370
370
|
instance: e,
|
|
371
371
|
refElement: t,
|
|
372
372
|
teleports: a
|
|
373
|
-
}), (i, l) => (C(),
|
|
373
|
+
}), (i, l) => (C(), k("div", {
|
|
374
374
|
ref_key: "refElement",
|
|
375
375
|
ref: t
|
|
376
376
|
}, null, 512));
|
|
@@ -379,4 +379,4 @@ const T = /* @__PURE__ */ h({
|
|
|
379
379
|
export {
|
|
380
380
|
T as _
|
|
381
381
|
};
|
|
382
|
-
//# sourceMappingURL=
|
|
382
|
+
//# sourceMappingURL=W-pa3HyX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W-pa3HyX.js","sources":["../../src/components/BryntumCalendarField.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum CalendarField -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, Duration, DurationConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, ListConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';\nimport type { CalendarEditorConfig, CalendarFieldListeners, CalendarManagerStore, SchedulerProContainerItemConfig, EventModel, ProjectModel, ResourceModel } from '@bryntum/schedulerpro-thin';\nimport { CalendarField } from '@bryntum/schedulerpro-thin';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n */\n autoComplete ? : string\n /**\n * Configure as `true` to have the picker expand upon focus enter.\n */\n autoExpand ? : Boolean\n /**\n * Specify `true` to auto select field contents on focus\n */\n autoSelect ? : Boolean\n /**\n * Initial text to show in badge.\n */\n badge ? : string\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Enable caching of the last retrieved result until the timeout is reached.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-cacheLastResult)\n */\n cacheLastResult ? : number|string|Duration|DurationConfig\n /**\n * The consumer of the edited calendar.\n * Can be a resource, an event or a project model.\n * The value is required for [\"Edit calendar\" trigger](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-calendarEditor) functionality.\n */\n calendarConsumerRecord ? : EventModel|ResourceModel|ProjectModel\n /**\n * Configuration of the calendar editor triggered by clicking \"Edit calendar\" trigger.\n * Provide `false` to this config to skip both the editor and the trigger constructing.\n */\n calendarEditor ? : CalendarEditorConfig|false\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * Configure as `true` to force case matching when filtering the dropdown list based upon the typed value.\n */\n caseSensitive ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the\n * selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-chipView)\n */\n chipView ? : ChipViewConfig\n /**\n * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly). The trigger is available\n * in the [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which\n * configures the `clear` [trigger](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers).\n */\n clearable ? : Boolean|FieldTriggerConfig\n /**\n * `true` to clear value typed to a multiselect combo when picker is collapsed\n */\n clearTextOnPickerHide ? : Boolean\n /**\n * Specify `false` to not clear value typed to a multiselect combo when an item is selected.\n */\n clearTextOnSelection ? : Boolean\n /**\n * Set to `true` to clear this field when user empties the input element\n */\n clearWhenInputEmpty ? : Boolean\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-cls)\n */\n cls ? : string|object\n /**\n * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets\n * `style` block.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-color)\n */\n color ? : Color\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The configuration for additional items associated to this field. This is typically used to add contextual\n * fields related to a [checkbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See\n * these classes for examples of nested fields.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-container)\n */\n container ? : Record<string, SchedulerProContainerItemConfig>|SchedulerProContainerItemConfig[]|FieldContainerConfig\n /**\n * The config controls how the value of nested items are handled when a parent container gets or sets its\n * [values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-containValues)\n * @param {Core.widget.Field} field Field instance\n * @returns {boolean}\n */\n containValues ? : Boolean|string|((field: Field) => Boolean)\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * If configured as `true`, this means that when an unmatched string is typed into the\n * combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,\n * a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-createOnUnmatched)\n * @param {string} name Record name\n * @param {Core.widget.Combo} combo Combo instance\n * @returns {Core.data.Model} New record\n */\n createOnUnmatched ? : ((name: string, combo: Combo) => Model)|string|Boolean\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Field used for item text when populating from store\n */\n displayField ? : string\n /**\n * Template function that can be used to customize the displayed value\n * @param {Core.data.Model} record The record to provide a textual value for\n * @param {Core.widget.Combo} combo A reference to this Combo\n * @returns {string,void}\n */\n displayValueRenderer ? : (record: Model, combo: Combo) => string|void\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * User can edit text in text field (otherwise only pick from attached picker)\n */\n editable ? : Boolean\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n /**\n * Text to display in the drop down when there are no items in the underlying store.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-emptyText)\n */\n emptyText ? : string\n /**\n * A function which creates an array of values for the [filterParamName](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-filterParamName) to pass\n * any filters to the server upon load.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-encodeFilterParams)\n * @param {object[]} filters filters\n * @returns {object[]} array of values\n */\n encodeFilterParams ? : (filters: object[]) => object[]\n extraData ? : any\n /**\n * If `false`, filtering will be triggered once you exceed [minChars](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-minChars). To filter only when\n * hitting Enter key, set this to `true`;\n */\n filterOnEnter ? : Boolean\n /**\n * The name of an operator type as implemented in [operator](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter#config-operator)\n * to use when filtering the dropdown list based upon the typed value.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-filterOperator)\n */\n filterOperator ? : CollectionCompareOperator\n /**\n * If the dropdown is to be populated with a filtered query to a remote server, specify the\n * name of the parameter to pass the typed string here. By default, the string is simply sent\n * as the value of the parameter. For special encoding, configure the combo with [encodeFilterParams](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-encodeFilterParams)\n */\n filterParamName ? : string\n /**\n * When [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`, you may configure `filterSelected` as\n * `true` to hide items in the dropdown when they are added to the selection.\n * It will appear as if the requested item has \"moved\" into the field's\n * [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-chipView).\n */\n filterSelected ? : Boolean\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `<flex-grow> <flex-shrink> <flex-basis>` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * By default, the picker is hidden on selection in single select mode, and\n * remains to allow more selections when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.\n * Setting this to a `Boolean` value can override that default.\n */\n hidePickerOnSelect ? : Boolean\n /**\n * Configure as `true` to hide the expand trigger. This is automatically set to `true` if\n * remote filtering is enabled by setting the [filterParamName](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-filterParamName) config.\n */\n hideTrigger ? : Boolean\n /**\n * Specify `true` to highlight field after external value changes\n */\n highlightExternalChange ? : Boolean\n /**\n * An optional string to display inside the input field as an overlay. This can be useful for displaying\n * a field's units.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-hint)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hint ? : string|((data: { source: Field, value: any }) => string)\n /**\n * This config is similar to [hint](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.\n * Since this can allow malicious content to be executed, be sure not to include user-entered data or to\n * encode such data (see [encodeHtml](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-hintHtml)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hintHtml ? : string|((data: { source: Field, value: any }) => string)\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Set this config to `true` to always display items horizontally along with this field. This assigns an\n * [hbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the\n * [container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-container).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-inline)\n */\n inline ? : Boolean\n /**\n * Configure this as `true` to render the dropdown list as a permanently visible list\n * in the document flow immediately below the input area instead of as a popup.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-inlinePicker)\n */\n inlinePicker ? : Boolean\n /**\n * Text alignment for the input field.\n */\n inputAlign ? : string\n /**\n * Sets custom attributes of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)\n */\n inputAttributes ? : Record<string, string>\n /**\n * If you need to use something else than a default `input` element, as the input element, provide the tag\n * name here. Please note that this is used for advanced usage only, for example when using WebComponents\n * (custom elements), and that the configured element must fulfil the same contract as a regular input\n * element.\n */\n inputTag ? : string\n /**\n * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).\n */\n inputType ? : string\n /**\n * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any\n * triggers. If a number is specified, `px` will be used.\n */\n inputWidth ? : string|number\n /**\n * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertBefore ? : HTMLElement|string\n /**\n * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * Rows to display in the dropdown (list items).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-items)\n */\n items ? : object[]|string[]|object\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The delay in milliseconds to wait after the last keystroke before triggering a change event.\n * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have\n * immediate feedback, change will still be triggered on blur).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-keyStrokeChangeDelay)\n */\n keyStrokeChangeDelay ? : number\n /**\n * The delay in milliseconds to wait after the last keystroke before filtering the list.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-keyStrokeFilterDelay)\n */\n keyStrokeFilterDelay ? : number\n /**\n * Label, prepended to field\n */\n label ? : string\n /**\n * CSS class name or class names to add to any configured [label](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/mixin/Labelable#config-label)\n */\n labelCls ? : string|object\n /**\n * Label position, either 'before' the field or 'above' the field\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|null\n /**\n * The labels to add either before or after the input field.\n * Each label may have the following properties:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-labels)\n * @property {string} html Label text\n * @property {'start','end'} align Which end of the file the label should go\n */\n labels ? : object[]\n /**\n * The width to apply to the `<label>` element. If a number is specified, `px` will be used.\n */\n labelWidth ? : string|number\n /**\n * CSS class to add to picker\n */\n listCls ? : string\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-listeners)\n */\n listeners ? : CalendarFieldListeners\n /**\n * Template string used to render the list items in the dropdown list\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-listItemTpl)\n * @param {Core.data.Model} record The record representing the item being rendered\n * @returns {string,void}\n */\n listItemTpl ? : (record: Model) => string|void\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The max number of characters for the input field\n */\n maxLength ? : number\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The minimum string length to trigger the filtering, only relevant when [editable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-editable) is `true`.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-minChars)\n */\n minChars ? : number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The min number of characters for the input field\n */\n minLength ? : number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Set to `true` to allow selection of multiple values from the dropdown list.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-multiSelect)\n */\n multiSelect ? : Boolean\n /**\n * A key value which, when typed in a [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) Combo, selects the\n * currently active item in the picker, and clears the input field ready for another\n * match to be typed.\n */\n multiValueSeparator ? : string\n /**\n * Name of the field which is used as a key to get/set values from/to the field.\n * Used prior to [ref](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in\n * [Container.values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-name)\n */\n name ? : string\n /**\n * This implies that the picker will display an anchor pointer, but also means that the picker will align closer\n * to the input field so that the pointer pierces the [pickerAlignElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-pickerAlignElement)\n */\n overlayAnchor ? : Boolean\n /**\n * Configuration object for the [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) on initialization. Returns the\n * [picker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/List) instance at runtime.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-picker)\n */\n picker ? : ListConfig\n /**\n * The name of the element property to which the picker should size and align itself.\n */\n pickerAlignElement ? : string\n /**\n * Width of picker, defaults to this combo's [pickerAlignElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-pickerAlignElement) width\n */\n pickerWidth ? : number|string\n /**\n * Text to display in empty field.\n */\n placeholder ? : string\n /**\n * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement), but must\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Optionally a [Filter](https://bryntum.com/products/schedulerpro/docs/api/Core/util/CollectionFilter) config object which the combo should use for\n * filtering using the typed value.\n * This may use a `filterBy` property to test its `value` against any field in the passed record.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-primaryFilter)\n */\n primaryFilter ? : CollectionFilterConfig\n /**\n * Makes the field unmodifiable by user action. The input area is not editable, and triggers\n * are unresponsive.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Predefined style to use for the field. Possible values are:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-rendition)\n */\n rendition ? : 'outlined'|'filled'|string\n /**\n * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will\n * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.\n */\n required ? : Boolean\n /**\n * If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing\n * the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when\n * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)\n * behaviour will be activated.\n */\n revertOnEscape ? : Boolean\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [focusElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-role)\n */\n role ? : string\n /**\n * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-required).\n */\n showRequiredIndicator ? : string\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`\n * to the user).\n */\n skipValidation ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)\n */\n spellCheck ? : Boolean\n /**\n * The store containing the calendars\n */\n store ? : CalendarManagerStore\n /**\n * A configuration for the [tab](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tab) created for this widget when it is placed in a\n * [TabPanel](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for\n * this widget:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`\n * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable\n * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set\n * to the element programmatically.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-tabIndex)\n */\n tabIndex ? : number\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n /**\n * How to query the store upon click of the expand trigger. Specify one of these values:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-triggerAction)\n */\n triggerAction ? : 'all'|'last'|null\n /**\n * The triggers to add either before or after the input field. Each property name is the reference by which\n * an instantiated Trigger Widget may be retrieved from the live `triggers` property.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-triggers)\n */\n triggers ? : Record<string, FieldTriggerConfig>\n type ? : 'calendarfield'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-ui)\n */\n ui ? : string|object\n /**\n * `true` to cause the field to be in an invalid state while the typed filter string does not match a record in the store.\n */\n validateFilter ? : Boolean\n /**\n * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press\n * or similar.\n */\n validateOnInput ? : Boolean\n /**\n * The initial value of this Combo box. In single select mode (default) it's a simple string value, for\n * [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) mode, it should be an array of record ids.\n */\n value ? : string|number|string[]|number[]\n /**\n * Field used for item value when populating from store. Setting this to `null` will\n * yield the selected record as the Combo's [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#property-value).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-valueField)\n */\n valueField ? : string|null\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * The default action was performed (an item in the list was selected)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Combo} params.params.event.source The combo\n * @param {any} params.params.event.value The [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-valueField) of the selected record\n * @param {Core.data.Model} params.params.event.record Selected record\n * @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`\n * @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction\n */\n (e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.Base} params.params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget,any} params.params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details\n * @param {string} params.params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fired when this field's value changes.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Field,any} params.params.event.source This Field\n * @param {string,number,boolean,any} params.params.event.value This field's value\n * @param {string,number,boolean,any} params.params.event.oldValue This field's previous value\n * @param {boolean} params.params.event.valid True if this field is in a valid state\n * @param {Event} params.params.event.event The triggering DOM event if any\n * @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.params.event.checked\n */\n (e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fired when this field is [cleared](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#function-clear).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#event-clear)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Field,any} params.params.event.source This Field\n */\n (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.Base} params.params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {HTMLElement} params.params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {HTMLElement} params.params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.\n * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {HTMLElement} params.params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.\n * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User typed into the field. Please note that the value attached to this event is the raw input field value and\n * not the combos value\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Combo} params.params.event.source The combo.\n * @param {string} params.params.event.value Raw input value\n * @param {Event} params.params.event.event The triggering DOM event if any.\n */\n (e: 'input', params: ((event: { source: Combo, value: string, event: Event }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CalendarField#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget being painted.\n * @param {boolean} params.params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {boolean} params.params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {number} params.params.event.width The new width\n * @param {number} params.params.event.height The new height\n * @param {number} params.params.event.oldWidth The old width\n * @param {number} params.params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * An item in the list was selected\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Combo} params.params.event.source The combo\n * @param {Core.data.Model} params.params.event.record Selected record\n * @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`\n * @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction\n */\n (e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Field,any} params.params.event.source This field\n * @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.\n */\n (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : CalendarField,\n instanceName : 'CalendarField',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoComplete',\n 'autoExpand',\n 'autoSelect',\n 'bubbleEvents',\n 'cacheLastResult',\n 'calendarConsumerRecord',\n 'calendarEditor',\n 'caseSensitive',\n 'centered',\n 'chipView',\n 'clearable',\n 'clearTextOnPickerHide',\n 'clearTextOnSelection',\n 'clearWhenInputEmpty',\n 'color',\n 'config',\n 'constrainTo',\n 'container',\n 'containValues',\n 'contentElementCls',\n 'createOnUnmatched',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'displayField',\n 'displayValueRenderer',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'emptyText',\n 'encodeFilterParams',\n 'filterOnEnter',\n 'filterParamName',\n 'filterSelected',\n 'floating',\n 'hideAnimation',\n 'hidePickerOnSelect',\n 'hideTrigger',\n 'highlightExternalChange',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inline',\n 'inlinePicker',\n 'inputAlign',\n 'inputAttributes',\n 'inputTag',\n 'inputType',\n 'inputWidth',\n 'items',\n 'keyStrokeChangeDelay',\n 'keyStrokeFilterDelay',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listCls',\n 'listeners',\n 'listItemTpl',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'maxLength',\n 'minChars',\n 'minLength',\n 'monitorResize',\n 'multiValueSeparator',\n 'name',\n 'overlayAnchor',\n 'pickerAlignElement',\n 'pickerWidth',\n 'positioned',\n 'preventTooltipOnTouch',\n 'primaryFilter',\n 'relayStoreEvents',\n 'revertOnEscape',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'spellCheck',\n 'tab',\n 'tabIndex',\n 'textAlign',\n 'title',\n 'triggerAction',\n 'type',\n 'ui',\n 'validateFilter',\n 'validateOnInput',\n 'valueField',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'dataset',\n 'disabled',\n 'editable',\n 'extraData',\n 'filterOperator',\n 'flex',\n 'height',\n 'hidden',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'label',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'multiSelect',\n 'onAction',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onClear',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onInput',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onSelect',\n 'onShow',\n 'onTrigger',\n 'picker',\n 'placeholder',\n 'readOnly',\n 'rendition',\n 'required',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'store',\n 'tooltip',\n 'triggers',\n 'value',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'content',\n 'formula',\n 'html',\n 'input',\n 'parent',\n 'scrollable'\n ],\n eventNames : [\n 'action',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'clear',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'input',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'select',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: CalendarField\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof CalendarField>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","CalendarField","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":"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"}
|