@syncfusion/ej2-schedule 30.1.42 → 30.2.4-744881

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 (311) hide show
  1. package/.eslintrc.json +243 -262
  2. package/.gitleaksignore +4 -4
  3. package/README.md +83 -83
  4. package/dist/ej2-schedule.umd.min.js +1 -10
  5. package/dist/ej2-schedule.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-schedule.es2015.js +94 -83
  7. package/dist/es6/ej2-schedule.es2015.js.map +1 -1
  8. package/dist/es6/ej2-schedule.es5.js +559 -548
  9. package/dist/es6/ej2-schedule.es5.js.map +1 -1
  10. package/helpers/e2e/index.js +3 -3
  11. package/helpers/e2e/recurrence-editor.js +13 -13
  12. package/helpers/e2e/schedule.js +13 -13
  13. package/license +9 -9
  14. package/package.json +42 -42
  15. package/src/recurrence-editor/recurrence-editor-model.d.ts +75 -75
  16. package/src/recurrence-editor/recurrence-editor.js +19 -19
  17. package/src/schedule/actions/drag.js +13 -13
  18. package/src/schedule/actions/keyboard.js +11 -11
  19. package/src/schedule/actions/resize.js +13 -13
  20. package/src/schedule/base/interface.d.ts +2 -2
  21. package/src/schedule/base/schedule-model.d.ts +864 -864
  22. package/src/schedule/base/schedule.js +19 -19
  23. package/src/schedule/event-renderer/agenda-base.js +13 -13
  24. package/src/schedule/event-renderer/month.js +13 -13
  25. package/src/schedule/event-renderer/timeline-view.js +13 -13
  26. package/src/schedule/event-renderer/vertical-view.js +13 -13
  27. package/src/schedule/event-renderer/year.js +13 -13
  28. package/src/schedule/models/event-settings-model.d.ts +156 -156
  29. package/src/schedule/models/event-settings.js +19 -19
  30. package/src/schedule/models/field-options-model.d.ts +22 -22
  31. package/src/schedule/models/field-options.js +19 -19
  32. package/src/schedule/models/fields-model.d.ts +92 -92
  33. package/src/schedule/models/fields.js +19 -19
  34. package/src/schedule/models/group-model.d.ts +48 -48
  35. package/src/schedule/models/group.js +19 -19
  36. package/src/schedule/models/header-rows-model.d.ts +22 -22
  37. package/src/schedule/models/header-rows.js +19 -19
  38. package/src/schedule/models/quick-info-templates-model.d.ts +37 -37
  39. package/src/schedule/models/quick-info-templates.js +19 -19
  40. package/src/schedule/models/resources-model.d.ts +85 -85
  41. package/src/schedule/models/resources.js +19 -19
  42. package/src/schedule/models/time-scale-model.d.ts +40 -40
  43. package/src/schedule/models/time-scale.js +19 -19
  44. package/src/schedule/models/toolbar-model.d.ts +187 -187
  45. package/src/schedule/models/toolbar.js +19 -19
  46. package/src/schedule/models/views-model.d.ts +361 -361
  47. package/src/schedule/models/views.js +19 -19
  48. package/src/schedule/models/work-hours-model.d.ts +16 -16
  49. package/src/schedule/models/work-hours.js +19 -19
  50. package/src/schedule/popups/quick-popups.js +1 -1
  51. package/src/schedule/renderer/agenda.js +13 -13
  52. package/src/schedule/renderer/day.js +13 -13
  53. package/src/schedule/renderer/header-renderer.js +11 -11
  54. package/src/schedule/renderer/month-agenda.js +13 -13
  55. package/src/schedule/renderer/month.js +22 -20
  56. package/src/schedule/renderer/timeline-month.js +13 -13
  57. package/src/schedule/renderer/timeline-view.js +13 -13
  58. package/src/schedule/renderer/timeline-year.js +13 -13
  59. package/src/schedule/renderer/vertical-view.js +13 -13
  60. package/src/schedule/renderer/view-base.d.ts +2 -0
  61. package/src/schedule/renderer/view-base.js +9 -0
  62. package/src/schedule/renderer/week.js +13 -13
  63. package/src/schedule/renderer/work-week.js +13 -13
  64. package/src/schedule/renderer/year.js +13 -13
  65. package/styles/bds-lite.css +0 -4446
  66. package/styles/bds-lite.scss +0 -18
  67. package/styles/bds.css +0 -5198
  68. package/styles/bds.scss +0 -20
  69. package/styles/bootstrap-dark-lite.css +0 -4228
  70. package/styles/bootstrap-dark-lite.scss +0 -18
  71. package/styles/bootstrap-dark.css +0 -4980
  72. package/styles/bootstrap-dark.scss +0 -20
  73. package/styles/bootstrap-lite.css +0 -4223
  74. package/styles/bootstrap-lite.scss +0 -18
  75. package/styles/bootstrap.css +0 -4975
  76. package/styles/bootstrap.scss +0 -20
  77. package/styles/bootstrap4-lite.css +0 -4270
  78. package/styles/bootstrap4-lite.scss +0 -18
  79. package/styles/bootstrap4.css +0 -5022
  80. package/styles/bootstrap4.scss +0 -20
  81. package/styles/bootstrap5-dark-lite.css +0 -4273
  82. package/styles/bootstrap5-dark-lite.scss +0 -18
  83. package/styles/bootstrap5-dark.css +0 -5025
  84. package/styles/bootstrap5-dark.scss +0 -20
  85. package/styles/bootstrap5-lite.css +0 -4273
  86. package/styles/bootstrap5-lite.scss +0 -18
  87. package/styles/bootstrap5.3-lite.css +0 -4319
  88. package/styles/bootstrap5.3-lite.scss +0 -18
  89. package/styles/bootstrap5.3.css +0 -5071
  90. package/styles/bootstrap5.3.scss +0 -20
  91. package/styles/bootstrap5.css +0 -5025
  92. package/styles/bootstrap5.scss +0 -20
  93. package/styles/fabric-dark-lite.css +0 -4198
  94. package/styles/fabric-dark-lite.scss +0 -18
  95. package/styles/fabric-dark.css +0 -4950
  96. package/styles/fabric-dark.scss +0 -20
  97. package/styles/fabric-lite.css +0 -4195
  98. package/styles/fabric-lite.scss +0 -18
  99. package/styles/fabric.css +0 -4947
  100. package/styles/fabric.scss +0 -20
  101. package/styles/fluent-dark-lite.css +0 -4261
  102. package/styles/fluent-dark-lite.scss +0 -18
  103. package/styles/fluent-dark.css +0 -5013
  104. package/styles/fluent-dark.scss +0 -20
  105. package/styles/fluent-lite.css +0 -4261
  106. package/styles/fluent-lite.scss +0 -18
  107. package/styles/fluent.css +0 -5013
  108. package/styles/fluent.scss +0 -20
  109. package/styles/fluent2-lite.css +0 -4505
  110. package/styles/fluent2-lite.scss +0 -18
  111. package/styles/fluent2.css +0 -5261
  112. package/styles/fluent2.scss +0 -20
  113. package/styles/highcontrast-light-lite.css +0 -4287
  114. package/styles/highcontrast-light-lite.scss +0 -18
  115. package/styles/highcontrast-light.css +0 -5039
  116. package/styles/highcontrast-light.scss +0 -20
  117. package/styles/highcontrast-lite.css +0 -4296
  118. package/styles/highcontrast-lite.scss +0 -18
  119. package/styles/highcontrast.css +0 -5048
  120. package/styles/highcontrast.scss +0 -20
  121. package/styles/material-dark-lite.css +0 -4275
  122. package/styles/material-dark-lite.scss +0 -18
  123. package/styles/material-dark.css +0 -5027
  124. package/styles/material-dark.scss +0 -20
  125. package/styles/material-lite.css +0 -4310
  126. package/styles/material-lite.scss +0 -18
  127. package/styles/material.css +0 -5062
  128. package/styles/material.scss +0 -20
  129. package/styles/material3-dark-lite.css +0 -4292
  130. package/styles/material3-dark-lite.scss +0 -18
  131. package/styles/material3-dark.css +0 -5045
  132. package/styles/material3-dark.scss +1 -21
  133. package/styles/material3-lite.css +0 -4294
  134. package/styles/material3-lite.scss +0 -18
  135. package/styles/material3.css +0 -5045
  136. package/styles/material3.scss +1 -21
  137. package/styles/tailwind-dark-lite.css +0 -4238
  138. package/styles/tailwind-dark-lite.scss +0 -18
  139. package/styles/tailwind-dark.css +0 -4990
  140. package/styles/tailwind-dark.scss +0 -20
  141. package/styles/tailwind-lite.css +0 -4238
  142. package/styles/tailwind-lite.scss +0 -18
  143. package/styles/tailwind.css +0 -4990
  144. package/styles/tailwind.scss +0 -20
  145. package/styles/tailwind3-lite.css +0 -4285
  146. package/styles/tailwind3-lite.scss +0 -18
  147. package/styles/tailwind3.css +0 -5037
  148. package/styles/tailwind3.scss +0 -20
  149. package/dist/ej2-schedule.min.js +0 -10
  150. package/dist/global/ej2-schedule.min.js +0 -11
  151. package/dist/global/ej2-schedule.min.js.map +0 -1
  152. package/dist/global/index.d.ts +0 -14
  153. package/styles/recurrence-editor/_all.scss +0 -2
  154. package/styles/recurrence-editor/_bds-definition.scss +0 -14
  155. package/styles/recurrence-editor/_bigger.scss +0 -133
  156. package/styles/recurrence-editor/_bootstrap-dark-definition.scss +0 -14
  157. package/styles/recurrence-editor/_bootstrap-definition.scss +0 -14
  158. package/styles/recurrence-editor/_bootstrap4-definition.scss +0 -14
  159. package/styles/recurrence-editor/_bootstrap5-dark-definition.scss +0 -1
  160. package/styles/recurrence-editor/_bootstrap5-definition.scss +0 -14
  161. package/styles/recurrence-editor/_bootstrap5.3-definition.scss +0 -14
  162. package/styles/recurrence-editor/_fabric-dark-definition.scss +0 -14
  163. package/styles/recurrence-editor/_fabric-definition.scss +0 -14
  164. package/styles/recurrence-editor/_fluent-dark-definition.scss +0 -1
  165. package/styles/recurrence-editor/_fluent-definition.scss +0 -14
  166. package/styles/recurrence-editor/_fluent2-definition.scss +0 -14
  167. package/styles/recurrence-editor/_fusionnew-definition.scss +0 -14
  168. package/styles/recurrence-editor/_highcontrast-definition.scss +0 -14
  169. package/styles/recurrence-editor/_highcontrast-light-definition.scss +0 -14
  170. package/styles/recurrence-editor/_layout.scss +0 -420
  171. package/styles/recurrence-editor/_material-dark-definition.scss +0 -14
  172. package/styles/recurrence-editor/_material-definition.scss +0 -14
  173. package/styles/recurrence-editor/_material3-dark-definition.scss +0 -1
  174. package/styles/recurrence-editor/_material3-definition.scss +0 -14
  175. package/styles/recurrence-editor/_tailwind-dark-definition.scss +0 -1
  176. package/styles/recurrence-editor/_tailwind-definition.scss +0 -14
  177. package/styles/recurrence-editor/_tailwind3-definition.scss +0 -14
  178. package/styles/recurrence-editor/_theme.scss +0 -1
  179. package/styles/recurrence-editor/bds.css +0 -537
  180. package/styles/recurrence-editor/bds.scss +0 -9
  181. package/styles/recurrence-editor/bootstrap-dark.css +0 -462
  182. package/styles/recurrence-editor/bootstrap-dark.scss +0 -9
  183. package/styles/recurrence-editor/bootstrap.css +0 -462
  184. package/styles/recurrence-editor/bootstrap.scss +0 -9
  185. package/styles/recurrence-editor/bootstrap4.css +0 -490
  186. package/styles/recurrence-editor/bootstrap4.scss +0 -9
  187. package/styles/recurrence-editor/bootstrap5-dark.css +0 -500
  188. package/styles/recurrence-editor/bootstrap5-dark.scss +0 -9
  189. package/styles/recurrence-editor/bootstrap5.3.css +0 -504
  190. package/styles/recurrence-editor/bootstrap5.3.scss +0 -9
  191. package/styles/recurrence-editor/bootstrap5.css +0 -500
  192. package/styles/recurrence-editor/bootstrap5.scss +0 -9
  193. package/styles/recurrence-editor/fabric-dark.css +0 -438
  194. package/styles/recurrence-editor/fabric-dark.scss +0 -9
  195. package/styles/recurrence-editor/fabric.css +0 -438
  196. package/styles/recurrence-editor/fabric.scss +0 -9
  197. package/styles/recurrence-editor/fluent-dark.css +0 -493
  198. package/styles/recurrence-editor/fluent-dark.scss +0 -9
  199. package/styles/recurrence-editor/fluent.css +0 -493
  200. package/styles/recurrence-editor/fluent.scss +0 -9
  201. package/styles/recurrence-editor/fluent2.css +0 -483
  202. package/styles/recurrence-editor/fluent2.scss +0 -9
  203. package/styles/recurrence-editor/highcontrast-light.css +0 -447
  204. package/styles/recurrence-editor/highcontrast-light.scss +0 -9
  205. package/styles/recurrence-editor/highcontrast.css +0 -447
  206. package/styles/recurrence-editor/highcontrast.scss +0 -9
  207. package/styles/recurrence-editor/material-dark.css +0 -487
  208. package/styles/recurrence-editor/material-dark.scss +0 -9
  209. package/styles/recurrence-editor/material.css +0 -491
  210. package/styles/recurrence-editor/material.scss +0 -9
  211. package/styles/recurrence-editor/material3-dark.css +0 -499
  212. package/styles/recurrence-editor/material3-dark.scss +0 -10
  213. package/styles/recurrence-editor/material3.css +0 -501
  214. package/styles/recurrence-editor/material3.scss +0 -10
  215. package/styles/recurrence-editor/tailwind-dark.css +0 -474
  216. package/styles/recurrence-editor/tailwind-dark.scss +0 -9
  217. package/styles/recurrence-editor/tailwind.css +0 -474
  218. package/styles/recurrence-editor/tailwind.scss +0 -9
  219. package/styles/recurrence-editor/tailwind3.css +0 -504
  220. package/styles/recurrence-editor/tailwind3.scss +0 -9
  221. package/styles/schedule/_all.scss +0 -2
  222. package/styles/schedule/_bds-definition.scss +0 -274
  223. package/styles/schedule/_bigger.scss +0 -801
  224. package/styles/schedule/_bootstrap-dark-definition.scss +0 -274
  225. package/styles/schedule/_bootstrap-definition.scss +0 -274
  226. package/styles/schedule/_bootstrap4-definition.scss +0 -277
  227. package/styles/schedule/_bootstrap5-dark-definition.scss +0 -1
  228. package/styles/schedule/_bootstrap5-definition.scss +0 -278
  229. package/styles/schedule/_bootstrap5.3-definition.scss +0 -278
  230. package/styles/schedule/_fabric-dark-definition.scss +0 -273
  231. package/styles/schedule/_fabric-definition.scss +0 -274
  232. package/styles/schedule/_fluent-dark-definition.scss +0 -1
  233. package/styles/schedule/_fluent-definition.scss +0 -278
  234. package/styles/schedule/_fluent2-definition.scss +0 -275
  235. package/styles/schedule/_fusionnew-definition.scss +0 -275
  236. package/styles/schedule/_highcontrast-definition.scss +0 -275
  237. package/styles/schedule/_highcontrast-light-definition.scss +0 -275
  238. package/styles/schedule/_layout.scss +0 -3870
  239. package/styles/schedule/_material-dark-definition.scss +0 -272
  240. package/styles/schedule/_material-definition.scss +0 -272
  241. package/styles/schedule/_material3-dark-definition.scss +0 -1
  242. package/styles/schedule/_material3-definition.scss +0 -277
  243. package/styles/schedule/_tailwind-dark-definition.scss +0 -1
  244. package/styles/schedule/_tailwind-definition.scss +0 -273
  245. package/styles/schedule/_tailwind3-definition.scss +0 -278
  246. package/styles/schedule/_theme.scss +0 -585
  247. package/styles/schedule/bds.css +0 -4793
  248. package/styles/schedule/bds.scss +0 -17
  249. package/styles/schedule/bootstrap-dark.css +0 -4575
  250. package/styles/schedule/bootstrap-dark.scss +0 -17
  251. package/styles/schedule/bootstrap.css +0 -4570
  252. package/styles/schedule/bootstrap.scss +0 -17
  253. package/styles/schedule/bootstrap4.css +0 -4617
  254. package/styles/schedule/bootstrap4.scss +0 -17
  255. package/styles/schedule/bootstrap5-dark.css +0 -4620
  256. package/styles/schedule/bootstrap5-dark.scss +0 -16
  257. package/styles/schedule/bootstrap5.3.css +0 -4666
  258. package/styles/schedule/bootstrap5.3.scss +0 -17
  259. package/styles/schedule/bootstrap5.css +0 -4620
  260. package/styles/schedule/bootstrap5.scss +0 -17
  261. package/styles/schedule/fabric-dark.css +0 -4545
  262. package/styles/schedule/fabric-dark.scss +0 -17
  263. package/styles/schedule/fabric.css +0 -4542
  264. package/styles/schedule/fabric.scss +0 -17
  265. package/styles/schedule/fluent-dark.css +0 -4608
  266. package/styles/schedule/fluent-dark.scss +0 -16
  267. package/styles/schedule/fluent.css +0 -4608
  268. package/styles/schedule/fluent.scss +0 -17
  269. package/styles/schedule/fluent2.css +0 -4853
  270. package/styles/schedule/fluent2.scss +0 -17
  271. package/styles/schedule/highcontrast-light.css +0 -4634
  272. package/styles/schedule/highcontrast-light.scss +0 -17
  273. package/styles/schedule/highcontrast.css +0 -4643
  274. package/styles/schedule/highcontrast.scss +0 -17
  275. package/styles/schedule/icons/_bds.scss +0 -220
  276. package/styles/schedule/icons/_bootstrap-dark.scss +0 -223
  277. package/styles/schedule/icons/_bootstrap.scss +0 -223
  278. package/styles/schedule/icons/_bootstrap4.scss +0 -217
  279. package/styles/schedule/icons/_bootstrap5-dark.scss +0 -1
  280. package/styles/schedule/icons/_bootstrap5.3.scss +0 -220
  281. package/styles/schedule/icons/_bootstrap5.scss +0 -220
  282. package/styles/schedule/icons/_fabric-dark.scss +0 -223
  283. package/styles/schedule/icons/_fabric.scss +0 -223
  284. package/styles/schedule/icons/_fluent-dark.scss +0 -1
  285. package/styles/schedule/icons/_fluent.scss +0 -220
  286. package/styles/schedule/icons/_fluent2.scss +0 -220
  287. package/styles/schedule/icons/_fusionnew.scss +0 -220
  288. package/styles/schedule/icons/_highcontrast-light.scss +0 -223
  289. package/styles/schedule/icons/_highcontrast.scss +0 -223
  290. package/styles/schedule/icons/_material-dark.scss +0 -223
  291. package/styles/schedule/icons/_material.scss +0 -223
  292. package/styles/schedule/icons/_material3-dark.scss +0 -1
  293. package/styles/schedule/icons/_material3.scss +0 -220
  294. package/styles/schedule/icons/_tailwind-dark.scss +0 -1
  295. package/styles/schedule/icons/_tailwind.scss +0 -220
  296. package/styles/schedule/icons/_tailwind3.scss +0 -220
  297. package/styles/schedule/material-dark.css +0 -4622
  298. package/styles/schedule/material-dark.scss +0 -17
  299. package/styles/schedule/material.css +0 -4657
  300. package/styles/schedule/material.scss +0 -17
  301. package/styles/schedule/material3-dark.css +0 -4640
  302. package/styles/schedule/material3-dark.scss +0 -17
  303. package/styles/schedule/material3.css +0 -4642
  304. package/styles/schedule/material3.scss +0 -18
  305. package/styles/schedule/tailwind-dark.css +0 -4585
  306. package/styles/schedule/tailwind-dark.scss +0 -16
  307. package/styles/schedule/tailwind.css +0 -4585
  308. package/styles/schedule/tailwind.scss +0 -17
  309. package/styles/schedule/tailwind3.css +0 -4632
  310. package/styles/schedule/tailwind3.scss +0 -17
  311. package/tslint.json +0 -111
@@ -1,4 +1,4 @@
1
- import { Property, ChildProperty, Event, EmitType } from '@syncfusion/ej2-base';import { ClickEventArgs, DisplayMode, ItemAlign, ItemType, OverflowOption } from '@syncfusion/ej2-navigations';import { ToolbarName } from '../base/type';
1
+ import { Property, ChildProperty, Event, EmitType } from '@syncfusion/ej2-base';
2
2
 
3
3
  /**
4
4
  * Interface for a class ToolbarItem
@@ -6,191 +6,191 @@ import { Property, ChildProperty, Event, EmitType } from '@syncfusion/ej2-base';
6
6
  export interface ToolbarItemModel {
7
7
 
8
8
  /**
9
- * Specifies the unique ID to be used with button or input element of Toolbar items.
10
- *
11
- * @default ""
12
- */
13
- id?: string;
14
-
15
- /**
16
- * Specifies the text to be displayed on the Toolbar button.
17
- *
18
- * @default ""
19
- */
20
- text?: string;
21
-
22
- /**
23
- * Specifies the width of the Toolbar button commands.
24
- *
25
- * @default 'auto'
26
- */
27
- width?: number | string;
28
-
29
- /**
30
- * Defines single/multiple classes (separated by space) to be used for customization of commands.
31
- *
32
- * @default ""
33
- */
34
- cssClass?: string;
35
-
36
- /**
37
- * Defines the priority of items to display it in popup always.
38
- * It allows to maintain toolbar item on popup always but it does not work for toolbar priority items.
39
- *
40
- * @default false
41
- */
42
- showAlwaysInPopup?: boolean;
43
-
44
- /**
45
- * Specifies whether an item should be disabled or not.
46
- *
47
- * @default false
48
- */
49
- disabled?: boolean;
50
-
51
- /**
52
- * Defines single/multiple classes separated by space used to specify an icon for the button.
53
- * The icon will be positioned before the text content if text is available, otherwise the icon alone will be rendered.
54
- *
55
- * @default ""
56
- */
57
- prefixIcon?: string;
58
-
59
- /**
60
- * Defines single/multiple classes separated by space used to specify an icon for the button.
61
- * The icon will be positioned after the text content if text is available.
62
- *
63
- * @default ""
64
- */
65
- suffixIcon?: string;
66
-
67
- /**
68
- * Specifies whether an item should be hidden or not.
69
- *
70
- * @default true
71
- */
72
- visible?: boolean;
73
-
74
- /**
75
- * Specifies the Toolbar command display area when an element's content is too large to fit available space.
76
- * This is applicable only to `popup` mode. The possible values for this property as follows
77
- * * `Show`: Always shows the item as the primary priority on the *Toolbar*.
78
- * * `Hide`: Always shows the item as the secondary priority on the *popup*.
79
- * * `None`: No priority for display, and as per normal order moves to popup when content exceeds.
80
- *
81
- * @default 'None'
82
- * @aspDefaultValue Syncfusion.EJ2.Navigations.OverflowOption.None
83
- * @isEnumeration true
84
- * @aspType Syncfusion.EJ2.Navigations.OverflowOption
85
- */
86
- overflow?: OverflowOption;
87
-
88
- /**
89
- * Specifies the HTML element/element ID as a string that can be added as a Toolbar command.
90
- * ```
91
- * E.g - items: [{ template: '<input placeholder="Search"/>' },{ template: '#checkbox1' }]
92
- * ```
93
- *
94
- * @default ""
95
- * @angularType string | object
96
- * @reactType string | function | JSX.Element
97
- * @vueType string | function
98
- * @aspType string
99
- */
100
- template?: string | Object | Function;
101
-
102
- /**
103
- * Specifies the types of command to be rendered in the Toolbar.
104
- * Supported types are:
105
- * * `Button`: Creates the Button control with its given properties like text, prefixIcon, etc.
106
- * * `Separator`: Adds a horizontal line that separates the Toolbar commands.
107
- * * `Input`: Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList,
108
- * AutoComplete, etc.
109
- *
110
- * @default 'Button'
111
- * @aspDefaultValue Syncfusion.EJ2.Navigations.ItemType.Button
112
- * @isEnumeration true
113
- * @aspType Syncfusion.EJ2.Navigations.ItemType
114
- */
115
- type?: ItemType;
116
-
117
- /**
118
- * Specifies where the button text will be displayed on *popup mode* of the Toolbar.
119
- * The possible values for this property as follows
120
- * * `Toolbar`: Text will be displayed on *Toolbar* only.
121
- * * `Overflow`: Text will be displayed only when content overflows to *popup*.
122
- * * `Both`: Text will be displayed on *popup* and *Toolbar*.
123
- *
124
- * @default 'Both'
125
- * @aspDefaultValue Syncfusion.EJ2.Navigations.DisplayMode.Both
126
- * @isEnumeration true
127
- * @aspType Syncfusion.EJ2.Navigations.DisplayMode
128
- */
129
- showTextOn?: DisplayMode;
130
-
131
- /**
132
- * Defines htmlAttributes used to add custom attributes to Toolbar command.
133
- * Supports HTML attributes such as style, class, etc.
134
- *
135
- * @default null
136
- */
137
- htmlAttributes?: { [key: string]: string };
138
-
139
- /**
140
- * Specifies the text to be displayed on hovering the Toolbar button.
141
- *
142
- * @default ""
143
- */
144
- tooltipText?: string;
145
-
146
- /**
147
- * Specifies the location for aligning Toolbar items on the Toolbar. Each command will be aligned according to the `align` property.
148
- * The possible values for this property as follows
149
- * * `Left`: To align commands to the left side of the Toolbar.
150
- * * `Center`: To align commands at the center of the Toolbar.
151
- * * `Right`: To align commands to the right side of the Toolbar.
152
- *
153
- * @default 'Left'
154
- * @aspDefaultValue Syncfusion.EJ2.Navigations.ItemAlign.Left
155
- * @isEnumeration true
156
- * @aspType Syncfusion.EJ2.Navigations.ItemAlign
157
- */
158
- align?: ItemAlign;
159
-
160
- /**
161
- * Specifies the tab order of the Toolbar items. When positive values assigned, it allows to switch focus to the next/previous toolbar items with Tab/ShiftTab keys.
162
- * By default, user can able to switch between items only via arrow keys.
163
- * If the value is set to 0 for all tool bar items, then tab switches based on element order.
164
- *
165
- * @default -1
166
- */
167
- tabIndex?: number;
168
-
169
- /**
170
- * Specifies the unique name for each toolbar item rendered in Schedule. This name is used to map the toolbar items in the Schedule component.
171
- *
172
- * To access the default toolbar items, provide the name below,
173
- *
174
- * * `Custom`: Schedule component render the custom toolbar item.
175
- * * `Previous`: Schedule component navigates to the previous date from the current date.
176
- * * `Next`: Schedule component navigates to the next date from the current date.
177
- * * `Today`: Schedule component navigates to the current date from any date.
178
- * * `Views`: Schedule component render the defined view options in the toolbar. If view option is not defined, then it will render default view options in the Schedule.
179
- * * `DateRangeText`: Schedule component displays the current date text range.
180
- * * `NewEvent`: Schedule component render the icon to add a new event.
181
- *
182
- * @default 'Custom'
183
- * @aspDefaultValue Custom
184
- * @isEnumeration true
185
- * @aspType ToolbarName
186
- */
187
- name?: ToolbarName;
188
-
189
- /**
190
- * Event triggers when `click` the toolbar item.
191
- *
192
- * @event click
193
- */
194
- click?: EmitType<ClickEventArgs>;
9
+ * Specifies the unique ID to be used with button or input element of Toolbar items.
10
+ *
11
+ * @default ""
12
+ */
13
+ id?: string;
14
+
15
+ /**
16
+ * Specifies the text to be displayed on the Toolbar button.
17
+ *
18
+ * @default ""
19
+ */
20
+ text?: string;
21
+
22
+ /**
23
+ * Specifies the width of the Toolbar button commands.
24
+ *
25
+ * @default 'auto'
26
+ */
27
+ width?: number | string;
28
+
29
+ /**
30
+ * Defines single/multiple classes (separated by space) to be used for customization of commands.
31
+ *
32
+ * @default ""
33
+ */
34
+ cssClass?: string;
35
+
36
+ /**
37
+ * Defines the priority of items to display it in popup always.
38
+ * It allows to maintain toolbar item on popup always but it does not work for toolbar priority items.
39
+ *
40
+ * @default false
41
+ */
42
+ showAlwaysInPopup?: boolean;
43
+
44
+ /**
45
+ * Specifies whether an item should be disabled or not.
46
+ *
47
+ * @default false
48
+ */
49
+ disabled?: boolean;
50
+
51
+ /**
52
+ * Defines single/multiple classes separated by space used to specify an icon for the button.
53
+ * The icon will be positioned before the text content if text is available, otherwise the icon alone will be rendered.
54
+ *
55
+ * @default ""
56
+ */
57
+ prefixIcon?: string;
58
+
59
+ /**
60
+ * Defines single/multiple classes separated by space used to specify an icon for the button.
61
+ * The icon will be positioned after the text content if text is available.
62
+ *
63
+ * @default ""
64
+ */
65
+ suffixIcon?: string;
66
+
67
+ /**
68
+ * Specifies whether an item should be hidden or not.
69
+ *
70
+ * @default true
71
+ */
72
+ visible?: boolean;
73
+
74
+ /**
75
+ * Specifies the Toolbar command display area when an element's content is too large to fit available space.
76
+ * This is applicable only to `popup` mode. The possible values for this property as follows
77
+ * * `Show`: Always shows the item as the primary priority on the *Toolbar*.
78
+ * * `Hide`: Always shows the item as the secondary priority on the *popup*.
79
+ * * `None`: No priority for display, and as per normal order moves to popup when content exceeds.
80
+ *
81
+ * @default 'None'
82
+ * @aspDefaultValue Syncfusion.EJ2.Navigations.OverflowOption.None
83
+ * @isEnumeration true
84
+ * @aspType Syncfusion.EJ2.Navigations.OverflowOption
85
+ */
86
+ overflow?: OverflowOption;
87
+
88
+ /**
89
+ * Specifies the HTML element/element ID as a string that can be added as a Toolbar command.
90
+ * ```
91
+ * E.g - items: [{ template: '<input placeholder="Search"/>' },{ template: '#checkbox1' }]
92
+ * ```
93
+ *
94
+ * @default ""
95
+ * @angularType string | object
96
+ * @reactType string | function | JSX.Element
97
+ * @vueType string | function
98
+ * @aspType string
99
+ */
100
+ template?: string | Object | Function;
101
+
102
+ /**
103
+ * Specifies the types of command to be rendered in the Toolbar.
104
+ * Supported types are:
105
+ * * `Button`: Creates the Button control with its given properties like text, prefixIcon, etc.
106
+ * * `Separator`: Adds a horizontal line that separates the Toolbar commands.
107
+ * * `Input`: Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList,
108
+ * AutoComplete, etc.
109
+ *
110
+ * @default 'Button'
111
+ * @aspDefaultValue Syncfusion.EJ2.Navigations.ItemType.Button
112
+ * @isEnumeration true
113
+ * @aspType Syncfusion.EJ2.Navigations.ItemType
114
+ */
115
+ type?: ItemType;
116
+
117
+ /**
118
+ * Specifies where the button text will be displayed on *popup mode* of the Toolbar.
119
+ * The possible values for this property as follows
120
+ * * `Toolbar`: Text will be displayed on *Toolbar* only.
121
+ * * `Overflow`: Text will be displayed only when content overflows to *popup*.
122
+ * * `Both`: Text will be displayed on *popup* and *Toolbar*.
123
+ *
124
+ * @default 'Both'
125
+ * @aspDefaultValue Syncfusion.EJ2.Navigations.DisplayMode.Both
126
+ * @isEnumeration true
127
+ * @aspType Syncfusion.EJ2.Navigations.DisplayMode
128
+ */
129
+ showTextOn?: DisplayMode;
130
+
131
+ /**
132
+ * Defines htmlAttributes used to add custom attributes to Toolbar command.
133
+ * Supports HTML attributes such as style, class, etc.
134
+ *
135
+ * @default null
136
+ */
137
+ htmlAttributes?: { [key: string]: string };
138
+
139
+ /**
140
+ * Specifies the text to be displayed on hovering the Toolbar button.
141
+ *
142
+ * @default ""
143
+ */
144
+ tooltipText?: string;
145
+
146
+ /**
147
+ * Specifies the location for aligning Toolbar items on the Toolbar. Each command will be aligned according to the `align` property.
148
+ * The possible values for this property as follows
149
+ * * `Left`: To align commands to the left side of the Toolbar.
150
+ * * `Center`: To align commands at the center of the Toolbar.
151
+ * * `Right`: To align commands to the right side of the Toolbar.
152
+ *
153
+ * @default 'Left'
154
+ * @aspDefaultValue Syncfusion.EJ2.Navigations.ItemAlign.Left
155
+ * @isEnumeration true
156
+ * @aspType Syncfusion.EJ2.Navigations.ItemAlign
157
+ */
158
+ align?: ItemAlign;
159
+
160
+ /**
161
+ * Specifies the tab order of the Toolbar items. When positive values assigned, it allows to switch focus to the next/previous toolbar items with Tab/ShiftTab keys.
162
+ * By default, user can able to switch between items only via arrow keys.
163
+ * If the value is set to 0 for all tool bar items, then tab switches based on element order.
164
+ *
165
+ * @default -1
166
+ */
167
+ tabIndex?: number;
168
+
169
+ /**
170
+ * Specifies the unique name for each toolbar item rendered in Schedule. This name is used to map the toolbar items in the Schedule component.
171
+ *
172
+ * To access the default toolbar items, provide the name below,
173
+ *
174
+ * * `Custom`: Schedule component render the custom toolbar item.
175
+ * * `Previous`: Schedule component navigates to the previous date from the current date.
176
+ * * `Next`: Schedule component navigates to the next date from the current date.
177
+ * * `Today`: Schedule component navigates to the current date from any date.
178
+ * * `Views`: Schedule component render the defined view options in the toolbar. If view option is not defined, then it will render default view options in the Schedule.
179
+ * * `DateRangeText`: Schedule component displays the current date text range.
180
+ * * `NewEvent`: Schedule component render the icon to add a new event.
181
+ *
182
+ * @default 'Custom'
183
+ * @aspDefaultValue Custom
184
+ * @isEnumeration true
185
+ * @aspType ToolbarName
186
+ */
187
+ name?: ToolbarName;
188
+
189
+ /**
190
+ * Event triggers when `click` the toolbar item.
191
+ *
192
+ * @event click
193
+ */
194
+ click?: EmitType<ClickEventArgs>;
195
195
 
196
196
  }
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Property, ChildProperty, Event } from '@syncfusion/ej2-base';
21
21
  var ToolbarItem = /** @class */ (function (_super) {
22
22
  __extends(ToolbarItem, _super);