fomantic-ui 2.10.0-beta.2 → 2.10.0-beta.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 (264) hide show
  1. package/.all-contributorsrc +9 -0
  2. package/CONTRIBUTING.md +4 -1
  3. package/CONTRIBUTORS.md +1 -0
  4. package/FAQ.md +7 -2
  5. package/README.md +1 -4
  6. package/ROADMAP.md +4 -4
  7. package/SECURITY.md +8 -7
  8. package/dist/components/accordion.css +1 -1
  9. package/dist/components/accordion.js +1 -1
  10. package/dist/components/accordion.min.css +1 -1
  11. package/dist/components/accordion.min.js +1 -1
  12. package/dist/components/ad.css +1 -1
  13. package/dist/components/ad.min.css +1 -1
  14. package/dist/components/api.js +6 -6
  15. package/dist/components/api.min.js +1 -1
  16. package/dist/components/breadcrumb.css +1 -1
  17. package/dist/components/breadcrumb.min.css +1 -1
  18. package/dist/components/button.css +1 -2
  19. package/dist/components/button.min.css +2 -2
  20. package/dist/components/calendar.css +1 -2
  21. package/dist/components/calendar.js +7 -7
  22. package/dist/components/calendar.min.css +2 -2
  23. package/dist/components/calendar.min.js +2 -2
  24. package/dist/components/card.css +1 -1
  25. package/dist/components/card.min.css +1 -1
  26. package/dist/components/checkbox.css +1 -2
  27. package/dist/components/checkbox.js +1 -9
  28. package/dist/components/checkbox.min.css +2 -2
  29. package/dist/components/checkbox.min.js +2 -2
  30. package/dist/components/comment.css +1 -1
  31. package/dist/components/comment.min.css +1 -1
  32. package/dist/components/container.css +2 -4
  33. package/dist/components/container.min.css +2 -2
  34. package/dist/components/dimmer.css +1 -11
  35. package/dist/components/dimmer.js +4 -4
  36. package/dist/components/dimmer.min.css +2 -2
  37. package/dist/components/dimmer.min.js +1 -1
  38. package/dist/components/divider.css +1 -2
  39. package/dist/components/divider.min.css +2 -2
  40. package/dist/components/dropdown.css +24 -47
  41. package/dist/components/dropdown.js +30 -34
  42. package/dist/components/dropdown.min.css +2 -2
  43. package/dist/components/dropdown.min.js +2 -2
  44. package/dist/components/embed.css +1 -1
  45. package/dist/components/embed.js +2 -2
  46. package/dist/components/embed.min.css +1 -1
  47. package/dist/components/embed.min.js +1 -1
  48. package/dist/components/emoji.css +1 -1
  49. package/dist/components/emoji.min.css +1 -1
  50. package/dist/components/feed.css +1 -1
  51. package/dist/components/feed.min.css +1 -1
  52. package/dist/components/flag.css +1 -1
  53. package/dist/components/flag.min.css +1 -1
  54. package/dist/components/flyout.css +2 -3
  55. package/dist/components/flyout.js +5 -45
  56. package/dist/components/flyout.min.css +2 -2
  57. package/dist/components/flyout.min.js +2 -2
  58. package/dist/components/form.css +5 -95
  59. package/dist/components/form.js +11 -16
  60. package/dist/components/form.min.css +2 -2
  61. package/dist/components/form.min.js +2 -2
  62. package/dist/components/grid.css +2 -58
  63. package/dist/components/grid.min.css +2 -2
  64. package/dist/components/header.css +1 -1
  65. package/dist/components/header.min.css +1 -1
  66. package/dist/components/icon.css +4 -4
  67. package/dist/components/icon.min.css +2 -2
  68. package/dist/components/image.css +1 -1
  69. package/dist/components/image.min.css +1 -1
  70. package/dist/components/input.css +1 -536
  71. package/dist/components/input.min.css +2 -2
  72. package/dist/components/item.css +1 -1
  73. package/dist/components/item.min.css +1 -1
  74. package/dist/components/label.css +1 -1
  75. package/dist/components/label.min.css +1 -1
  76. package/dist/components/list.css +1 -3
  77. package/dist/components/list.min.css +2 -2
  78. package/dist/components/loader.css +1 -1
  79. package/dist/components/loader.min.css +1 -1
  80. package/dist/components/menu.css +1 -9
  81. package/dist/components/menu.min.css +2 -2
  82. package/dist/components/message.css +1 -1
  83. package/dist/components/message.min.css +1 -1
  84. package/dist/components/modal.css +5 -9
  85. package/dist/components/modal.js +6 -30
  86. package/dist/components/modal.min.css +2 -2
  87. package/dist/components/modal.min.js +2 -2
  88. package/dist/components/nag.css +1 -1
  89. package/dist/components/nag.js +2 -2
  90. package/dist/components/nag.min.css +1 -1
  91. package/dist/components/nag.min.js +1 -1
  92. package/dist/components/placeholder.css +1 -1
  93. package/dist/components/placeholder.min.css +1 -1
  94. package/dist/components/popup.css +1 -2
  95. package/dist/components/popup.js +8 -8
  96. package/dist/components/popup.min.css +2 -2
  97. package/dist/components/popup.min.js +1 -1
  98. package/dist/components/progress.css +1 -1
  99. package/dist/components/progress.js +7 -7
  100. package/dist/components/progress.min.css +1 -1
  101. package/dist/components/progress.min.js +1 -1
  102. package/dist/components/rail.css +1 -1
  103. package/dist/components/rail.min.css +1 -1
  104. package/dist/components/rating.css +1 -1
  105. package/dist/components/rating.js +1 -1
  106. package/dist/components/rating.min.css +1 -1
  107. package/dist/components/rating.min.js +1 -1
  108. package/dist/components/reset.css +1 -1
  109. package/dist/components/reset.min.css +1 -1
  110. package/dist/components/reveal.css +1 -1
  111. package/dist/components/reveal.min.css +1 -1
  112. package/dist/components/search.css +2 -9
  113. package/dist/components/search.js +8 -8
  114. package/dist/components/search.min.css +2 -2
  115. package/dist/components/search.min.js +2 -2
  116. package/dist/components/segment.css +2 -7
  117. package/dist/components/segment.min.css +2 -2
  118. package/dist/components/shape.css +1 -2
  119. package/dist/components/shape.js +2 -2
  120. package/dist/components/shape.min.css +2 -2
  121. package/dist/components/shape.min.js +1 -1
  122. package/dist/components/sidebar.css +2 -3
  123. package/dist/components/sidebar.js +3 -44
  124. package/dist/components/sidebar.min.css +2 -2
  125. package/dist/components/sidebar.min.js +2 -2
  126. package/dist/components/site.css +9 -25
  127. package/dist/components/site.js +1 -1
  128. package/dist/components/site.min.css +2 -2
  129. package/dist/components/site.min.js +1 -1
  130. package/dist/components/slider.css +1 -1
  131. package/dist/components/slider.js +5 -5
  132. package/dist/components/slider.min.css +1 -1
  133. package/dist/components/slider.min.js +2 -2
  134. package/dist/components/state.js +3 -3
  135. package/dist/components/state.min.js +1 -1
  136. package/dist/components/statistic.css +1 -1
  137. package/dist/components/statistic.min.css +1 -1
  138. package/dist/components/step.css +1 -1
  139. package/dist/components/step.min.css +1 -1
  140. package/dist/components/sticky.css +1 -1
  141. package/dist/components/sticky.js +5 -5
  142. package/dist/components/sticky.min.css +1 -1
  143. package/dist/components/sticky.min.js +1 -1
  144. package/dist/components/tab.css +1 -1
  145. package/dist/components/tab.js +10 -10
  146. package/dist/components/tab.min.css +1 -1
  147. package/dist/components/tab.min.js +1 -1
  148. package/dist/components/table.css +3 -37
  149. package/dist/components/table.min.css +2 -2
  150. package/dist/components/text.css +1 -1
  151. package/dist/components/text.min.css +1 -1
  152. package/dist/components/toast.css +1 -3
  153. package/dist/components/toast.js +5 -5
  154. package/dist/components/toast.min.css +1 -1
  155. package/dist/components/toast.min.js +2 -2
  156. package/dist/components/transition.css +1 -1
  157. package/dist/components/transition.js +6 -6
  158. package/dist/components/transition.min.css +1 -1
  159. package/dist/components/transition.min.js +1 -1
  160. package/dist/components/visibility.js +2 -2
  161. package/dist/components/visibility.min.js +1 -1
  162. package/dist/semantic.css +92 -1100
  163. package/dist/semantic.js +142 -264
  164. package/dist/semantic.min.css +2 -2
  165. package/dist/semantic.min.js +2 -2
  166. package/package.json +3 -4
  167. package/src/README.md +3 -3
  168. package/src/definitions/behaviors/api.js +5 -5
  169. package/src/definitions/behaviors/form.js +10 -15
  170. package/src/definitions/behaviors/state.js +2 -2
  171. package/src/definitions/behaviors/visibility.js +1 -1
  172. package/src/definitions/collections/form.less +1 -13
  173. package/src/definitions/collections/grid.less +1 -61
  174. package/src/definitions/collections/menu.less +0 -11
  175. package/src/definitions/collections/table.less +1 -35
  176. package/src/definitions/elements/input.less +1 -61
  177. package/src/definitions/elements/segment.less +0 -6
  178. package/src/definitions/globals/site.less +2 -18
  179. package/src/definitions/modules/calendar.js +6 -6
  180. package/src/definitions/modules/checkbox.js +0 -8
  181. package/src/definitions/modules/dimmer.js +3 -3
  182. package/src/definitions/modules/dimmer.less +0 -9
  183. package/src/definitions/modules/dropdown.js +29 -33
  184. package/src/definitions/modules/dropdown.less +20 -42
  185. package/src/definitions/modules/embed.js +1 -1
  186. package/src/definitions/modules/flyout.js +4 -44
  187. package/src/definitions/modules/modal.js +5 -29
  188. package/src/definitions/modules/modal.less +1 -1
  189. package/src/definitions/modules/nag.js +1 -1
  190. package/src/definitions/modules/popup.js +7 -7
  191. package/src/definitions/modules/progress.js +6 -6
  192. package/src/definitions/modules/search.js +7 -7
  193. package/src/definitions/modules/search.less +0 -3
  194. package/src/definitions/modules/shape.js +1 -1
  195. package/src/definitions/modules/sidebar.js +2 -43
  196. package/src/definitions/modules/slider.js +4 -4
  197. package/src/definitions/modules/slider.less +1 -1
  198. package/src/definitions/modules/sticky.js +4 -4
  199. package/src/definitions/modules/tab.js +9 -9
  200. package/src/definitions/modules/toast.js +4 -4
  201. package/src/definitions/modules/toast.less +1 -1
  202. package/src/definitions/modules/transition.js +5 -5
  203. package/src/theme.less +0 -13
  204. package/src/themes/basic/elements/icon.variables +1 -1
  205. package/src/themes/default/collections/grid.variables +0 -30
  206. package/src/themes/default/collections/table.variables +1 -5
  207. package/src/themes/default/elements/icon.variables +3 -3
  208. package/src/themes/default/globals/site.variables +8 -15
  209. package/src/themes/default/globals/variation.variables +0 -1
  210. package/src/themes/default/modules/slider.variables +1 -1
  211. package/src/themes/github/elements/icon.variables +1 -1
  212. package/src/themes/material/elements/icon.variables +1 -1
  213. package/tasks/README.md +1 -1
  214. package/tasks/admin/components/create.js +1 -14
  215. package/tasks/admin/components/init.js +12 -37
  216. package/tasks/admin/components/update.js +7 -11
  217. package/tasks/admin/distributions/create.js +1 -11
  218. package/tasks/admin/distributions/init.js +10 -35
  219. package/tasks/admin/distributions/update.js +7 -8
  220. package/tasks/admin/publish.js +1 -1
  221. package/tasks/admin/register.js +3 -4
  222. package/tasks/admin/release.js +2 -2
  223. package/tasks/build/css.js +5 -5
  224. package/tasks/build/javascript.js +3 -3
  225. package/tasks/check-install.js +0 -1
  226. package/tasks/clean.js +5 -5
  227. package/tasks/collections/admin.js +1 -1
  228. package/tasks/collections/docs.js +2 -2
  229. package/tasks/config/admin/github.js +2 -10
  230. package/tasks/config/admin/templates/README.md +2 -2
  231. package/tasks/config/admin/templates/bower.json +2 -4
  232. package/tasks/config/admin/templates/composer.json +1 -1
  233. package/tasks/config/admin/templates/css-package.js +0 -1
  234. package/tasks/config/project/config.js +6 -6
  235. package/tasks/config/project/install.js +3 -4
  236. package/tasks/config/project/release.js +1 -1
  237. package/tasks/config/tasks.js +2 -9
  238. package/tasks/config/user.js +2 -4
  239. package/tasks/docs/metadata.js +8 -11
  240. package/tasks/docs/serve.js +3 -1
  241. package/tasks/install.js +14 -20
  242. package/tasks/rtl/watch.js +1 -1
  243. package/tasks/watch.js +4 -2
  244. package/types/fomantic-ui-calendar.d.ts +1 -1
  245. package/types/fomantic-ui-dropdown.d.ts +1 -1
  246. package/types/fomantic-ui-flyout.d.ts +1 -1
  247. package/types/fomantic-ui-form.d.ts +0 -7
  248. package/types/fomantic-ui-modal.d.ts +1 -1
  249. package/types/fomantic-ui-search.d.ts +6 -0
  250. package/types/fomantic-ui-toast.d.ts +1 -1
  251. package/src/themes/basic/assets/fonts/icons.woff +0 -0
  252. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  253. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  254. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  255. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  256. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  257. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  258. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  259. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  260. package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
  261. package/src/themes/default/assets/fonts/icons.woff +0 -0
  262. package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
  263. package/src/themes/github/assets/fonts/octicons.woff +0 -0
  264. package/src/themes/material/assets/fonts/icons.woff +0 -0
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.2+d30ebd7
2
+ * # Fomantic UI - 2.10.0-beta.4+fcf090f
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(Q,W,U){"use strict";function X(e){return"function"==typeof e&&"number"!=typeof e.nodeType}W=void 0!==W&&W.Math===Math?W:globalThis,Q.fn.flyout=function(O){var D,e=Q(this),N=Q(W),L=Q(U),B=(Q("html"),Q("head")),z=Q("body"),I=Date.now(),j=[],R=O,q="string"==typeof R,K=[].slice.call(arguments,1),V=function(e,t){var n;return 0<=[W,U].indexOf(e)?n=z:0===(n=Q(t.document).find(e)).length&&(n=t.frameElement?V(e,t.parent):z),n};return e.each(function(){var n,e,o,s,t,i,r,l=Q.isPlainObject(O)?Q.extend(!0,{},Q.fn.flyout.settings,O):Q.extend({},Q.fn.flyout.settings),c=l.selector,a=l.className,u=l.namespace,d=l.fields,f=l.regExp,h=l.error,g="."+u,p="module-"+u,v=Q(this),b=V(l.context,W),m=v.find(c.close),y=v.children(c.flyout),k=b.children(c.pusher),x=v.hasClass("flyout"),S=this,A=x?v.data(p):void 0,C=!1,w=b[0]===z[0],T="",F="",E=!1,H=!1,M=!1,P={initialize:function(){var s;P.debug("Initializing flyout",O),P.create.id(),x||(P.create.flyout(),X(l.onHidden)||(l.onHidden=function(){P.destroy(),v.remove()}),l.autoShow||(l.autoShow=!0)),v.addClass(l.class),""!==l.title&&v.find(c.header).html(P.helpers.escape(l.title,l.preserveHTML)).addClass(l.classTitle),""!==l.content&&v.find(c.content).html(P.helpers.escape(l.content,l.preserveHTML)).addClass(l.classContent),P.has.configActions()&&(0===(s=v.find(c.actions).addClass(l.classActions)).length?s=Q("<div/>",{class:a.actions+" "+(l.classActions||"")}).appendTo(v):s.empty(),l.actions.forEach(function(e){var t=e[d.icon]?"<i "+(e[d.text]?'aria-hidden="true"':"")+' class="'+P.helpers.deQuote(e[d.icon])+' icon"></i>':"",n=P.helpers.escape(e[d.text]||"",l.preserveHTML),i=P.helpers.deQuote(e[d.class]||""),o=e[d.click]&&X(e[d.click])?e[d.click]:function(){};s.append(Q("<button/>",{html:t+n,"aria-label":(e[d.text]||e[d.icon]||"").replace(/<[^>]+(>|$)/g,""),class:a.button+" "+i,on:{click:function(){!1!==o.call(S,v)&&P.hide()}}}))})),l.delaySetup?requestAnimationFrame(P.setup.layout):P.setup.layout(),requestAnimationFrame(function(){P.setup.cache()}),"left"!==P.get.direction()&&"right"!==P.get.direction()||(P.setup.heights(),P.bind.resize()),P.bind.events(),P.observeChanges(),P.instantiate(),l.autoShow&&P.show()},instantiate:function(){P.verbose("Storing instance of module",P),A=P,v.data(p,A)},create:{flyout:function(){var e;P.verbose("Programmaticaly create flyout",b),v=Q("<div/>",{class:a.flyout,role:"dialog","aria-modal":l.dimPage}),l.closeIcon&&(m=Q("<i/>",{class:a.close,role:"button",tabindex:0,"aria-label":l.text.close}),v.append(m)),""!==l.title&&(e="_"+P.get.id()+"title",v.attr("aria-labelledby",e),Q("<div/>",{class:a.header,id:e}).appendTo(v)),""!==l.content&&(e="_"+P.get.id()+"desc",v.attr("aria-describedby",e),Q("<div/>",{class:a.content,id:e}).appendTo(v)),P.has.configActions()&&Q("<div/>",{class:a.actions}).appendTo(v),v.prependTo(b),S=v[0]},id:function(){t=(Math.random().toString(16)+"000000000").slice(2,10),s="."+t,P.verbose("Creating unique id for element",t)}},destroy:function(){i&&i.disconnect(),P.verbose("Destroying previous module for",v),v.off(g).removeData(p),m.off(s),n&&n.off(s),b.off(s),N.off(s),L.off(s)},event:{keyboard:function(e){e.which===l.keys.escape&&(l.closable?(P.debug("Escape key pressed hiding flyout"),P.hide()):P.debug("Escape key pressed, but closable is set to false"),e.preventDefault())},resize:function(){P.setup.heights()},focus:function(){H=!0},click:function(e){H&&U.activeElement!==e.target&&P.is.visible()&&l.autofocus&&l.dimPage&&0===Q(U.activeElement).closest(c.flyout).length&&requestAnimationFrame(P.set.autofocus),H=!1},clickaway:function(e){var t;l.closable&&(t=0<k.find(e.target).length||k.is(e.target),e=b.is(e.target),t&&(P.verbose("User clicked on dimmed page"),P.hide()),e&&(P.verbose("User clicked on dimmable context (scaled out page)"),P.hide()))},close:function(e){P.hide()},closeKeyUp:function(e){e=e.which;e!==l.keys.enter&&e!==l.keys.space||P.hide()},inputKeyDown:{first:function(e){e.which===l.keys.tab&&e.shiftKey&&(n.last().trigger("focus"),e.preventDefault())},last:function(e){e.which!==l.keys.tab||e.shiftKey||(n.first().trigger("focus"),e.preventDefault())}},approve:function(e){C||!1===l.onApprove.call(P.element,Q(this))?P.verbose("Approve callback returned false cancelling close"):(C=!0,P.hide(function(){C=!1}))},deny:function(e){C||!1===l.onDeny.call(P.element,Q(this))?P.verbose("Deny callback returned false cancelling close"):(C=!0,P.hide(function(){C=!1}))},touch:function(e){},containScroll:function(e){S.scrollTop<=0&&(S.scrollTop=1),S.scrollTop+S.offsetHeight>=S.scrollHeight&&(S.scrollTop=S.scrollHeight-S.offsetHeight-1)},scroll:function(e){0===Q(e.target).closest(c.flyout).length&&e.preventDefault()}},bind:{resize:function(){P.verbose("Adding resize event to window",N),N.on("resize"+s,P.event.resize)},events:function(){P.verbose("Attaching events"),v.on("click"+g,c.close,P.event.close).on("click"+g,c.approve,P.event.approve).on("click"+g,c.deny,P.event.deny),m.on("keyup"+s,P.event.closeKeyUp),N.on("focus"+s,P.event.focus),b.on("click"+s,P.event.click)},clickaway:function(){P.verbose("Adding clickaway events to context",b),b.on("click"+s,P.event.clickaway).on("touchend"+s,P.event.clickaway)},scrollLock:function(){l.scrollLock&&(P.debug("Disabling page scroll"),(E=P.has.scrollbar())&&(P.save.bodyMargin(),P.set.bodyMargin()),b.addClass(a.locked)),P.verbose("Adding events to contain flyout scroll"),L.on("touchmove"+s,P.event.touch),v.on("scroll"+g,P.event.containScroll)}},unbind:{clickaway:function(){P.verbose("Removing clickaway events from context",b),b.off(s)},scrollLock:function(){P.verbose("Removing scroll lock from page"),E&&P.restore.bodyMargin(),b.removeClass(a.locked),L.off(s),v.off("scroll"+g)}},add:{inlineCSS:function(){var e=P.cache.width||v.outerWidth(),t=P.cache.height||v.outerHeight(),n=P.is.rtl(),i=P.get.direction(),t={left:e,right:-e,top:t,bottom:-t};n&&(P.verbose("RTL detected, flipping widths"),t.left=-e,t.right=e),n="<style>","left"===i||"right"===i?(P.debug("Adding CSS rules for animation distance",e),n+=" .ui.visible."+i+".flyout ~ .fixed, .ui.visible."+i+".flyout ~ .pusher { transform: translate3d("+t[i]+"px, 0, 0); }"):"top"!==i&&"bottom"!==i||(n+=" .ui.visible."+i+".flyout ~ .fixed, .ui.visible."+i+".flyout ~ .pusher { transform: translate3d(0, "+t[i]+"px, 0); }"),P.is.ie()&&("left"===i||"right"===i?(P.debug("Adding CSS rules for animation distance",e),n+=" body.pushable > .ui.visible."+i+".flyout ~ .pusher::after { transform: translate3d("+t[i]+"px, 0, 0); }"):"top"!==i&&"bottom"!==i||(n+=" body.pushable > .ui.visible."+i+".flyout ~ .pusher::after { transform: translate3d(0, "+t[i]+"px, 0); }"),n+=" body.pushable > .ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .pusher::after, body.pushable > .ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .pusher::after { transform: translate3d(0, 0, 0); }"),o=Q(n+="</style>").appendTo(B),P.debug("Adding sizing css to head",o)},keyboardShortcuts:function(){P.verbose("Adding keyboard shortcuts"),L.on("keydown"+g,P.event.keyboard)}},observeChanges:function(){"MutationObserver"in W&&((i=new MutationObserver(function(e){function o(e){for(var t=[],n=0,i=e.length;n<i;n++)Array.prototype.push.apply(t,o(e[n].childNodes)),t.push(e[n]);return t}var n=!1,i=!0;e.every(function(e){var t;return"attributes"===e.type?M&&("disabled"===e.attributeName||0<Q(e.target).find(":input").addBack(":input").filter(":visible").length)&&(n=!0):(t=Q(o(e.addedNodes)).filter("a[href], [tabindex], :input:enabled").filter(":visible"),e=Q(o(e.removedNodes)).filter("a[href], [tabindex], :input"),(0<t.length||0<e.length)&&(n=!0,(0<t.filter(":input").length||0<e.filter(":input").length)&&(i=!1))),!n}),n&&P.refreshInputs(i)})).observe(S,{attributeFilter:["class","disabled"],attributes:!0,childList:!0,subtree:!0}),P.debug("Setting up mutation observer",i))},refresh:function(){P.verbose("Refreshing selector cache"),b=V(l.context,W),P.refreshFlyouts(),k=b.children(c.pusher),P.clear.cache()},refreshFlyouts:function(){P.verbose("Refreshing other flyouts"),y=b.children(c.flyout)},refreshInputs:function(e){n&&n.off("keydown"+s),l.dimPage&&(0===(n=v.find("a[href], [tabindex], :input:enabled").filter(":visible").filter(function(){return 0===Q(this).closest(".disabled").length})).filter(":input").length?(n=v.add(n),v.attr("tabindex",-1)):v.removeAttr("tabindex"),n.first().on("keydown"+s,P.event.inputKeyDown.first),n.last().on("keydown"+s,P.event.inputKeyDown.last),!e&&l.autofocus&&0===n.filter(":focus").length&&P.set.autofocus())},setup:{cache:function(){P.cache={width:v.outerWidth(),height:v.outerHeight()}},layout:function(){0===b.children(c.pusher).length&&(P.debug("Adding wrapper element for flyout"),P.error(h.pusher),k=Q('<div class="pusher" />'),b.children().not(c.omitted).not(y).wrapAll(k),P.refresh()),0!==v.nextAll(c.pusher).length&&v.nextAll(c.pusher)[0]===k[0]||(P.debug("Moved flyout to correct parent element"),P.error(h.movedFlyout,S),v.detach().prependTo(b),P.refresh()),P.is.mobile()&&v.addClass(a.fullscreen),P.clear.cache(),P.set.pushable(),P.set.direction()},heights:function(){P.debug("Setting up heights",v);var e=v.children(c.header),t=v.children(c.content),n=v.children(c.actions),e=(b.height()||0)-(e.outerHeight()||0)-(n.outerHeight()||0);0<e&&t.css("min-height",String(e)+"px")}},attachEvents:function(e,t){var n=Q(e);t=X(P[t])?P[t]:P.toggle,0<n.length?(P.debug("Attaching flyout events to element",e,t),n.on("click"+g,t)):P.error(h.notFound,e)},show:function(e){e=X(e)?e:function(){},P.is.hidden()?!1===l.onShow.call(S)?P.verbose("Show callback returned false cancelling show"):(P.refresh(),P.othersActive()&&(P.debug("Other flyouts currently visible"),l.exclusive?P.hideOthers():C=!1),P.set.dimmerStyles(),P.set.observeAttributes(!1),P.pushPage(function(){e.call(S),l.onVisible.call(S),l.keyboardShortcuts&&P.add.keyboardShortcuts(),P.save.focus(),P.refreshInputs(),requestAnimationFrame(P.set.observeAttributes)}),l.onChange.call(S)):P.debug("Flyout is already visible")},hide:function(e){if(e=X(e)?e:function(){},!1===l.onHide.call(S,Q(this)))return P.verbose("Hide callback returned false cancelling hide"),C=!1;(P.is.visible()||P.is.animating())&&(P.debug("Hiding flyout",e),P.refreshFlyouts(),P.set.observeAttributes(!1),P.pullPage(function(){e.call(S),X(l.onHidden)&&l.onHidden.call(S),P.restore.focus()}),l.onChange.call(S))},othersAnimating:function(){return 0<y.not(v).filter("."+a.animating).length},othersVisible:function(){return 0<y.not(v).filter("."+a.visible).length},othersActive:function(){return P.othersVisible()||P.othersAnimating()},hideOthers:function(e){var t=y.not(v).filter("."+a.visible),n=t.length,i=0;e=e||function(){},t.flyout("hide",function(){++i===n&&e()})},toggle:function(){P.verbose("Determining toggled direction"),P.is.hidden()?P.show():P.hide()},pushPage:function(t){var e,n,i;t=X(t)?t:function(){},P.set.overlay(),l.returnScroll&&(r=(w?N:b).scrollTop()),P.bind.scrollLock(),e=function(){P.bind.clickaway(),P.add.inlineCSS(),P.set.animating(),P.set.visible()},n=function(){P.set.dimmed()},i=function(e){e.target===v[0]&&(v.off("transitionend"+s,i),P.remove.animating(),t.call(S))},v.off("transitionend"+s),v.on("transitionend"+s,i),requestAnimationFrame(e),l.dimPage&&!P.othersVisible()&&requestAnimationFrame(n)},pullPage:function(t){var e,n;t=X(t)?t:function(){},P.verbose("Removing context push state",P.get.direction()),P.unbind.clickaway(),P.othersActive()||(P.unbind.scrollLock(),l.keyboardShortcuts&&P.remove.keyboardShortcuts()),e=function(){P.set.overlay(),P.set.animating(),l.dimPage&&!P.othersVisible()&&P.set.closing(),P.remove.visible()},n=function(e){e.target===v[0]&&(v.off("transitionend"+s,n),P.remove.animating(),P.remove.closing(),P.remove.overlay(),P.remove.inlineCSS(),l.returnScroll&&P.scrollBack(),l.dimPage&&!P.othersVisible()&&k.removeClass(a.dimmed),t.call(S))},v.off("transitionend"+s),v.on("transitionend"+s,n),requestAnimationFrame(e)},scrollToTop:function(){P.verbose("Scrolling to top of page to avoid animation issues"),v.scrollTop(0),(w?N:b)[0].scrollTo(0,0)},scrollBack:function(){P.verbose("Scrolling back to original page position"),(w?N:b)[0].scrollTo(0,r)},clear:{cache:function(){P.verbose("Clearing cached dimensions"),P.cache={}}},set:{observeAttributes:function(e){M=!1!==e},autofocus:function(){var e=n.filter("[autofocus]"),t=n.filter(":input");(0<e.length?e:0<t.length?t:v).first().trigger("focus")},dimmerStyles:function(){l.blurring?k.addClass(a.blurring):k.removeClass(a.blurring)},bodyMargin:function(){var n=P.can.leftBodyScrollbar()?"left":"right";b.css((w?"margin-":"padding-")+n,F+"px"),b.find(c.bodyFixed.replace("right",n)).each(function(){var e=Q(this),t="fixed"===e.css("position")?"padding-"+n:n;e.css(t,"calc("+e.css(t)+" + "+F+"px)")})},pushed:function(){b.addClass(a.pushed)},pushable:function(){b.addClass(a.pushable)},dimmed:function(){k.addClass(a.dimmed)},active:function(){v.addClass(a.active)},animating:function(){v.addClass(a.animating)},closing:function(){k.addClass(a.closing)},direction:function(e){e=e||P.get.direction(),v.addClass(a[e])},visible:function(){v.addClass(a.visible)},overlay:function(){v.addClass(a.overlay)}},remove:{inlineCSS:function(){P.debug("Removing inline css styles",o),o&&0<o.length&&o.remove()},keyboardShortcuts:function(){P.verbose("Removing keyboard shortcuts"),L.off("keydown"+g)},pushed:function(){b.removeClass(a.pushed)},pushable:function(){b.removeClass(a.pushable)},active:function(){v.removeClass(a.active)},animating:function(){v.removeClass(a.animating)},closing:function(){k.removeClass(a.closing)},direction:function(e){e=e||P.get.direction(),v.removeClass(a[e])},visible:function(){v.removeClass(a.visible)},overlay:function(){v.removeClass(a.overlay)}},get:{direction:function(){return v.hasClass(a.top)?a.top:v.hasClass(a.right)?a.right:v.hasClass(a.bottom)?a.bottom:a.left},id:function(){return t},element:function(){return v},settings:function(){return l}},can:{leftBodyScrollbar:function(){return void 0===P.cache.leftBodyScrollbar&&(P.cache.leftBodyScrollbar=P.is.rtl()&&(P.is.iframe&&!P.is.firefox()||P.is.safari()||P.is.edge()||P.is.ie())),P.cache.leftBodyScrollbar}},save:{focus:function(){0<Q(U.activeElement).closest(v).length||(e=Q(U.activeElement).trigger("blur"))},bodyMargin:function(){T=b.css((w?"margin-":"padding-")+(P.can.leftBodyScrollbar()?"left":"right"));var e=parseInt(T.replace(/[^\d.]/g,""),10),t=w?W.innerWidth-U.documentElement.clientWidth:b[0].offsetWidth-b[0].clientWidth;F=e+t}},is:{safari:function(){return void 0===P.cache.isSafari&&(P.cache.isSafari=/constructor/i.test(W.HTMLElement)||!!W.ApplePaySession),P.cache.isSafari},edge:function(){return void 0===P.cache.isEdge&&(P.cache.isEdge=!!W.setImmediate&&!P.is.ie()),P.cache.isEdge},firefox:function(){return void 0===P.cache.isFirefox&&(P.cache.isFirefox=!!W.InstallTrigger),P.cache.isFirefox},iframe:function(){return!(self===top)},ie:function(){var e,t;return void 0===P.cache.isIE&&(e=!W.ActiveXObject&&"ActiveXObject"in W,t="ActiveXObject"in W,P.cache.isIE=e||t),P.cache.isIE},mobile:function(){var e=navigator.userAgent;return e.match(f.mobile)?(P.verbose("Browser was found to be mobile",e),!0):(P.verbose("Browser is not mobile, using regular transition",e),!1)},hidden:function(){return!P.is.visible()},visible:function(){return v.hasClass(a.visible)},animating:function(){return b.hasClass(a.animating)},rtl:function(){return void 0===P.cache.isRTL&&(P.cache.isRTL="rtl"===v.attr("dir")||"rtl"===v.css("direction")||"rtl"===z.attr("dir")||"rtl"===z.css("direction")||"rtl"===b.attr("dir")||"rtl"===b.css("direction")),P.cache.isRTL}},has:{configActions:function(){return Array.isArray(l.actions)&&0<l.actions.length},scrollbar:function(){return w||"hidden"!==b.css("overflow-y")}},restore:{focus:function(){e&&0<e.length&&l.restoreFocus&&e.trigger("focus")},bodyMargin:function(){var n=P.can.leftBodyScrollbar()?"left":"right";b.css((w?"margin-":"padding-")+n,T),b.find(c.bodyFixed.replace("right",n)).each(function(){var e=Q(this),t="fixed"===e.css("position")?"padding-"+n:n;e.css(t,"")})}},helpers:{deQuote:function(e){return String(e).replace(/"/g,"")},escape:function(e,t){if(t)return e;var n={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&amp;")).replace(/["'<>`]/g,function(e){return n[e]}):e}},setting:function(e,t){if(P.debug("Changing setting",e,t),Q.isPlainObject(e))Q.extend(!0,l,e);else{if(void 0===t)return l[e];Q.isPlainObject(l[e])?Q.extend(!0,l[e],t):l[e]=t}},internal:function(e,t){if(Q.isPlainObject(e))Q.extend(!0,P,e);else{if(void 0===t)return P[e];P[e]=t}},debug:function(){!l.silent&&l.debug&&(l.performance?P.performance.log(arguments):(P.debug=Function.prototype.bind.call(console.info,console,l.name+":"),P.debug.apply(console,arguments)))},verbose:function(){!l.silent&&l.verbose&&l.debug&&(l.performance?P.performance.log(arguments):(P.verbose=Function.prototype.bind.call(console.info,console,l.name+":"),P.verbose.apply(console,arguments)))},error:function(){l.silent||(P.error=Function.prototype.bind.call(console.error,console,l.name+":"),P.error.apply(console,arguments))},performance:{log:function(e){var t,n;l.performance&&(n=(t=Date.now())-(I||t),I=t,j.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:S,"Execution Time":n})),clearTimeout(P.performance.timer),P.performance.timer=setTimeout(function(){P.performance.display()},500)},display:function(){var e=l.name+":",n=0;I=!1,clearTimeout(P.performance.timer),Q.each(j,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",0<j.length&&(console.groupCollapsed(e),console.table?console.table(j):Q.each(j,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),j=[]}},invoke:function(i,e,t){var o,s,n,r=A;return e=e||K,t=S||t,"string"==typeof i&&void 0!==r&&(i=i.split(/[ .]/),o=i.length-1,Q.each(i,function(e,t){var n=e!==o?t+i[e+1].charAt(0).toUpperCase()+i[e+1].slice(1):i;if(Q.isPlainObject(r[n])&&e!==o)r=r[n];else{if(void 0!==r[n])return s=r[n],!1;{if(!Q.isPlainObject(r[t])||e===o)return void 0!==r[t]?s=r[t]:P.error(h.method,i),!1;r=r[t]}}})),X(s)?n=s.apply(t,e):void 0!==s&&(n=s),Array.isArray(D)?D.push(n):void 0!==D?D=[D,n]:void 0!==n&&(D=n),s}};q?(void 0===A&&(X(l.templates[R])&&(l.autoShow=!0,l.className.flyout=l.className.template,l=Q.extend(!0,{},l,l.templates[R].apply(P,K)),a=l.className,l.namespace,d=l.fields,h=l.error),P.initialize()),X(l.templates[R])||P.invoke(R)):(void 0!==A&&A.invoke("destroy"),P.initialize(),D=v)}),void 0!==D?D:this},Q.flyout=Q.fn.flyout,Q.fn.flyout.settings={name:"Flyout",namespace:"flyout",silent:!1,debug:!1,verbose:!1,performance:!0,context:"body",exclusive:!1,closable:!0,autofocus:!0,restoreFocus:!0,dimPage:!0,scrollLock:!1,returnScroll:!1,delaySetup:!1,autoShow:!1,keyboardShortcuts:!0,title:"",content:"",class:"",classTitle:"",classContent:"",classActions:"",closeIcon:!1,actions:!1,preserveHTML:!0,fields:{class:"class",text:"text",icon:"icon",click:"click"},onChange:function(){},onShow:function(){},onHide:function(){return!0},onHidden:!1,onVisible:function(){},onApprove:function(){},onDeny:function(){},keys:{space:32,enter:13,escape:27,tab:9},className:{flyout:"ui flyout",close:"close icon",header:"ui header",content:"content",actions:"actions",active:"active",animating:"animating",blurring:"blurring",closing:"closing",dimmed:"dimmed",locked:"locked",pushable:"pushable",pushed:"pushed",right:"right",top:"top",left:"left",bottom:"bottom",visible:"visible",overlay:"overlay",fullscreen:"fullscreen",template:"ui flyout",button:"ui button",ok:"positive",cancel:"negative",prompt:"ui fluid input"},selector:{bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.right.flyout, > .ui.fixed.nag, > .ui.fixed.nag > .close",fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",flyout:".ui.flyout",header:".ui.header",content:".content",actions:".actions",close:".close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel"},regExp:{mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedFlyout:"Had to move flyout. For optimal performance make sure flyout and pusher are direct children of your body tag",notFound:"There were no elements that matched the specified selector"},text:{ok:"Ok",cancel:"Cancel",close:"Close"}},Q.fn.flyout.settings.templates={getArguments:function(e){e=[].slice.call(e);return Q.isPlainObject(e[0])?Q.extend({handler:function(){},content:"",title:""},e[0]):(X(e[e.length-1])||e.push(function(){}),{handler:e.pop(),content:e.pop()||"",title:e.pop()||""})},alert:function(){var e=this.get.settings(),t=e.templates.getArguments(arguments);return{title:t.title,content:t.content,actions:[{text:e.text.ok,class:e.className.ok,click:t.handler}]}},confirm:function(){var e=this.get.settings(),t=e.templates.getArguments(arguments);return{title:t.title,content:t.content,actions:[{text:e.text.ok,class:e.className.ok,click:function(){t.handler(!0)}},{text:e.text.cancel,class:e.className.cancel,click:function(){t.handler(!1)}}]}},prompt:function(){var t=this,e=this.get.settings(),n=e.templates.getArguments(arguments);return 0===Q(Q.parseHTML(n.content)).filter(".ui.input").length&&(n.content+='<p><div class="'+e.className.prompt+'"><input placeholder="'+this.helpers.deQuote(n.placeholder||"")+'" type="text" value="'+this.helpers.deQuote(n.defaultValue||"")+'"></div></p>'),{title:n.title,content:n.content,actions:[{text:e.text.ok,class:e.className.ok,click:function(){var e=t.get.settings(),e=t.get.element().find(e.selector.prompt)[0];n.handler(Q(e).val())}},{text:e.text.cancel,class:e.className.cancel,click:function(){n.handler(null)}}]}}}}(jQuery,window,document);
11
+ !function(Q,W,U){"use strict";function _(e){return"function"==typeof e&&"number"!=typeof e.nodeType}W=void 0!==W&&W.Math===Math?W:globalThis,Q.fn.flyout=function(D){var N,e=Q(this),L=Q(W),O=Q(U),B=(Q("html"),Q("head")),z=Q("body"),R=Date.now(),q=[],I=D,j="string"==typeof I,K=[].slice.call(arguments,1),V=function(e,t){var n;return 0<=[W,U].indexOf(e)?n=z:0===(n=Q(t.document).find(e)).length&&(n=t.frameElement?V(e,t.parent):z),n};return e.each(function(){var n,e,o,s,t,i,r,l=Q.isPlainObject(D)?Q.extend(!0,{},Q.fn.flyout.settings,D):Q.extend({},Q.fn.flyout.settings),c=l.selector,a=l.className,u=l.namespace,d=l.fields,f=l.regExp,h=l.error,g="."+u,p="module-"+u,v=Q(this),m=V(l.context,W),b=v.find(c.close),y=v.children(c.flyout),k=m.children(c.pusher),x=v.hasClass("flyout"),S=this,A=x?v.data(p):void 0,w=!1,C=m[0]===z[0],T="",F="",H=!1,M=!1,P=!1,E={initialize:function(){var s;E.debug("Initializing flyout",D),E.create.id(),x||(E.create.flyout(),_(l.onHidden)||(l.onHidden=function(){E.destroy(),v.remove()}),l.autoShow||(l.autoShow=!0)),v.addClass(l.class),""!==l.title&&v.find(c.header).html(E.helpers.escape(l.title,l.preserveHTML)).addClass(l.classTitle),""!==l.content&&v.find(c.content).html(E.helpers.escape(l.content,l.preserveHTML)).addClass(l.classContent),E.has.configActions()&&(0===(s=v.find(c.actions).addClass(l.classActions)).length?s=Q("<div/>",{class:a.actions+" "+(l.classActions||"")}).appendTo(v):s.empty(),l.actions.forEach(function(e){var t=e[d.icon]?"<i "+(e[d.text]?'aria-hidden="true"':"")+' class="'+E.helpers.deQuote(e[d.icon])+' icon"></i>':"",n=E.helpers.escape(e[d.text]||"",l.preserveHTML),i=E.helpers.deQuote(e[d.class]||""),o=e[d.click]&&_(e[d.click])?e[d.click]:function(){};s.append(Q("<button/>",{html:t+n,"aria-label":(e[d.text]||e[d.icon]||"").replace(/<[^>]+(>|$)/g,""),class:a.button+" "+i,on:{click:function(){!1!==o.call(S,v)&&E.hide()}}}))})),l.delaySetup?requestAnimationFrame(E.setup.layout):E.setup.layout(),requestAnimationFrame(function(){E.setup.cache()}),"left"!==E.get.direction()&&"right"!==E.get.direction()||(E.setup.heights(),E.bind.resize()),E.bind.events(),E.observeChanges(),E.instantiate(),l.autoShow&&E.show()},instantiate:function(){E.verbose("Storing instance of module",E),A=E,v.data(p,A)},create:{flyout:function(){var e;E.verbose("Programmatically create flyout",m),v=Q("<div/>",{class:a.flyout,role:"dialog","aria-modal":l.dimPage}),l.closeIcon&&(b=Q("<i/>",{class:a.close,role:"button",tabindex:0,"aria-label":l.text.close}),v.append(b)),""!==l.title&&(e="_"+E.get.id()+"title",v.attr("aria-labelledby",e),Q("<div/>",{class:a.header,id:e}).appendTo(v)),""!==l.content&&(e="_"+E.get.id()+"desc",v.attr("aria-describedby",e),Q("<div/>",{class:a.content,id:e}).appendTo(v)),E.has.configActions()&&Q("<div/>",{class:a.actions}).appendTo(v),v.prependTo(m),S=v[0]},id:function(){t=(Math.random().toString(16)+"000000000").slice(2,10),s="."+t,E.verbose("Creating unique id for element",t)}},destroy:function(){i&&i.disconnect(),E.verbose("Destroying previous module for",v),v.off(g).removeData(p),b.off(s),n&&n.off(s),m.off(s),L.off(s),O.off(s)},event:{keyboard:function(e){e.which===l.keys.escape&&(l.closable?(E.debug("Escape key pressed hiding flyout"),E.hide()):E.debug("Escape key pressed, but closable is set to false"),e.preventDefault())},resize:function(){E.setup.heights()},focus:function(){M=!0},click:function(e){M&&U.activeElement!==e.target&&E.is.visible()&&l.autofocus&&l.dimPage&&0===Q(U.activeElement).closest(c.flyout).length&&requestAnimationFrame(E.set.autofocus),M=!1},clickaway:function(e){var t;l.closable&&(t=0<k.find(e.target).length||k.is(e.target),e=m.is(e.target),t&&(E.verbose("User clicked on dimmed page"),E.hide()),e&&(E.verbose("User clicked on dimmable context (scaled out page)"),E.hide()))},close:function(e){E.hide()},closeKeyUp:function(e){e=e.which;e!==l.keys.enter&&e!==l.keys.space||E.hide()},inputKeyDown:{first:function(e){e.which===l.keys.tab&&e.shiftKey&&(n.last().trigger("focus"),e.preventDefault())},last:function(e){e.which!==l.keys.tab||e.shiftKey||(n.first().trigger("focus"),e.preventDefault())}},approve:function(e){w||!1===l.onApprove.call(E.element,Q(this))?E.verbose("Approve callback returned false cancelling close"):(w=!0,E.hide(function(){w=!1}))},deny:function(e){w||!1===l.onDeny.call(E.element,Q(this))?E.verbose("Deny callback returned false cancelling close"):(w=!0,E.hide(function(){w=!1}))},touch:function(e){},containScroll:function(e){S.scrollTop<=0&&(S.scrollTop=1),S.scrollTop+S.offsetHeight>=S.scrollHeight&&(S.scrollTop=S.scrollHeight-S.offsetHeight-1)},scroll:function(e){0===Q(e.target).closest(c.flyout).length&&e.preventDefault()}},bind:{resize:function(){E.verbose("Adding resize event to window",L),L.on("resize"+s,E.event.resize)},events:function(){E.verbose("Attaching events"),v.on("click"+g,c.close,E.event.close).on("click"+g,c.approve,E.event.approve).on("click"+g,c.deny,E.event.deny),b.on("keyup"+s,E.event.closeKeyUp),L.on("focus"+s,E.event.focus),m.on("click"+s,E.event.click)},clickaway:function(){E.verbose("Adding clickaway events to context",m),m.on("click"+s,E.event.clickaway).on("touchend"+s,E.event.clickaway)},scrollLock:function(){l.scrollLock&&(E.debug("Disabling page scroll"),(H=E.has.scrollbar())&&(E.save.bodyMargin(),E.set.bodyMargin()),m.addClass(a.locked)),E.verbose("Adding events to contain flyout scroll"),O.on("touchmove"+s,E.event.touch),v.on("scroll"+g,E.event.containScroll)}},unbind:{clickaway:function(){E.verbose("Removing clickaway events from context",m),m.off(s)},scrollLock:function(){E.verbose("Removing scroll lock from page"),H&&E.restore.bodyMargin(),m.removeClass(a.locked),O.off(s),v.off("scroll"+g)}},add:{inlineCSS:function(){var e=E.cache.width||v.outerWidth(),t=E.cache.height||v.outerHeight(),n=E.is.rtl(),i=E.get.direction(),t={left:e,right:-e,top:t,bottom:-t};n&&(E.verbose("RTL detected, flipping widths"),t.left=-e,t.right=e),n="<style>","left"===i||"right"===i?(E.debug("Adding CSS rules for animation distance",e),n+=" .ui.visible."+i+".flyout ~ .fixed, .ui.visible."+i+".flyout ~ .pusher { transform: translate3d("+t[i]+"px, 0, 0); }"):"top"!==i&&"bottom"!==i||(n+=" .ui.visible."+i+".flyout ~ .fixed, .ui.visible."+i+".flyout ~ .pusher { transform: translate3d(0, "+t[i]+"px, 0); }"),o=Q(n+="</style>").appendTo(B),E.debug("Adding sizing css to head",o)},keyboardShortcuts:function(){E.verbose("Adding keyboard shortcuts"),O.on("keydown"+g,E.event.keyboard)}},observeChanges:function(){"MutationObserver"in W&&((i=new MutationObserver(function(e){function o(e){for(var t=[],n=0,i=e.length;n<i;n++)Array.prototype.push.apply(t,o(e[n].childNodes)),t.push(e[n]);return t}var n=!1,i=!0;e.every(function(e){var t;return"attributes"===e.type?P&&("disabled"===e.attributeName||0<Q(e.target).find(":input").addBack(":input").filter(":visible").length)&&(n=!0):(t=Q(o(e.addedNodes)).filter("a[href], [tabindex], :input:enabled").filter(":visible"),e=Q(o(e.removedNodes)).filter("a[href], [tabindex], :input"),(0<t.length||0<e.length)&&(n=!0,(0<t.filter(":input").length||0<e.filter(":input").length)&&(i=!1))),!n}),n&&E.refreshInputs(i)})).observe(S,{attributeFilter:["class","disabled"],attributes:!0,childList:!0,subtree:!0}),E.debug("Setting up mutation observer",i))},refresh:function(){E.verbose("Refreshing selector cache"),m=V(l.context,W),E.refreshFlyouts(),k=m.children(c.pusher),E.clear.cache()},refreshFlyouts:function(){E.verbose("Refreshing other flyouts"),y=m.children(c.flyout)},refreshInputs:function(e){n&&n.off("keydown"+s),l.dimPage&&(0===(n=v.find("a[href], [tabindex], :input:enabled").filter(":visible").filter(function(){return 0===Q(this).closest(".disabled").length})).filter(":input").length?(n=v.add(n),v.attr("tabindex",-1)):v.removeAttr("tabindex"),n.first().on("keydown"+s,E.event.inputKeyDown.first),n.last().on("keydown"+s,E.event.inputKeyDown.last),!e&&l.autofocus&&0===n.filter(":focus").length&&E.set.autofocus())},setup:{cache:function(){E.cache={width:v.outerWidth(),height:v.outerHeight()}},layout:function(){0===m.children(c.pusher).length&&(E.debug("Adding wrapper element for flyout"),E.error(h.pusher),k=Q('<div class="pusher" />'),m.children().not(c.omitted).not(y).wrapAll(k),E.refresh()),0!==v.nextAll(c.pusher).length&&v.nextAll(c.pusher)[0]===k[0]||(E.debug("Moved flyout to correct parent element"),E.error(h.movedFlyout,S),v.detach().prependTo(m),E.refresh()),E.is.mobile()&&v.addClass(a.fullscreen),E.clear.cache(),E.set.pushable(),E.set.direction()},heights:function(){E.debug("Setting up heights",v);var e=v.children(c.header),t=v.children(c.content),n=v.children(c.actions),e=(m.height()||0)-(e.outerHeight()||0)-(n.outerHeight()||0);0<e&&t.css("min-height",String(e)+"px")}},attachEvents:function(e,t){var n=Q(e);t=_(E[t])?E[t]:E.toggle,0<n.length?(E.debug("Attaching flyout events to element",e,t),n.on("click"+g,t)):E.error(h.notFound,e)},show:function(e){e=_(e)?e:function(){},E.is.hidden()?!1===l.onShow.call(S)?E.verbose("Show callback returned false cancelling show"):(E.refresh(),E.othersActive()&&(E.debug("Other flyouts currently visible"),l.exclusive?E.hideOthers():w=!1),E.set.dimmerStyles(),E.set.observeAttributes(!1),E.pushPage(function(){e.call(S),l.onVisible.call(S),l.keyboardShortcuts&&E.add.keyboardShortcuts(),E.save.focus(),E.refreshInputs(),requestAnimationFrame(E.set.observeAttributes)}),l.onChange.call(S)):E.debug("Flyout is already visible")},hide:function(e){if(e=_(e)?e:function(){},!1===l.onHide.call(S,Q(this)))return E.verbose("Hide callback returned false cancelling hide"),w=!1;(E.is.visible()||E.is.animating())&&(E.debug("Hiding flyout",e),E.refreshFlyouts(),E.set.observeAttributes(!1),E.pullPage(function(){e.call(S),_(l.onHidden)&&l.onHidden.call(S),E.restore.focus()}),l.onChange.call(S))},othersAnimating:function(){return 0<y.not(v).filter("."+a.animating).length},othersVisible:function(){return 0<y.not(v).filter("."+a.visible).length},othersActive:function(){return E.othersVisible()||E.othersAnimating()},hideOthers:function(e){var t=y.not(v).filter("."+a.visible),n=t.length,i=0;e=e||function(){},t.flyout("hide",function(){++i===n&&e()})},toggle:function(){E.verbose("Determining toggled direction"),E.is.hidden()?E.show():E.hide()},pushPage:function(t){var e,n,i;t=_(t)?t:function(){},E.set.overlay(),l.returnScroll&&(r=(C?L:m).scrollTop()),E.bind.scrollLock(),e=function(){E.bind.clickaway(),E.add.inlineCSS(),E.set.animating(),E.set.visible()},n=function(){E.set.dimmed()},i=function(e){e.target===v[0]&&(v.off("transitionend"+s,i),E.remove.animating(),t.call(S))},v.off("transitionend"+s),v.on("transitionend"+s,i),requestAnimationFrame(e),l.dimPage&&!E.othersVisible()&&requestAnimationFrame(n)},pullPage:function(t){var e,n;t=_(t)?t:function(){},E.verbose("Removing context push state",E.get.direction()),E.unbind.clickaway(),E.othersActive()||(E.unbind.scrollLock(),l.keyboardShortcuts&&E.remove.keyboardShortcuts()),e=function(){E.set.overlay(),E.set.animating(),l.dimPage&&!E.othersVisible()&&E.set.closing(),E.remove.visible()},n=function(e){e.target===v[0]&&(v.off("transitionend"+s,n),E.remove.animating(),E.remove.closing(),E.remove.overlay(),E.remove.inlineCSS(),l.returnScroll&&E.scrollBack(),l.dimPage&&!E.othersVisible()&&k.removeClass(a.dimmed),t.call(S))},v.off("transitionend"+s),v.on("transitionend"+s,n),requestAnimationFrame(e)},scrollToTop:function(){E.verbose("Scrolling to top of page to avoid animation issues"),v.scrollTop(0),(C?L:m)[0].scrollTo(0,0)},scrollBack:function(){E.verbose("Scrolling back to original page position"),(C?L:m)[0].scrollTo(0,r)},clear:{cache:function(){E.verbose("Clearing cached dimensions"),E.cache={}}},set:{observeAttributes:function(e){P=!1!==e},autofocus:function(){var e=n.filter("[autofocus]"),t=n.filter(":input");(0<e.length?e:0<t.length?t:v).first().trigger("focus")},dimmerStyles:function(){l.blurring?k.addClass(a.blurring):k.removeClass(a.blurring)},bodyMargin:function(){var n=E.can.leftBodyScrollbar()?"left":"right";m.css((C?"margin-":"padding-")+n,F+"px"),m.find(c.bodyFixed.replace("right",n)).each(function(){var e=Q(this),t="fixed"===e.css("position")?"padding-"+n:n;e.css(t,"calc("+e.css(t)+" + "+F+"px)")})},pushed:function(){m.addClass(a.pushed)},pushable:function(){m.addClass(a.pushable)},dimmed:function(){k.addClass(a.dimmed)},active:function(){v.addClass(a.active)},animating:function(){v.addClass(a.animating)},closing:function(){k.addClass(a.closing)},direction:function(e){e=e||E.get.direction(),v.addClass(a[e])},visible:function(){v.addClass(a.visible)},overlay:function(){v.addClass(a.overlay)}},remove:{inlineCSS:function(){E.debug("Removing inline css styles",o),o&&0<o.length&&o.remove()},keyboardShortcuts:function(){E.verbose("Removing keyboard shortcuts"),O.off("keydown"+g)},pushed:function(){m.removeClass(a.pushed)},pushable:function(){m.removeClass(a.pushable)},active:function(){v.removeClass(a.active)},animating:function(){v.removeClass(a.animating)},closing:function(){k.removeClass(a.closing)},direction:function(e){e=e||E.get.direction(),v.removeClass(a[e])},visible:function(){v.removeClass(a.visible)},overlay:function(){v.removeClass(a.overlay)}},get:{direction:function(){return v.hasClass(a.top)?a.top:v.hasClass(a.right)?a.right:v.hasClass(a.bottom)?a.bottom:a.left},id:function(){return t},element:function(){return v},settings:function(){return l}},can:{leftBodyScrollbar:function(){return void 0===E.cache.leftBodyScrollbar&&(E.cache.leftBodyScrollbar=E.is.rtl()&&(E.is.iframe&&!E.is.firefox()||E.is.safari())),E.cache.leftBodyScrollbar}},save:{focus:function(){0<Q(U.activeElement).closest(v).length||(e=Q(U.activeElement).trigger("blur"))},bodyMargin:function(){T=m.css((C?"margin-":"padding-")+(E.can.leftBodyScrollbar()?"left":"right"));var e=parseInt(T.replace(/[^\d.]/g,""),10),t=C?W.innerWidth-U.documentElement.clientWidth:m[0].offsetWidth-m[0].clientWidth;F=e+t}},is:{safari:function(){return void 0===E.cache.isSafari&&(E.cache.isSafari=/constructor/i.test(W.HTMLElement)||!!W.ApplePaySession),E.cache.isSafari},firefox:function(){return void 0===E.cache.isFirefox&&(E.cache.isFirefox=!!W.InstallTrigger),E.cache.isFirefox},iframe:function(){return!(self===top)},mobile:function(){var e=navigator.userAgent;return e.match(f.mobile)?(E.verbose("Browser was found to be mobile",e),!0):(E.verbose("Browser is not mobile, using regular transition",e),!1)},hidden:function(){return!E.is.visible()},visible:function(){return v.hasClass(a.visible)},animating:function(){return m.hasClass(a.animating)},rtl:function(){return void 0===E.cache.isRTL&&(E.cache.isRTL="rtl"===v.attr("dir")||"rtl"===v.css("direction")||"rtl"===z.attr("dir")||"rtl"===z.css("direction")||"rtl"===m.attr("dir")||"rtl"===m.css("direction")),E.cache.isRTL}},has:{configActions:function(){return Array.isArray(l.actions)&&0<l.actions.length},scrollbar:function(){return C||"hidden"!==m.css("overflow-y")}},restore:{focus:function(){e&&0<e.length&&l.restoreFocus&&e.trigger("focus")},bodyMargin:function(){var n=E.can.leftBodyScrollbar()?"left":"right";m.css((C?"margin-":"padding-")+n,T),m.find(c.bodyFixed.replace("right",n)).each(function(){var e=Q(this),t="fixed"===e.css("position")?"padding-"+n:n;e.css(t,"")})}},helpers:{deQuote:function(e){return String(e).replace(/"/g,"")},escape:function(e,t){if(t)return e;var n={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&amp;")).replace(/["'<>`]/g,function(e){return n[e]}):e}},setting:function(e,t){if(E.debug("Changing setting",e,t),Q.isPlainObject(e))Q.extend(!0,l,e);else{if(void 0===t)return l[e];Q.isPlainObject(l[e])?Q.extend(!0,l[e],t):l[e]=t}},internal:function(e,t){if(Q.isPlainObject(e))Q.extend(!0,E,e);else{if(void 0===t)return E[e];E[e]=t}},debug:function(){!l.silent&&l.debug&&(l.performance?E.performance.log(arguments):(E.debug=Function.prototype.bind.call(console.info,console,l.name+":"),E.debug.apply(console,arguments)))},verbose:function(){!l.silent&&l.verbose&&l.debug&&(l.performance?E.performance.log(arguments):(E.verbose=Function.prototype.bind.call(console.info,console,l.name+":"),E.verbose.apply(console,arguments)))},error:function(){l.silent||(E.error=Function.prototype.bind.call(console.error,console,l.name+":"),E.error.apply(console,arguments))},performance:{log:function(e){var t,n;l.performance&&(n=(t=Date.now())-(R||t),R=t,q.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:S,"Execution Time":n})),clearTimeout(E.performance.timer),E.performance.timer=setTimeout(function(){E.performance.display()},500)},display:function(){var e=l.name+":",n=0;R=!1,clearTimeout(E.performance.timer),Q.each(q,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",0<q.length&&(console.groupCollapsed(e),console.table?console.table(q):Q.each(q,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),q=[]}},invoke:function(i,e,t){var o,s,n,r=A;return e=e||K,t=S||t,"string"==typeof i&&void 0!==r&&(i=i.split(/[ .]/),o=i.length-1,Q.each(i,function(e,t){var n=e!==o?t+i[e+1].charAt(0).toUpperCase()+i[e+1].slice(1):i;if(Q.isPlainObject(r[n])&&e!==o)r=r[n];else{if(void 0!==r[n])return s=r[n],!1;{if(!Q.isPlainObject(r[t])||e===o)return void 0!==r[t]?s=r[t]:E.error(h.method,i),!1;r=r[t]}}})),_(s)?n=s.apply(t,e):void 0!==s&&(n=s),Array.isArray(N)?N.push(n):void 0!==N?N=[N,n]:void 0!==n&&(N=n),s}};j?(void 0===A&&(_(l.templates[I])&&(l.autoShow=!0,l.className.flyout=l.className.template,l=Q.extend(!0,{},l,l.templates[I].apply(E,K)),a=l.className,l.namespace,d=l.fields,h=l.error),E.initialize()),_(l.templates[I])||E.invoke(I)):(void 0!==A&&A.invoke("destroy"),E.initialize(),N=v)}),void 0!==N?N:this},Q.flyout=Q.fn.flyout,Q.fn.flyout.settings={name:"Flyout",namespace:"flyout",silent:!1,debug:!1,verbose:!1,performance:!0,context:"body",exclusive:!1,closable:!0,autofocus:!0,restoreFocus:!0,dimPage:!0,scrollLock:!1,returnScroll:!1,delaySetup:!1,autoShow:!1,keyboardShortcuts:!0,title:"",content:"",class:"",classTitle:"",classContent:"",classActions:"",closeIcon:!1,actions:!1,preserveHTML:!1,fields:{class:"class",text:"text",icon:"icon",click:"click"},onChange:function(){},onShow:function(){},onHide:function(){return!0},onHidden:!1,onVisible:function(){},onApprove:function(){},onDeny:function(){},keys:{space:32,enter:13,escape:27,tab:9},className:{flyout:"ui flyout",close:"close icon",header:"ui header",content:"content",actions:"actions",active:"active",animating:"animating",blurring:"blurring",closing:"closing",dimmed:"dimmed",locked:"locked",pushable:"pushable",pushed:"pushed",right:"right",top:"top",left:"left",bottom:"bottom",visible:"visible",overlay:"overlay",fullscreen:"fullscreen",template:"ui flyout",button:"ui button",ok:"positive",cancel:"negative",prompt:"ui fluid input"},selector:{bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.right.flyout, > .ui.fixed.nag, > .ui.fixed.nag > .close",fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",flyout:".ui.flyout",header:".ui.header",content:".content",actions:".actions",close:".close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel"},regExp:{mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedFlyout:"Had to move flyout. For optimal performance make sure flyout and pusher are direct children of your body tag",notFound:"There were no elements that matched the specified selector"},text:{ok:"Ok",cancel:"Cancel",close:"Close"}},Q.fn.flyout.settings.templates={getArguments:function(e){e=[].slice.call(e);return Q.isPlainObject(e[0])?Q.extend({handler:function(){},content:"",title:""},e[0]):(_(e[e.length-1])||e.push(function(){}),{handler:e.pop(),content:e.pop()||"",title:e.pop()||""})},alert:function(){var e=this.get.settings(),t=e.templates.getArguments(arguments);return{title:t.title,content:t.content,actions:[{text:e.text.ok,class:e.className.ok,click:t.handler}]}},confirm:function(){var e=this.get.settings(),t=e.templates.getArguments(arguments);return{title:t.title,content:t.content,actions:[{text:e.text.ok,class:e.className.ok,click:function(){t.handler(!0)}},{text:e.text.cancel,class:e.className.cancel,click:function(){t.handler(!1)}}]}},prompt:function(){var t=this,e=this.get.settings(),n=e.templates.getArguments(arguments);return 0===Q(Q.parseHTML(n.content)).filter(".ui.input").length&&(n.content+='<p><div class="'+e.className.prompt+'"><input placeholder="'+this.helpers.deQuote(n.placeholder||"")+'" type="text" value="'+this.helpers.deQuote(n.defaultValue||"")+'"></div></p>'),{title:n.title,content:n.content,actions:[{text:e.text.ok,class:e.className.ok,click:function(){var e=t.get.settings(),e=t.get.element().find(e.selector.prompt)[0];n.handler(Q(e).val())}},{text:e.text.cancel,class:e.className.cancel,click:function(){n.handler(null)}}]}}}}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Form
2
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Form
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -366,30 +366,12 @@
366
366
  --------------------- */
367
367
 
368
368
  /* browsers require these rules separate */
369
- .ui.form :-ms-input-placeholder {
370
- color: rgba(191, 191, 191, 0.87);
371
- }
372
- .ui.form ::-ms-input-placeholder {
373
- color: rgba(191, 191, 191, 0.87);
374
- }
375
369
  .ui.form ::placeholder {
376
370
  color: rgba(191, 191, 191, 0.87);
377
371
  }
378
- .ui.form :-ms-input-placeholder {
379
- color: rgba(191, 191, 191, 0.87) !important;
380
- }
381
- .ui.form :focus:-ms-input-placeholder {
382
- color: rgba(115, 115, 115, 0.87);
383
- }
384
- .ui.form :focus::-ms-input-placeholder {
385
- color: rgba(115, 115, 115, 0.87);
386
- }
387
372
  .ui.form :focus::placeholder {
388
373
  color: rgba(115, 115, 115, 0.87);
389
374
  }
390
- .ui.form :focus:-ms-input-placeholder {
391
- color: rgba(115, 115, 115, 0.87) !important;
392
- }
393
375
 
394
376
  /* --------------------
395
377
  Focus
@@ -591,7 +573,7 @@
591
573
  border-color: #e0b4b4;
592
574
  }
593
575
 
594
- /* Preserve Native Select Stylings */
576
+ /* Preserve Native Select Styling */
595
577
  .ui.form .field.error select {
596
578
  -webkit-appearance: menulist-button;
597
579
  }
@@ -617,32 +599,14 @@
617
599
  }
618
600
 
619
601
  /* Placeholder */
620
- .ui.form .error :-ms-input-placeholder {
621
- color: #e7bdbc;
622
- }
623
- .ui.form .error ::-ms-input-placeholder {
624
- color: #e7bdbc;
625
- }
626
602
  .ui.form .error .ui.dropdown > .default.text,
627
603
  .ui.form .error ::placeholder {
628
604
  color: #e7bdbc;
629
605
  }
630
- .ui.form .error :-ms-input-placeholder {
631
- color: #e7bdbc !important;
632
- }
633
- .ui.form .error :focus:-ms-input-placeholder {
634
- color: #da9796;
635
- }
636
- .ui.form .error :focus::-ms-input-placeholder {
637
- color: #da9796;
638
- }
639
606
  .ui.form .error .ui.dropdown > input:focus ~ .default.text,
640
607
  .ui.form .error :focus::placeholder {
641
608
  color: #da9796;
642
609
  }
643
- .ui.form .error :focus:-ms-input-placeholder {
644
- color: #da9796 !important;
645
- }
646
610
 
647
611
  /*------------------
648
612
  Dropdown State
@@ -832,7 +796,7 @@
832
796
  border-color: #a9d5de;
833
797
  }
834
798
 
835
- /* Preserve Native Select Stylings */
799
+ /* Preserve Native Select Styling */
836
800
  .ui.form .field.info select {
837
801
  -webkit-appearance: menulist-button;
838
802
  }
@@ -858,32 +822,14 @@
858
822
  }
859
823
 
860
824
  /* Placeholder */
861
- .ui.form .info :-ms-input-placeholder {
862
- color: #98cfe1;
863
- }
864
- .ui.form .info ::-ms-input-placeholder {
865
- color: #98cfe1;
866
- }
867
825
  .ui.form .info .ui.dropdown > .default.text,
868
826
  .ui.form .info ::placeholder {
869
827
  color: #98cfe1;
870
828
  }
871
- .ui.form .info :-ms-input-placeholder {
872
- color: #98cfe1 !important;
873
- }
874
- .ui.form .info :focus:-ms-input-placeholder {
875
- color: #70bdd6;
876
- }
877
- .ui.form .info :focus::-ms-input-placeholder {
878
- color: #70bdd6;
879
- }
880
829
  .ui.form .info .ui.dropdown > input:focus ~ .default.text,
881
830
  .ui.form .info :focus::placeholder {
882
831
  color: #70bdd6;
883
832
  }
884
- .ui.form .info :focus:-ms-input-placeholder {
885
- color: #70bdd6 !important;
886
- }
887
833
 
888
834
  /*------------------
889
835
  Dropdown State
@@ -1073,7 +1019,7 @@
1073
1019
  border-color: #a3c293;
1074
1020
  }
1075
1021
 
1076
- /* Preserve Native Select Stylings */
1022
+ /* Preserve Native Select Styling */
1077
1023
  .ui.form .field.success select {
1078
1024
  -webkit-appearance: menulist-button;
1079
1025
  }
@@ -1099,32 +1045,14 @@
1099
1045
  }
1100
1046
 
1101
1047
  /* Placeholder */
1102
- .ui.form .success :-ms-input-placeholder {
1103
- color: #8fcf90;
1104
- }
1105
- .ui.form .success ::-ms-input-placeholder {
1106
- color: #8fcf90;
1107
- }
1108
1048
  .ui.form .success .ui.dropdown > .default.text,
1109
1049
  .ui.form .success ::placeholder {
1110
1050
  color: #8fcf90;
1111
1051
  }
1112
- .ui.form .success :-ms-input-placeholder {
1113
- color: #8fcf90 !important;
1114
- }
1115
- .ui.form .success :focus:-ms-input-placeholder {
1116
- color: #6cbf6d;
1117
- }
1118
- .ui.form .success :focus::-ms-input-placeholder {
1119
- color: #6cbf6d;
1120
- }
1121
1052
  .ui.form .success .ui.dropdown > input:focus ~ .default.text,
1122
1053
  .ui.form .success :focus::placeholder {
1123
1054
  color: #6cbf6d;
1124
1055
  }
1125
- .ui.form .success :focus:-ms-input-placeholder {
1126
- color: #6cbf6d !important;
1127
- }
1128
1056
 
1129
1057
  /*------------------
1130
1058
  Dropdown State
@@ -1314,7 +1242,7 @@
1314
1242
  border-color: #c9ba9b;
1315
1243
  }
1316
1244
 
1317
- /* Preserve Native Select Stylings */
1245
+ /* Preserve Native Select Styling */
1318
1246
  .ui.form .field.warning select {
1319
1247
  -webkit-appearance: menulist-button;
1320
1248
  }
@@ -1340,32 +1268,14 @@
1340
1268
  }
1341
1269
 
1342
1270
  /* Placeholder */
1343
- .ui.form .warning :-ms-input-placeholder {
1344
- color: #edad3e;
1345
- }
1346
- .ui.form .warning ::-ms-input-placeholder {
1347
- color: #edad3e;
1348
- }
1349
1271
  .ui.form .warning .ui.dropdown > .default.text,
1350
1272
  .ui.form .warning ::placeholder {
1351
1273
  color: #edad3e;
1352
1274
  }
1353
- .ui.form .warning :-ms-input-placeholder {
1354
- color: #edad3e !important;
1355
- }
1356
- .ui.form .warning :focus:-ms-input-placeholder {
1357
- color: #e39715;
1358
- }
1359
- .ui.form .warning :focus::-ms-input-placeholder {
1360
- color: #e39715;
1361
- }
1362
1275
  .ui.form .warning .ui.dropdown > input:focus ~ .default.text,
1363
1276
  .ui.form .warning :focus::placeholder {
1364
1277
  color: #e39715;
1365
1278
  }
1366
- .ui.form .warning :focus:-ms-input-placeholder {
1367
- color: #e39715 !important;
1368
- }
1369
1279
 
1370
1280
  /*------------------
1371
1281
  Dropdown State
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.2+d30ebd7 - Form Validation
2
+ * # Fomantic-UI 2.10.0-beta.4+fcf090f - Form Validation
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -377,10 +377,10 @@
377
377
  if (currentValue === undefined || currentValue === null) {
378
378
  currentValue = '';
379
379
  } else if (Array.isArray(currentValue)) {
380
- // multiple select values are returned as arrays which are never equal, so do string conversion first
380
+ // multiple select values are returned as arrays which are never equal, so do the string conversion first
381
381
  currentValue = currentValue.toString();
382
382
  }
383
- // Boolean values can be encoded as "true/false" or "True/False" depending on underlying frameworks so we need a case insensitive comparison
383
+ // Boolean values can be encoded as "true/false" or "True/False" depending on underlying frameworks, so we need a case-insensitive comparison
384
384
  var boolRegex = /^(true|false)$/i;
385
385
  var isBoolValue = boolRegex.test(initialValue) && boolRegex.test(currentValue);
386
386
  if (isBoolValue) {
@@ -494,7 +494,7 @@
494
494
  event.returnValue = settings.text.leavingMessage;
495
495
  }
496
496
 
497
- // For olders...
497
+ // For older...
498
498
  return settings.text.leavingMessage;
499
499
  }
500
500
  },
@@ -1315,7 +1315,7 @@
1315
1315
  if (typeof settings.errorFocus === 'string') {
1316
1316
  $focusElement = $(document).find(settings.errorFocus);
1317
1317
  hasTabIndex = $focusElement.is('[tabindex]');
1318
- // to be able to focus/scroll into non input elements we need a tabindex
1318
+ // to be able to focus/scroll into non-input elements, we need a tabindex
1319
1319
  if (!hasTabIndex) {
1320
1320
  $focusElement.attr('tabindex', -1);
1321
1321
  }
@@ -1843,11 +1843,6 @@
1843
1843
  return !(value === undefined || value === '' || (Array.isArray(value) && value.length === 0));
1844
1844
  },
1845
1845
 
1846
- /* Deprecated */
1847
- empty: function (value) {
1848
- return $.fn.form.settings.rules.notEmpty(value);
1849
- },
1850
-
1851
1846
  // checkbox checked
1852
1847
  checked: function () {
1853
1848
  return $(this).filter(':checked').length > 0;
@@ -1858,7 +1853,7 @@
1858
1853
  return $.fn.form.settings.regExp.email.test(value);
1859
1854
  },
1860
1855
 
1861
- // value is most likely url
1856
+ // value is most likely the url
1862
1857
  url: function (value) {
1863
1858
  return $.fn.form.settings.regExp.url.test(value);
1864
1859
  },
@@ -1934,7 +1929,7 @@
1934
1929
  );
1935
1930
  },
1936
1931
 
1937
- // is valid number (with decimal)
1932
+ // is it a valid number (with decimal)
1938
1933
  decimal: function (value, range) {
1939
1934
  return $.fn.form.settings.rules.range(value, range, 'decimal');
1940
1935
  },
@@ -1944,7 +1939,7 @@
1944
1939
  return $.fn.form.settings.rules.range(value, range, 'number');
1945
1940
  },
1946
1941
 
1947
- // is value (case insensitive)
1942
+ // is value (case-insensitive)
1948
1943
  is: function (value, text) {
1949
1944
  text = typeof text === 'string'
1950
1945
  ? text.toLowerCase()
@@ -1961,7 +1956,7 @@
1961
1956
  return value == text;
1962
1957
  },
1963
1958
 
1964
- // value is not another value (case insensitive)
1959
+ // value is not another value (case-insensitive)
1965
1960
  not: function (value, notValue) {
1966
1961
  value = typeof value === 'string'
1967
1962
  ? value.toLowerCase()
@@ -1973,7 +1968,7 @@
1973
1968
  return value != notValue;
1974
1969
  },
1975
1970
 
1976
- // value is not another value (case sensitive)
1971
+ // value is not another value (case-sensitive)
1977
1972
  notExactly: function (value, notValue) {
1978
1973
  return value != notValue;
1979
1974
  },
@@ -2038,7 +2033,7 @@
2038
2033
  : false;
2039
2034
  },
2040
2035
 
2041
- // different than another field
2036
+ // different from another field
2042
2037
  different: function (value, identifier, module) {
2043
2038
  var matchingValue = module.get.value(identifier, true);
2044
2039