@bryntum/core-vue-3-thin 7.1.2 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/README.md +12 -6
  2. package/lib/chunks/04iGTdr4.js.map +1 -1
  3. package/lib/chunks/{CCOHmzO2.js → 2FNkGJYU.js} +3 -1
  4. package/lib/chunks/2FNkGJYU.js.map +1 -0
  5. package/lib/chunks/{b7paFuwf.js → 3D9YJwgm.js} +3 -1
  6. package/lib/chunks/3D9YJwgm.js.map +1 -0
  7. package/lib/chunks/50EFBKUJ.js.map +1 -1
  8. package/lib/chunks/{EhPIs-5p.js → 8vIqJnCS.js} +3 -1
  9. package/lib/chunks/8vIqJnCS.js.map +1 -0
  10. package/lib/chunks/{BrGP25YO.js → 9B_bxZ--.js} +3 -1
  11. package/lib/chunks/9B_bxZ--.js.map +1 -0
  12. package/lib/chunks/{ZCAFO-QE.js → BDEnw5Vi.js} +3 -1
  13. package/lib/chunks/BDEnw5Vi.js.map +1 -0
  14. package/lib/chunks/BDjSyfX1.js.map +1 -1
  15. package/lib/chunks/BGHGQ3of.js.map +1 -1
  16. package/lib/chunks/{DXudB--w.js → BMVHteUr.js} +3 -3
  17. package/lib/chunks/BMVHteUr.js.map +1 -0
  18. package/lib/chunks/{DdlURSV2.js → BSxjET0D.js} +4 -2
  19. package/lib/chunks/BSxjET0D.js.map +1 -0
  20. package/lib/chunks/{N0tT12PU.js → BcLYykEx.js} +3 -1
  21. package/lib/chunks/BcLYykEx.js.map +1 -0
  22. package/lib/chunks/{BEIlMzLy.js → BkoHXL3z.js} +3 -1
  23. package/lib/chunks/BkoHXL3z.js.map +1 -0
  24. package/lib/chunks/{ffxvxZgO.js → BsHYHqWo.js} +3 -1
  25. package/lib/chunks/BsHYHqWo.js.map +1 -0
  26. package/lib/chunks/{Bqt3amcP.js → BwRr2439.js} +15 -13
  27. package/lib/chunks/BwRr2439.js.map +1 -0
  28. package/lib/chunks/C08cDbJ_.js.map +1 -1
  29. package/lib/chunks/{BccmKSjV.js → C0AGvUy3.js} +5 -3
  30. package/lib/chunks/C0AGvUy3.js.map +1 -0
  31. package/lib/chunks/C37G38Em.js.map +1 -1
  32. package/lib/chunks/C5fDrmXK.js.map +1 -1
  33. package/lib/chunks/{9l_t8_Hn.js → CGsuwqAe.js} +3 -3
  34. package/lib/chunks/CGsuwqAe.js.map +1 -0
  35. package/lib/chunks/{BhvCgnAQ.js → CMRgXLYc.js} +3 -1
  36. package/lib/chunks/CMRgXLYc.js.map +1 -0
  37. package/lib/chunks/CQxDiecl.js.map +1 -1
  38. package/lib/chunks/{sfgBkKKU.js → Cbikwyvz.js} +3 -1
  39. package/lib/chunks/Cbikwyvz.js.map +1 -0
  40. package/lib/chunks/CglOknHW.js.map +1 -1
  41. package/lib/chunks/D6reMBCw.js.map +1 -1
  42. package/lib/chunks/{aFUypleu.js → D9nXL5j4.js} +6 -4
  43. package/lib/chunks/D9nXL5j4.js.map +1 -0
  44. package/lib/chunks/DAF6eal3.js.map +1 -1
  45. package/lib/chunks/{DMPfOU5b.js → DEjjOHuM.js} +3 -1
  46. package/lib/chunks/DEjjOHuM.js.map +1 -0
  47. package/lib/chunks/{DUIWxr9S.js → DYLTAuCS.js} +6 -4
  48. package/lib/chunks/DYLTAuCS.js.map +1 -0
  49. package/lib/chunks/DdOigT_0.js.map +1 -1
  50. package/lib/chunks/{C7jiLVhi.js → DfoFLdtp.js} +3 -1
  51. package/lib/chunks/DfoFLdtp.js.map +1 -0
  52. package/lib/chunks/Dg8brqqq.js.map +1 -1
  53. package/lib/chunks/{CtYTESR7.js → DtGbocsd.js} +8 -6
  54. package/lib/chunks/DtGbocsd.js.map +1 -0
  55. package/lib/chunks/Dz18-Abr.js +241 -0
  56. package/lib/chunks/Dz18-Abr.js.map +1 -0
  57. package/lib/chunks/GPQ2KdEZ.js.map +1 -1
  58. package/lib/chunks/UsX3m2ag.js.map +1 -1
  59. package/lib/chunks/dpFvo-c8.js.map +1 -1
  60. package/lib/chunks/{CjxVRXWC.js → eqP2o-ek.js} +3 -1
  61. package/lib/chunks/eqP2o-ek.js.map +1 -0
  62. package/lib/chunks/{r16hhPbD.js → f4u0_HVG.js} +8 -6
  63. package/lib/chunks/f4u0_HVG.js.map +1 -0
  64. package/lib/chunks/{CY2MQpEF.js → fdF22Ctn.js} +3 -1
  65. package/lib/chunks/fdF22Ctn.js.map +1 -0
  66. package/lib/chunks/{i1fKEJ02.js → o13M9Fm9.js} +6 -4
  67. package/lib/chunks/o13M9Fm9.js.map +1 -0
  68. package/lib/chunks/{I1j1h3ES.js → vku3Q4PA.js} +8 -6
  69. package/lib/chunks/vku3Q4PA.js.map +1 -0
  70. package/lib/chunks/wUYS2r48.js.map +1 -1
  71. package/lib/chunks/{Beqfuio_.js → xj9KIxwD.js} +3 -1
  72. package/lib/chunks/xj9KIxwD.js.map +1 -0
  73. package/lib/components/BryntumButtonGroup.js +1 -1
  74. package/lib/components/BryntumChatPanel.js +1 -1
  75. package/lib/components/BryntumCheckboxGroup.js +1 -1
  76. package/lib/components/BryntumChipView.js +1 -1
  77. package/lib/components/BryntumCodeEditor.js +1 -1
  78. package/lib/components/BryntumContainer.js +1 -1
  79. package/lib/components/BryntumDateField.js +1 -1
  80. package/lib/components/BryntumDatePicker.js +1 -1
  81. package/lib/components/BryntumDemoCodeEditor.js +1 -1
  82. package/lib/components/BryntumEditor.js +1 -1
  83. package/lib/components/BryntumFieldFilterPicker.js +1 -1
  84. package/lib/components/BryntumFieldFilterPickerGroup.js +1 -1
  85. package/lib/components/BryntumFieldSet.js +1 -1
  86. package/lib/components/BryntumFilePicker.js +1 -1
  87. package/lib/components/BryntumHint.js +1 -1
  88. package/lib/components/BryntumList.js +1 -1
  89. package/lib/components/BryntumMenu.js +1 -1
  90. package/lib/components/BryntumMonthPicker.js +1 -1
  91. package/lib/components/BryntumPagingToolbar.js +1 -1
  92. package/lib/components/BryntumPanel.js +1 -1
  93. package/lib/components/BryntumProgressBar.js +5 -0
  94. package/lib/components/BryntumProgressBar.js.map +1 -0
  95. package/lib/components/BryntumRadioGroup.js +1 -1
  96. package/lib/components/BryntumTabPanel.js +1 -1
  97. package/lib/components/BryntumTimeField.js +1 -1
  98. package/lib/components/BryntumTimePicker.js +1 -1
  99. package/lib/components/BryntumToolbar.js +1 -1
  100. package/lib/components/BryntumYearPicker.js +1 -1
  101. package/lib/helper/WrapperHelper.js +42 -42
  102. package/lib/helper/WrapperHelper.js.map +1 -1
  103. package/lib/index.js +55 -53
  104. package/lib/index.js.map +1 -1
  105. package/package.json +1 -1
  106. package/src/components/BryntumButton.vue +2 -2
  107. package/src/components/BryntumButtonGroup.vue +5 -0
  108. package/src/components/BryntumButtonGroupProps.ts +4 -0
  109. package/src/components/BryntumButtonProps.ts +2 -2
  110. package/src/components/BryntumChatPanel.vue +7 -2
  111. package/src/components/BryntumChatPanelProps.ts +6 -2
  112. package/src/components/BryntumCheckboxGroup.vue +7 -2
  113. package/src/components/BryntumCheckboxGroupProps.ts +6 -2
  114. package/src/components/BryntumChipView.vue +4 -4
  115. package/src/components/BryntumChipViewProps.ts +2 -2
  116. package/src/components/BryntumCodeEditor.vue +7 -2
  117. package/src/components/BryntumCodeEditorProps.ts +6 -2
  118. package/src/components/BryntumCombo.vue +2 -2
  119. package/src/components/BryntumComboProps.ts +2 -2
  120. package/src/components/BryntumContainer.vue +7 -2
  121. package/src/components/BryntumContainerProps.ts +6 -2
  122. package/src/components/BryntumDateField.vue +13 -3
  123. package/src/components/BryntumDateFieldProps.ts +12 -3
  124. package/src/components/BryntumDatePicker.vue +8 -3
  125. package/src/components/BryntumDatePickerProps.ts +6 -2
  126. package/src/components/BryntumDateRangeField.vue +2 -2
  127. package/src/components/BryntumDateRangeFieldProps.ts +2 -2
  128. package/src/components/BryntumDateTimeField.vue +2 -2
  129. package/src/components/BryntumDateTimeFieldProps.ts +2 -2
  130. package/src/components/BryntumDemoCodeEditor.vue +7 -2
  131. package/src/components/BryntumDemoCodeEditorProps.ts +6 -2
  132. package/src/components/BryntumDisplayField.vue +2 -2
  133. package/src/components/BryntumDisplayFieldProps.ts +2 -2
  134. package/src/components/BryntumDurationField.vue +2 -2
  135. package/src/components/BryntumDurationFieldProps.ts +2 -2
  136. package/src/components/BryntumEditor.vue +7 -2
  137. package/src/components/BryntumEditorProps.ts +6 -2
  138. package/src/components/BryntumFieldFilterPicker.vue +7 -2
  139. package/src/components/BryntumFieldFilterPickerGroup.vue +7 -2
  140. package/src/components/BryntumFieldFilterPickerGroupProps.ts +6 -2
  141. package/src/components/BryntumFieldFilterPickerProps.ts +6 -2
  142. package/src/components/BryntumFieldSet.vue +7 -2
  143. package/src/components/BryntumFieldSetProps.ts +6 -2
  144. package/src/components/BryntumFileField.vue +2 -2
  145. package/src/components/BryntumFileFieldProps.ts +2 -2
  146. package/src/components/BryntumFilePicker.vue +7 -2
  147. package/src/components/BryntumFilePickerProps.ts +6 -2
  148. package/src/components/BryntumFilterField.vue +2 -2
  149. package/src/components/BryntumFilterFieldProps.ts +2 -2
  150. package/src/components/BryntumHint.vue +7 -2
  151. package/src/components/BryntumHintProps.ts +6 -2
  152. package/src/components/BryntumLabel.vue +2 -2
  153. package/src/components/BryntumLabelProps.ts +2 -2
  154. package/src/components/BryntumList.vue +4 -4
  155. package/src/components/BryntumListProps.ts +2 -2
  156. package/src/components/BryntumMenu.vue +7 -2
  157. package/src/components/BryntumMenuProps.ts +6 -2
  158. package/src/components/BryntumMonthPicker.vue +7 -2
  159. package/src/components/BryntumMonthPickerProps.ts +6 -2
  160. package/src/components/BryntumNumberField.vue +2 -2
  161. package/src/components/BryntumNumberFieldProps.ts +2 -2
  162. package/src/components/BryntumPagingToolbar.vue +7 -2
  163. package/src/components/BryntumPagingToolbarProps.ts +6 -2
  164. package/src/components/BryntumPanel.vue +7 -2
  165. package/src/components/BryntumPanelProps.ts +6 -2
  166. package/src/components/BryntumPasswordField.vue +2 -2
  167. package/src/components/BryntumPasswordFieldProps.ts +2 -2
  168. package/src/components/BryntumProgressBar.vue +792 -0
  169. package/src/components/BryntumProgressBarProps.ts +476 -0
  170. package/src/components/BryntumRadioGroup.vue +7 -2
  171. package/src/components/BryntumRadioGroupProps.ts +6 -2
  172. package/src/components/BryntumSlider.vue +2 -2
  173. package/src/components/BryntumSliderProps.ts +2 -2
  174. package/src/components/BryntumSplitter.vue +2 -2
  175. package/src/components/BryntumSplitterProps.ts +2 -2
  176. package/src/components/BryntumTabPanel.vue +7 -2
  177. package/src/components/BryntumTabPanelProps.ts +6 -2
  178. package/src/components/BryntumTextAreaField.vue +2 -2
  179. package/src/components/BryntumTextAreaFieldProps.ts +2 -2
  180. package/src/components/BryntumTextAreaPickerField.vue +2 -2
  181. package/src/components/BryntumTextAreaPickerFieldProps.ts +2 -2
  182. package/src/components/BryntumTextField.vue +2 -2
  183. package/src/components/BryntumTextFieldProps.ts +2 -2
  184. package/src/components/BryntumTimeField.vue +11 -2
  185. package/src/components/BryntumTimeFieldProps.ts +10 -2
  186. package/src/components/BryntumTimePicker.vue +7 -2
  187. package/src/components/BryntumTimePickerProps.ts +6 -2
  188. package/src/components/BryntumToolbar.vue +7 -2
  189. package/src/components/BryntumToolbarProps.ts +6 -2
  190. package/src/components/BryntumWidget.vue +2 -2
  191. package/src/components/BryntumWidgetProps.ts +2 -2
  192. package/src/components/BryntumYearPicker.vue +7 -2
  193. package/src/components/BryntumYearPickerProps.ts +6 -2
  194. package/src/helper/WrapperHelper.ts +5 -1
  195. package/src/index.ts +2 -0
  196. package/lib/chunks/9l_t8_Hn.js.map +0 -1
  197. package/lib/chunks/BEIlMzLy.js.map +0 -1
  198. package/lib/chunks/BccmKSjV.js.map +0 -1
  199. package/lib/chunks/Beqfuio_.js.map +0 -1
  200. package/lib/chunks/BhvCgnAQ.js.map +0 -1
  201. package/lib/chunks/Bqt3amcP.js.map +0 -1
  202. package/lib/chunks/BrGP25YO.js.map +0 -1
  203. package/lib/chunks/C7jiLVhi.js.map +0 -1
  204. package/lib/chunks/CCOHmzO2.js.map +0 -1
  205. package/lib/chunks/CY2MQpEF.js.map +0 -1
  206. package/lib/chunks/CjxVRXWC.js.map +0 -1
  207. package/lib/chunks/CtYTESR7.js.map +0 -1
  208. package/lib/chunks/DMPfOU5b.js.map +0 -1
  209. package/lib/chunks/DUIWxr9S.js.map +0 -1
  210. package/lib/chunks/DXudB--w.js.map +0 -1
  211. package/lib/chunks/DdlURSV2.js.map +0 -1
  212. package/lib/chunks/EhPIs-5p.js.map +0 -1
  213. package/lib/chunks/I1j1h3ES.js.map +0 -1
  214. package/lib/chunks/N0tT12PU.js.map +0 -1
  215. package/lib/chunks/ZCAFO-QE.js.map +0 -1
  216. package/lib/chunks/aFUypleu.js.map +0 -1
  217. package/lib/chunks/b7paFuwf.js.map +0 -1
  218. package/lib/chunks/ffxvxZgO.js.map +0 -1
  219. package/lib/chunks/i1fKEJ02.js.map +0 -1
  220. package/lib/chunks/r16hhPbD.js.map +0 -1
  221. package/lib/chunks/sfgBkKKU.js.map +0 -1
@@ -0,0 +1,792 @@
1
+ <!-- Vue 3 wrapper for Bryntum ProgressBar -->
2
+
3
+ <template>
4
+ <div ref="refElement">
5
+
6
+ </div>
7
+ </template>
8
+
9
+ <script setup lang="ts">
10
+
11
+ import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
12
+
13
+ import type { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, ProgressBarListeners, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
14
+ import { ProgressBar } from '@bryntum/core-thin';
15
+
16
+ import { WrapperHelper } from '../helper/WrapperHelper';
17
+
18
+ defineProps<{
19
+ // Configs
20
+ /**
21
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
22
+ * content will be placed inside this element.
23
+ * ...
24
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-adopt)
25
+ */
26
+ adopt ? : HTMLElement|string
27
+ /**
28
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
29
+ * ...
30
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-align)
31
+ */
32
+ align ? : AlignSpec|string
33
+ /**
34
+ * When this widget is a child of a [Container](https://bryntum.com/products/core/docs/api/Core/widget/Container), it will by default be participating in a
35
+ * flexbox layout. This config allows you to set this widget's
36
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
37
+ */
38
+ alignSelf ? : string
39
+ /**
40
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*
41
+ * `true` to show a connector arrow pointing to the align target.
42
+ */
43
+ anchor ? : Boolean
44
+ /**
45
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
46
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
47
+ */
48
+ appendTo ? : HTMLElement|string
49
+ /**
50
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
51
+ * into an element which will be linked using the `aria-describedby` attribute.
52
+ * ...
53
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-ariaDescription)
54
+ */
55
+ ariaDescription ? : string
56
+ /**
57
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
58
+ * the `aria-label` attribute.
59
+ * ...
60
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-ariaLabel)
61
+ */
62
+ ariaLabel ? : string
63
+ /**
64
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
65
+ * hierarchy when triggered.
66
+ * ...
67
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-bubbleEvents)
68
+ */
69
+ bubbleEvents ? : object
70
+ /**
71
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
72
+ * ...
73
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-callOnFunctions)
74
+ */
75
+ callOnFunctions ? : Boolean
76
+ /**
77
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
78
+ * application state is undefined. Code which follows the event handler will *not* be executed.
79
+ * ...
80
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-catchEventHandlerExceptions)
81
+ */
82
+ catchEventHandlerExceptions ? : Boolean
83
+ /**
84
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
85
+ * Set to `true` to centre the Widget in browser viewport space.
86
+ */
87
+ centered ? : Boolean
88
+ /**
89
+ * Custom CSS classes to add to element.
90
+ * May be specified as a space separated string, or as an object in which property names
91
+ * with truthy values are used as the class names:
92
+ * ...
93
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-cls)
94
+ */
95
+ cls ? : string|object
96
+ /**
97
+ * Color of the progress bar ('b-green', 'b-yellow', 'b-orange', etc.)
98
+ */
99
+ color ? : Color
100
+ /**
101
+ * Programmatic control over which column to start in when used in a grid layout.
102
+ */
103
+ column ? : number
104
+ config ? : object
105
+ /**
106
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
107
+ * Element, Widget or Rectangle to which this Widget is constrained.
108
+ */
109
+ constrainTo ? : HTMLElement|Widget|Rectangle
110
+ /**
111
+ * The HTML content that coexists with sibling elements which may have been added to the
112
+ * [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
113
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-htmlCls)
114
+ * class added to its classList, to allow targeted styling.
115
+ */
116
+ content ? : string
117
+ /**
118
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
119
+ * May be specified as a space separated string, or as an object in which property names
120
+ * with truthy values are used as the class names:
121
+ * ...
122
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-contentElementCls)
123
+ */
124
+ contentElementCls ? : string|object
125
+ /**
126
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
127
+ * field on the expanded record to use for populating this widget's store (if applicable)
128
+ */
129
+ dataField ? : string
130
+ /**
131
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
132
+ */
133
+ dataset ? : Record<string, string>
134
+ /**
135
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
136
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
137
+ */
138
+ defaultBindProperty ? : string
139
+ /**
140
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
141
+ * ...
142
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-detectCSSCompatibilityIssues)
143
+ */
144
+ detectCSSCompatibilityIssues ? : Boolean
145
+ /**
146
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
147
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
148
+ * ...
149
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-disabled)
150
+ */
151
+ disabled ? : Boolean|'inert'
152
+ /**
153
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/core/docs/api/Core/widget/Panel)
154
+ * [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
155
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
156
+ * body. Such widgets are called "edge strips".
157
+ * ...
158
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-dock)
159
+ */
160
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
161
+ /**
162
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
163
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
164
+ * property which controls when a drag should start.
165
+ * ...
166
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-draggable)
167
+ */
168
+ draggable ? : Boolean|{
169
+ handleSelector?: string
170
+ }
171
+ /**
172
+ * An object specifying attributes to assign to the root element of this widget.
173
+ * Set `null` value to attribute to remove it.
174
+ * ...
175
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-elementAttributes)
176
+ */
177
+ elementAttributes ? : Record<string, string|null>
178
+ extraData ? : any
179
+ /**
180
+ * When this widget is a child of a [Container](https://bryntum.com/products/core/docs/api/Core/widget/Container), it will by default be participating in a
181
+ * flexbox layout. This config allows you to set this widget's
182
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
183
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
184
+ * numeric-only values are interpreted as the `flex-grow` value.
185
+ */
186
+ flex ? : number|string
187
+ /**
188
+ * Set to `true` to move the widget out of the document flow and position it
189
+ * absolutely in browser viewport space.
190
+ */
191
+ floating ? : Boolean
192
+ /**
193
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
194
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
195
+ * cases this config is convenient.
196
+ */
197
+ height ? : string|number
198
+ /**
199
+ * Configure with true to make widget initially hidden.
200
+ */
201
+ hidden ? : Boolean
202
+ /**
203
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
204
+ * ...
205
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-hideAnimation)
206
+ */
207
+ hideAnimation ? : Boolean|object
208
+ /**
209
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
210
+ * ...
211
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-html)
212
+ * @param {Core.widget.Widget} widget The calling Widget
213
+ * @returns {string}
214
+ */
215
+ html ? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
216
+ /**
217
+ * The CSS class(es) to add when HTML content is being applied to this widget.
218
+ */
219
+ htmlCls ? : string|object
220
+ /**
221
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
222
+ */
223
+ id ? : string
224
+ /**
225
+ * Determines if the widgets read-only state should be controlled by its parent.
226
+ * ...
227
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-ignoreParentReadOnly)
228
+ */
229
+ ignoreParentReadOnly ? : Boolean
230
+ /**
231
+ * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
232
+ */
233
+ insertBefore ? : HTMLElement|string
234
+ /**
235
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
236
+ */
237
+ insertFirst ? : HTMLElement|string
238
+ /**
239
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
240
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
241
+ * are the name of the instance method to call when the keystroke is received.
242
+ * ...
243
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-keyMap)
244
+ */
245
+ keyMap ? : Record<string, KeyMapConfig>
246
+ /**
247
+ * The label text to display at the top left
248
+ */
249
+ label ? : string
250
+ /**
251
+ * The listener set for this object.
252
+ * ...
253
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-listeners)
254
+ */
255
+ listeners ? : ProgressBarListeners
256
+ /**
257
+ * A class translations of which are used for translating this entity.
258
+ * This is often used when translations of an item are defined on its container class.
259
+ * For example:
260
+ * ...
261
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-localeClass)
262
+ */
263
+ localeClass ? : typeof Base
264
+ /**
265
+ * Set to `false` to disable localization of this object.
266
+ */
267
+ localizable ? : Boolean
268
+ /**
269
+ * List of properties which values should be translated automatically upon a locale applying.
270
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
271
+ * you could use 'localeKey' meta configuration.
272
+ * Example:
273
+ * ...
274
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-localizableProperties)
275
+ */
276
+ localizableProperties ? : string[]
277
+ /**
278
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
279
+ * numeric-only values are interpreted as pixels.
280
+ */
281
+ margin ? : number|string
282
+ /**
283
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/core/docs/api/Core/widget/Mask) created for the
284
+ * [masked](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
285
+ * values.
286
+ */
287
+ maskDefaults ? : MaskConfig
288
+ /**
289
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
290
+ * [Mask](https://bryntum.com/products/core/docs/api/Core/widget/Mask) config object.
291
+ */
292
+ masked ? : Boolean|string|MaskConfig
293
+ /**
294
+ * Maximum value for progress calculation. When specified, value is treated as absolute.
295
+ */
296
+ max ? : number
297
+ /**
298
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
299
+ * like [height](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
300
+ */
301
+ maxHeight ? : string|number
302
+ /**
303
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
304
+ * ...
305
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-maximizeOnMobile)
306
+ */
307
+ maximizeOnMobile ? : number|string
308
+ /**
309
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
310
+ * like [width](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
311
+ */
312
+ maxWidth ? : string|number
313
+ /**
314
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
315
+ * like [height](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
316
+ */
317
+ minHeight ? : string|number
318
+ /**
319
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
320
+ * like [width](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
321
+ */
322
+ minWidth ? : string|number
323
+ /**
324
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
325
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
326
+ * layout.
327
+ * ...
328
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-monitorResize)
329
+ */
330
+ monitorResize ? : Boolean|{
331
+ immediate?: Boolean
332
+ }
333
+ /**
334
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
335
+ * [items](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
336
+ * the owner is <strong>always</strong> the encapsulating Container.
337
+ * ...
338
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-owner)
339
+ */
340
+ owner ? : Widget|any
341
+ /**
342
+ * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement), but must
343
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
344
+ * widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
345
+ * ...
346
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-positioned)
347
+ */
348
+ positioned ? : Boolean
349
+ /**
350
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
351
+ * menu on click etc, since the tooltip would be displayed at the same time.
352
+ */
353
+ preventTooltipOnTouch ? : Boolean
354
+ /**
355
+ * Whether this widget is read-only. This is only valid if the widget is an input
356
+ * field, <strong>or contains input fields at any depth</strong>.
357
+ * ...
358
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-readOnly)
359
+ */
360
+ readOnly ? : Boolean
361
+ relayStoreEvents ? : Boolean
362
+ /**
363
+ * Configure as `true` to have the component display a translucent ripple when its
364
+ * [focusElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
365
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
366
+ * ...
367
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-ripple)
368
+ */
369
+ ripple ? : Boolean|{
370
+ delegate?: string
371
+ color?: string
372
+ radius?: number
373
+ clip?: string
374
+ }
375
+ /**
376
+ * 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`
377
+ */
378
+ rootElement ? : ShadowRoot|HTMLElement
379
+ /**
380
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
381
+ * ...
382
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-rtl)
383
+ */
384
+ rtl ? : Boolean
385
+ /**
386
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
387
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
388
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
389
+ * CSS overflow properties thus:
390
+ * ...
391
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-scrollable)
392
+ */
393
+ scrollable ? : Boolean|ScrollerConfig|Scroller
394
+ /**
395
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
396
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
397
+ */
398
+ scrollAction ? : 'hide'|'realign'|null
399
+ /**
400
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
401
+ * ...
402
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-showAnimation)
403
+ */
404
+ showAnimation ? : Boolean|object
405
+ /**
406
+ * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-disabled)
407
+ */
408
+ showTooltipWhenDisabled ? : Boolean
409
+ /**
410
+ * Programmatic control over how many columns to span when used in a grid layout.
411
+ */
412
+ span ? : number
413
+ /**
414
+ * A configuration for the [tab](https://bryntum.com/products/core/docs/api/Core/widget/Tab) created for this widget when it is placed in a
415
+ * [TabPanel](https://bryntum.com/products/core/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
416
+ * this widget:
417
+ * ...
418
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-tab)
419
+ */
420
+ tab ? : Boolean|TabConfig
421
+ /**
422
+ * The tag name of this Widget's root element
423
+ */
424
+ tag ? : string
425
+ /**
426
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
427
+ * ...
428
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-textAlign)
429
+ */
430
+ textAlign ? : 'left'|'center'|'right'|'start'|'end'
431
+ /**
432
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
433
+ */
434
+ title ? : string
435
+ /**
436
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
437
+ * ...
438
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-tooltip)
439
+ */
440
+ tooltip ? : string|TooltipConfig|null
441
+ type ? : 'progressbar'
442
+ /**
443
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
444
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
445
+ * values are used as the class names.
446
+ * ...
447
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-ui)
448
+ */
449
+ ui ? : string|object
450
+ /**
451
+ * Progress value. If max is specified, this is an absolute value (e.g., 8 out of 10).
452
+ * If max is not specified, this should be between 0 and 1 (e.g., 0.5 for 50%)
453
+ */
454
+ value ? : number
455
+ /**
456
+ * Template function that can be used to customize the displayed value
457
+ * @param {number} value The value to provide a textual value for
458
+ * @param {number} max The max value of the progress bar
459
+ * @returns {string,number,void}
460
+ */
461
+ valueRenderer ? : (value: number, max: number) => string|number|void
462
+ /**
463
+ * The value text to display at the top right
464
+ * If not specified and max is provided, will auto-generate as "value/max"
465
+ */
466
+ valueText ? : string
467
+ /**
468
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/core/docs/api/Core/widget/Container).
469
+ * Higher weights go further down.
470
+ */
471
+ weight ? : number
472
+ /**
473
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
474
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
475
+ * this config is convenient.
476
+ */
477
+ width ? : string|number
478
+ /**
479
+ * The x position for the widget.
480
+ * ...
481
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-x)
482
+ */
483
+ x ? : number
484
+ /**
485
+ * The y position for the widget.
486
+ * ...
487
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-y)
488
+ */
489
+ y ? : number
490
+
491
+ }>();
492
+
493
+ const emit = defineEmits<{
494
+ /**
495
+ * Fires before an object is destroyed.
496
+ * @param {string} e Event name
497
+ * @param {object} params Event parameters
498
+ * @param {object} params.event Event object
499
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
500
+ */
501
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
502
+ /**
503
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
504
+ * @param {string} e Event name
505
+ * @param {object} params Event parameters
506
+ * @param {object} params.event Event object
507
+ * @param {Core.widget.Widget} params.event.source The widget being hidden.
508
+ */
509
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
510
+ /**
511
+ * Triggered before a widget is shown. Return `false` to prevent the action.
512
+ * @param {string} e Event name
513
+ * @param {object} params Event parameters
514
+ * @param {object} params.event Event object
515
+ * @param {Core.widget.Widget,any} params.event.source The widget being shown
516
+ */
517
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
518
+ /**
519
+ * Fires when any other event is fired from the object.
520
+ * ...
521
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#event-catchAll)
522
+ * @param {string} e Event name
523
+ * @param {object} params Event parameters
524
+ * @param {object} params.event Event object
525
+ * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
526
+ * @param {string} params.event.event.type The type of the event which is caught by the listener
527
+ */
528
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
529
+ /**
530
+ * Fires when an object is destroyed.
531
+ * @param {string} e Event name
532
+ * @param {object} params Event parameters
533
+ * @param {object} params.event Event object
534
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
535
+ */
536
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
537
+ /**
538
+ * Triggered when a widget's [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element) is available.
539
+ * @param {string} e Event name
540
+ * @param {object} params Event parameters
541
+ * @param {object} params.event Event object
542
+ * @param {HTMLElement} params.event.element The Widget's element.
543
+ */
544
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
545
+ /**
546
+ * Fired when focus enters this Widget.
547
+ * @param {string} e Event name
548
+ * @param {object} params Event parameters
549
+ * @param {object} params.event Event object
550
+ * @param {Core.widget.Widget} params.event.source This Widget
551
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
552
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
553
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
554
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
555
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
556
+ */
557
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
558
+ /**
559
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
560
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
561
+ * will not trigger this event. This is when focus exits this widget completely.
562
+ * @param {string} e Event name
563
+ * @param {object} params Event parameters
564
+ * @param {object} params.event Event object
565
+ * @param {Core.widget.Widget} params.event.source This Widget
566
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
567
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
568
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
569
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
570
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
571
+ */
572
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
573
+ /**
574
+ * Triggered after a widget was hidden
575
+ * @param {string} e Event name
576
+ * @param {object} params Event parameters
577
+ * @param {object} params.event Event object
578
+ * @param {Core.widget.Widget} params.event.source The widget
579
+ */
580
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
581
+ /**
582
+ * Triggered when a widget which had been in a non-visible state for any reason
583
+ * achieves visibility.
584
+ * ...
585
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#event-paint)
586
+ * @param {string} e Event name
587
+ * @param {object} params Event parameters
588
+ * @param {object} params.event Event object
589
+ * @param {Core.widget.Widget} params.event.source The widget being painted.
590
+ * @param {boolean} params.event.firstPaint `true` if this is the first paint.
591
+ */
592
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
593
+ /**
594
+ * Fired when a Widget's read only state is toggled
595
+ * @param {string} e Event name
596
+ * @param {object} params Event parameters
597
+ * @param {object} params.event Event object
598
+ * @param {boolean} params.event.readOnly Read only or not
599
+ */
600
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
601
+ /**
602
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
603
+ * to [recompose](https://bryntum.com/products/core/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
604
+ */
605
+ (e: 'recompose', params: (() => void)|string): void
606
+ /**
607
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
608
+ * @param {string} e Event name
609
+ * @param {object} params Event parameters
610
+ * @param {object} params.event Event object
611
+ * @param {Core.widget.Widget} params.event.source This Widget
612
+ * @param {number} params.event.width The new width
613
+ * @param {number} params.event.height The new height
614
+ * @param {number} params.event.oldWidth The old width
615
+ * @param {number} params.event.oldHeight The old height
616
+ */
617
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
618
+ /**
619
+ * Triggered after a widget is shown.
620
+ * @param {string} e Event name
621
+ * @param {object} params Event parameters
622
+ * @param {object} params.event Event object
623
+ * @param {Core.widget.Widget} params.event.source The widget
624
+ */
625
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
626
+ }>();
627
+
628
+ const widgetData = {
629
+ instanceClass : ProgressBar,
630
+ instanceName : 'ProgressBar',
631
+
632
+ configNames : [
633
+ 'adopt',
634
+ 'align',
635
+ 'anchor',
636
+ 'ariaDescription',
637
+ 'ariaLabel',
638
+ 'bubbleEvents',
639
+ 'centered',
640
+ 'config',
641
+ 'constrainTo',
642
+ 'contentElementCls',
643
+ 'dataField',
644
+ 'defaultBindProperty',
645
+ 'detectCSSCompatibilityIssues',
646
+ 'dock',
647
+ 'draggable',
648
+ 'elementAttributes',
649
+ 'floating',
650
+ 'hideAnimation',
651
+ 'htmlCls',
652
+ 'ignoreParentReadOnly',
653
+ 'listeners',
654
+ 'localeClass',
655
+ 'localizable',
656
+ 'localizableProperties',
657
+ 'maskDefaults',
658
+ 'masked',
659
+ 'monitorResize',
660
+ 'owner',
661
+ 'positioned',
662
+ 'preventTooltipOnTouch',
663
+ 'relayStoreEvents',
664
+ 'ripple',
665
+ 'rootElement',
666
+ 'scrollAction',
667
+ 'showAnimation',
668
+ 'showTooltipWhenDisabled',
669
+ 'tab',
670
+ 'tag',
671
+ 'textAlign',
672
+ 'title',
673
+ 'type',
674
+ 'ui',
675
+ 'weight'
676
+ ],
677
+ propertyConfigNames : [
678
+ 'alignSelf',
679
+ 'appendTo',
680
+ 'callOnFunctions',
681
+ 'catchEventHandlerExceptions',
682
+ 'cls',
683
+ 'color',
684
+ 'column',
685
+ 'content',
686
+ 'dataset',
687
+ 'disabled',
688
+ 'extraData',
689
+ 'flex',
690
+ 'height',
691
+ 'hidden',
692
+ 'html',
693
+ 'id',
694
+ 'insertBefore',
695
+ 'insertFirst',
696
+ 'keyMap',
697
+ 'label',
698
+ 'margin',
699
+ 'max',
700
+ 'maxHeight',
701
+ 'maximizeOnMobile',
702
+ 'maxWidth',
703
+ 'minHeight',
704
+ 'minWidth',
705
+ 'onBeforeDestroy',
706
+ 'onBeforeHide',
707
+ 'onBeforeShow',
708
+ 'onCatchAll',
709
+ 'onDestroy',
710
+ 'onElementCreated',
711
+ 'onFocusIn',
712
+ 'onFocusOut',
713
+ 'onHide',
714
+ 'onPaint',
715
+ 'onReadOnly',
716
+ 'onRecompose',
717
+ 'onResize',
718
+ 'onShow',
719
+ 'readOnly',
720
+ 'rtl',
721
+ 'scrollable',
722
+ 'span',
723
+ 'tooltip',
724
+ 'value',
725
+ 'valueRenderer',
726
+ 'valueText',
727
+ 'width',
728
+ 'x',
729
+ 'y'
730
+ ],
731
+ propertyNames : [
732
+ 'anchorSize',
733
+ 'focusVisible',
734
+ 'parent'
735
+ ],
736
+ eventNames : [
737
+ 'beforeDestroy',
738
+ 'beforeHide',
739
+ 'beforeShow',
740
+ 'catchAll',
741
+ 'destroy',
742
+ 'elementCreated',
743
+ 'focusIn',
744
+ 'focusOut',
745
+ 'hide',
746
+ 'paint',
747
+ 'readOnly',
748
+ 'recompose',
749
+ 'resize',
750
+ 'show'
751
+ ]
752
+ };
753
+
754
+ const instance: {
755
+ value?: ProgressBar
756
+ } = {};
757
+
758
+ const refElement = ref<HTMLDivElement>()!;
759
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
760
+ const teleports = ref(new Map());
761
+
762
+ // Provide teleports for processCellContent
763
+ provide('teleports', teleports);
764
+
765
+ onMounted(() => {
766
+
767
+ const me = getCurrentInstance()!;
768
+
769
+ instance.value = WrapperHelper.createWidget<typeof ProgressBar>({
770
+ me,
771
+ widgetData,
772
+ emit,
773
+ element : refElement.value!,
774
+ toRaw
775
+ });
776
+
777
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
778
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
779
+ });
780
+
781
+ onBeforeUnmount(() => {
782
+ // @ts-ignore
783
+ instance.value?.destroy?.();
784
+ });
785
+
786
+ defineExpose({
787
+ instance,
788
+ refElement,
789
+ teleports
790
+ });
791
+
792
+ </script>