@northdata/fomantic-ui 2.8.722 → 2.9.401
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/semantic-ui/dist/components/accordion.css +62 -69
- package/lib/semantic-ui/dist/components/accordion.js +595 -618
- package/lib/semantic-ui/dist/components/accordion.min.css +4 -4
- package/lib/semantic-ui/dist/components/accordion.min.js +6 -6
- package/lib/semantic-ui/dist/components/api.js +1225 -1177
- package/lib/semantic-ui/dist/components/api.min.js +6 -6
- package/lib/semantic-ui/dist/components/button.css +291 -634
- package/lib/semantic-ui/dist/components/button.min.css +4 -4
- package/lib/semantic-ui/dist/components/calendar.css +149 -33
- package/lib/semantic-ui/dist/components/calendar.js +2045 -1774
- package/lib/semantic-ui/dist/components/calendar.min.css +4 -4
- package/lib/semantic-ui/dist/components/calendar.min.js +6 -6
- package/lib/semantic-ui/dist/components/card.css +147 -537
- package/lib/semantic-ui/dist/components/card.min.css +4 -4
- package/lib/semantic-ui/dist/components/checkbox.css +215 -405
- package/lib/semantic-ui/dist/components/checkbox.js +888 -876
- package/lib/semantic-ui/dist/components/checkbox.min.css +4 -4
- package/lib/semantic-ui/dist/components/checkbox.min.js +6 -6
- package/lib/semantic-ui/dist/components/container.css +20 -21
- package/lib/semantic-ui/dist/components/container.min.css +4 -4
- package/lib/semantic-ui/dist/components/dimmer.css +76 -184
- package/lib/semantic-ui/dist/components/dimmer.js +732 -753
- package/lib/semantic-ui/dist/components/dimmer.min.css +4 -4
- package/lib/semantic-ui/dist/components/dimmer.min.js +6 -6
- package/lib/semantic-ui/dist/components/divider.css +81 -88
- package/lib/semantic-ui/dist/components/divider.min.css +4 -4
- package/lib/semantic-ui/dist/components/dropdown.css +431 -450
- package/lib/semantic-ui/dist/components/dropdown.js +4432 -4238
- package/lib/semantic-ui/dist/components/dropdown.min.css +4 -4
- package/lib/semantic-ui/dist/components/dropdown.min.js +6 -6
- package/lib/semantic-ui/dist/components/feed.css +130 -87
- package/lib/semantic-ui/dist/components/feed.min.css +4 -4
- package/lib/semantic-ui/dist/components/flag.css +541 -511
- package/lib/semantic-ui/dist/components/flag.min.css +4 -4
- package/lib/semantic-ui/dist/components/form.css +437 -476
- package/lib/semantic-ui/dist/components/form.js +2199 -2033
- package/lib/semantic-ui/dist/components/form.min.css +4 -4
- package/lib/semantic-ui/dist/components/form.min.js +6 -6
- package/lib/semantic-ui/dist/components/grid.css +151 -306
- package/lib/semantic-ui/dist/components/grid.min.css +4 -4
- package/lib/semantic-ui/dist/components/header.css +82 -99
- package/lib/semantic-ui/dist/components/header.min.css +4 -4
- package/lib/semantic-ui/dist/components/icon.css +2744 -2706
- package/lib/semantic-ui/dist/components/icon.min.css +4 -4
- package/lib/semantic-ui/dist/components/image.css +38 -73
- package/lib/semantic-ui/dist/components/image.min.css +4 -4
- package/lib/semantic-ui/dist/components/input.css +344 -254
- package/lib/semantic-ui/dist/components/input.min.css +4 -4
- package/lib/semantic-ui/dist/components/item.css +91 -139
- package/lib/semantic-ui/dist/components/item.min.css +4 -4
- package/lib/semantic-ui/dist/components/label.css +244 -267
- package/lib/semantic-ui/dist/components/label.min.css +4 -4
- package/lib/semantic-ui/dist/components/list.css +75 -113
- package/lib/semantic-ui/dist/components/list.min.css +4 -4
- package/lib/semantic-ui/dist/components/loader.css +142 -601
- package/lib/semantic-ui/dist/components/loader.min.css +4 -4
- package/lib/semantic-ui/dist/components/menu.css +398 -638
- package/lib/semantic-ui/dist/components/menu.min.css +9 -1
- package/lib/semantic-ui/dist/components/message.css +116 -332
- package/lib/semantic-ui/dist/components/message.min.css +4 -4
- package/lib/semantic-ui/dist/components/modal.css +149 -138
- package/lib/semantic-ui/dist/components/modal.js +1637 -1209
- package/lib/semantic-ui/dist/components/modal.min.css +4 -4
- package/lib/semantic-ui/dist/components/modal.min.js +6 -6
- package/lib/semantic-ui/dist/components/popup.css +284 -277
- package/lib/semantic-ui/dist/components/popup.js +1561 -1541
- package/lib/semantic-ui/dist/components/popup.min.css +4 -4
- package/lib/semantic-ui/dist/components/popup.min.js +6 -6
- package/lib/semantic-ui/dist/components/reset.css +12 -17
- package/lib/semantic-ui/dist/components/reset.min.css +4 -4
- package/lib/semantic-ui/dist/components/search.css +99 -137
- package/lib/semantic-ui/dist/components/search.js +1641 -1565
- package/lib/semantic-ui/dist/components/search.min.css +4 -4
- package/lib/semantic-ui/dist/components/search.min.js +6 -6
- package/lib/semantic-ui/dist/components/segment.css +149 -275
- package/lib/semantic-ui/dist/components/segment.min.css +4 -4
- package/lib/semantic-ui/dist/components/site.css +40 -48
- package/lib/semantic-ui/dist/components/site.js +455 -493
- package/lib/semantic-ui/dist/components/site.min.css +4 -4
- package/lib/semantic-ui/dist/components/site.min.js +6 -6
- package/lib/semantic-ui/dist/components/tab.css +16 -20
- package/lib/semantic-ui/dist/components/tab.js +967 -1001
- package/lib/semantic-ui/dist/components/tab.min.css +4 -4
- package/lib/semantic-ui/dist/components/tab.min.js +6 -6
- package/lib/semantic-ui/dist/components/table.css +465 -424
- package/lib/semantic-ui/dist/components/table.min.css +4 -4
- package/lib/semantic-ui/dist/components/transition.css +264 -1282
- package/lib/semantic-ui/dist/components/transition.js +1034 -1109
- package/lib/semantic-ui/dist/components/transition.min.css +4 -4
- package/lib/semantic-ui/dist/components/transition.min.js +6 -6
- package/lib/semantic-ui/dist/semantic-packed.css +5610 -6590
- package/lib/semantic-ui/dist/semantic.css +8547 -11697
- package/lib/semantic-ui/dist/semantic.full.css +14698 -11227
- package/lib/semantic-ui/dist/semantic.full.min.css +6 -262
- package/lib/semantic-ui/dist/semantic.js +19428 -19253
- package/lib/semantic-ui/dist/semantic.min.css +128 -128
- package/lib/semantic-ui/dist/semantic.min.js +6 -6
- package/lib/semantic-ui/dist/themes/basic/assets/fonts/LICENSE.txt +91 -0
- package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.woff +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.woff2 +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- package/lib/semantic-ui/types/fomantic-ui-accordion.d.ts +244 -0
- package/lib/semantic-ui/types/fomantic-ui-api.d.ts +561 -0
- package/lib/semantic-ui/types/fomantic-ui-calendar.d.ts +867 -0
- package/lib/semantic-ui/types/fomantic-ui-checkbox.d.ts +342 -0
- package/lib/semantic-ui/types/fomantic-ui-dimmer.d.ts +408 -0
- package/lib/semantic-ui/types/fomantic-ui-dropdown.d.ts +1221 -0
- package/lib/semantic-ui/types/fomantic-ui-embed.d.ts +343 -0
- package/lib/semantic-ui/types/fomantic-ui-flyout.d.ts +539 -0
- package/lib/semantic-ui/types/fomantic-ui-form.d.ts +759 -0
- package/lib/semantic-ui/types/fomantic-ui-modal.d.ts +567 -0
- package/lib/semantic-ui/types/fomantic-ui-nag.d.ts +270 -0
- package/lib/semantic-ui/types/fomantic-ui-popup.d.ts +549 -0
- package/lib/semantic-ui/types/fomantic-ui-progress.d.ts +465 -0
- package/lib/semantic-ui/types/fomantic-ui-rating.d.ts +187 -0
- package/lib/semantic-ui/types/fomantic-ui-search.d.ts +612 -0
- package/lib/semantic-ui/types/fomantic-ui-shape.d.ts +274 -0
- package/lib/semantic-ui/types/fomantic-ui-sidebar.d.ts +402 -0
- package/lib/semantic-ui/types/fomantic-ui-slider.d.ts +368 -0
- package/lib/semantic-ui/types/fomantic-ui-sticky.d.ts +215 -0
- package/lib/semantic-ui/types/fomantic-ui-tab.d.ts +361 -0
- package/lib/semantic-ui/types/fomantic-ui-toast.d.ts +526 -0
- package/lib/semantic-ui/types/fomantic-ui-transition.d.ts +389 -0
- package/lib/semantic-ui/types/fomantic-ui-visibility.d.ts +355 -0
- package/lib/semantic-ui/types/index.d.ts +63 -0
- package/package.json +19 -8
- package/lib/semantic-ui/dist/components/shape.css +0 -160
- package/lib/semantic-ui/dist/components/shape.js +0 -848
- package/lib/semantic-ui/dist/components/shape.min.css +0 -9
- package/lib/semantic-ui/dist/components/shape.min.js +0 -11
- package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.eot +0 -0
- package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.svg +0 -450
- package/lib/semantic-ui/dist/themes/basic/assets/fonts/icons.ttf +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.svg +0 -3570
- package/lib/semantic-ui/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.eot +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.svg +0 -4938
- package/lib/semantic-ui/dist/themes/default/assets/fonts/icons.ttf +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
- package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.svg +0 -803
- package/lib/semantic-ui/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
- package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons-local.ttf +0 -0
- package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons.svg +0 -200
- package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons.ttf +0 -0
- package/lib/semantic-ui/dist/themes/github/assets/fonts/octicons.woff +0 -0
- package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.eot +0 -0
- package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.svg +0 -2373
- package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.ttf +0 -0
- package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.woff +0 -0
- package/lib/semantic-ui/dist/themes/material/assets/fonts/icons.woff2 +0 -0
- /package/lib/semantic-ui/dist/themes/{default → famfamfam}/assets/images/flags.png +0 -0
|
@@ -1,493 +1,455 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* # Fomantic-UI - Site
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* Released under the MIT license
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
module.
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
'shape',
|
|
457
|
-
'sidebar',
|
|
458
|
-
'state',
|
|
459
|
-
'sticky',
|
|
460
|
-
'tab',
|
|
461
|
-
'toast',
|
|
462
|
-
'transition',
|
|
463
|
-
'visibility',
|
|
464
|
-
'visit'
|
|
465
|
-
],
|
|
466
|
-
|
|
467
|
-
siteNamespace : 'site',
|
|
468
|
-
namespaceStub : {
|
|
469
|
-
cache : {},
|
|
470
|
-
config : {},
|
|
471
|
-
sections : {},
|
|
472
|
-
section : {},
|
|
473
|
-
utilities : {}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
};
|
|
477
|
-
|
|
478
|
-
// allows for selection of elements with data attributes
|
|
479
|
-
$.extend($.expr[ ":" ], {
|
|
480
|
-
data: ($.expr.createPseudo)
|
|
481
|
-
? $.expr.createPseudo(function(dataName) {
|
|
482
|
-
return function(elem) {
|
|
483
|
-
return !!$.data(elem, dataName);
|
|
484
|
-
};
|
|
485
|
-
})
|
|
486
|
-
: function(elem, i, match) {
|
|
487
|
-
// support: jQuery < 1.8
|
|
488
|
-
return !!$.data(elem, match[ 3 ]);
|
|
489
|
-
}
|
|
490
|
-
});
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
})( jQuery, window, document );
|
|
1
|
+
/*!
|
|
2
|
+
* # Fomantic-UI 2.9.4 - Site
|
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* https://opensource.org/licenses/MIT
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
(function ($, window, document) {
|
|
12
|
+
'use strict';
|
|
13
|
+
|
|
14
|
+
function isFunction(obj) {
|
|
15
|
+
return typeof obj === 'function' && typeof obj.nodeType !== 'number';
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
window = window !== undefined && window.Math === Math
|
|
19
|
+
? window
|
|
20
|
+
: globalThis;
|
|
21
|
+
|
|
22
|
+
$.fn.site = function (parameters) {
|
|
23
|
+
var
|
|
24
|
+
time = Date.now(),
|
|
25
|
+
performance = [],
|
|
26
|
+
|
|
27
|
+
query = arguments[0],
|
|
28
|
+
methodInvoked = typeof query === 'string',
|
|
29
|
+
queryArguments = [].slice.call(arguments, 1),
|
|
30
|
+
|
|
31
|
+
settings = $.isPlainObject(parameters)
|
|
32
|
+
? $.extend(true, {}, $.site.settings, parameters)
|
|
33
|
+
: $.extend({}, $.site.settings),
|
|
34
|
+
|
|
35
|
+
namespace = settings.namespace,
|
|
36
|
+
error = settings.error,
|
|
37
|
+
|
|
38
|
+
moduleNamespace = 'module-' + namespace,
|
|
39
|
+
|
|
40
|
+
$document = $(document),
|
|
41
|
+
$module = $document,
|
|
42
|
+
element = this,
|
|
43
|
+
instance = $module.data(moduleNamespace),
|
|
44
|
+
|
|
45
|
+
module,
|
|
46
|
+
returnedValue
|
|
47
|
+
;
|
|
48
|
+
module = {
|
|
49
|
+
|
|
50
|
+
initialize: function () {
|
|
51
|
+
module.instantiate();
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
instantiate: function () {
|
|
55
|
+
module.verbose('Storing instance of site', module);
|
|
56
|
+
instance = module;
|
|
57
|
+
$module
|
|
58
|
+
.data(moduleNamespace, module)
|
|
59
|
+
;
|
|
60
|
+
},
|
|
61
|
+
|
|
62
|
+
normalize: function () {
|
|
63
|
+
// keep the function for backward compatibility
|
|
64
|
+
// eslint-disable-next-line no-useless-return
|
|
65
|
+
return;
|
|
66
|
+
},
|
|
67
|
+
|
|
68
|
+
fix: {
|
|
69
|
+
consoleClear: function () {
|
|
70
|
+
module.debug('Disabling programmatic console clearing');
|
|
71
|
+
window.console.clear = function () {};
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
moduleExists: function (name) {
|
|
76
|
+
return $.fn[name] !== undefined && $.fn[name].settings !== undefined;
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
enabled: {
|
|
80
|
+
modules: function (modules) {
|
|
81
|
+
var
|
|
82
|
+
enabledModules = []
|
|
83
|
+
;
|
|
84
|
+
modules = modules || settings.modules;
|
|
85
|
+
$.each(modules, function (index, name) {
|
|
86
|
+
if (module.moduleExists(name)) {
|
|
87
|
+
enabledModules.push(name);
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
return enabledModules;
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
|
|
95
|
+
disabled: {
|
|
96
|
+
modules: function (modules) {
|
|
97
|
+
var
|
|
98
|
+
disabledModules = []
|
|
99
|
+
;
|
|
100
|
+
modules = modules || settings.modules;
|
|
101
|
+
$.each(modules, function (index, name) {
|
|
102
|
+
if (!module.moduleExists(name)) {
|
|
103
|
+
disabledModules.push(name);
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
return disabledModules;
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
change: {
|
|
112
|
+
setting: function (setting, value, modules, modifyExisting) {
|
|
113
|
+
modules = typeof modules === 'string'
|
|
114
|
+
? (modules === 'all'
|
|
115
|
+
? settings.modules
|
|
116
|
+
: [modules])
|
|
117
|
+
: modules || settings.modules;
|
|
118
|
+
modifyExisting = modifyExisting !== undefined
|
|
119
|
+
? modifyExisting
|
|
120
|
+
: true;
|
|
121
|
+
$.each(modules, function (index, name) {
|
|
122
|
+
var
|
|
123
|
+
namespace = module.moduleExists(name)
|
|
124
|
+
? $.fn[name].settings.namespace || false
|
|
125
|
+
: true,
|
|
126
|
+
$existingModules
|
|
127
|
+
;
|
|
128
|
+
if (module.moduleExists(name)) {
|
|
129
|
+
module.verbose('Changing default setting', setting, value, name);
|
|
130
|
+
$.fn[name].settings[setting] = value;
|
|
131
|
+
if (modifyExisting && namespace) {
|
|
132
|
+
$existingModules = $(':data(module-' + namespace + ')');
|
|
133
|
+
if ($existingModules.length > 0) {
|
|
134
|
+
module.verbose('Modifying existing settings', $existingModules);
|
|
135
|
+
$existingModules[name]('setting', setting, value);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
},
|
|
141
|
+
settings: function (newSettings, modules, modifyExisting) {
|
|
142
|
+
modules = typeof modules === 'string'
|
|
143
|
+
? [modules]
|
|
144
|
+
: modules || settings.modules;
|
|
145
|
+
modifyExisting = modifyExisting !== undefined
|
|
146
|
+
? modifyExisting
|
|
147
|
+
: true;
|
|
148
|
+
$.each(modules, function (index, name) {
|
|
149
|
+
var
|
|
150
|
+
$existingModules
|
|
151
|
+
;
|
|
152
|
+
if (module.moduleExists(name)) {
|
|
153
|
+
module.verbose('Changing default setting', newSettings, name);
|
|
154
|
+
$.extend(true, $.fn[name].settings, newSettings);
|
|
155
|
+
if (modifyExisting && namespace) {
|
|
156
|
+
$existingModules = $(':data(module-' + namespace + ')');
|
|
157
|
+
if ($existingModules.length > 0) {
|
|
158
|
+
module.verbose('Modifying existing settings', $existingModules);
|
|
159
|
+
$existingModules[name]('setting', newSettings);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
|
|
167
|
+
enable: {
|
|
168
|
+
console: function () {
|
|
169
|
+
module.console(true);
|
|
170
|
+
},
|
|
171
|
+
debug: function (modules, modifyExisting) {
|
|
172
|
+
modules = modules || settings.modules;
|
|
173
|
+
module.debug('Enabling debug for modules', modules);
|
|
174
|
+
module.change.setting('debug', true, modules, modifyExisting);
|
|
175
|
+
},
|
|
176
|
+
verbose: function (modules, modifyExisting) {
|
|
177
|
+
modules = modules || settings.modules;
|
|
178
|
+
module.debug('Enabling verbose debug for modules', modules);
|
|
179
|
+
module.change.setting('verbose', true, modules, modifyExisting);
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
disable: {
|
|
183
|
+
console: function () {
|
|
184
|
+
module.console(false);
|
|
185
|
+
},
|
|
186
|
+
debug: function (modules, modifyExisting) {
|
|
187
|
+
modules = modules || settings.modules;
|
|
188
|
+
module.debug('Disabling debug for modules', modules);
|
|
189
|
+
module.change.setting('debug', false, modules, modifyExisting);
|
|
190
|
+
},
|
|
191
|
+
verbose: function (modules, modifyExisting) {
|
|
192
|
+
modules = modules || settings.modules;
|
|
193
|
+
module.debug('Disabling verbose debug for modules', modules);
|
|
194
|
+
module.change.setting('verbose', false, modules, modifyExisting);
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
|
|
198
|
+
console: function (enable) {
|
|
199
|
+
if (enable) {
|
|
200
|
+
if (instance.cache.console === undefined) {
|
|
201
|
+
module.error(error.console);
|
|
202
|
+
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
module.debug('Restoring console function');
|
|
206
|
+
window.console = instance.cache.console;
|
|
207
|
+
} else {
|
|
208
|
+
module.debug('Disabling console function');
|
|
209
|
+
instance.cache.console = window.console;
|
|
210
|
+
window.console = {
|
|
211
|
+
clear: function () {},
|
|
212
|
+
error: function () {},
|
|
213
|
+
group: function () {},
|
|
214
|
+
groupCollapsed: function () {},
|
|
215
|
+
groupEnd: function () {},
|
|
216
|
+
info: function () {},
|
|
217
|
+
log: function () {},
|
|
218
|
+
table: function () {},
|
|
219
|
+
warn: function () {},
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
|
|
224
|
+
destroy: function () {
|
|
225
|
+
module.verbose('Destroying previous site for', $module);
|
|
226
|
+
$module
|
|
227
|
+
.removeData(moduleNamespace)
|
|
228
|
+
;
|
|
229
|
+
},
|
|
230
|
+
|
|
231
|
+
cache: {},
|
|
232
|
+
|
|
233
|
+
setting: function (name, value) {
|
|
234
|
+
if ($.isPlainObject(name)) {
|
|
235
|
+
$.extend(true, settings, name);
|
|
236
|
+
} else if (value !== undefined) {
|
|
237
|
+
settings[name] = value;
|
|
238
|
+
} else {
|
|
239
|
+
return settings[name];
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
internal: function (name, value) {
|
|
243
|
+
if ($.isPlainObject(name)) {
|
|
244
|
+
$.extend(true, module, name);
|
|
245
|
+
} else if (value !== undefined) {
|
|
246
|
+
module[name] = value;
|
|
247
|
+
} else {
|
|
248
|
+
return module[name];
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
debug: function () {
|
|
252
|
+
if (settings.debug) {
|
|
253
|
+
if (settings.performance) {
|
|
254
|
+
module.performance.log(arguments);
|
|
255
|
+
} else {
|
|
256
|
+
module.debug = Function.prototype.bind.call(console.info, console, settings.name + ':');
|
|
257
|
+
module.debug.apply(console, arguments);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
verbose: function () {
|
|
262
|
+
if (settings.verbose && settings.debug) {
|
|
263
|
+
if (settings.performance) {
|
|
264
|
+
module.performance.log(arguments);
|
|
265
|
+
} else {
|
|
266
|
+
module.verbose = Function.prototype.bind.call(console.info, console, settings.name + ':');
|
|
267
|
+
module.verbose.apply(console, arguments);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
error: function () {
|
|
272
|
+
module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');
|
|
273
|
+
module.error.apply(console, arguments);
|
|
274
|
+
},
|
|
275
|
+
performance: {
|
|
276
|
+
log: function (message) {
|
|
277
|
+
var
|
|
278
|
+
currentTime,
|
|
279
|
+
executionTime,
|
|
280
|
+
previousTime
|
|
281
|
+
;
|
|
282
|
+
if (settings.performance) {
|
|
283
|
+
currentTime = Date.now();
|
|
284
|
+
previousTime = time || currentTime;
|
|
285
|
+
executionTime = currentTime - previousTime;
|
|
286
|
+
time = currentTime;
|
|
287
|
+
performance.push({
|
|
288
|
+
Element: element,
|
|
289
|
+
Name: message[0],
|
|
290
|
+
Arguments: [].slice.call(message, 1) || '',
|
|
291
|
+
'Execution Time': executionTime,
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
clearTimeout(module.performance.timer);
|
|
295
|
+
module.performance.timer = setTimeout(function () {
|
|
296
|
+
module.performance.display();
|
|
297
|
+
}, 500);
|
|
298
|
+
},
|
|
299
|
+
display: function () {
|
|
300
|
+
var
|
|
301
|
+
title = settings.name + ':',
|
|
302
|
+
totalTime = 0
|
|
303
|
+
;
|
|
304
|
+
time = false;
|
|
305
|
+
clearTimeout(module.performance.timer);
|
|
306
|
+
$.each(performance, function (index, data) {
|
|
307
|
+
totalTime += data['Execution Time'];
|
|
308
|
+
});
|
|
309
|
+
title += ' ' + totalTime + 'ms';
|
|
310
|
+
if (performance.length > 0) {
|
|
311
|
+
console.groupCollapsed(title);
|
|
312
|
+
if (console.table) {
|
|
313
|
+
console.table(performance);
|
|
314
|
+
} else {
|
|
315
|
+
$.each(performance, function (index, data) {
|
|
316
|
+
console.log(data.Name + ': ' + data['Execution Time'] + 'ms');
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
console.groupEnd();
|
|
320
|
+
}
|
|
321
|
+
performance = [];
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
invoke: function (query, passedArguments, context) {
|
|
325
|
+
var
|
|
326
|
+
object = instance,
|
|
327
|
+
maxDepth,
|
|
328
|
+
found,
|
|
329
|
+
response
|
|
330
|
+
;
|
|
331
|
+
passedArguments = passedArguments || queryArguments;
|
|
332
|
+
context = context || element;
|
|
333
|
+
if (typeof query === 'string' && object !== undefined) {
|
|
334
|
+
query = query.split(/[ .]/);
|
|
335
|
+
maxDepth = query.length - 1;
|
|
336
|
+
$.each(query, function (depth, value) {
|
|
337
|
+
var camelCaseValue = depth !== maxDepth
|
|
338
|
+
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
|
|
339
|
+
: query
|
|
340
|
+
;
|
|
341
|
+
if ($.isPlainObject(object[camelCaseValue]) && (depth !== maxDepth)) {
|
|
342
|
+
object = object[camelCaseValue];
|
|
343
|
+
} else if (object[camelCaseValue] !== undefined) {
|
|
344
|
+
found = object[camelCaseValue];
|
|
345
|
+
|
|
346
|
+
return false;
|
|
347
|
+
} else if ($.isPlainObject(object[value]) && (depth !== maxDepth)) {
|
|
348
|
+
object = object[value];
|
|
349
|
+
} else if (object[value] !== undefined) {
|
|
350
|
+
found = object[value];
|
|
351
|
+
|
|
352
|
+
return false;
|
|
353
|
+
} else {
|
|
354
|
+
module.error(error.method, query);
|
|
355
|
+
|
|
356
|
+
return false;
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
if (isFunction(found)) {
|
|
361
|
+
response = found.apply(context, passedArguments);
|
|
362
|
+
} else if (found !== undefined) {
|
|
363
|
+
response = found;
|
|
364
|
+
}
|
|
365
|
+
if (Array.isArray(returnedValue)) {
|
|
366
|
+
returnedValue.push(response);
|
|
367
|
+
} else if (returnedValue !== undefined) {
|
|
368
|
+
returnedValue = [returnedValue, response];
|
|
369
|
+
} else if (response !== undefined) {
|
|
370
|
+
returnedValue = response;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
return found;
|
|
374
|
+
},
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
if (methodInvoked) {
|
|
378
|
+
if (instance === undefined) {
|
|
379
|
+
module.initialize();
|
|
380
|
+
}
|
|
381
|
+
module.invoke(query);
|
|
382
|
+
} else {
|
|
383
|
+
if (instance !== undefined) {
|
|
384
|
+
module.destroy();
|
|
385
|
+
}
|
|
386
|
+
module.initialize();
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
return returnedValue !== undefined
|
|
390
|
+
? returnedValue
|
|
391
|
+
: this;
|
|
392
|
+
};
|
|
393
|
+
$.site = $.fn.site;
|
|
394
|
+
|
|
395
|
+
$.site.settings = {
|
|
396
|
+
|
|
397
|
+
name: 'Site',
|
|
398
|
+
namespace: 'site',
|
|
399
|
+
|
|
400
|
+
error: {
|
|
401
|
+
console: 'Console cannot be restored, most likely it was overwritten outside of module',
|
|
402
|
+
method: 'The method you called is not defined.',
|
|
403
|
+
},
|
|
404
|
+
|
|
405
|
+
debug: false,
|
|
406
|
+
verbose: false,
|
|
407
|
+
performance: true,
|
|
408
|
+
|
|
409
|
+
modules: [
|
|
410
|
+
'accordion',
|
|
411
|
+
'api',
|
|
412
|
+
'calendar',
|
|
413
|
+
'checkbox',
|
|
414
|
+
'dimmer',
|
|
415
|
+
'dropdown',
|
|
416
|
+
'embed',
|
|
417
|
+
'flyout',
|
|
418
|
+
'form',
|
|
419
|
+
'modal',
|
|
420
|
+
'nag',
|
|
421
|
+
'popup',
|
|
422
|
+
'progress',
|
|
423
|
+
'rating',
|
|
424
|
+
'search',
|
|
425
|
+
'shape',
|
|
426
|
+
'sidebar',
|
|
427
|
+
'slider',
|
|
428
|
+
'state',
|
|
429
|
+
'sticky',
|
|
430
|
+
'tab',
|
|
431
|
+
'toast',
|
|
432
|
+
'transition',
|
|
433
|
+
'visibility',
|
|
434
|
+
],
|
|
435
|
+
|
|
436
|
+
siteNamespace: 'site',
|
|
437
|
+
namespaceStub: {
|
|
438
|
+
cache: {},
|
|
439
|
+
config: {},
|
|
440
|
+
sections: {},
|
|
441
|
+
section: {},
|
|
442
|
+
utilities: {},
|
|
443
|
+
},
|
|
444
|
+
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
// allows for selection of elements with data attributes
|
|
448
|
+
$.extend($.expr.pseudos, {
|
|
449
|
+
data: $.expr.createPseudo(function (dataName) {
|
|
450
|
+
return function (elem) {
|
|
451
|
+
return !!$.data(elem, dataName);
|
|
452
|
+
};
|
|
453
|
+
}),
|
|
454
|
+
});
|
|
455
|
+
})(jQuery, window, document);
|