fomantic-ui 2.10.0-beta.65 → 2.10.0-beta.67

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 (228) hide show
  1. package/.eslintrc.js +0 -1
  2. package/.stylelintrc.js +1 -13
  3. package/dist/components/accordion.css +1 -1
  4. package/dist/components/accordion.js +1 -1
  5. package/dist/components/accordion.min.css +1 -1
  6. package/dist/components/accordion.min.js +1 -1
  7. package/dist/components/ad.css +1 -1
  8. package/dist/components/ad.min.css +1 -1
  9. package/dist/components/api.js +1 -1
  10. package/dist/components/api.min.js +1 -1
  11. package/dist/components/breadcrumb.css +1 -1
  12. package/dist/components/breadcrumb.min.css +1 -1
  13. package/dist/components/button.css +1 -1
  14. package/dist/components/button.min.css +1 -1
  15. package/dist/components/calendar.css +1 -1
  16. package/dist/components/calendar.js +1 -1
  17. package/dist/components/calendar.min.css +1 -1
  18. package/dist/components/calendar.min.js +1 -1
  19. package/dist/components/card.css +1 -1
  20. package/dist/components/card.min.css +1 -1
  21. package/dist/components/checkbox.css +1 -1
  22. package/dist/components/checkbox.js +1 -10
  23. package/dist/components/checkbox.min.css +1 -1
  24. package/dist/components/checkbox.min.js +2 -2
  25. package/dist/components/comment.css +1 -1
  26. package/dist/components/comment.min.css +1 -1
  27. package/dist/components/container.css +1 -1
  28. package/dist/components/container.min.css +1 -1
  29. package/dist/components/dimmer.css +1 -1
  30. package/dist/components/dimmer.js +1 -1
  31. package/dist/components/dimmer.min.css +1 -1
  32. package/dist/components/dimmer.min.js +1 -1
  33. package/dist/components/divider.css +1 -1
  34. package/dist/components/divider.min.css +1 -1
  35. package/dist/components/dropdown.css +9 -25
  36. package/dist/components/dropdown.js +1 -1
  37. package/dist/components/dropdown.min.css +2 -2
  38. package/dist/components/dropdown.min.js +1 -1
  39. package/dist/components/embed.css +1 -1
  40. package/dist/components/embed.js +1 -1
  41. package/dist/components/embed.min.css +1 -1
  42. package/dist/components/embed.min.js +1 -1
  43. package/dist/components/emoji.css +1 -1
  44. package/dist/components/emoji.min.css +1 -1
  45. package/dist/components/feed.css +1 -1
  46. package/dist/components/feed.min.css +1 -1
  47. package/dist/components/flag.css +1 -1
  48. package/dist/components/flag.min.css +1 -1
  49. package/dist/components/flyout.css +1 -1
  50. package/dist/components/flyout.js +2 -2
  51. package/dist/components/flyout.min.css +1 -1
  52. package/dist/components/flyout.min.js +2 -2
  53. package/dist/components/form.css +3 -5
  54. package/dist/components/form.js +1 -1
  55. package/dist/components/form.min.css +2 -2
  56. package/dist/components/form.min.js +1 -1
  57. package/dist/components/grid.css +1 -1
  58. package/dist/components/grid.min.css +1 -1
  59. package/dist/components/header.css +1 -1
  60. package/dist/components/header.min.css +1 -1
  61. package/dist/components/icon.css +10 -37
  62. package/dist/components/icon.min.css +2 -2
  63. package/dist/components/image.css +1 -1
  64. package/dist/components/image.min.css +1 -1
  65. package/dist/components/input.css +1 -3
  66. package/dist/components/input.min.css +2 -2
  67. package/dist/components/item.css +1 -1
  68. package/dist/components/item.min.css +1 -1
  69. package/dist/components/label.css +4 -13
  70. package/dist/components/label.min.css +2 -2
  71. package/dist/components/list.css +1 -1
  72. package/dist/components/list.min.css +1 -1
  73. package/dist/components/loader.css +1 -1
  74. package/dist/components/loader.min.css +1 -1
  75. package/dist/components/menu.css +6 -21
  76. package/dist/components/menu.min.css +2 -2
  77. package/dist/components/message.css +1 -1
  78. package/dist/components/message.min.css +1 -1
  79. package/dist/components/modal.css +1 -1
  80. package/dist/components/modal.js +2 -2
  81. package/dist/components/modal.min.css +1 -1
  82. package/dist/components/modal.min.js +2 -2
  83. package/dist/components/nag.css +1 -1
  84. package/dist/components/nag.js +1 -1
  85. package/dist/components/nag.min.css +1 -1
  86. package/dist/components/nag.min.js +1 -1
  87. package/dist/components/placeholder.css +1 -1
  88. package/dist/components/placeholder.min.css +1 -1
  89. package/dist/components/popup.css +19 -73
  90. package/dist/components/popup.js +1 -1
  91. package/dist/components/popup.min.css +2 -2
  92. package/dist/components/popup.min.js +1 -1
  93. package/dist/components/progress.css +4 -13
  94. package/dist/components/progress.js +1 -1
  95. package/dist/components/progress.min.css +2 -2
  96. package/dist/components/progress.min.js +1 -1
  97. package/dist/components/rail.css +1 -1
  98. package/dist/components/rail.min.css +1 -1
  99. package/dist/components/rating.css +1 -1
  100. package/dist/components/rating.js +1 -1
  101. package/dist/components/rating.min.css +1 -1
  102. package/dist/components/rating.min.js +1 -1
  103. package/dist/components/reset.css +1 -1
  104. package/dist/components/reset.min.css +1 -1
  105. package/dist/components/reveal.css +2 -5
  106. package/dist/components/reveal.min.css +2 -2
  107. package/dist/components/search.css +2 -3
  108. package/dist/components/search.js +1 -1
  109. package/dist/components/search.min.css +2 -2
  110. package/dist/components/search.min.js +1 -1
  111. package/dist/components/segment.css +1 -1
  112. package/dist/components/segment.min.css +1 -1
  113. package/dist/components/shape.css +1 -1
  114. package/dist/components/shape.js +1 -1
  115. package/dist/components/shape.min.css +1 -1
  116. package/dist/components/shape.min.js +1 -1
  117. package/dist/components/sidebar.css +1 -1
  118. package/dist/components/sidebar.js +2 -2
  119. package/dist/components/sidebar.min.css +1 -1
  120. package/dist/components/sidebar.min.js +2 -2
  121. package/dist/components/site.css +1 -1
  122. package/dist/components/site.js +1 -1
  123. package/dist/components/site.min.css +1 -1
  124. package/dist/components/site.min.js +1 -1
  125. package/dist/components/slider.css +1 -1
  126. package/dist/components/slider.js +1 -1
  127. package/dist/components/slider.min.css +1 -1
  128. package/dist/components/slider.min.js +1 -1
  129. package/dist/components/state.js +1 -1
  130. package/dist/components/state.min.js +1 -1
  131. package/dist/components/statistic.css +1 -1
  132. package/dist/components/statistic.min.css +1 -1
  133. package/dist/components/step.css +1 -1
  134. package/dist/components/step.min.css +1 -1
  135. package/dist/components/sticky.css +1 -1
  136. package/dist/components/sticky.js +1 -1
  137. package/dist/components/sticky.min.css +1 -1
  138. package/dist/components/sticky.min.js +1 -1
  139. package/dist/components/tab.css +1 -1
  140. package/dist/components/tab.js +1 -1
  141. package/dist/components/tab.min.css +1 -1
  142. package/dist/components/tab.min.js +1 -1
  143. package/dist/components/table.css +1 -1
  144. package/dist/components/table.min.css +1 -1
  145. package/dist/components/text.css +1 -1
  146. package/dist/components/text.min.css +1 -1
  147. package/dist/components/toast.css +1 -1
  148. package/dist/components/toast.js +1 -1
  149. package/dist/components/toast.min.css +1 -1
  150. package/dist/components/toast.min.js +1 -1
  151. package/dist/components/transition.css +1 -1
  152. package/dist/components/transition.js +1 -1
  153. package/dist/components/transition.min.css +1 -1
  154. package/dist/components/transition.min.js +1 -1
  155. package/dist/components/visibility.js +1 -1
  156. package/dist/components/visibility.min.js +1 -1
  157. package/dist/semantic.css +103 -242
  158. package/dist/semantic.js +29 -38
  159. package/dist/semantic.min.css +2 -2
  160. package/dist/semantic.min.js +2 -2
  161. package/package.json +3 -3
  162. package/src/definitions/collections/breadcrumb.less +0 -1
  163. package/src/definitions/collections/form.less +1 -7
  164. package/src/definitions/collections/grid.less +0 -1
  165. package/src/definitions/collections/menu.less +5 -21
  166. package/src/definitions/collections/message.less +0 -1
  167. package/src/definitions/collections/table.less +0 -1
  168. package/src/definitions/elements/button.less +0 -1
  169. package/src/definitions/elements/container.less +0 -1
  170. package/src/definitions/elements/divider.less +0 -1
  171. package/src/definitions/elements/emoji.less +1 -1
  172. package/src/definitions/elements/flag.less +1 -1
  173. package/src/definitions/elements/header.less +0 -1
  174. package/src/definitions/elements/icon.less +10 -37
  175. package/src/definitions/elements/image.less +0 -1
  176. package/src/definitions/elements/input.less +0 -3
  177. package/src/definitions/elements/label.less +3 -13
  178. package/src/definitions/elements/list.less +0 -1
  179. package/src/definitions/elements/loader.less +0 -1
  180. package/src/definitions/elements/placeholder.less +0 -1
  181. package/src/definitions/elements/rail.less +0 -1
  182. package/src/definitions/elements/reveal.less +1 -5
  183. package/src/definitions/elements/segment.less +0 -1
  184. package/src/definitions/elements/step.less +0 -1
  185. package/src/definitions/elements/text.less +0 -1
  186. package/src/definitions/globals/reset.less +0 -1
  187. package/src/definitions/globals/site.less +0 -1
  188. package/src/definitions/modules/accordion.less +0 -1
  189. package/src/definitions/modules/calendar.less +0 -1
  190. package/src/definitions/modules/checkbox.js +0 -9
  191. package/src/definitions/modules/checkbox.less +0 -1
  192. package/src/definitions/modules/dimmer.less +0 -1
  193. package/src/definitions/modules/dropdown.less +8 -25
  194. package/src/definitions/modules/embed.less +0 -1
  195. package/src/definitions/modules/flyout.js +1 -1
  196. package/src/definitions/modules/flyout.less +0 -1
  197. package/src/definitions/modules/modal.js +1 -1
  198. package/src/definitions/modules/modal.less +0 -1
  199. package/src/definitions/modules/nag.less +0 -1
  200. package/src/definitions/modules/popup.less +18 -73
  201. package/src/definitions/modules/progress.less +3 -13
  202. package/src/definitions/modules/rating.less +0 -1
  203. package/src/definitions/modules/search.less +1 -3
  204. package/src/definitions/modules/shape.less +0 -1
  205. package/src/definitions/modules/sidebar.js +1 -1
  206. package/src/definitions/modules/sidebar.less +0 -1
  207. package/src/definitions/modules/slider.less +0 -1
  208. package/src/definitions/modules/sticky.less +0 -1
  209. package/src/definitions/modules/tab.less +0 -1
  210. package/src/definitions/modules/toast.less +0 -1
  211. package/src/definitions/modules/transition.less +0 -1
  212. package/src/definitions/views/ad.less +0 -1
  213. package/src/definitions/views/card.less +0 -1
  214. package/src/definitions/views/comment.less +0 -1
  215. package/src/definitions/views/feed.less +0 -1
  216. package/src/definitions/views/item.less +0 -1
  217. package/src/definitions/views/statistic.less +0 -1
  218. package/src/semantic.less +1 -1
  219. package/src/themes/amazon/elements/button.variables +0 -1
  220. package/src/themes/amazon/globals/site.variables +0 -1
  221. package/src/themes/bootstrap3/elements/button.variables +0 -1
  222. package/src/themes/default/collections/form.variables +0 -1
  223. package/src/themes/default/elements/button.variables +0 -1
  224. package/src/themes/default/modules/accordion.variables +0 -1
  225. package/src/themes/default/views/card.variables +0 -1
  226. package/src/themes/default/views/item.variables +0 -1
  227. package/src/themes/github/modules/dropdown.variables +0 -2
  228. package/src/themes/twitter/elements/button.variables +0 -1
package/.eslintrc.js CHANGED
@@ -81,7 +81,6 @@ module.exports = {
81
81
  'wrap-iife': ['error', 'inside'],
82
82
 
83
83
  // TODO rules to be removed/fixed in v2.10.0 as fixes are not compatible with IE11
84
- 'no-restricted-globals': 'off',
85
84
  'no-restricted-properties': 'off',
86
85
  'unicorn/prefer-reflect-apply': 'off',
87
86
  'unicorn/prefer-top-level-await': 'off', // needs Node 14+
package/.stylelintrc.js CHANGED
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
2
  extends: [
3
- 'stylelint-config-standard',
3
+ 'stylelint-config-standard-less',
4
4
  ],
5
5
  customSyntax: 'postcss-less',
6
6
  ignoreFiles: [
@@ -9,23 +9,13 @@ module.exports = {
9
9
  ],
10
10
  rules: {
11
11
  'at-rule-empty-line-before': null,
12
- 'at-rule-name-case': null,
13
- 'at-rule-no-unknown': null,
14
12
  'block-no-empty': null,
15
- 'color-hex-case': 'lower',
16
- 'declaration-colon-newline-after': null, // handled by Prettier
17
13
  'font-family-no-missing-generic-family-keyword': null,
18
- 'function-no-unknown': null,
19
14
  'import-notation': null,
20
- indentation: null, // handled by Prettier
21
15
  'keyframes-name-pattern': null,
22
- linebreaks: 'unix',
23
- 'max-line-length': null,
24
16
  'no-descending-specificity': null,
25
- 'no-extra-semicolons': null, // handled by Prettier
26
17
  'no-duplicate-selectors': null,
27
18
  'number-max-precision': 5,
28
- 'property-case': null,
29
19
  'property-no-vendor-prefix': [true, {
30
20
  ignoreProperties: [
31
21
  'background-clip', // https://caniuse.com/background-clip-text
@@ -35,12 +25,10 @@ module.exports = {
35
25
  ],
36
26
  }],
37
27
  'rule-empty-line-before': null,
38
- 'string-quotes': 'double',
39
28
  'value-keyword-case': null,
40
29
 
41
30
  // TODO rules to be removed/fixed in v2.10.0 as fixes are not compatible with IE11
42
31
  'alpha-value-notation': 'number', // https://caniuse.com/mdn-css_properties_opacity_percentages
43
- 'selector-no-vendor-prefix': null,
44
32
  },
45
33
  reportNeedlessDisables: true,
46
34
  };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Accordion
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Accordion
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Accordion
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Accordion
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Accordion
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Accordion
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.65+923b474
2
+ * # Fomantic UI - 2.10.0-beta.67+16dc403
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Ad
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Ad
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Ad
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Ad
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - API
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - API
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.65+923b474
2
+ * # Fomantic UI - 2.10.0-beta.67+16dc403
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Breadcrumb
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Breadcrumb
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Breadcrumb
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Breadcrumb
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Button
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Button
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Button
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Button
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Calendar
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Calendar
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Calendar
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Calendar
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Calendar
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Calendar
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.65+923b474
2
+ * # Fomantic UI - 2.10.0-beta.67+16dc403
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Card
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Card
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Card
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Card
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Checkbox
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Checkbox
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Checkbox
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Checkbox
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -153,13 +153,6 @@
153
153
  }
154
154
  },
155
155
 
156
- preventDefaultOnInputTarget: function () {
157
- if (event !== undefined && event !== null && $(event.target).is(selector.input)) {
158
- module.verbose('Preventing default check action after manual check action');
159
- event.preventDefault();
160
- }
161
- },
162
-
163
156
  event: {
164
157
  change: function (event) {
165
158
  if (!module.should.ignoreCallbacks()) {
@@ -262,7 +255,6 @@
262
255
  settings.onChecked.call(input);
263
256
  module.trigger.change();
264
257
  }
265
- module.preventDefaultOnInputTarget();
266
258
  },
267
259
 
268
260
  uncheck: function () {
@@ -275,7 +267,6 @@
275
267
  settings.onUnchecked.call(input);
276
268
  module.trigger.change();
277
269
  }
278
- module.preventDefaultOnInputTarget();
279
270
  },
280
271
 
281
272
  indeterminate: function () {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Checkbox
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Checkbox
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.65+923b474
2
+ * # Fomantic UI - 2.10.0-beta.67+16dc403
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * https://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
- !function(w,e){"use strict";function I(e){return"function"==typeof e&&"number"!=typeof e.nodeType}e=void 0!==e&&e.Math===Math?e:globalThis,w.fn.checkbox=function(...e){const n=w(this);let c=Date.now(),s=[];const u=e[0],b="string"==typeof u,h=e.slice(1);let g;return n.each(function(){const p=w.extend(!0,{},w.fn.checkbox.settings,u),f=p.className;var e=p.namespace;const k=p.selector,r=p.error,i="."+e,n="module-"+e;let m=w(this),t=w(this).children(k.label),v=w(this).children(k.input),y=v[0],o=!1,C=!1,d=m.data(n),a;const l=this,x={initialize:function(){x.verbose("Initializing checkbox",p),x.create.label(),x.bind.events(),x.set.tabbable(),x.hide.input(),x.observeChanges(),x.instantiate(),x.setup()},instantiate:function(){x.verbose("Storing instance of module",x),d=x,m.data(n,x)},destroy:function(){x.verbose("Destroying module"),x.unbind.events(),x.show.input(),m.removeData(n)},fix:{reference:function(){m.is(k.input)&&(x.debug("Behavior called on <input> adjusting invoked element"),m=m.closest(k.checkbox),x.refresh())}},setup:function(){x.set.initialLoad(),x.is.indeterminate()?(x.debug("Initial value is indeterminate"),x.indeterminate()):x.is.checked()?(x.debug("Initial value is checked"),x.check()):(x.debug("Initial value is unchecked"),x.uncheck()),x.remove.initialLoad()},refresh:function(){t=m.children(k.label),v=m.children(k.input),y=v[0]},hide:{input:function(){x.verbose("Modifying <input> z-index to be unselectable"),v.addClass(f.hidden)}},show:{input:function(){x.verbose("Modifying <input> z-index to be selectable"),v.removeClass(f.hidden)}},observeChanges:function(){(a=new MutationObserver(function(e){x.debug("DOM tree modified, updating selector cache"),x.refresh()})).observe(l,{childList:!0,subtree:!0}),x.debug("Setting up mutation observer",a)},attachEvents:function(e,n){const t=w(e);n=I(x[n])?x[n]:x.toggle,0<t.length?(x.debug("Attaching checkbox events to element",e,n),t.on("click"+i,n)):x.error(r.notFound)},preventDefaultOnInputTarget:function(){void 0!==event&&null!==event&&w(event.target).is(k.input)&&(x.verbose("Preventing default check action after manual check action"),event.preventDefault())},event:{change:function(e){x.should.ignoreCallbacks()||p.onChange.call(y)},click:function(e){const n=w(e.target);n.is(k.input)?x.verbose("Using default check action on initialized checkbox"):n.is(k.link)?x.debug("Clicking link inside checkbox, skipping toggle"):(x.toggle(),v.trigger("focus"),e.preventDefault())},keydown:function(e){var n=e.which;const t=13,i=32,o=27,a=37,c=38,r=39,d=40,l=x.get.radios().not(k.disabled);var s=l.index(m),u=l.length;let b=!1;if(n===a||n===c?b=(0===s?u:s)-1:n!==r&&n!==d||(b=s===u-1?0:s+1),!x.should.ignoreCallbacks()&&!1!==b){if(!1===p.beforeUnchecked.call(y))return x.verbose("Option not allowed to be unchecked, cancelling key navigation"),!1;const h=w(l[b]),g=h.children(k.input);if(h.hasClass(f.readOnly)||g.prop("readonly")||!1===p.beforeChecked.call(g[0]))return x.verbose("Next option should not allow check, cancelling key navigation"),!1}C=!1,n===o?(x.verbose("Escape key pressed blurring field"),v.trigger("blur"),C=!0,e.stopPropagation()):x.can.change()?e.ctrlKey||(n===i||n===t&&p.enableEnterKey?(x.verbose("Enter/space key pressed, toggling checkbox"),x.toggle(),C=!0):m.is(".toggle, .slider")&&!x.is.radio()&&(n===a&&x.is.checked()?(x.uncheck(),C=!0):n===r&&x.is.unchecked()&&(x.check(),C=!0))):C=!0},keyup:function(e){C&&e.preventDefault()}},check:function(){x.should.allowCheck()&&(x.debug("Checking checkbox",v),x.set.checked(),x.should.ignoreCallbacks()||(p.onChecked.call(y),x.trigger.change()),x.preventDefaultOnInputTarget())},uncheck:function(){x.should.allowUncheck()&&(x.debug("Unchecking checkbox"),x.set.unchecked(),x.should.ignoreCallbacks()||(p.onUnchecked.call(y),x.trigger.change()),x.preventDefaultOnInputTarget())},indeterminate:function(){x.should.allowIndeterminate()?x.debug("Checkbox is already indeterminate"):(x.debug("Making checkbox indeterminate"),x.set.indeterminate(),x.should.ignoreCallbacks()||(p.onIndeterminate.call(y),x.trigger.change()))},determinate:function(){x.should.allowDeterminate()?x.debug("Checkbox is already determinate"):(x.debug("Making checkbox determinate"),x.set.determinate(),x.should.ignoreCallbacks()||(p.onDeterminate.call(y),x.trigger.change()))},enable:function(){x.is.enabled()?x.debug("Checkbox is already enabled"):(x.debug("Enabling checkbox"),x.set.enabled(),x.should.ignoreCallbacks()||p.onEnable.call(y))},disable:function(){x.is.disabled()?x.debug("Checkbox is already disabled"):(x.debug("Disabling checkbox"),x.set.disabled(),x.should.ignoreCallbacks()||p.onDisable.call(y))},get:{radios:function(){var e=x.get.name();return w('input[name="'+CSS.escape(e)+'"]').closest(k.checkbox)},otherRadios:function(){return x.get.radios().not(m)},name:function(){return v.attr("name")}},is:{initialLoad:function(){return o},radio:function(){return v.hasClass(f.radio)||"radio"===v.attr("type")},indeterminate:function(){return void 0!==v.prop("indeterminate")&&v.prop("indeterminate")},checked:function(){return void 0!==v.prop("checked")&&v.prop("checked")},disabled:function(){return void 0!==v.prop("disabled")&&v.prop("disabled")},enabled:function(){return!x.is.disabled()},determinate:function(){return!x.is.indeterminate()},unchecked:function(){return!x.is.checked()}},should:{allowCheck:function(){return x.is.determinate()&&x.is.checked()&&!x.is.initialLoad()?(x.debug("Should not allow check, checkbox is already checked"),!1):!(!x.should.ignoreCallbacks()&&!1===p.beforeChecked.call(y))||(x.debug("Should not allow check, beforeChecked cancelled"),!1)},allowUncheck:function(){return x.is.determinate()&&x.is.unchecked()&&!x.is.initialLoad()?(x.debug("Should not allow uncheck, checkbox is already unchecked"),!1):!(!x.should.ignoreCallbacks()&&!1===p.beforeUnchecked.call(y))||(x.debug("Should not allow uncheck, beforeUnchecked cancelled"),!1)},allowIndeterminate:function(){return x.is.indeterminate()&&!x.is.initialLoad()?(x.debug("Should not allow indeterminate, checkbox is already indeterminate"),!1):!(!x.should.ignoreCallbacks()&&!1===p.beforeIndeterminate.call(y))||(x.debug("Should not allow indeterminate, beforeIndeterminate cancelled"),!1)},allowDeterminate:function(){return x.is.determinate()&&!x.is.initialLoad()?(x.debug("Should not allow determinate, checkbox is already determinate"),!1):!(!x.should.ignoreCallbacks()&&!1===p.beforeDeterminate.call(y))||(x.debug("Should not allow determinate, beforeDeterminate cancelled"),!1)},ignoreCallbacks:function(){return o&&!p.fireOnInit}},can:{change:function(){return!(m.hasClass(f.disabled)||m.hasClass(f.readOnly)||v.prop("disabled")||v.prop("readonly"))},uncheck:function(){return"boolean"==typeof p.uncheckable?p.uncheckable:!x.is.radio()}},set:{initialLoad:function(){o=!0},checked:function(){x.verbose("Setting class to checked"),m.removeClass(f.indeterminate).addClass(f.checked),x.is.radio()&&x.uncheckOthers(),!x.is.indeterminate()&&x.is.checked()?x.debug("Input is already checked, skipping input property change"):(x.verbose("Setting state to checked",y),v.prop("indeterminate",!1).prop("checked",!0))},unchecked:function(){x.verbose("Removing checked class"),m.removeClass(f.indeterminate).removeClass(f.checked),!x.is.indeterminate()&&x.is.unchecked()?x.debug("Input is already unchecked"):(x.debug("Setting state to unchecked"),v.prop("indeterminate",!1).prop("checked",!1))},indeterminate:function(){x.verbose("Setting class to indeterminate"),m.addClass(f.indeterminate),x.is.indeterminate()?x.debug("Input is already indeterminate, skipping input property change"):(x.debug("Setting state to indeterminate"),v.prop("indeterminate",!0))},determinate:function(){x.verbose("Removing indeterminate class"),m.removeClass(f.indeterminate),x.is.determinate()?x.debug("Input is already determinate, skipping input property change"):(x.debug("Setting state to determinate"),v.prop("indeterminate",!1))},disabled:function(){x.verbose("Setting class to disabled"),m.addClass(f.disabled),x.is.disabled()?x.debug("Input is already disabled, skipping input property change"):(x.debug("Setting state to disabled"),v.prop("disabled","disabled"))},enabled:function(){x.verbose("Removing disabled class"),m.removeClass(f.disabled),x.is.enabled()?x.debug("Input is already enabled, skipping input property change"):(x.debug("Setting state to enabled"),v.prop("disabled",!1))},tabbable:function(){x.verbose("Adding tabindex to checkbox"),void 0===v.attr("tabindex")&&v.attr("tabindex",0)}},remove:{initialLoad:function(){o=!1}},trigger:{change:function(){const e=v[0];var n;e&&(n=new Event("change",{bubbles:!0}),x.verbose("Triggering native change event"),e.dispatchEvent(n))}},create:{label:function(){0<v.prevAll(k.label).length?(v.prev(k.label).detach().insertAfter(v),x.debug("Moving existing label",t)):x.has.label()||(t=w("<label>").insertAfter(v),x.debug("Creating label",t))}},has:{label:function(){return 0<t.length}},bind:{events:function(){x.verbose("Attaching checkbox events"),m.on("click"+i,x.event.click).on("change"+i,x.event.change).on("keydown"+i,k.input,x.event.keydown).on("keyup"+i,k.input,x.event.keyup)}},unbind:{events:function(){x.debug("Removing events"),m.off(i)}},uncheckOthers:function(){const e=x.get.otherRadios();x.debug("Unchecking other radios",e),e.removeClass(f.checked)},toggle:function(){x.can.change()?x.is.indeterminate()||x.is.unchecked()?(x.debug("Currently unchecked"),x.check()):x.is.checked()&&x.can.uncheck()&&(x.debug("Currently checked"),x.uncheck()):x.is.radio()||x.debug("Checkbox is read-only or disabled, ignoring toggle")},setting:function(e,n){if(x.debug("Changing setting",e,n),w.isPlainObject(e))w.extend(!0,p,e);else{if(void 0===n)return p[e];w.isPlainObject(p[e])?w.extend(!0,p[e],n):p[e]=n}},internal:function(e,n){if(w.isPlainObject(e))w.extend(!0,x,e);else{if(void 0===n)return x[e];x[e]=n}},debug:function(...e){!p.silent&&p.debug&&(p.performance?x.performance.log(e):(x.debug=Function.prototype.bind.call(console.info,console,p.name+":"),x.debug.apply(console,e)))},verbose:function(...e){!p.silent&&p.verbose&&p.debug&&(p.performance?x.performance.log(e):(x.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),x.verbose.apply(console,e)))},error:function(...e){p.silent||(x.error=Function.prototype.bind.call(console.error,console,p.name+":"),x.error.apply(console,e))},performance:{log:function(e){var n,t;p.performance&&(t=(n=Date.now())-(c||n),c=n,s.push({Name:e[0],Arguments:e.slice(1),Element:l,"Execution Time":t})),clearTimeout(x.performance.timer),x.performance.timer=setTimeout(function(){x.performance.display()},500)},display:function(){var e=p.name+":";let t=0;c=!1,clearTimeout(x.performance.timer),w.each(s,function(e,n){t+=n["Execution Time"]}),e+=" "+t+"ms",0<s.length&&(console.groupCollapsed(e),console.table(s),console.groupEnd()),s=[]}},invoke:function(i,e=h,n=l){let o=d,a,c,t;return"string"==typeof i&&void 0!==o&&(i=i.split(/[ .]/),a=i.length-1,w.each(i,function(e,n){var t=e!==a?n+i[e+1].charAt(0).toUpperCase()+i[e+1].slice(1):i;if(w.isPlainObject(o[t])&&e!==a)o=o[t];else{if(void 0!==o[t])return c=o[t],!1;{if(!w.isPlainObject(o[n])||e===a)return void 0!==o[n]?c=o[n]:x.error(r.method,i),!1;o=o[n]}}})),I(c)?t=c.apply(n,e):void 0!==c&&(t=c),Array.isArray(g)?g.push(t):void 0!==g?g=[g,t]:void 0!==t&&(g=t),c}};b?(void 0===d&&x.initialize(),x.invoke(u)):(void 0!==d&&d.invoke("destroy"),x.initialize())}),void 0!==g?g:this},w.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",silent:!1,debug:!1,verbose:!1,performance:!0,uncheckable:"auto",fireOnInit:!1,enableEnterKey:!0,onChange:function(){},beforeChecked:function(){},beforeUnchecked:function(){},beforeDeterminate:function(){},beforeIndeterminate:function(){},onChecked:function(){},onUnchecked:function(){},onDeterminate:function(){},onIndeterminate:function(){},onEnable:function(){},onDisable:function(){},className:{checked:"checked",indeterminate:"indeterminate",disabled:"disabled",hidden:"hidden",radio:"radio",readOnly:"read-only"},error:{method:"The method you called is not defined"},selector:{checkbox:".ui.checkbox",disabled:".disabled, :has(input[disabled])",label:"label",input:'input[type="checkbox"], input[type="radio"]',link:"a[href]"}}}(jQuery,window,document);
11
+ !function(w,e){"use strict";function S(e){return"function"==typeof e&&"number"!=typeof e.nodeType}e=void 0!==e&&e.Math===Math?e:globalThis,w.fn.checkbox=function(...e){const n=w(this);let c=Date.now(),s=[];const u=e[0],b="string"==typeof u,h=e.slice(1);let g;return n.each(function(){const k=w.extend(!0,{},w.fn.checkbox.settings,u),p=k.className;var e=k.namespace;const f=k.selector,r=k.error,t="."+e,n="module-"+e;let m=w(this),i=w(this).children(f.label),v=w(this).children(f.input),y=v[0],o=!1,C=!1,d=m.data(n),a;const l=this,x={initialize:function(){x.verbose("Initializing checkbox",k),x.create.label(),x.bind.events(),x.set.tabbable(),x.hide.input(),x.observeChanges(),x.instantiate(),x.setup()},instantiate:function(){x.verbose("Storing instance of module",x),d=x,m.data(n,x)},destroy:function(){x.verbose("Destroying module"),x.unbind.events(),x.show.input(),m.removeData(n)},fix:{reference:function(){m.is(f.input)&&(x.debug("Behavior called on <input> adjusting invoked element"),m=m.closest(f.checkbox),x.refresh())}},setup:function(){x.set.initialLoad(),x.is.indeterminate()?(x.debug("Initial value is indeterminate"),x.indeterminate()):x.is.checked()?(x.debug("Initial value is checked"),x.check()):(x.debug("Initial value is unchecked"),x.uncheck()),x.remove.initialLoad()},refresh:function(){i=m.children(f.label),v=m.children(f.input),y=v[0]},hide:{input:function(){x.verbose("Modifying <input> z-index to be unselectable"),v.addClass(p.hidden)}},show:{input:function(){x.verbose("Modifying <input> z-index to be selectable"),v.removeClass(p.hidden)}},observeChanges:function(){(a=new MutationObserver(function(e){x.debug("DOM tree modified, updating selector cache"),x.refresh()})).observe(l,{childList:!0,subtree:!0}),x.debug("Setting up mutation observer",a)},attachEvents:function(e,n){const i=w(e);n=S(x[n])?x[n]:x.toggle,0<i.length?(x.debug("Attaching checkbox events to element",e,n),i.on("click"+t,n)):x.error(r.notFound)},event:{change:function(e){x.should.ignoreCallbacks()||k.onChange.call(y)},click:function(e){const n=w(e.target);n.is(f.input)?x.verbose("Using default check action on initialized checkbox"):n.is(f.link)?x.debug("Clicking link inside checkbox, skipping toggle"):(x.toggle(),v.trigger("focus"),e.preventDefault())},keydown:function(e){var n=e.which;const i=13,t=32,o=27,a=37,c=38,r=39,d=40,l=x.get.radios().not(f.disabled);var s=l.index(m),u=l.length;let b=!1;if(n===a||n===c?b=(0===s?u:s)-1:n!==r&&n!==d||(b=s===u-1?0:s+1),!x.should.ignoreCallbacks()&&!1!==b){if(!1===k.beforeUnchecked.call(y))return x.verbose("Option not allowed to be unchecked, cancelling key navigation"),!1;const h=w(l[b]),g=h.children(f.input);if(h.hasClass(p.readOnly)||g.prop("readonly")||!1===k.beforeChecked.call(g[0]))return x.verbose("Next option should not allow check, cancelling key navigation"),!1}C=!1,n===o?(x.verbose("Escape key pressed blurring field"),v.trigger("blur"),C=!0,e.stopPropagation()):x.can.change()?e.ctrlKey||(n===t||n===i&&k.enableEnterKey?(x.verbose("Enter/space key pressed, toggling checkbox"),x.toggle(),C=!0):m.is(".toggle, .slider")&&!x.is.radio()&&(n===a&&x.is.checked()?(x.uncheck(),C=!0):n===r&&x.is.unchecked()&&(x.check(),C=!0))):C=!0},keyup:function(e){C&&e.preventDefault()}},check:function(){x.should.allowCheck()&&(x.debug("Checking checkbox",v),x.set.checked(),x.should.ignoreCallbacks()||(k.onChecked.call(y),x.trigger.change()))},uncheck:function(){x.should.allowUncheck()&&(x.debug("Unchecking checkbox"),x.set.unchecked(),x.should.ignoreCallbacks()||(k.onUnchecked.call(y),x.trigger.change()))},indeterminate:function(){x.should.allowIndeterminate()?x.debug("Checkbox is already indeterminate"):(x.debug("Making checkbox indeterminate"),x.set.indeterminate(),x.should.ignoreCallbacks()||(k.onIndeterminate.call(y),x.trigger.change()))},determinate:function(){x.should.allowDeterminate()?x.debug("Checkbox is already determinate"):(x.debug("Making checkbox determinate"),x.set.determinate(),x.should.ignoreCallbacks()||(k.onDeterminate.call(y),x.trigger.change()))},enable:function(){x.is.enabled()?x.debug("Checkbox is already enabled"):(x.debug("Enabling checkbox"),x.set.enabled(),x.should.ignoreCallbacks()||k.onEnable.call(y))},disable:function(){x.is.disabled()?x.debug("Checkbox is already disabled"):(x.debug("Disabling checkbox"),x.set.disabled(),x.should.ignoreCallbacks()||k.onDisable.call(y))},get:{radios:function(){var e=x.get.name();return w('input[name="'+CSS.escape(e)+'"]').closest(f.checkbox)},otherRadios:function(){return x.get.radios().not(m)},name:function(){return v.attr("name")}},is:{initialLoad:function(){return o},radio:function(){return v.hasClass(p.radio)||"radio"===v.attr("type")},indeterminate:function(){return void 0!==v.prop("indeterminate")&&v.prop("indeterminate")},checked:function(){return void 0!==v.prop("checked")&&v.prop("checked")},disabled:function(){return void 0!==v.prop("disabled")&&v.prop("disabled")},enabled:function(){return!x.is.disabled()},determinate:function(){return!x.is.indeterminate()},unchecked:function(){return!x.is.checked()}},should:{allowCheck:function(){return x.is.determinate()&&x.is.checked()&&!x.is.initialLoad()?(x.debug("Should not allow check, checkbox is already checked"),!1):!(!x.should.ignoreCallbacks()&&!1===k.beforeChecked.call(y))||(x.debug("Should not allow check, beforeChecked cancelled"),!1)},allowUncheck:function(){return x.is.determinate()&&x.is.unchecked()&&!x.is.initialLoad()?(x.debug("Should not allow uncheck, checkbox is already unchecked"),!1):!(!x.should.ignoreCallbacks()&&!1===k.beforeUnchecked.call(y))||(x.debug("Should not allow uncheck, beforeUnchecked cancelled"),!1)},allowIndeterminate:function(){return x.is.indeterminate()&&!x.is.initialLoad()?(x.debug("Should not allow indeterminate, checkbox is already indeterminate"),!1):!(!x.should.ignoreCallbacks()&&!1===k.beforeIndeterminate.call(y))||(x.debug("Should not allow indeterminate, beforeIndeterminate cancelled"),!1)},allowDeterminate:function(){return x.is.determinate()&&!x.is.initialLoad()?(x.debug("Should not allow determinate, checkbox is already determinate"),!1):!(!x.should.ignoreCallbacks()&&!1===k.beforeDeterminate.call(y))||(x.debug("Should not allow determinate, beforeDeterminate cancelled"),!1)},ignoreCallbacks:function(){return o&&!k.fireOnInit}},can:{change:function(){return!(m.hasClass(p.disabled)||m.hasClass(p.readOnly)||v.prop("disabled")||v.prop("readonly"))},uncheck:function(){return"boolean"==typeof k.uncheckable?k.uncheckable:!x.is.radio()}},set:{initialLoad:function(){o=!0},checked:function(){x.verbose("Setting class to checked"),m.removeClass(p.indeterminate).addClass(p.checked),x.is.radio()&&x.uncheckOthers(),!x.is.indeterminate()&&x.is.checked()?x.debug("Input is already checked, skipping input property change"):(x.verbose("Setting state to checked",y),v.prop("indeterminate",!1).prop("checked",!0))},unchecked:function(){x.verbose("Removing checked class"),m.removeClass(p.indeterminate).removeClass(p.checked),!x.is.indeterminate()&&x.is.unchecked()?x.debug("Input is already unchecked"):(x.debug("Setting state to unchecked"),v.prop("indeterminate",!1).prop("checked",!1))},indeterminate:function(){x.verbose("Setting class to indeterminate"),m.addClass(p.indeterminate),x.is.indeterminate()?x.debug("Input is already indeterminate, skipping input property change"):(x.debug("Setting state to indeterminate"),v.prop("indeterminate",!0))},determinate:function(){x.verbose("Removing indeterminate class"),m.removeClass(p.indeterminate),x.is.determinate()?x.debug("Input is already determinate, skipping input property change"):(x.debug("Setting state to determinate"),v.prop("indeterminate",!1))},disabled:function(){x.verbose("Setting class to disabled"),m.addClass(p.disabled),x.is.disabled()?x.debug("Input is already disabled, skipping input property change"):(x.debug("Setting state to disabled"),v.prop("disabled","disabled"))},enabled:function(){x.verbose("Removing disabled class"),m.removeClass(p.disabled),x.is.enabled()?x.debug("Input is already enabled, skipping input property change"):(x.debug("Setting state to enabled"),v.prop("disabled",!1))},tabbable:function(){x.verbose("Adding tabindex to checkbox"),void 0===v.attr("tabindex")&&v.attr("tabindex",0)}},remove:{initialLoad:function(){o=!1}},trigger:{change:function(){const e=v[0];var n;e&&(n=new Event("change",{bubbles:!0}),x.verbose("Triggering native change event"),e.dispatchEvent(n))}},create:{label:function(){0<v.prevAll(f.label).length?(v.prev(f.label).detach().insertAfter(v),x.debug("Moving existing label",i)):x.has.label()||(i=w("<label>").insertAfter(v),x.debug("Creating label",i))}},has:{label:function(){return 0<i.length}},bind:{events:function(){x.verbose("Attaching checkbox events"),m.on("click"+t,x.event.click).on("change"+t,x.event.change).on("keydown"+t,f.input,x.event.keydown).on("keyup"+t,f.input,x.event.keyup)}},unbind:{events:function(){x.debug("Removing events"),m.off(t)}},uncheckOthers:function(){const e=x.get.otherRadios();x.debug("Unchecking other radios",e),e.removeClass(p.checked)},toggle:function(){x.can.change()?x.is.indeterminate()||x.is.unchecked()?(x.debug("Currently unchecked"),x.check()):x.is.checked()&&x.can.uncheck()&&(x.debug("Currently checked"),x.uncheck()):x.is.radio()||x.debug("Checkbox is read-only or disabled, ignoring toggle")},setting:function(e,n){if(x.debug("Changing setting",e,n),w.isPlainObject(e))w.extend(!0,k,e);else{if(void 0===n)return k[e];w.isPlainObject(k[e])?w.extend(!0,k[e],n):k[e]=n}},internal:function(e,n){if(w.isPlainObject(e))w.extend(!0,x,e);else{if(void 0===n)return x[e];x[e]=n}},debug:function(...e){!k.silent&&k.debug&&(k.performance?x.performance.log(e):(x.debug=Function.prototype.bind.call(console.info,console,k.name+":"),x.debug.apply(console,e)))},verbose:function(...e){!k.silent&&k.verbose&&k.debug&&(k.performance?x.performance.log(e):(x.verbose=Function.prototype.bind.call(console.info,console,k.name+":"),x.verbose.apply(console,e)))},error:function(...e){k.silent||(x.error=Function.prototype.bind.call(console.error,console,k.name+":"),x.error.apply(console,e))},performance:{log:function(e){var n,i;k.performance&&(i=(n=Date.now())-(c||n),c=n,s.push({Name:e[0],Arguments:e.slice(1),Element:l,"Execution Time":i})),clearTimeout(x.performance.timer),x.performance.timer=setTimeout(function(){x.performance.display()},500)},display:function(){var e=k.name+":";let i=0;c=!1,clearTimeout(x.performance.timer),w.each(s,function(e,n){i+=n["Execution Time"]}),e+=" "+i+"ms",0<s.length&&(console.groupCollapsed(e),console.table(s),console.groupEnd()),s=[]}},invoke:function(t,e=h,n=l){let o=d,a,c,i;return"string"==typeof t&&void 0!==o&&(t=t.split(/[ .]/),a=t.length-1,w.each(t,function(e,n){var i=e!==a?n+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(w.isPlainObject(o[i])&&e!==a)o=o[i];else{if(void 0!==o[i])return c=o[i],!1;{if(!w.isPlainObject(o[n])||e===a)return void 0!==o[n]?c=o[n]:x.error(r.method,t),!1;o=o[n]}}})),S(c)?i=c.apply(n,e):void 0!==c&&(i=c),Array.isArray(g)?g.push(i):void 0!==g?g=[g,i]:void 0!==i&&(g=i),c}};b?(void 0===d&&x.initialize(),x.invoke(u)):(void 0!==d&&d.invoke("destroy"),x.initialize())}),void 0!==g?g:this},w.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",silent:!1,debug:!1,verbose:!1,performance:!0,uncheckable:"auto",fireOnInit:!1,enableEnterKey:!0,onChange:function(){},beforeChecked:function(){},beforeUnchecked:function(){},beforeDeterminate:function(){},beforeIndeterminate:function(){},onChecked:function(){},onUnchecked:function(){},onDeterminate:function(){},onIndeterminate:function(){},onEnable:function(){},onDisable:function(){},className:{checked:"checked",indeterminate:"indeterminate",disabled:"disabled",hidden:"hidden",radio:"radio",readOnly:"read-only"},error:{method:"The method you called is not defined"},selector:{checkbox:".ui.checkbox",disabled:".disabled, :has(input[disabled])",label:"label",input:'input[type="checkbox"], input[type="radio"]',link:"a[href]"}}}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Comment
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Comment
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Comment
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Comment
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Container
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Container
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Container
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Container
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Dimmer
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Dimmer
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Dimmer
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Dimmer
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Dimmer
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Dimmer
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.65+923b474
2
+ * # Fomantic UI - 2.10.0-beta.67+16dc403
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Divider
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Divider
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Divider
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Divider
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Dropdown
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Dropdown
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -399,8 +399,7 @@ select.ui.dropdown {
399
399
 
400
400
  /* Selection Menu */
401
401
  .ui.selection.dropdown:not(.unlimited) .menu {
402
- overflow-x: hidden;
403
- overflow-y: auto;
402
+ overflow: hidden auto;
404
403
  overscroll-behavior: none;
405
404
  backface-visibility: hidden;
406
405
  }
@@ -723,8 +722,7 @@ select.ui.dropdown {
723
722
 
724
723
  /* Search Menu */
725
724
  .ui.search.dropdown:not(.unlimited) .menu {
726
- overflow-x: hidden;
727
- overflow-y: auto;
725
+ overflow: hidden auto;
728
726
  overscroll-behavior: none;
729
727
  backface-visibility: hidden;
730
728
  }
@@ -1337,8 +1335,7 @@ select.ui.dropdown {
1337
1335
  /* Selection Menu */
1338
1336
  .ui.scrolling.dropdown .menu,
1339
1337
  .ui.dropdown .scrolling.menu {
1340
- overflow-x: hidden;
1341
- overflow-y: auto;
1338
+ overflow: hidden auto;
1342
1339
  overscroll-behavior: none;
1343
1340
  backface-visibility: hidden;
1344
1341
  min-width: 100% !important;
@@ -1531,8 +1528,7 @@ select.ui.dropdown {
1531
1528
  /* Scrolling */
1532
1529
  .ui.simple.scrolling.active.dropdown > .menu,
1533
1530
  .ui.simple.scrolling.dropdown:hover > .menu {
1534
- overflow-x: hidden;
1535
- overflow-y: auto;
1531
+ overflow: hidden auto;
1536
1532
  overscroll-behavior: none;
1537
1533
  }
1538
1534
 
@@ -1606,17 +1602,11 @@ select.ui.dropdown {
1606
1602
 
1607
1603
  /* Top Left Pointing */
1608
1604
  .ui.top.left.pointing.dropdown > .menu {
1609
- top: 100%;
1610
- bottom: auto;
1611
- left: 0;
1612
- right: auto;
1605
+ inset: 100% auto auto 0;
1613
1606
  margin: 1em 0 0;
1614
1607
  }
1615
1608
  .ui.top.left.pointing.dropdown > .menu {
1616
- top: 100%;
1617
- bottom: auto;
1618
- left: 0;
1619
- right: auto;
1609
+ inset: 100% auto auto 0;
1620
1610
  margin: 1em 0 0;
1621
1611
  }
1622
1612
  .ui.top.left.pointing.dropdown > .menu::after {
@@ -1629,10 +1619,7 @@ select.ui.dropdown {
1629
1619
 
1630
1620
  /* Top Right Pointing */
1631
1621
  .ui.top.right.pointing.dropdown > .menu {
1632
- top: 100%;
1633
- bottom: auto;
1634
- right: 0;
1635
- left: auto;
1622
+ inset: 100% 0 auto auto;
1636
1623
  margin: 1em 0 0;
1637
1624
  }
1638
1625
  .ui.top.pointing.dropdown > .left.menu::after,
@@ -1687,10 +1674,7 @@ select.ui.dropdown {
1687
1674
 
1688
1675
  /* Bottom Pointing */
1689
1676
  .ui.bottom.pointing.dropdown > .menu {
1690
- top: auto;
1691
- bottom: 100%;
1692
- left: 0;
1693
- right: auto;
1677
+ inset: auto auto 100% 0;
1694
1678
  margin: 0 0 1em;
1695
1679
  }
1696
1680
  .ui.bottom.pointing.dropdown > .menu::after {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.65+923b474 - Dropdown
2
+ * # Fomantic-UI 2.10.0-beta.67+16dc403 - Dropdown
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *