@macallumharvey/first-test-wet 2.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/WetButton.d.ts +1 -1
- package/dist/first-test-wet.cjs.development.js +5 -0
- package/dist/first-test-wet.cjs.development.js.map +1 -1
- package/dist/first-test-wet.cjs.production.min.js +1 -1
- package/dist/first-test-wet.cjs.production.min.js.map +1 -1
- package/dist/first-test-wet.esm.js +5 -1
- package/dist/first-test-wet.esm.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/WetButton.tsx +1 -1
- package/src/WetModal.tsx +1 -0
- package/src/index.tsx +1 -0
- package/src/theme-wet-boew/assets/favicon-mobile.png +0 -0
- package/src/theme-wet-boew/assets/favicon.ico +0 -0
- package/src/theme-wet-boew/assets/logo.png +0 -0
- package/src/theme-wet-boew/assets/logo.svg +14 -0
- package/src/theme-wet-boew/css/ie8-theme.css +17370 -0
- package/src/theme-wet-boew/css/ie8-theme.min.css +193 -0
- package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.js → theme-wet-boew/css/ie8-wet-boew.css} +12 -10
- package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js → theme-wet-boew/css/ie8-wet-boew.min.css} +7 -7
- package/src/theme-wet-boew/css/theme.css +11357 -0
- package/src/theme-wet-boew/css/theme.min.css +6 -0
- package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.js → theme-wet-boew/css/wet-boew.css} +12 -10
- package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js → theme-wet-boew/css/wet-boew.min.css} +6 -7
- package/src/theme-wet-boew/payload.json +66 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/mediacontrols.html +32 -33
- package/src/wet-boew/assets/sprites_share.png +0 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/noscript.css +112 -112
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/noscript.min.css +5 -5
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datalist.css +32 -32
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datepicker.css +47 -47
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/details.css +28 -28
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/mathml.css +16 -16
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/meter.css +24 -24
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/progress.css +8 -8
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/slider.css +229 -229
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.svg +287 -287
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/additional-methods.js +1511 -1511
- package/src/wet-boew/js/deps/additional-methods.min.js +9 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/geomap-lib.js +3758 -3770
- package/src/wet-boew/js/deps/geomap-lib.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.dataTables.js +15345 -15733
- package/src/wet-boew/js/deps/jquery.dataTables.min.js +4 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.canvas.js +345 -345
- package/src/wet-boew/js/deps/jquery.flot.canvas.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.js +3168 -3168
- package/src/wet-boew/js/deps/jquery.flot.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.orderBars.js +282 -282
- package/src/wet-boew/js/deps/jquery.flot.orderBars.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.pie.js +820 -820
- package/src/wet-boew/js/deps/jquery.flot.pie.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.magnific-popup.js +2060 -2060
- package/src/wet-boew/js/deps/jquery.magnific-popup.min.js +4 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.validate.js +1660 -1660
- package/src/wet-boew/js/deps/jquery.validate.min.js +9 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/json-patch.js +314 -314
- package/src/wet-boew/js/deps/json-patch.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jsonpointer.js +349 -349
- package/src/wet-boew/js/deps/jsonpointer.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-apollo.js +53 -53
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-basic.js +49 -49
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-clj.js +64 -64
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-css.js +160 -160
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-dart.js +92 -92
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-erlang.js +94 -94
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-go.js +59 -59
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-hs.js +102 -102
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lasso.js +67 -67
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lisp.js +95 -95
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-llvm.js +63 -63
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-logtalk.js +50 -50
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lua.js +60 -60
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-matlab.js +183 -183
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-matlab.min.js +1 -1
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-ml.js +57 -57
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-mumps.js +140 -140
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-n.js +67 -67
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-pascal.js +49 -49
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-proto.js +37 -37
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-r.js +59 -59
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rd.js +50 -50
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rust.js +81 -81
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-scala.js +56 -56
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-sql.js +59 -59
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-swift.js +60 -60
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tcl.js +63 -63
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tex.js +49 -49
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vb.js +67 -67
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vhdl.js +51 -51
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-wiki.js +55 -55
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-xq.js +71 -71
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-yaml.js +45 -45
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/ol.js +1008 -1008
- package/src/wet-boew/js/deps/ol.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/prettify.js +1742 -1742
- package/src/wet-boew/js/deps/prettify.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/proj4.js +2 -2
- package/src/wet-boew/js/deps/proj4.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/run_prettify.js +1998 -1998
- package/src/wet-boew/js/deps/run_prettify.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/tableparser.js +2216 -2216
- package/src/wet-boew/js/deps/tableparser.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/unorm.js +452 -452
- package/src/wet-boew/js/deps/unorm.min.js +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/af.js +246 -254
- package/src/wet-boew/js/i18n/af.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ar.js +284 -292
- package/src/wet-boew/js/i18n/ar.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/bg.js +284 -292
- package/src/wet-boew/js/i18n/bg.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/cs.js +285 -293
- package/src/wet-boew/js/i18n/cs.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/de.js +354 -362
- package/src/wet-boew/js/i18n/de.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/el.js +284 -292
- package/src/wet-boew/js/i18n/el.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/en.js +246 -254
- package/src/wet-boew/js/i18n/en.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/es.js +287 -295
- package/src/wet-boew/js/i18n/es.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/et.js +282 -290
- package/src/wet-boew/js/i18n/et.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/fr.js +313 -321
- package/src/wet-boew/js/i18n/fr.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/hi.js +246 -254
- package/src/wet-boew/js/i18n/hi.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/hu.js +284 -292
- package/src/wet-boew/js/i18n/hu.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/hy.js +246 -254
- package/src/wet-boew/js/i18n/hy.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/id.js +283 -291
- package/src/wet-boew/js/i18n/id.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/is.js +282 -290
- package/src/wet-boew/js/i18n/is.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/it.js +311 -319
- package/src/wet-boew/js/i18n/it.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/iu.js +246 -254
- package/src/wet-boew/js/i18n/iu.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ja.js +285 -293
- package/src/wet-boew/js/i18n/ja.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ko.js +284 -292
- package/src/wet-boew/js/i18n/ko.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/lt.js +284 -292
- package/src/wet-boew/js/i18n/lt.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/lv.js +284 -292
- package/src/wet-boew/js/i18n/lv.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/nl.js +318 -326
- package/src/wet-boew/js/i18n/nl.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/pl.js +287 -295
- package/src/wet-boew/js/i18n/pl.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/pt-BR.js +246 -254
- package/src/wet-boew/js/i18n/pt-BR.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/pt.js +270 -278
- package/src/wet-boew/js/i18n/pt.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ru.js +284 -292
- package/src/wet-boew/js/i18n/ru.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/sk.js +282 -290
- package/src/wet-boew/js/i18n/sk.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/sq.js +246 -254
- package/src/wet-boew/js/i18n/sq.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/th.js +284 -292
- package/src/wet-boew/js/i18n/th.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/tr.js +286 -294
- package/src/wet-boew/js/i18n/tr.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/uk.js +284 -292
- package/src/wet-boew/js/i18n/uk.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/vi.js +284 -292
- package/src/wet-boew/js/i18n/vi.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/zh-Hans.js +246 -254
- package/src/wet-boew/js/i18n/zh-Hans.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/zh.js +285 -293
- package/src/wet-boew/js/i18n/zh.min.js +7 -0
- package/src/wet-boew/js/ie8-wet-boew.js +3992 -0
- package/src/wet-boew/js/ie8-wet-boew.min.js +7 -0
- package/src/wet-boew/js/ie8-wet-boew2.js +15294 -0
- package/src/wet-boew/js/ie8-wet-boew2.min.js +7 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/jquery/2.2.4/jquery.js +9814 -9814
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/jquery/2.2.4/jquery.min.js +4 -4
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datalist.js +423 -419
- package/src/wet-boew/js/polyfills/datalist.min.js +8 -0
- package/src/wet-boew/js/polyfills/datalist.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datalist_dynamic.js +50 -50
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datalist_dynamic.min.js +7 -7
- package/src/wet-boew/js/polyfills/datalist_dynamic.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datepicker.js +338 -338
- package/src/wet-boew/js/polyfills/datepicker.min.js +8 -0
- package/src/wet-boew/js/polyfills/datepicker.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/details.js +126 -126
- package/src/wet-boew/js/polyfills/details.min.js +8 -0
- package/src/wet-boew/js/polyfills/details.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/jawsariafixes.js +47 -47
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/jawsariafixes.min.js +15 -15
- package/src/wet-boew/js/polyfills/jawsariafixes.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/meter.js +140 -140
- package/src/wet-boew/js/polyfills/meter.min.js +8 -0
- package/src/wet-boew/js/polyfills/meter.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/mobile.js +783 -784
- package/src/wet-boew/js/polyfills/mobile.min.js +8 -0
- package/src/wet-boew/js/polyfills/mobile.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/progress.js +107 -107
- package/src/wet-boew/js/polyfills/progress.min.js +8 -0
- package/src/wet-boew/js/polyfills/progress.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/slider.js +1343 -1343
- package/src/wet-boew/js/polyfills/slider.min.js +9 -0
- package/src/wet-boew/js/polyfills/slider.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/slider_wrapper.js +73 -73
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/slider_wrapper.min.js +7 -7
- package/src/wet-boew/js/polyfills/slider_wrapper.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/svg.js +29 -29
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/svg.min.js +7 -7
- package/src/wet-boew/js/polyfills/svg.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/test.js +603 -603
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/test.min.js +7 -7
- package/src/wet-boew/js/polyfills/test.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/wet-boew.js +17714 -20264
- package/src/wet-boew/js/wet-boew.min.js +9 -0
- package/src/wet-boew/js/wet-boew.min.js.map +1 -0
- package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/payload.json +1721 -1721
- package/src/wet-boew-cdn-4.0.81.1/Licence-fr.txt +0 -1
- package/src/wet-boew-cdn-4.0.81.1/License-en.txt +0 -1
- package/src/wet-boew-cdn-4.0.81.1/assets/sprites_share.png +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.min.js +0 -9
- package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.min.js +0 -4
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.min.js +0 -4
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.min.js +0 -9
- package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.min.js +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.min.js +0 -7
- package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js +0 -8
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js +0 -9
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js +0 -9
- package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js.map +0 -1
- package/src/wet-boew-cdn-4.0.81.1/package.json +0 -15
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/cloud-popup-relative.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/fd-slider-sprite.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/loading.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/zoom-minus-mini.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/zoom-plus-mini.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/zoom-world-mini.png +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datalist.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datepicker.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/details.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/mathml.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/meter.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/progress.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/slider.min.css +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.eot +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.ttf +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.woff2 +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/mml-chtml.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-apollo.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-basic.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-clj.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-css.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-dart.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-erlang.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-go.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-hs.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lasso.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lisp.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-llvm.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-logtalk.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lua.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-ml.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-mumps.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-n.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-pascal.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-proto.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-r.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rd.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rust.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-scala.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-sql.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-swift.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tcl.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tex.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vb.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vhdl.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-wiki.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-xq.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-yaml.min.js +0 -0
- /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/jquery/2.2.4/jquery.min.map +0 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
/*!
|
2
|
+
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
|
3
|
+
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
|
4
|
+
* v4.0.53 - 2022-09-29
|
5
|
+
*
|
6
|
+
*/
|
7
|
+
!function(l,s){"use strict";var c,o,i,d,t,p="wb-date",u="input[type=date]",a="wb-picker",n="-picker-toggle",f=new Date,e=s.doc,h=s.date.fromDateISO,b={minDate:new Date(1800,0,1),maxDate:new Date(2100,0,1),year:f.getFullYear(),month:f.getMonth(),daysCallback:function(e,t,a,i){var n,r=a,l=this.date;i&&(i.max&&(r=r.filter(":lt("+(i.max+1)+")")),i.min&&(r=r.filter(":gt("+(i.min-1)+")"))),r.wrap("<a href='javascript:;' tabindex='-1'></a>"),l&&e===l.getFullYear()&&t===l.getMonth()?(n=a.eq(l.getDate()-1)).parent().attr("aria-selected",!0):n=e===f.getFullYear()&&t===f.getMonth()?a.eq(f.getDate()-1):r.eq(0),n.parent().removeAttr("tabindex")}},g=function(e){var t=o.hide;(i=l("<div id='"+a+"' class='picker-overlay' role='dialog' tabindex='-1' aria-hidden='true'></div>")).find("a").attr("tabindex","-1"),l("main").after(i),d=s.calendar.create(i,e.state),l("<button type='button' class='picker-close mfp-close overlay-close' title=\""+t+"\">×<span class='wb-inv'> "+t+"</span></button>").appendTo(i)},m=function(e){var t=e.id,e=e.state.labelText,e=o.show+e,e="<span class='input-group-btn'><a href='javascript:;' button id='"+t+"-picker-toggle' class='btn btn-default picker-toggle' href='javascript:;' title=\""+e+"\"><span class='glyphicon glyphicon-calendar'></span><span class='wb-inv'>"+e+"</span></a></span>";l("#"+s.jqEscape(t)).wrap("<span class='wb-date-wrap input-group'></span>").after(e),i.slideUp(0)},w=function(){var e=this.state,t=h(this.getAttribute("min"))||e.minDate,a=h(this.getAttribute("max"))||e.maxDate,i=h(this.value);this.state.minDate=t,this.state.maxDate=a,i&&t<=i&&i<=a?(e.date=i,e.year=i.getFullYear(),e.month=i.getMonth()):e.date=null},r=function(){var e=d.field,t=d.$field,a=o.show+d.labelText;l("#"+s.jqEscape(e.id+n)).attr("title",a.replace(" "," ")).children(".wb-inv").html(a),i.removeClass("open").attr("aria-hidden","true"),t.trigger("setfocus.wb")},v=function(e){var t=e.id,a=o.hide;w.call(e),d.reInit(e.state),x(),i.addClass("open").attr({"aria-controls":t,"aria-labelledby":t+n,"aria-hidden":"false"}).get(0).focus(),l("#"+s.jqEscape(t+n)).attr("title",a).children(".wb-inv").text(a)},x=function(){var e=d.field,t=d.$field.offset();i.attr("style","top:"+(t.top+e.offsetHeight)+"px;left:"+t.left+"px")};e.on("timerpoke.wb wb-init.wb-date",u,function(e){var t,a,i,n=s.init(e,p,u),r={};n&&(t=n.id,-1===n.className.indexOf("picker-field")&&(o||(a=(c=s.i18n)("space").replace(" "," ").replace("²",""),o={show:c("date-show").replace("\\'","'")+a,hide:c("date-hide").replace("\\'","'")+a+a+c("esc-key").replace("\\'","'"),selected:c("date-sel").replace("\\'","'")}),n.className+=" picker-field",i={field:this,$field:l(this),labelText:l("label[for="+s.jqEscape(n.id)+"]").clone().find(".datepicker-format, .error").remove().end().text()},e=h(n.getAttribute("min")),a=h(n.getAttribute("max")),e&&(i.minDate=e),a&&(i.maxDate=a),n.state=l.extend(r,b,i),(i=f>=r.minDate&&f<=r.maxDate?f:r.minDate>f?r.minDate:r.maxDate)&&(r.year=i.getFullYear(),r.month=i.getMonth()),w.call(n),d||g(n),t&&m(n),s.ready(l(n),p)))}),e.on("focusout focusin","#"+a+" .wb-clndr",function(e){switch(e.type){case"focusout":t=setTimeout(r,10);break;case"focusin":clearTimeout(t)}}),e.on("keydown","#"+a,function(e){27===e.which&&r()}),e.on("click",".picker-overlay .cal-days a",function(e){var t=e.which,a=d.field;if(!(t&&1!==t||a.disabled||a.readOnly))return a.value=l(e.currentTarget).find("time").attr("datetime"),l(a).trigger("change"),r(),!1}),e.on("click",".picker-toggle",function(e){e.preventDefault();var t,a=e.which;if(!(a&&1!==a||(t=e.currentTarget.id,(t=l("#"+s.jqEscape(t.substring(0,t.indexOf(n)))).get(0)).disabled||t.readOnly)))return t=t,"false"!==i.attr("aria-hidden")?v(t):r(),!1}),e.on("click",".picker-close",function(e){var t=e.which;t&&1!==t||(e.stopPropagation?e.stopImmediatePropagation():e.cancelBubble=!0,r())}),e.on("txt-rsz.wb win-rsz-width.wb win-rsz-height.wb",function(){i&&i.hasClass("open")&&x()}),s.add(u)}(jQuery,(window,document,wb));
|
8
|
+
//# sourceMappingURL=datepicker.min.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"datepicker.min.js","sources":["datepicker.js"],"names":["$","wb","i18n","i18nText","$container","calendar","focusOutTimer","componentName","selector","containerName","toggleSuffix","today","Date","$document","doc","fromDateISO","date","defaults","minDate","maxDate","year","getFullYear","month","getMonth","daysCallback","$days","range","linkFocus","$inRange","selectedDate","this","max","filter","min","wrap","eq","getDate","parent","attr","removeAttr","createCalendar","elm","closeText","hide","find","after","create","state","appendTo","createToggleIcon","fieldId","id","fieldLabelText","labelText","showFieldLabelText","show","objToggle","jqEscape","slideUp","updateState","getAttribute","value","field","$field","replace","children","html","removeClass","trigger","call","reInit","position","addClass","aria-controls","aria-labelledby","aria-hidden","get","focus","text","offset","top","offsetHeight","left","on","event","elmId","initDate","init","className","indexOf","space","selected","settings","clone","remove","end","extend","ready","type","setTimeout","clearTimeout","which","disabled","readOnly","currentTarget","preventDefault","pickerId","substring","stopPropagation","stopImmediatePropagation","cancelBubble","hasClass","add","jQuery","window","document"],"mappings":";;;;;;CAOA,SAAYA,EAAqBC,gBAOjC,IA4CCC,EAAMC,EAAUC,EAAYC,EAAUC,EA5CnCC,EAAgB,UACnBC,EAAW,mBAGXC,EAAgB,YAChBC,EAAe,iBACfC,EAAQ,IAAIC,KACZC,EAAYZ,EAAGa,IACfC,EAAcd,EAAGe,KAAKD,YACtBE,EAAW,CACVC,QAAS,IAAIN,KAAM,KAAM,EAAG,GAC5BO,QAAS,IAAIP,KAAM,KAAM,EAAG,GAC5BQ,KAAMT,EAAMU,cACZC,MAAOX,EAAMY,WACbC,aAAc,SAAUJ,EAAME,EAAOG,EAAOC,GAC3C,IAECC,EAFGC,EAAWH,EACdI,EAAeC,KAAKd,KAGhBU,IACCA,EAAMK,MACVH,EAAWA,EAASI,OAAQ,QAAWN,EAAMK,IAAM,GAAM,MAGrDL,EAAMO,MACVL,EAAWA,EAASI,OAAQ,QAAWN,EAAMO,IAAM,GAAM,OAI3DL,EAASM,KAAM,6CAEVL,GAAgBT,IAASS,EAAaR,eAAiBC,IAAUO,EAAaN,YAClFI,EAAYF,EAAMU,GAAIN,EAAaO,UAAY,IAErCC,SAASC,KAAM,iBAAiB,GAE1CX,EADWP,IAAST,EAAMU,eAAiBC,IAAUX,EAAMY,WAC/CE,EAAMU,GAAIxB,EAAMyB,UAAY,GAE5BR,EAASO,GAAI,GAG1BR,EAAUU,SAASE,WAAY,cA4FjCC,EAAiB,SAAUC,GAC1B,IAAIC,EAAYvC,EAASwC,MAEzBvC,EAAaJ,EAAG,YAAcS,EAAgB,mFAGnCmC,KAAM,KAAMN,KAAM,WAAY,MAEzCtC,E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O,IAKV9B,EAAUsE,GAAI,QAAS,gBAAiB,SAAUC,GACjD,IAAIiB,EAAQjB,EAAMiB,MAGZA,GAAmB,IAAVA,IAGTjB,EAAMwB,gBACVxB,EAAMyB,2BAENzB,EAAM0B,cAAe,EAGtBnE,OAIF9B,EAAUsE,GAAI,gDAAiD,WACzD/E,GAAcA,EAAW2G,SAAU,SACvCxC,MAKFtE,EAAG+G,IAAKxG,GAxUR,CA0UKyG,QAAQC,OAAQC,SAAUlH"}
|
@@ -1,126 +1,126 @@
|
|
1
|
-
/**
|
2
|
-
* @title WET-BOEW Details/summary polyfill
|
3
|
-
* @overview The <details> and <summary> elements allows content to be expanded and collapsed.
|
4
|
-
* @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
|
5
|
-
* @author @pjackson28
|
6
|
-
*/
|
7
|
-
( function( $, window, wb ) {
|
8
|
-
"use strict";
|
9
|
-
|
10
|
-
/*
|
11
|
-
* Variable and function definitions.
|
12
|
-
* These are global to the polyfill - meaning that they will be initialized once per page.
|
13
|
-
*/
|
14
|
-
var componentName = "wb-details",
|
15
|
-
selector = "summary",
|
16
|
-
initEvent = "wb-init." + componentName,
|
17
|
-
$document = wb.doc,
|
18
|
-
|
19
|
-
/**
|
20
|
-
* @method init
|
21
|
-
* @param {jQuery Event} event Event that triggered the function call
|
22
|
-
*/
|
23
|
-
init = function( event ) {
|
24
|
-
|
25
|
-
// Start initialization
|
26
|
-
// returns DOM object = proceed with init
|
27
|
-
// returns undefined = do not proceed with init (e.g., already initialized)
|
28
|
-
var summary = wb.init( event, componentName, selector ),
|
29
|
-
details;
|
30
|
-
|
31
|
-
if ( summary ) {
|
32
|
-
details = summary.parentNode;
|
33
|
-
Object.defineProperty( details, "open", {
|
34
|
-
get: isOpen,
|
35
|
-
set: setOpen
|
36
|
-
} );
|
37
|
-
details.summary = summary;
|
38
|
-
summary.setAttribute( "aria-expanded", ( details.getAttribute( "open" ) !== null ) );
|
39
|
-
|
40
|
-
if ( !summary.getAttribute( "role" ) ) {
|
41
|
-
summary.setAttribute( "role", "button" );
|
42
|
-
}
|
43
|
-
if ( !summary.getAttribute( "tabindex" ) ) {
|
44
|
-
summary.setAttribute( "tabindex", "0" );
|
45
|
-
}
|
46
|
-
|
47
|
-
// Identify that initialization has completed
|
48
|
-
wb.ready( $( summary ), componentName );
|
49
|
-
}
|
50
|
-
},
|
51
|
-
|
52
|
-
isOpen = function() {
|
53
|
-
return this.getAttribute( "open" ) !== null;
|
54
|
-
},
|
55
|
-
|
56
|
-
open = function() {
|
57
|
-
this.setAttribute( "open", "open" );
|
58
|
-
this.className += " open";
|
59
|
-
saveState.call( this );
|
60
|
-
},
|
61
|
-
|
62
|
-
close = function() {
|
63
|
-
this.removeAttribute( "open" );
|
64
|
-
this.className = this.className.replace( " open", "" );
|
65
|
-
saveState.call( this );
|
66
|
-
},
|
67
|
-
|
68
|
-
setOpen = function( isOpen ) {
|
69
|
-
if ( typeof isOpen === "boolean" ) {
|
70
|
-
if ( isOpen ) {
|
71
|
-
open.call( this );
|
72
|
-
} else {
|
73
|
-
close.call( this );
|
74
|
-
}
|
75
|
-
}
|
76
|
-
this.summary.setAttribute( "aria-expanded", isOpen );
|
77
|
-
$( this ).trigger( "toggle" );
|
78
|
-
},
|
79
|
-
|
80
|
-
//TODO: Move to the alerts plugin
|
81
|
-
saveState = function() {
|
82
|
-
var key;
|
83
|
-
|
84
|
-
if ( this.className.indexOf( "alert" ) !== -1 ) {
|
85
|
-
key = "alert-collapsible-state-" + this.getAttribute( "id" );
|
86
|
-
}
|
87
|
-
|
88
|
-
if ( key ) {
|
89
|
-
try {
|
90
|
-
localStorage.setItem( key, this.open ? "open" : "closed" );
|
91
|
-
} catch ( e ) {
|
92
|
-
/* swallow error */}
|
93
|
-
}
|
94
|
-
};
|
95
|
-
|
96
|
-
// Bind the init event of the plugin
|
97
|
-
$document.on( "timerpoke.wb " + initEvent, selector, init );
|
98
|
-
|
99
|
-
// Bind the the event handlers of the plugin
|
100
|
-
$document.on( "click keydown toggle." + componentName, selector, function( event ) {
|
101
|
-
var which = event.which,
|
102
|
-
currentTarget = event.currentTarget,
|
103
|
-
details;
|
104
|
-
|
105
|
-
// Ignore middle/right mouse buttons and wb-toggle enhanced summary elements (except for toggle)
|
106
|
-
if ( ( !which || which === 1 ) &&
|
107
|
-
( currentTarget.className.indexOf( "wb-toggle" ) === -1 ||
|
108
|
-
( event.type === "toggle" && event.namespace === componentName ) ) ) {
|
109
|
-
details = currentTarget.parentNode;
|
110
|
-
details.open = !details.open;
|
111
|
-
} else if ( which === 13 || which === 32 ) {
|
112
|
-
event.preventDefault();
|
113
|
-
$( currentTarget ).trigger( "click" );
|
114
|
-
}
|
115
|
-
|
116
|
-
/*
|
117
|
-
* Since we are working with events we want to ensure that we are being passive about our control,
|
118
|
-
* so returning true allows for events to always continue
|
119
|
-
*/
|
120
|
-
return true;
|
121
|
-
} );
|
122
|
-
|
123
|
-
// Add the timer poke to initialize the plugin
|
124
|
-
wb.add( selector );
|
125
|
-
|
126
|
-
} )( jQuery, window, wb );
|
1
|
+
/**
|
2
|
+
* @title WET-BOEW Details/summary polyfill
|
3
|
+
* @overview The <details> and <summary> elements allows content to be expanded and collapsed.
|
4
|
+
* @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
|
5
|
+
* @author @pjackson28
|
6
|
+
*/
|
7
|
+
( function( $, window, wb ) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
/*
|
11
|
+
* Variable and function definitions.
|
12
|
+
* These are global to the polyfill - meaning that they will be initialized once per page.
|
13
|
+
*/
|
14
|
+
var componentName = "wb-details",
|
15
|
+
selector = "summary",
|
16
|
+
initEvent = "wb-init." + componentName,
|
17
|
+
$document = wb.doc,
|
18
|
+
|
19
|
+
/**
|
20
|
+
* @method init
|
21
|
+
* @param {jQuery Event} event Event that triggered the function call
|
22
|
+
*/
|
23
|
+
init = function( event ) {
|
24
|
+
|
25
|
+
// Start initialization
|
26
|
+
// returns DOM object = proceed with init
|
27
|
+
// returns undefined = do not proceed with init (e.g., already initialized)
|
28
|
+
var summary = wb.init( event, componentName, selector ),
|
29
|
+
details;
|
30
|
+
|
31
|
+
if ( summary ) {
|
32
|
+
details = summary.parentNode;
|
33
|
+
Object.defineProperty( details, "open", {
|
34
|
+
get: isOpen,
|
35
|
+
set: setOpen
|
36
|
+
} );
|
37
|
+
details.summary = summary;
|
38
|
+
summary.setAttribute( "aria-expanded", ( details.getAttribute( "open" ) !== null ) );
|
39
|
+
|
40
|
+
if ( !summary.getAttribute( "role" ) ) {
|
41
|
+
summary.setAttribute( "role", "button" );
|
42
|
+
}
|
43
|
+
if ( !summary.getAttribute( "tabindex" ) ) {
|
44
|
+
summary.setAttribute( "tabindex", "0" );
|
45
|
+
}
|
46
|
+
|
47
|
+
// Identify that initialization has completed
|
48
|
+
wb.ready( $( summary ), componentName );
|
49
|
+
}
|
50
|
+
},
|
51
|
+
|
52
|
+
isOpen = function() {
|
53
|
+
return this.getAttribute( "open" ) !== null;
|
54
|
+
},
|
55
|
+
|
56
|
+
open = function() {
|
57
|
+
this.setAttribute( "open", "open" );
|
58
|
+
this.className += " open";
|
59
|
+
saveState.call( this );
|
60
|
+
},
|
61
|
+
|
62
|
+
close = function() {
|
63
|
+
this.removeAttribute( "open" );
|
64
|
+
this.className = this.className.replace( " open", "" );
|
65
|
+
saveState.call( this );
|
66
|
+
},
|
67
|
+
|
68
|
+
setOpen = function( isOpen ) {
|
69
|
+
if ( typeof isOpen === "boolean" ) {
|
70
|
+
if ( isOpen ) {
|
71
|
+
open.call( this );
|
72
|
+
} else {
|
73
|
+
close.call( this );
|
74
|
+
}
|
75
|
+
}
|
76
|
+
this.summary.setAttribute( "aria-expanded", isOpen );
|
77
|
+
$( this ).trigger( "toggle" );
|
78
|
+
},
|
79
|
+
|
80
|
+
//TODO: Move to the alerts plugin
|
81
|
+
saveState = function() {
|
82
|
+
var key;
|
83
|
+
|
84
|
+
if ( this.className.indexOf( "alert" ) !== -1 ) {
|
85
|
+
key = "alert-collapsible-state-" + this.getAttribute( "id" );
|
86
|
+
}
|
87
|
+
|
88
|
+
if ( key ) {
|
89
|
+
try {
|
90
|
+
localStorage.setItem( key, this.open ? "open" : "closed" );
|
91
|
+
} catch ( e ) {
|
92
|
+
/* swallow error */}
|
93
|
+
}
|
94
|
+
};
|
95
|
+
|
96
|
+
// Bind the init event of the plugin
|
97
|
+
$document.on( "timerpoke.wb " + initEvent, selector, init );
|
98
|
+
|
99
|
+
// Bind the the event handlers of the plugin
|
100
|
+
$document.on( "click keydown toggle." + componentName, selector, function( event ) {
|
101
|
+
var which = event.which,
|
102
|
+
currentTarget = event.currentTarget,
|
103
|
+
details;
|
104
|
+
|
105
|
+
// Ignore middle/right mouse buttons and wb-toggle enhanced summary elements (except for toggle)
|
106
|
+
if ( ( !which || which === 1 ) &&
|
107
|
+
( currentTarget.className.indexOf( "wb-toggle" ) === -1 ||
|
108
|
+
( event.type === "toggle" && event.namespace === componentName ) ) ) {
|
109
|
+
details = currentTarget.parentNode;
|
110
|
+
details.open = !details.open;
|
111
|
+
} else if ( which === 13 || which === 32 ) {
|
112
|
+
event.preventDefault();
|
113
|
+
$( currentTarget ).trigger( "click" );
|
114
|
+
}
|
115
|
+
|
116
|
+
/*
|
117
|
+
* Since we are working with events we want to ensure that we are being passive about our control,
|
118
|
+
* so returning true allows for events to always continue
|
119
|
+
*/
|
120
|
+
return true;
|
121
|
+
} );
|
122
|
+
|
123
|
+
// Add the timer poke to initialize the plugin
|
124
|
+
wb.add( selector );
|
125
|
+
|
126
|
+
} )( jQuery, window, wb );
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*!
|
2
|
+
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
|
3
|
+
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
|
4
|
+
* v4.0.53 - 2022-09-29
|
5
|
+
*
|
6
|
+
*/
|
7
|
+
!function(n,i){"use strict";var r="wb-details",a="summary",t=i.doc,o=function(){return null!==this.getAttribute("open")},s=function(t){"boolean"==typeof t&&(t?function(){this.setAttribute("open","open"),this.className+=" open",e.call(this)}:function(){this.removeAttribute("open"),this.className=this.className.replace(" open",""),e.call(this)}).call(this),this.summary.setAttribute("aria-expanded",t),n(this).trigger("toggle")},e=function(){var t;if(-1!==this.className.indexOf("alert")&&(t="alert-collapsible-state-"+this.getAttribute("id")),t)try{localStorage.setItem(t,this.open?"open":"closed")}catch(t){}};t.on("timerpoke.wb wb-init.wb-details",a,function(t){var e=i.init(t,r,a);e&&(t=e.parentNode,Object.defineProperty(t,"open",{get:o,set:s}),(t.summary=e).setAttribute("aria-expanded",null!==t.getAttribute("open")),e.getAttribute("role")||e.setAttribute("role","button"),e.getAttribute("tabindex")||e.setAttribute("tabindex","0"),i.ready(n(e),r))}),t.on("click keydown toggle."+r,a,function(t){var e=t.which,i=t.currentTarget;return e&&1!==e||-1!==i.className.indexOf("wb-toggle")&&("toggle"!==t.type||t.namespace!==r)?13!==e&&32!==e||(t.preventDefault(),n(i).trigger("click")):(i=i.parentNode).open=!i.open,!0}),i.add(a)}(jQuery,(window,wb));
|
8
|
+
//# sourceMappingURL=details.min.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"details.min.js","sources":["details.js"],"names":["$","wb","componentName","selector","$document","doc","isOpen","this","getAttribute","setOpen","setAttribute","className","saveState","call","removeAttribute","replace","summary","trigger","key","indexOf","localStorage","setItem","open","e","on","event","init","details","parentNode","Object","defineProperty","get","set","ready","which","currentTarget","type","namespace","preventDefault","add","jQuery","window"],"mappings":";;;;;;CAMA,SAAYA,EAAWC,gBAOvB,IAAIC,EAAgB,aACnBC,EAAW,UAEXC,EAAYH,EAAGI,IAmCfC,EAAS,WACR,OAAuC,OAAhCC,KAAKC,aAAc,SAe3BC,EAAU,SAAUH,GACI,kBAAXA,IACNA,EAdA,WACNC,KAAKG,aAAc,OAAQ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@ -1,47 +1,47 @@
|
|
1
|
-
/*!
|
2
|
-
*
|
3
|
-
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
|
4
|
-
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
|
5
|
-
*
|
6
|
-
* Version: @wet-boew-build.version@
|
7
|
-
*
|
8
|
-
*/
|
9
|
-
/*
|
10
|
-
* Jaws WAI-ARIA fixes
|
11
|
-
*/
|
12
|
-
|
13
|
-
( function( $ ) {
|
14
|
-
"use strict";
|
15
|
-
|
16
|
-
var heading, i, id, node,
|
17
|
-
headings = $( "h1, h2, h3, h4, h5, h6" ).get(),
|
18
|
-
nodes = $( "nav, section, article, aside, main" ).get(),
|
19
|
-
len = nodes.length,
|
20
|
-
idPrefix = "wb-h-aria-";
|
21
|
-
|
22
|
-
// Use aria-labelledby to fix the Jaws sectioning element/heading element association bug
|
23
|
-
for ( i = 0; i !== len; i += 1 ) {
|
24
|
-
node = nodes[ i ];
|
25
|
-
heading = node;
|
26
|
-
while ( ( heading = ( heading.firstElementChild || heading.firstChild ) ) !== null ) {
|
27
|
-
if ( /h[1-6]/i
|
28
|
-
id = heading.id;
|
29
|
-
if ( id.length === 0 ) {
|
30
|
-
id = idPrefix + i;
|
31
|
-
heading.id = id;
|
32
|
-
}
|
33
|
-
node.setAttribute( "aria-labelledby", id );
|
34
|
-
break;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
// Use role="heading" and aria-level to fix the Jaws sectioning element/heading level bug
|
40
|
-
len = headings.length;
|
41
|
-
for ( i = 0; i !== len; i += 1 ) {
|
42
|
-
heading = headings[ i ];
|
43
|
-
heading.setAttribute( "role", "heading" );
|
44
|
-
heading.setAttribute( "aria-level", heading.nodeName.substring( 1 ) );
|
45
|
-
}
|
46
|
-
|
47
|
-
} )( jQuery );
|
1
|
+
/*!
|
2
|
+
*
|
3
|
+
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
|
4
|
+
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
|
5
|
+
*
|
6
|
+
* Version: @wet-boew-build.version@
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
/*
|
10
|
+
* Jaws WAI-ARIA fixes
|
11
|
+
*/
|
12
|
+
|
13
|
+
( function( $ ) {
|
14
|
+
"use strict";
|
15
|
+
|
16
|
+
var heading, i, id, node,
|
17
|
+
headings = $( "h1, h2, h3, h4, h5, h6" ).get(),
|
18
|
+
nodes = $( "nav, section, article, aside, main" ).get(),
|
19
|
+
len = nodes.length,
|
20
|
+
idPrefix = "wb-h-aria-";
|
21
|
+
|
22
|
+
// Use aria-labelledby to fix the Jaws sectioning element/heading element association bug
|
23
|
+
for ( i = 0; i !== len; i += 1 ) {
|
24
|
+
node = nodes[ i ];
|
25
|
+
heading = node;
|
26
|
+
while ( ( heading = ( heading.firstElementChild || heading.firstChild ) ) !== null ) {
|
27
|
+
if ( heading.nodeName.match( /h[1-6]/i ) !== null ) {
|
28
|
+
id = heading.id;
|
29
|
+
if ( id.length === 0 ) {
|
30
|
+
id = idPrefix + i;
|
31
|
+
heading.id = id;
|
32
|
+
}
|
33
|
+
node.setAttribute( "aria-labelledby", id );
|
34
|
+
break;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
// Use role="heading" and aria-level to fix the Jaws sectioning element/heading level bug
|
40
|
+
len = headings.length;
|
41
|
+
for ( i = 0; i !== len; i += 1 ) {
|
42
|
+
heading = headings[ i ];
|
43
|
+
heading.setAttribute( "role", "heading" );
|
44
|
+
heading.setAttribute( "aria-level", heading.nodeName.substring( 1 ) );
|
45
|
+
}
|
46
|
+
|
47
|
+
} )( jQuery );
|
@@ -1,16 +1,16 @@
|
|
1
|
-
/*!
|
2
|
-
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
|
3
|
-
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
|
4
|
-
* v4.0.
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
/*!
|
8
|
-
*
|
9
|
-
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
|
10
|
-
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
|
11
|
-
*
|
12
|
-
* Version: @wet-boew-build.version@
|
13
|
-
*
|
14
|
-
*/
|
15
|
-
!function(e){"use strict";for(var t,i,r,a=e("h1, h2, h3, h4, h5, h6").get(),l=e("nav, section, article, aside, main").get(),h=l.length,n=0;n!==h;n+=1)for(t=r=l[n];null!==(t=t.firstElementChild||t.firstChild);)if(/h[1-6]/i
|
1
|
+
/*!
|
2
|
+
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
|
3
|
+
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
|
4
|
+
* v4.0.53 - 2022-09-29
|
5
|
+
*
|
6
|
+
*/
|
7
|
+
/*!
|
8
|
+
*
|
9
|
+
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
|
10
|
+
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
|
11
|
+
*
|
12
|
+
* Version: @wet-boew-build.version@
|
13
|
+
*
|
14
|
+
*/
|
15
|
+
!function(e){"use strict";for(var t,i,r,a=e("h1, h2, h3, h4, h5, h6").get(),l=e("nav, section, article, aside, main").get(),h=l.length,n=0;n!==h;n+=1)for(t=r=l[n];null!==(t=t.firstElementChild||t.firstChild);)if(null!==t.nodeName.match(/h[1-6]/i)){0===(i=t.id).length&&(i="wb-h-aria-"+n,t.id=i),r.setAttribute("aria-labelledby",i);break}for(h=a.length,n=0;n!==h;n+=1)(t=a[n]).setAttribute("role","heading"),t.setAttribute("aria-level",t.nodeName.substring(1))}(jQuery);
|
16
16
|
//# sourceMappingURL=jawsariafixes.min.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jawsariafixes.min.js","sources":["jawsariafixes.js"],"names":["$","heading","id","node","headings","get","nodes","len","length","i","firstElementChild","firstChild","nodeName","match","setAttribute","substring","jQuery"],"mappings":";;;;;;;;;;;;;;CAYA,SAAYA,gBAUZ,IAPA,IAAIC,EAAYC,EAAIC,EACnBC,EAAWJ,EAAG,0BAA2BK,MACzCC,EAAQN,EAAG,sCAAuCK,MAClDE,EAAMD,EAAME,OAIPC,EAAI,EAAGA,IAAMF,EAAKE,GAAK,EAG5B,IADAR,EADAE,EAAOG,EAAOG,GAEgE,QAApER,EAAYA,EAAQS,mBAAqBT,EAAQU,aAC1D,GAA6C,OAAxCV,EAAQW,SAASC,MAAO,WAAuB,CAEhC,KADnBX,EAAKD,EAAQC,IACLM,SACPN,EAVQ,aAUQO,EAChBR,EAAQC,GAAKA,GAEdC,EAAKW,aAAc,kBAAmBZ,GACtC,MAOH,IADAK,EAAMH,EAASI,OACTC,EAAI,EAAGA,IAAMF,EAAKE,GAAK,GAC5BR,EAAUG,EAAUK,IACZK,aAAc,OAAQ,WAC9Bb,EAAQa,aAAc,aAAcb,EAAQW,SAASG,UAAW,IA/BjE,CAkCKC"}
|