@componyx/ui 0.0.0-stage → 1.0.4

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 (169) hide show
  1. package/AppSkin/AppSkin.css +1268 -0
  2. package/AppSkin/AppSkin.js +2748 -0
  3. package/AppSkin/Themes/Default.css +241 -0
  4. package/Base/Base.js +3407 -0
  5. package/Base/ComponentIcons.css +66 -0
  6. package/Base/Font/ComponentIcons.woff +0 -0
  7. package/Base/Font/UI.woff +0 -0
  8. package/Base/Library.js +8432 -0
  9. package/Base/NavigationManager.js +462 -0
  10. package/Base/ResponsiveTemplates.js +371 -0
  11. package/Base/Sanitizer.js +288 -0
  12. package/Base/Themes/Default.css +255 -0
  13. package/Base/UI.css +618 -0
  14. package/Base/UIResourcePath.js +6 -0
  15. package/Bindary/Bindary.js +2011 -0
  16. package/Bindary/Modules/Connection.js +216 -0
  17. package/Bindary/Modules/Core.js +854 -0
  18. package/Bindary/Modules/DataUpdater.js +351 -0
  19. package/Bindary/Modules/ExpressionEngine.js +347 -0
  20. package/Bindary/Modules/ProxyManager.js +482 -0
  21. package/Bindary/Modules/Renderer.js +605 -0
  22. package/Bindary/Modules/Router.js +291 -0
  23. package/Bindary/Modules/Scroller.js +89 -0
  24. package/Bindary/Modules/Template.js +1273 -0
  25. package/BookmarkSpy/BookmarkSpy.js +430 -0
  26. package/Box/Box.css +36 -0
  27. package/Box/Box.js +1685 -0
  28. package/Button/Button.css +470 -0
  29. package/Button/Button.js +1398 -0
  30. package/Button/Themes/Default.css +200 -0
  31. package/Carousel/Carousel.css +273 -0
  32. package/Carousel/Carousel.js +607 -0
  33. package/ColorButton/ColorButton.css +39 -0
  34. package/ColorButton/ColorButton.js +336 -0
  35. package/ColorPicker/ColorPicker.css +359 -0
  36. package/ColorPicker/ColorPicker.js +972 -0
  37. package/ComboBox/ComboBox.css +357 -0
  38. package/ComboBox/ComboBox.js +2342 -0
  39. package/ComboBox/Themes/Default.css +23 -0
  40. package/DataPager/DataPager.css +72 -0
  41. package/DataPager/DataPager.js +674 -0
  42. package/DatePicker/DatePicker.css +227 -0
  43. package/DatePicker/DatePicker.js +1531 -0
  44. package/DatePicker/Themes/Default.css +26 -0
  45. package/Dialog/Dialog.css +106 -0
  46. package/Dialog/Dialog.js +572 -0
  47. package/Dialog/Themes/Default.css +10 -0
  48. package/Editor/Data/Emoji.json +8285 -0
  49. package/Editor/Data/Special.json +1042 -0
  50. package/Editor/Editor.css +1562 -0
  51. package/Editor/Editor.js +4058 -0
  52. package/Editor/Font/Editor.woff +0 -0
  53. package/Editor/Modules/ComponentFactory.js +565 -0
  54. package/Editor/Modules/ContentManager.js +748 -0
  55. package/Editor/Modules/DialogManager.js +1234 -0
  56. package/Editor/Modules/EventManager.js +458 -0
  57. package/Editor/Modules/Format.js +950 -0
  58. package/Editor/Modules/History.js +191 -0
  59. package/Editor/Modules/LayoutState.js +379 -0
  60. package/Editor/Modules/ListManager.js +296 -0
  61. package/Editor/Modules/MenuManager.js +388 -0
  62. package/Editor/Modules/NodeManager.js +681 -0
  63. package/Editor/Modules/ParagraphButtons.js +122 -0
  64. package/Editor/Modules/Resizer.js +176 -0
  65. package/Editor/Modules/SelectionRange.js +564 -0
  66. package/Editor/Modules/SourceViewBuilder.js +212 -0
  67. package/Editor/Modules/SymbolPicker.js +208 -0
  68. package/Editor/Modules/Table.js +2327 -0
  69. package/Editor/Modules/TableDialog.js +757 -0
  70. package/Editor/Modules/Toolbar.js +375 -0
  71. package/Editor/Modules/TooltipMenu.js +125 -0
  72. package/Editor/Modules/Utility.js +131 -0
  73. package/Editor/Themes/Default.css +204 -0
  74. package/FileUpload/FileUpload.css +156 -0
  75. package/FileUpload/FileUpload.js +898 -0
  76. package/FileUpload/Themes/Default.css +17 -0
  77. package/Form/Form.css +1934 -0
  78. package/Form/Form.js +4943 -0
  79. package/Form/Modules/ActionManager.js +368 -0
  80. package/Form/Modules/BuildPanelManager.js +319 -0
  81. package/Form/Modules/ComponentFactory.js +468 -0
  82. package/Form/Modules/ComponentPanel.js +265 -0
  83. package/Form/Modules/ConfigPanelManager.js +685 -0
  84. package/Form/Modules/DataBinder.js +602 -0
  85. package/Form/Modules/DataObserver.js +717 -0
  86. package/Form/Modules/Draggable.js +756 -0
  87. package/Form/Modules/OptionsPanel.js +342 -0
  88. package/Form/Modules/Renderer.js +1889 -0
  89. package/Form/Modules/RuleEngine.js +585 -0
  90. package/Form/Modules/RulesPanel.js +1158 -0
  91. package/Form/Modules/Types.js +1709 -0
  92. package/Form/Modules/ValidationManager.js +194 -0
  93. package/Form/Themes/Default.css +216 -0
  94. package/FormField/FormField.css +468 -0
  95. package/FormField/FormField.js +576 -0
  96. package/FormField/Themes/Default.css +99 -0
  97. package/Grid/Grid.css +544 -0
  98. package/Grid/Grid.js +3761 -0
  99. package/Grid/Themes/Default.css +43 -0
  100. package/LICENSE +126 -0
  101. package/MaskedTextBox/MaskedTextBox.css +28 -0
  102. package/MaskedTextBox/MaskedTextBox.js +642 -0
  103. package/MaskedTextBox/Themes/Default.css +6 -0
  104. package/Menu/Menu.css +328 -0
  105. package/Menu/Menu.js +2386 -0
  106. package/Menu/Themes/Default.css +24 -0
  107. package/NumericBox/NumericBox.css +120 -0
  108. package/NumericBox/NumericBox.js +984 -0
  109. package/PanelBar/PanelBar.css +123 -0
  110. package/PanelBar/PanelBar.js +505 -0
  111. package/PanelBar/Themes/Default.css +51 -0
  112. package/PieChart/PieChart.css +95 -0
  113. package/PieChart/PieChart.js +820 -0
  114. package/PieChart/Themes/Default.css +9 -0
  115. package/README.md +178 -3
  116. package/Slider/Slider.css +348 -0
  117. package/Slider/Slider.js +1306 -0
  118. package/Slider/Themes/Default.css +44 -0
  119. package/TabStrip/TabStrip.css +52 -0
  120. package/TabStrip/TabStrip.js +362 -0
  121. package/TabStrip/Themes/Default.css +35 -0
  122. package/TimePicker/Themes/Default.css +30 -0
  123. package/TimePicker/TimePicker.css +253 -0
  124. package/TimePicker/TimePicker.js +1485 -0
  125. package/TooltipManager/Themes/Default.css +21 -0
  126. package/TooltipManager/TooltipManager.css +227 -0
  127. package/TooltipManager/TooltipManager.js +791 -0
  128. package/Validator/Validator.css +54 -0
  129. package/Validator/Validator.js +2508 -0
  130. package/componyx.html-data.json +619 -0
  131. package/index.js +27 -0
  132. package/package.json +43 -4
  133. package/types/AppSkin.d.ts +842 -0
  134. package/types/Base.d.ts +1034 -0
  135. package/types/Bindary.d.ts +1196 -0
  136. package/types/BookmarkSpy.d.ts +112 -0
  137. package/types/Box.d.ts +374 -0
  138. package/types/Button.d.ts +455 -0
  139. package/types/Carousel.d.ts +136 -0
  140. package/types/ColorButton.d.ts +120 -0
  141. package/types/ColorPicker.d.ts +225 -0
  142. package/types/ComboBox.d.ts +507 -0
  143. package/types/DataPager.d.ts +152 -0
  144. package/types/DatePicker.d.ts +354 -0
  145. package/types/Dialog.d.ts +160 -0
  146. package/types/Editor.d.ts +1289 -0
  147. package/types/FileUpload.d.ts +206 -0
  148. package/types/Form.d.ts +3078 -0
  149. package/types/FormField.d.ts +204 -0
  150. package/types/Grid.d.ts +911 -0
  151. package/types/Library.d.ts +1899 -0
  152. package/types/MaskedTextBox.d.ts +91 -0
  153. package/types/Menu.d.ts +577 -0
  154. package/types/NumericBox.d.ts +310 -0
  155. package/types/PanelBar.d.ts +223 -0
  156. package/types/PieChart.d.ts +224 -0
  157. package/types/ResponsiveTemplates.d.ts +108 -0
  158. package/types/Slider.d.ts +227 -0
  159. package/types/TabStrip.d.ts +185 -0
  160. package/types/TimePicker.d.ts +265 -0
  161. package/types/TooltipManager.d.ts +178 -0
  162. package/types/UI.d.ts +29 -0
  163. package/types/Validator.d.ts +653 -0
  164. package/types/index.d.ts +59 -0
  165. package/ui.css +11783 -0
  166. package/ui.js +79477 -0
  167. package/ui.min.css +138 -0
  168. package/ui.min.js +264 -0
  169. package/ui.min.js.map +1 -0
@@ -0,0 +1,357 @@
1
+ /*! Componyx.UI | (c) E.H. Daanen / Componyx | BUSL-1.1 | componyx.com/license */
2
+ .combo-box.theme
3
+ {
4
+ display: inline-flex;
5
+ max-width: 100%;
6
+
7
+ /* box */
8
+
9
+ .box
10
+ {
11
+ margin-top: 1px;
12
+ position: fixed;
13
+ }
14
+
15
+ &.split .box
16
+ {
17
+ margin-left: 0px;
18
+ }
19
+
20
+
21
+ /* button */
22
+ .button.theme.split
23
+ {
24
+ flex-wrap: nowrap;
25
+ }
26
+
27
+ .button.theme.expand.split
28
+ {
29
+ height: fit-content;
30
+ }
31
+
32
+ .button.theme.expand:not(.split),
33
+ .button.theme.expand.split div.command
34
+ {
35
+ height: auto;
36
+ min-height: 28px;
37
+ width: 100%;
38
+ text-align: left;
39
+ }
40
+
41
+ .button.theme.expand.split div.expand
42
+ {
43
+ height: stretch;
44
+ min-height: 28px;
45
+ }
46
+
47
+ .button.theme.expand.split
48
+ {
49
+ min-width: 0;
50
+ width: 100%;
51
+ }
52
+
53
+ .button.theme.expand.split div.command
54
+ {
55
+ background: none;
56
+ color: inherit;
57
+ box-shadow: none;
58
+ }
59
+
60
+ &.theme-default.allow-input .button.theme.expand:not(.split),
61
+ &.theme-default.allow-input .button.theme.expand:not(.split),
62
+ &.theme-default.allow-input .button.theme.expand.split div.command,
63
+ &.theme-default.allow-input .button.theme.expand.split:hover div.command
64
+ {
65
+ background: transparent !important;
66
+ color: inherit !important;
67
+ border-color: inherit !important;
68
+ }
69
+
70
+
71
+ /* input */
72
+ .button.theme.expand input
73
+ {
74
+ border: 0px !important;
75
+ background: transparent !important;
76
+ min-width: 50px; /* needed to reserve some space for typing when tagging is active */
77
+ width: 100%;
78
+ height: 28px;
79
+ padding: 0px;
80
+ padding-right: 8px;
81
+ position: relative;
82
+ text-shadow: none;
83
+ cursor: default;
84
+ border-top-right-radius: 0px;
85
+ border-bottom-right-radius: 0px;
86
+ margin-bottom: 0px;
87
+ position: relative;
88
+ z-index: 1; /* fixes click issues */
89
+ flex: 1;
90
+ }
91
+
92
+ .button.theme.expand input::-ms-clear
93
+ {
94
+ display: none;
95
+ }
96
+
97
+ .button.theme.expand input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(:disabled):focus,
98
+ .button.theme.expand input:focus
99
+ {
100
+ outline: none;
101
+ box-shadow: none;
102
+ margin-bottom: 0px;
103
+ }
104
+
105
+
106
+ .button.theme.expand:not(.split) > .content-holder,
107
+ .button.theme.expand.split > .command > .content-holder
108
+ {
109
+ display: flex;
110
+ align-items: center;
111
+ flex-wrap: wrap;
112
+ width: 100%;
113
+ }
114
+
115
+ &.auto-grow .button.theme.expand input
116
+ {
117
+ width: auto;
118
+ }
119
+
120
+ &.tagging .button.theme.expand input
121
+ {
122
+ margin-right: 0px;
123
+ width: auto;
124
+ max-width: 100%;
125
+ }
126
+
127
+ &.tagging .button.theme.expand .button.theme.tag
128
+ {
129
+ position: relative;
130
+ font-size: 0.85rem;
131
+ line-height: initial;
132
+ border-radius: 16px;
133
+ margin: 2px;
134
+ line-height: 23px;
135
+ border: 0px;
136
+ }
137
+
138
+ &.tagging .button.theme.expand .button.theme.tag > span.icon::after
139
+ {
140
+ content: '\e90a';
141
+ }
142
+
143
+ /* expand icon */
144
+ .button.theme.expand .content-holder > span.expand-icon
145
+ {
146
+ display: inline-block;
147
+ order: 2;
148
+ width: 8px;
149
+ height: 6px;
150
+ background-color: transparent;
151
+ top: auto;
152
+ transform: none;
153
+ }
154
+
155
+ /* clear button */
156
+ &.disabled .button.theme.expand .button.theme.clear
157
+ {
158
+ visibility: hidden;
159
+ }
160
+
161
+
162
+ /* clear icon */
163
+ .button.theme.clear > span.icon::after
164
+ {
165
+ content: '\e90a';
166
+ }
167
+
168
+
169
+ /* dataPager */
170
+ .data-pager.theme
171
+ {
172
+ display: flex;
173
+ min-height: 36px;
174
+ border-top-style: solid;
175
+ }
176
+
177
+ .data-pager.theme > div:first-child
178
+ {
179
+ display: flex;
180
+ align-items: center;
181
+ }
182
+
183
+ .data-pager.theme > div + div
184
+ {
185
+ line-height: 34px;
186
+ padding-right: 4px;
187
+ text-align: right;
188
+ }
189
+
190
+ .data-pager.theme .numeric-box.theme input
191
+ {
192
+ width: 18px;
193
+ }
194
+
195
+
196
+ /* list */
197
+
198
+ ul.list li.item i.icon
199
+ {
200
+ margin-right: 0.5rem;
201
+ }
202
+
203
+ ul.list:not(:first-child) li.item:first-child
204
+ {
205
+ border-radius: 0px;
206
+ }
207
+
208
+ ul.list:not(:last-child) li.item:last-child
209
+ {
210
+ border-radius: 0px;
211
+ }
212
+
213
+ ul.list:first-child li.item:first-child
214
+ {
215
+ border-bottom-left-radius: 0px;
216
+ border-bottom-right-radius: 0px;
217
+ }
218
+
219
+ ul.list:last-child li.item:last-child
220
+ {
221
+ border-top-left-radius: 0px;
222
+ border-top-right-radius: 0px;
223
+ }
224
+
225
+ ul
226
+ {
227
+ list-style: none;
228
+ display: inline-block;
229
+ width: 100%;
230
+ padding: 0px;
231
+ margin: 0px;
232
+ vertical-align: top;
233
+ }
234
+
235
+ ul.list
236
+ {
237
+ overflow-y: auto;
238
+ overflow-x: hidden;
239
+ white-space: nowrap;
240
+ }
241
+
242
+ li.item
243
+ {
244
+ display: flex;
245
+ align-items: center;
246
+ min-height: 28px;
247
+ cursor: default;
248
+ white-space: pre-wrap;
249
+ }
250
+
251
+ div.header,
252
+ li.item
253
+ {
254
+ padding: 0px 6px 0px 6px;
255
+ }
256
+
257
+ &.multi li:has(span.checkbox)
258
+ {
259
+ flex: 0 0 30px;
260
+ }
261
+
262
+ &.multi li span.checkbox
263
+ {
264
+ display: inline-block;
265
+ position: relative;
266
+ left: 0px;
267
+ margin-right: 5px;
268
+ width: 15px;
269
+ height: 15px;
270
+ line-height: 15px;
271
+ border-style: solid;
272
+ font-family: 'UI';
273
+ font-size: 8px;
274
+ vertical-align: middle;
275
+ text-align: center;
276
+ }
277
+
278
+ &.multi li span.checkbox::after
279
+ {
280
+ content: '';
281
+ }
282
+
283
+ &.multi li.selected span.checkbox::after
284
+ {
285
+ content: '\e90b';
286
+ }
287
+
288
+ div.header
289
+ {
290
+ line-height: 28px;
291
+ padding: 0px 6px 0px 6px;
292
+ border-bottom-style: solid;
293
+ border-bottom-left-radius: 0px;
294
+ border-bottom-right-radius: 0px;
295
+ }
296
+
297
+
298
+ /* rows and columns */
299
+ div.header > ul,
300
+ li.item > ul
301
+ {
302
+ display: flex;
303
+ width: 100%;
304
+ gap: 1rem;
305
+ }
306
+
307
+ div.header > ul > li,
308
+ li.item > ul > li
309
+ {
310
+ flex: 1 1 0%;
311
+ min-width: 0;
312
+ min-height: 28px;
313
+ overflow: hidden;
314
+ text-overflow: ellipsis;
315
+ white-space: nowrap;
316
+ }
317
+
318
+ li.item b.match
319
+ {
320
+ font-weight: normal;
321
+ text-decoration: underline;
322
+ }
323
+
324
+
325
+ /* sizer */
326
+ > .sizer
327
+ {
328
+ display: none;
329
+ }
330
+
331
+ /* preloader and noresult li */
332
+ li.preloader,
333
+ li.no-result
334
+ {
335
+ list-style: none;
336
+ height: 28px;
337
+ line-height: 28px;
338
+ padding: 0px 6px 0px 6px;
339
+ }
340
+
341
+ &.multi li.item.select-all,
342
+ &.multi li.item.select-all:hover,
343
+ &.multi li.item.select-all:focus,
344
+ li.preloader,
345
+ li.no-result
346
+ {
347
+ color: inherit;
348
+ }
349
+
350
+ /* bottom focus */
351
+ &:not(.disabled).focus .button.theme:not(.split).expand,
352
+ &:not(.disabled).focus .button.theme.split.expand div.command
353
+ {
354
+ box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.2);
355
+ transition: all 0.5s ease-in-out;
356
+ }
357
+ }