foundation-rails 6.6.1.0 → 6.9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +2 -0
- data/Appraisals +4 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +199 -146
- data/bower.json +3 -3
- data/foundation-rails.gemspec +4 -4
- data/gemfiles/rails_7.1.gemfile +10 -0
- data/gemfiles/rails_7.1.gemfile.lock +261 -0
- data/lib/foundation/rails/version.rb +1 -1
- data/lib/generators/foundation/templates/_settings.scss +32 -28
- data/vendor/assets/js/foundation.cjs.js +2101 -3230
- data/vendor/assets/js/foundation.cjs.js.map +1 -1
- data/vendor/assets/js/foundation.es6.js +505 -379
- data/vendor/assets/js/foundation.es6.js.map +1 -1
- data/vendor/assets/js/foundation.esm.js +1779 -2911
- data/vendor/assets/js/foundation.esm.js.map +1 -1
- data/vendor/assets/js/foundation.js +2544 -3970
- data/vendor/assets/js/foundation.js.map +1 -1
- data/vendor/assets/js/foundation.min.js +1 -1
- data/vendor/assets/js/foundation.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.abide.js +277 -367
- data/vendor/assets/js/plugins/foundation.abide.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.abide.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.abide.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.js +205 -277
- data/vendor/assets/js/plugins/foundation.accordion.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.js +174 -262
- data/vendor/assets/js/plugins/foundation.accordionMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.core.js +314 -457
- data/vendor/assets/js/plugins/foundation.core.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.core.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.core.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.js +259 -359
- data/vendor/assets/js/plugins/foundation.drilldown.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.js +291 -462
- data/vendor/assets/js/plugins/foundation.dropdown.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.js +251 -349
- data/vendor/assets/js/plugins/foundation.dropdownMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.js +178 -261
- data/vendor/assets/js/plugins/foundation.equalizer.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.js +455 -240
- data/vendor/assets/js/plugins/foundation.interchange.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.js +226 -342
- data/vendor/assets/js/plugins/foundation.magellan.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.js +326 -471
- data/vendor/assets/js/plugins/foundation.offcanvas.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.js +244 -347
- data/vendor/assets/js/plugins/foundation.orbit.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js +203 -288
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.js +205 -255
- data/vendor/assets/js/plugins/foundation.responsiveMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.js +170 -226
- data/vendor/assets/js/plugins/foundation.responsiveToggle.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.js +285 -445
- data/vendor/assets/js/plugins/foundation.reveal.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.slider.js +321 -486
- data/vendor/assets/js/plugins/foundation.slider.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.slider.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.slider.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.js +138 -188
- data/vendor/assets/js/plugins/foundation.smoothScroll.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.js +253 -395
- data/vendor/assets/js/plugins/foundation.sticky.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.js +228 -317
- data/vendor/assets/js/plugins/foundation.tabs.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.js +207 -294
- data/vendor/assets/js/plugins/foundation.toggler.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.js +276 -437
- data/vendor/assets/js/plugins/foundation.tooltip.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.js +176 -234
- data/vendor/assets/js/plugins/foundation.util.box.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.js +110 -150
- data/vendor/assets/js/plugins/foundation.util.imageLoader.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.js +157 -172
- data/vendor/assets/js/plugins/foundation.util.keyboard.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.js +167 -233
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.js +127 -161
- data/vendor/assets/js/plugins/foundation.util.motion.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.js +126 -160
- data/vendor/assets/js/plugins/foundation.util.nest.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.js +116 -171
- data/vendor/assets/js/plugins/foundation.util.timer.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.js +172 -228
- data/vendor/assets/js/plugins/foundation.util.touch.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.js +158 -222
- data/vendor/assets/js/plugins/foundation.util.triggers.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.min.js.map +1 -1
- data/vendor/assets/scss/_global.scss +20 -7
- data/vendor/assets/scss/components/_accordion-menu.scss +2 -2
- data/vendor/assets/scss/components/_accordion.scss +2 -2
- data/vendor/assets/scss/components/_badge.scss +3 -3
- data/vendor/assets/scss/components/_breadcrumbs.scss +4 -3
- data/vendor/assets/scss/components/_button-group.scss +23 -13
- data/vendor/assets/scss/components/_button.scss +15 -15
- data/vendor/assets/scss/components/_callout.scss +4 -4
- data/vendor/assets/scss/components/_card.scss +2 -2
- data/vendor/assets/scss/components/_close-button.scss +7 -6
- data/vendor/assets/scss/components/_drilldown.scss +2 -2
- data/vendor/assets/scss/components/_dropdown-menu.scss +3 -3
- data/vendor/assets/scss/components/_dropdown.scss +2 -2
- data/vendor/assets/scss/components/_flex.scss +2 -2
- data/vendor/assets/scss/components/_float.scss +2 -2
- data/vendor/assets/scss/components/_label.scss +3 -3
- data/vendor/assets/scss/components/_media-object.scss +2 -2
- data/vendor/assets/scss/components/_menu.scss +56 -21
- data/vendor/assets/scss/components/_off-canvas.scss +20 -18
- data/vendor/assets/scss/components/_orbit.scss +5 -5
- data/vendor/assets/scss/components/_pagination.scss +3 -3
- data/vendor/assets/scss/components/_progress-bar.scss +3 -3
- data/vendor/assets/scss/components/_responsive-embed.scss +3 -3
- data/vendor/assets/scss/components/_reveal.scss +10 -5
- data/vendor/assets/scss/components/_slider.scss +7 -4
- data/vendor/assets/scss/components/_sticky.scss +2 -2
- data/vendor/assets/scss/components/_switch.scss +27 -4
- data/vendor/assets/scss/components/_table.scss +10 -9
- data/vendor/assets/scss/components/_tabs.scss +4 -4
- data/vendor/assets/scss/components/_thumbnail.scss +2 -2
- data/vendor/assets/scss/components/_title-bar.scss +2 -2
- data/vendor/assets/scss/components/_tooltip.scss +2 -2
- data/vendor/assets/scss/components/_top-bar.scss +9 -7
- data/vendor/assets/scss/components/_visibility.scss +48 -5
- data/vendor/assets/scss/forms/_checkbox.scss +2 -2
- data/vendor/assets/scss/forms/_error.scss +2 -2
- data/vendor/assets/scss/forms/_fieldset.scss +2 -2
- data/vendor/assets/scss/forms/_forms.scss +2 -2
- data/vendor/assets/scss/forms/_help-text.scss +2 -2
- data/vendor/assets/scss/forms/_input-group.scss +2 -2
- data/vendor/assets/scss/forms/_label.scss +4 -3
- data/vendor/assets/scss/forms/_meter.scss +2 -2
- data/vendor/assets/scss/forms/_progress.scss +3 -3
- data/vendor/assets/scss/forms/_range.scss +3 -3
- data/vendor/assets/scss/forms/_select.scss +7 -6
- data/vendor/assets/scss/forms/_text.scss +4 -4
- data/vendor/assets/scss/foundation.scss +3 -3
- data/vendor/assets/scss/grid/_classes.scss +3 -3
- data/vendor/assets/scss/grid/_column.scss +5 -4
- data/vendor/assets/scss/grid/_flex-grid.scss +9 -8
- data/vendor/assets/scss/grid/_grid.scss +2 -2
- data/vendor/assets/scss/grid/_gutter.scss +3 -3
- data/vendor/assets/scss/grid/_layout.scss +7 -7
- data/vendor/assets/scss/grid/_position.scss +6 -6
- data/vendor/assets/scss/grid/_row.scss +3 -3
- data/vendor/assets/scss/grid/_size.scss +2 -2
- data/vendor/assets/scss/motion-ui/util/_animation.scss +1 -1
- data/vendor/assets/scss/motion-ui/util/_series.scss +1 -1
- data/vendor/assets/scss/motion-ui/util/_unit.scss +54 -1
- data/vendor/assets/scss/prototype/_arrow.scss +2 -2
- data/vendor/assets/scss/prototype/_border-box.scss +2 -2
- data/vendor/assets/scss/prototype/_border-none.scss +3 -3
- data/vendor/assets/scss/prototype/_bordered.scss +2 -2
- data/vendor/assets/scss/prototype/_box.scss +2 -2
- data/vendor/assets/scss/prototype/_display.scss +2 -2
- data/vendor/assets/scss/prototype/_font-styling.scss +4 -4
- data/vendor/assets/scss/prototype/_list-style-type.scss +2 -2
- data/vendor/assets/scss/prototype/_overflow.scss +11 -2
- data/vendor/assets/scss/prototype/_position.scss +2 -2
- data/vendor/assets/scss/prototype/_prototype.scss +2 -2
- data/vendor/assets/scss/prototype/_rotate.scss +9 -7
- data/vendor/assets/scss/prototype/_rounded.scss +2 -2
- data/vendor/assets/scss/prototype/_separator.scss +7 -7
- data/vendor/assets/scss/prototype/_shadow.scss +3 -4
- data/vendor/assets/scss/prototype/_sizing.scss +2 -2
- data/vendor/assets/scss/prototype/_spacing.scss +35 -35
- data/vendor/assets/scss/prototype/_text-decoration.scss +2 -2
- data/vendor/assets/scss/prototype/_text-transformation.scss +5 -5
- data/vendor/assets/scss/prototype/_text-utilities.scss +2 -2
- data/vendor/assets/scss/settings/_settings.scss +32 -28
- data/vendor/assets/scss/typography/_alignment.scss +2 -2
- data/vendor/assets/scss/typography/_base.scss +8 -8
- data/vendor/assets/scss/typography/_helpers.scss +12 -4
- data/vendor/assets/scss/typography/_print.scss +4 -4
- data/vendor/assets/scss/typography/_typography.scss +2 -2
- data/vendor/assets/scss/util/_breakpoint.scss +24 -21
- data/vendor/assets/scss/util/_color.scss +22 -10
- data/vendor/assets/scss/util/_direction.scss +3 -3
- data/vendor/assets/scss/util/_flex.scss +1 -1
- data/vendor/assets/scss/util/_math.scss +63 -11
- data/vendor/assets/scss/util/_mixins.scss +20 -16
- data/vendor/assets/scss/util/_selector.scss +3 -17
- data/vendor/assets/scss/util/_typography.scss +8 -8
- data/vendor/assets/scss/util/_unit.scss +16 -10
- data/vendor/assets/scss/util/_util.scss +2 -2
- data/vendor/assets/scss/util/_value.scss +5 -20
- data/vendor/assets/scss/vendor/normalize.scss +19 -2
- data/vendor/assets/scss/xy-grid/_cell.scss +18 -7
- data/vendor/assets/scss/xy-grid/_classes.scss +16 -16
- data/vendor/assets/scss/xy-grid/_collapse.scss +2 -2
- data/vendor/assets/scss/xy-grid/_frame.scss +12 -0
- data/vendor/assets/scss/xy-grid/_grid.scss +4 -4
- data/vendor/assets/scss/xy-grid/_gutters.scss +4 -4
- data/vendor/assets/scss/xy-grid/_layout.scss +3 -3
- data/vendor/assets/scss/xy-grid/_position.scss +14 -9
- data/vendor/assets/scss/xy-grid/_xy-grid.scss +4 -4
- metadata +21 -19
@@ -1,192 +1,30 @@
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
-
module.exports = factory(require("./foundation.core"), require("
|
3
|
+
module.exports = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.keyboard"), require("./foundation.util.nest"), require("./foundation.util.box"), require("./foundation.util.touch"));
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
5
|
-
define(["./foundation.core", "./foundation.util.
|
5
|
+
define(["./foundation.core", "jquery", "./foundation.util.keyboard", "./foundation.util.nest", "./foundation.util.box", "./foundation.util.touch"], factory);
|
6
6
|
else if(typeof exports === 'object')
|
7
|
-
exports["
|
7
|
+
exports["__FOUNDATION_EXTERNAL__"] = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.keyboard"), require("./foundation.util.nest"), require("./foundation.util.box"), require("./foundation.util.touch"));
|
8
8
|
else
|
9
|
-
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.dropdownMenu"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.
|
10
|
-
})(
|
11
|
-
return /******/ (function(
|
12
|
-
/******/
|
13
|
-
/******/ var
|
14
|
-
/******/
|
15
|
-
/******/ // The require function
|
16
|
-
/******/ function __webpack_require__(moduleId) {
|
17
|
-
/******/
|
18
|
-
/******/ // Check if module is in cache
|
19
|
-
/******/ if(installedModules[moduleId]) {
|
20
|
-
/******/ return installedModules[moduleId].exports;
|
21
|
-
/******/ }
|
22
|
-
/******/ // Create a new module (and put it into the cache)
|
23
|
-
/******/ var module = installedModules[moduleId] = {
|
24
|
-
/******/ i: moduleId,
|
25
|
-
/******/ l: false,
|
26
|
-
/******/ exports: {}
|
27
|
-
/******/ };
|
28
|
-
/******/
|
29
|
-
/******/ // Execute the module function
|
30
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31
|
-
/******/
|
32
|
-
/******/ // Flag the module as loaded
|
33
|
-
/******/ module.l = true;
|
34
|
-
/******/
|
35
|
-
/******/ // Return the exports of the module
|
36
|
-
/******/ return module.exports;
|
37
|
-
/******/ }
|
38
|
-
/******/
|
39
|
-
/******/
|
40
|
-
/******/ // expose the modules object (__webpack_modules__)
|
41
|
-
/******/ __webpack_require__.m = modules;
|
42
|
-
/******/
|
43
|
-
/******/ // expose the module cache
|
44
|
-
/******/ __webpack_require__.c = installedModules;
|
45
|
-
/******/
|
46
|
-
/******/ // define getter function for harmony exports
|
47
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
48
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
49
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
50
|
-
/******/ }
|
51
|
-
/******/ };
|
52
|
-
/******/
|
53
|
-
/******/ // define __esModule on exports
|
54
|
-
/******/ __webpack_require__.r = function(exports) {
|
55
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
56
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
57
|
-
/******/ }
|
58
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
59
|
-
/******/ };
|
60
|
-
/******/
|
61
|
-
/******/ // create a fake namespace object
|
62
|
-
/******/ // mode & 1: value is a module id, require it
|
63
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
64
|
-
/******/ // mode & 4: return value when already ns object
|
65
|
-
/******/ // mode & 8|1: behave like require
|
66
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
67
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
68
|
-
/******/ if(mode & 8) return value;
|
69
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
70
|
-
/******/ var ns = Object.create(null);
|
71
|
-
/******/ __webpack_require__.r(ns);
|
72
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
73
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
74
|
-
/******/ return ns;
|
75
|
-
/******/ };
|
76
|
-
/******/
|
77
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
78
|
-
/******/ __webpack_require__.n = function(module) {
|
79
|
-
/******/ var getter = module && module.__esModule ?
|
80
|
-
/******/ function getDefault() { return module['default']; } :
|
81
|
-
/******/ function getModuleExports() { return module; };
|
82
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
83
|
-
/******/ return getter;
|
84
|
-
/******/ };
|
85
|
-
/******/
|
86
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
87
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
88
|
-
/******/
|
89
|
-
/******/ // __webpack_public_path__
|
90
|
-
/******/ __webpack_require__.p = "";
|
91
|
-
/******/
|
92
|
-
/******/
|
93
|
-
/******/ // Load entry module and return exports
|
94
|
-
/******/ return __webpack_require__(__webpack_require__.s = 5);
|
95
|
-
/******/ })
|
96
|
-
/************************************************************************/
|
97
|
-
/******/ ({
|
98
|
-
|
99
|
-
/***/ "./foundation.core":
|
100
|
-
/*!****************************************************************************************************************************************************************!*\
|
101
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
|
102
|
-
\****************************************************************************************************************************************************************/
|
103
|
-
/*! no static exports found */
|
104
|
-
/***/ (function(module, exports) {
|
105
|
-
|
106
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
|
107
|
-
|
108
|
-
/***/ }),
|
109
|
-
|
110
|
-
/***/ "./foundation.util.box":
|
111
|
-
/*!********************************************************************************************************************************************************************************!*\
|
112
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.box"],"amd":"./foundation.util.box","commonjs":"./foundation.util.box","commonjs2":"./foundation.util.box"} ***!
|
113
|
-
\********************************************************************************************************************************************************************************/
|
114
|
-
/*! no static exports found */
|
115
|
-
/***/ (function(module, exports) {
|
116
|
-
|
117
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_box__;
|
118
|
-
|
119
|
-
/***/ }),
|
120
|
-
|
121
|
-
/***/ "./foundation.util.keyboard":
|
122
|
-
/*!****************************************************************************************************************************************************************************************************!*\
|
123
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.keyboard"],"amd":"./foundation.util.keyboard","commonjs":"./foundation.util.keyboard","commonjs2":"./foundation.util.keyboard"} ***!
|
124
|
-
\****************************************************************************************************************************************************************************************************/
|
125
|
-
/*! no static exports found */
|
126
|
-
/***/ (function(module, exports) {
|
127
|
-
|
128
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__;
|
129
|
-
|
130
|
-
/***/ }),
|
131
|
-
|
132
|
-
/***/ "./foundation.util.nest":
|
133
|
-
/*!************************************************************************************************************************************************************************************!*\
|
134
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.nest"],"amd":"./foundation.util.nest","commonjs":"./foundation.util.nest","commonjs2":"./foundation.util.nest"} ***!
|
135
|
-
\************************************************************************************************************************************************************************************/
|
136
|
-
/*! no static exports found */
|
137
|
-
/***/ (function(module, exports) {
|
138
|
-
|
139
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_nest__;
|
140
|
-
|
141
|
-
/***/ }),
|
142
|
-
|
143
|
-
/***/ "./foundation.util.touch":
|
144
|
-
/*!****************************************************************************************************************************************************************************************!*\
|
145
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.touch"],"amd":"./foundation.util.touch","commonjs":"./foundation.util.touch","commonjs2":"./foundation.util.touch"} ***!
|
146
|
-
\****************************************************************************************************************************************************************************************/
|
147
|
-
/*! no static exports found */
|
148
|
-
/***/ (function(module, exports) {
|
149
|
-
|
150
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_touch__;
|
151
|
-
|
152
|
-
/***/ }),
|
153
|
-
|
154
|
-
/***/ "./js/entries/plugins/foundation.dropdownMenu.js":
|
155
|
-
/*!*******************************************************!*\
|
156
|
-
!*** ./js/entries/plugins/foundation.dropdownMenu.js ***!
|
157
|
-
\*******************************************************/
|
158
|
-
/*! exports provided: Foundation, DropdownMenu */
|
159
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
160
|
-
|
161
|
-
"use strict";
|
162
|
-
__webpack_require__.r(__webpack_exports__);
|
163
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
164
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
165
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Foundation", function() { return _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"]; });
|
166
|
-
|
167
|
-
/* harmony import */ var _foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.dropdownMenu */ "./js/foundation.dropdownMenu.js");
|
168
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownMenu", function() { return _foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_1__["DropdownMenu"]; });
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
_foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"].plugin(_foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_1__["DropdownMenu"], 'DropdownMenu');
|
173
|
-
|
174
|
-
|
175
|
-
/***/ }),
|
9
|
+
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.dropdownMenu"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.keyboard"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.nest"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.box"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.touch"]);
|
10
|
+
})(self, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__, __WEBPACK_EXTERNAL_MODULE__foundation_util_nest__, __WEBPACK_EXTERNAL_MODULE__foundation_util_box__, __WEBPACK_EXTERNAL_MODULE__foundation_util_touch__) {
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
12
|
+
/******/ "use strict";
|
13
|
+
/******/ var __webpack_modules__ = ({
|
176
14
|
|
177
15
|
/***/ "./js/foundation.dropdownMenu.js":
|
178
16
|
/*!***************************************!*\
|
179
17
|
!*** ./js/foundation.dropdownMenu.js ***!
|
180
18
|
\***************************************/
|
181
|
-
|
182
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
183
20
|
|
184
|
-
"use strict";
|
185
21
|
__webpack_require__.r(__webpack_exports__);
|
186
|
-
/* harmony export
|
22
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
23
|
+
/* harmony export */ DropdownMenu: function() { return /* binding */ DropdownMenu; }
|
24
|
+
/* harmony export */ });
|
187
25
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
|
188
26
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
189
|
-
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.
|
27
|
+
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
|
190
28
|
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__);
|
191
29
|
/* harmony import */ var _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.util.keyboard */ "./foundation.util.keyboard");
|
192
30
|
/* harmony import */ var _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_2__);
|
@@ -196,25 +34,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
196
34
|
/* harmony import */ var _foundation_util_box__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_box__WEBPACK_IMPORTED_MODULE_4__);
|
197
35
|
/* harmony import */ var _foundation_util_touch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./foundation.util.touch */ "./foundation.util.touch");
|
198
36
|
/* harmony import */ var _foundation_util_touch__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_touch__WEBPACK_IMPORTED_MODULE_5__);
|
199
|
-
|
200
|
-
|
201
|
-
function
|
202
|
-
|
203
|
-
function
|
204
|
-
|
205
|
-
function
|
206
|
-
|
207
|
-
function
|
208
|
-
|
209
|
-
function
|
210
|
-
|
211
|
-
function
|
212
|
-
|
213
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
214
|
-
|
215
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
216
|
-
|
217
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
37
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
38
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
39
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
40
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
41
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
42
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
43
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
44
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
45
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
46
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
47
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
48
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
49
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
218
50
|
|
219
51
|
|
220
52
|
|
@@ -231,21 +63,15 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
231
63
|
* @requires foundation.util.nest
|
232
64
|
* @requires foundation.util.touch
|
233
65
|
*/
|
234
|
-
|
235
|
-
var DropdownMenu =
|
236
|
-
/*#__PURE__*/
|
237
|
-
function (_Plugin) {
|
238
|
-
_inherits(DropdownMenu, _Plugin);
|
239
|
-
|
66
|
+
var DropdownMenu = /*#__PURE__*/function (_Plugin) {
|
240
67
|
function DropdownMenu() {
|
241
68
|
_classCallCheck(this, DropdownMenu);
|
242
|
-
|
243
|
-
return _possibleConstructorReturn(this, _getPrototypeOf(DropdownMenu).apply(this, arguments));
|
69
|
+
return _callSuper(this, DropdownMenu, arguments);
|
244
70
|
}
|
245
|
-
|
246
|
-
_createClass(DropdownMenu, [{
|
71
|
+
_inherits(DropdownMenu, _Plugin);
|
72
|
+
return _createClass(DropdownMenu, [{
|
247
73
|
key: "_setup",
|
248
|
-
|
74
|
+
value:
|
249
75
|
/**
|
250
76
|
* Creates a new instance of DropdownMenu.
|
251
77
|
* @class
|
@@ -254,16 +80,15 @@ function (_Plugin) {
|
|
254
80
|
* @param {jQuery} element - jQuery object to make into a dropdown menu.
|
255
81
|
* @param {Object} options - Overrides to the default plugin settings.
|
256
82
|
*/
|
257
|
-
|
83
|
+
function _setup(element, options) {
|
258
84
|
this.$element = element;
|
259
|
-
this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
85
|
+
this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default().extend({}, DropdownMenu.defaults, this.$element.data(), options);
|
260
86
|
this.className = 'DropdownMenu'; // ie9 back compat
|
261
87
|
|
262
|
-
_foundation_util_touch__WEBPACK_IMPORTED_MODULE_5__
|
88
|
+
_foundation_util_touch__WEBPACK_IMPORTED_MODULE_5__.Touch.init((jquery__WEBPACK_IMPORTED_MODULE_0___default())); // Touch init is idempotent, we just need to make sure it's initialied.
|
263
89
|
|
264
90
|
this._init();
|
265
|
-
|
266
|
-
_foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_2__["Keyboard"].register('DropdownMenu', {
|
91
|
+
_foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_2__.Keyboard.register('DropdownMenu', {
|
267
92
|
'ENTER': 'open',
|
268
93
|
'SPACE': 'open',
|
269
94
|
'ARROW_RIGHT': 'next',
|
@@ -273,24 +98,23 @@ function (_Plugin) {
|
|
273
98
|
'ESCAPE': 'close'
|
274
99
|
});
|
275
100
|
}
|
101
|
+
|
276
102
|
/**
|
277
103
|
* Initializes the plugin, and calls _prepareMenu
|
278
104
|
* @private
|
279
105
|
* @function
|
280
106
|
*/
|
281
|
-
|
282
107
|
}, {
|
283
108
|
key: "_init",
|
284
109
|
value: function _init() {
|
285
|
-
_foundation_util_nest__WEBPACK_IMPORTED_MODULE_3__
|
110
|
+
_foundation_util_nest__WEBPACK_IMPORTED_MODULE_3__.Nest.Feather(this.$element, 'dropdown');
|
286
111
|
var subs = this.$element.find('li.is-dropdown-submenu-parent');
|
287
112
|
this.$element.children('.is-dropdown-submenu-parent').children('.is-dropdown-submenu').addClass('first-sub');
|
288
|
-
this.$menuItems = this.$element.find('[role="
|
289
|
-
this.$tabs = this.$element.children('[role="
|
113
|
+
this.$menuItems = this.$element.find('li[role="none"]');
|
114
|
+
this.$tabs = this.$element.children('li[role="none"]');
|
290
115
|
this.$tabs.find('ul.is-dropdown-submenu').addClass(this.options.verticalClass);
|
291
|
-
|
292
116
|
if (this.options.alignment === 'auto') {
|
293
|
-
if (this.$element.hasClass(this.options.rightClass) ||
|
117
|
+
if (this.$element.hasClass(this.options.rightClass) || (0,_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.rtl)() || this.$element.parents('.top-bar-right').is('*')) {
|
294
118
|
this.options.alignment = 'right';
|
295
119
|
subs.addClass('opens-left');
|
296
120
|
} else {
|
@@ -304,9 +128,7 @@ function (_Plugin) {
|
|
304
128
|
subs.addClass('opens-right');
|
305
129
|
}
|
306
130
|
}
|
307
|
-
|
308
131
|
this.changed = false;
|
309
|
-
|
310
132
|
this._events();
|
311
133
|
}
|
312
134
|
}, {
|
@@ -317,83 +139,75 @@ function (_Plugin) {
|
|
317
139
|
}, {
|
318
140
|
key: "_isRtl",
|
319
141
|
value: function _isRtl() {
|
320
|
-
return this.$element.hasClass('align-right') ||
|
142
|
+
return this.$element.hasClass('align-right') || (0,_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.rtl)() && !this.$element.hasClass('align-left');
|
321
143
|
}
|
144
|
+
|
322
145
|
/**
|
323
146
|
* Adds event listeners to elements within the menu
|
324
147
|
* @private
|
325
148
|
* @function
|
326
149
|
*/
|
327
|
-
|
328
150
|
}, {
|
329
151
|
key: "_events",
|
330
152
|
value: function _events() {
|
331
153
|
var _this = this,
|
332
|
-
|
333
|
-
|
334
|
-
|
154
|
+
hasTouch = 'ontouchstart' in window || typeof window.ontouchstart !== 'undefined',
|
155
|
+
parClass = 'is-dropdown-submenu-parent';
|
335
156
|
|
157
|
+
// used for onClick and in the keyboard handlers
|
336
158
|
var handleClickFn = function handleClickFn(e) {
|
337
159
|
var $elem = jquery__WEBPACK_IMPORTED_MODULE_0___default()(e.target).parentsUntil('ul', ".".concat(parClass)),
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
160
|
+
hasSub = $elem.hasClass(parClass),
|
161
|
+
hasClicked = $elem.attr('data-is-click') === 'true',
|
162
|
+
$sub = $elem.children('.is-dropdown-submenu');
|
342
163
|
if (hasSub) {
|
343
164
|
if (hasClicked) {
|
344
165
|
if (!_this.options.closeOnClick || !_this.options.clickOpen && !hasTouch || _this.options.forceFollow && hasTouch) {
|
345
166
|
return;
|
346
167
|
}
|
347
|
-
|
168
|
+
e.stopImmediatePropagation();
|
348
169
|
e.preventDefault();
|
349
|
-
|
350
170
|
_this._hide($elem);
|
351
171
|
} else {
|
172
|
+
e.stopImmediatePropagation();
|
352
173
|
e.preventDefault();
|
353
|
-
|
354
174
|
_this._show($sub);
|
355
|
-
|
356
175
|
$elem.add($elem.parentsUntil(_this.$element, ".".concat(parClass))).attr('data-is-click', true);
|
357
176
|
}
|
358
177
|
}
|
359
178
|
};
|
360
|
-
|
361
179
|
if (this.options.clickOpen || hasTouch) {
|
362
180
|
this.$menuItems.on('click.zf.dropdownMenu touchstart.zf.dropdownMenu', handleClickFn);
|
363
|
-
}
|
364
|
-
|
181
|
+
}
|
365
182
|
|
183
|
+
// Handle Leaf element Clicks
|
366
184
|
if (_this.options.closeOnClickInside) {
|
367
|
-
this.$menuItems.on('click.zf.dropdownMenu', function (
|
185
|
+
this.$menuItems.on('click.zf.dropdownMenu', function () {
|
368
186
|
var $elem = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this),
|
369
|
-
|
370
|
-
|
187
|
+
hasSub = $elem.hasClass(parClass);
|
371
188
|
if (!hasSub) {
|
372
189
|
_this._hide();
|
373
190
|
}
|
374
191
|
});
|
375
192
|
}
|
376
|
-
|
193
|
+
if (hasTouch && this.options.disableHoverOnTouch) this.options.disableHover = true;
|
377
194
|
if (!this.options.disableHover) {
|
378
|
-
this.$menuItems.on('mouseenter.zf.dropdownMenu', function (
|
195
|
+
this.$menuItems.on('mouseenter.zf.dropdownMenu', function () {
|
379
196
|
var $elem = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this),
|
380
|
-
|
381
|
-
|
197
|
+
hasSub = $elem.hasClass(parClass);
|
382
198
|
if (hasSub) {
|
383
199
|
clearTimeout($elem.data('_delay'));
|
384
200
|
$elem.data('_delay', setTimeout(function () {
|
385
201
|
_this._show($elem.children('.is-dropdown-submenu'));
|
386
202
|
}, _this.options.hoverDelay));
|
387
203
|
}
|
388
|
-
}).on('mouseleave.zf.
|
204
|
+
}).on('mouseleave.zf.dropdownMenu', (0,_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.ignoreMousedisappear)(function () {
|
389
205
|
var $elem = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this),
|
390
|
-
|
391
|
-
|
206
|
+
hasSub = $elem.hasClass(parClass);
|
392
207
|
if (hasSub && _this.options.autoclose) {
|
393
208
|
if ($elem.attr('data-is-click') === 'true' && _this.options.clickOpen) {
|
394
209
|
return false;
|
395
210
|
}
|
396
|
-
|
397
211
|
clearTimeout($elem.data('_delay'));
|
398
212
|
$elem.data('_delay', setTimeout(function () {
|
399
213
|
_this._hide($elem);
|
@@ -401,13 +215,12 @@ function (_Plugin) {
|
|
401
215
|
}
|
402
216
|
}));
|
403
217
|
}
|
404
|
-
|
405
218
|
this.$menuItems.on('keydown.zf.dropdownMenu', function (e) {
|
406
|
-
var $element = jquery__WEBPACK_IMPORTED_MODULE_0___default()(e.target).parentsUntil('ul', '[role="
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
219
|
+
var $element = jquery__WEBPACK_IMPORTED_MODULE_0___default()(e.target).parentsUntil('ul', '[role="none"]'),
|
220
|
+
isTab = _this.$tabs.index($element) > -1,
|
221
|
+
$elements = isTab ? _this.$tabs : $element.siblings('li').add($element),
|
222
|
+
$prevElement,
|
223
|
+
$nextElement;
|
411
224
|
$elements.each(function (i) {
|
412
225
|
if (jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).is($element)) {
|
413
226
|
$prevElement = $elements.eq(i - 1);
|
@@ -415,55 +228,46 @@ function (_Plugin) {
|
|
415
228
|
return;
|
416
229
|
}
|
417
230
|
});
|
418
|
-
|
419
231
|
var nextSibling = function nextSibling() {
|
420
|
-
|
421
|
-
e.preventDefault();
|
422
|
-
},
|
423
|
-
prevSibling = function prevSibling() {
|
424
|
-
$prevElement.children('a:first').focus();
|
425
|
-
e.preventDefault();
|
426
|
-
},
|
427
|
-
openSub = function openSub() {
|
428
|
-
var $sub = $element.children('ul.is-dropdown-submenu');
|
429
|
-
|
430
|
-
if ($sub.length) {
|
431
|
-
_this._show($sub);
|
432
|
-
|
433
|
-
$element.find('li > a:first').focus();
|
232
|
+
$nextElement.children('a:first').focus();
|
434
233
|
e.preventDefault();
|
435
|
-
}
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
234
|
+
},
|
235
|
+
prevSibling = function prevSibling() {
|
236
|
+
$prevElement.children('a:first').focus();
|
237
|
+
e.preventDefault();
|
238
|
+
},
|
239
|
+
openSub = function openSub() {
|
240
|
+
var $sub = $element.children('ul.is-dropdown-submenu');
|
241
|
+
if ($sub.length) {
|
242
|
+
_this._show($sub);
|
243
|
+
$element.find('li > a:first').focus();
|
244
|
+
e.preventDefault();
|
245
|
+
} else {
|
246
|
+
return;
|
247
|
+
}
|
248
|
+
},
|
249
|
+
closeSub = function closeSub() {
|
250
|
+
//if ($element.is(':first-child')) {
|
251
|
+
var close = $element.parent('ul').parent('li');
|
252
|
+
close.children('a:first').focus();
|
253
|
+
_this._hide(close);
|
254
|
+
e.preventDefault();
|
255
|
+
//}
|
256
|
+
};
|
449
257
|
var functions = {
|
450
258
|
open: openSub,
|
451
259
|
close: function close() {
|
452
260
|
_this._hide(_this.$element);
|
453
|
-
|
454
261
|
_this.$menuItems.eq(0).children('a').focus(); // focus to first element
|
455
|
-
|
456
|
-
|
457
262
|
e.preventDefault();
|
458
263
|
}
|
459
264
|
};
|
460
|
-
|
461
265
|
if (isTab) {
|
462
266
|
if (_this._isVertical()) {
|
463
267
|
// vertical menu
|
464
268
|
if (_this._isRtl()) {
|
465
269
|
// right aligned
|
466
|
-
jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
270
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default().extend(functions, {
|
467
271
|
down: nextSibling,
|
468
272
|
up: prevSibling,
|
469
273
|
next: closeSub,
|
@@ -471,7 +275,7 @@ function (_Plugin) {
|
|
471
275
|
});
|
472
276
|
} else {
|
473
277
|
// left aligned
|
474
|
-
jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
278
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default().extend(functions, {
|
475
279
|
down: nextSibling,
|
476
280
|
up: prevSibling,
|
477
281
|
next: openSub,
|
@@ -482,7 +286,7 @@ function (_Plugin) {
|
|
482
286
|
// horizontal menu
|
483
287
|
if (_this._isRtl()) {
|
484
288
|
// right aligned
|
485
|
-
jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
289
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default().extend(functions, {
|
486
290
|
next: prevSibling,
|
487
291
|
previous: nextSibling,
|
488
292
|
down: openSub,
|
@@ -490,7 +294,7 @@ function (_Plugin) {
|
|
490
294
|
});
|
491
295
|
} else {
|
492
296
|
// left aligned
|
493
|
-
jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
297
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default().extend(functions, {
|
494
298
|
next: nextSibling,
|
495
299
|
previous: prevSibling,
|
496
300
|
down: openSub,
|
@@ -502,7 +306,7 @@ function (_Plugin) {
|
|
502
306
|
// not tabs -> one sub
|
503
307
|
if (_this._isRtl()) {
|
504
308
|
// right aligned
|
505
|
-
jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
309
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default().extend(functions, {
|
506
310
|
next: closeSub,
|
507
311
|
previous: openSub,
|
508
312
|
down: nextSibling,
|
@@ -510,7 +314,7 @@ function (_Plugin) {
|
|
510
314
|
});
|
511
315
|
} else {
|
512
316
|
// left aligned
|
513
|
-
jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
317
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default().extend(functions, {
|
514
318
|
next: openSub,
|
515
319
|
previous: closeSub,
|
516
320
|
down: nextSibling,
|
@@ -518,45 +322,40 @@ function (_Plugin) {
|
|
518
322
|
});
|
519
323
|
}
|
520
324
|
}
|
521
|
-
|
522
|
-
_foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_2__["Keyboard"].handleKey(e, 'DropdownMenu', functions);
|
325
|
+
_foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_2__.Keyboard.handleKey(e, 'DropdownMenu', functions);
|
523
326
|
});
|
524
327
|
}
|
328
|
+
|
525
329
|
/**
|
526
330
|
* Adds an event handler to the body to close any dropdowns on a click.
|
527
331
|
* @function
|
528
332
|
* @private
|
529
333
|
*/
|
530
|
-
|
531
334
|
}, {
|
532
335
|
key: "_addBodyHandler",
|
533
336
|
value: function _addBodyHandler() {
|
534
337
|
var _this2 = this;
|
535
|
-
|
536
338
|
var $body = jquery__WEBPACK_IMPORTED_MODULE_0___default()(document.body);
|
537
|
-
|
538
339
|
this._removeBodyHandler();
|
539
|
-
|
540
340
|
$body.on('click.zf.dropdownMenu tap.zf.dropdownMenu', function (e) {
|
541
341
|
var isItself = !!jquery__WEBPACK_IMPORTED_MODULE_0___default()(e.target).closest(_this2.$element).length;
|
542
342
|
if (isItself) return;
|
543
|
-
|
544
343
|
_this2._hide();
|
545
|
-
|
546
344
|
_this2._removeBodyHandler();
|
547
345
|
});
|
548
346
|
}
|
347
|
+
|
549
348
|
/**
|
550
349
|
* Remove the body event handler. See `_addBodyHandler`.
|
551
350
|
* @function
|
552
351
|
* @private
|
553
352
|
*/
|
554
|
-
|
555
353
|
}, {
|
556
354
|
key: "_removeBodyHandler",
|
557
355
|
value: function _removeBodyHandler() {
|
558
356
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document.body).off('click.zf.dropdownMenu tap.zf.dropdownMenu');
|
559
357
|
}
|
358
|
+
|
560
359
|
/**
|
561
360
|
* Opens a dropdown pane, and checks for collisions first.
|
562
361
|
* @param {jQuery} $sub - ul element that is a submenu to show
|
@@ -564,7 +363,6 @@ function (_Plugin) {
|
|
564
363
|
* @private
|
565
364
|
* @fires DropdownMenu#show
|
566
365
|
*/
|
567
|
-
|
568
366
|
}, {
|
569
367
|
key: "_show",
|
570
368
|
value: function _show($sub) {
|
@@ -572,27 +370,20 @@ function (_Plugin) {
|
|
572
370
|
return jquery__WEBPACK_IMPORTED_MODULE_0___default()(el).find($sub).length > 0;
|
573
371
|
}));
|
574
372
|
var $sibs = $sub.parent('li.is-dropdown-submenu-parent').siblings('li.is-dropdown-submenu-parent');
|
575
|
-
|
576
373
|
this._hide($sibs, idx);
|
577
|
-
|
578
374
|
$sub.css('visibility', 'hidden').addClass('js-dropdown-active').parent('li.is-dropdown-submenu-parent').addClass('is-active');
|
579
|
-
var clear = _foundation_util_box__WEBPACK_IMPORTED_MODULE_4__
|
580
|
-
|
375
|
+
var clear = _foundation_util_box__WEBPACK_IMPORTED_MODULE_4__.Box.ImNotTouchingYou($sub, null, true);
|
581
376
|
if (!clear) {
|
582
377
|
var oldClass = this.options.alignment === 'left' ? '-right' : '-left',
|
583
|
-
|
378
|
+
$parentLi = $sub.parent('.is-dropdown-submenu-parent');
|
584
379
|
$parentLi.removeClass("opens".concat(oldClass)).addClass("opens-".concat(this.options.alignment));
|
585
|
-
clear = _foundation_util_box__WEBPACK_IMPORTED_MODULE_4__
|
586
|
-
|
380
|
+
clear = _foundation_util_box__WEBPACK_IMPORTED_MODULE_4__.Box.ImNotTouchingYou($sub, null, true);
|
587
381
|
if (!clear) {
|
588
382
|
$parentLi.removeClass("opens-".concat(this.options.alignment)).addClass('opens-inner');
|
589
383
|
}
|
590
|
-
|
591
384
|
this.changed = true;
|
592
385
|
}
|
593
|
-
|
594
386
|
$sub.css('visibility', '');
|
595
|
-
|
596
387
|
if (this.options.closeOnClick) {
|
597
388
|
this._addBodyHandler();
|
598
389
|
}
|
@@ -600,10 +391,9 @@ function (_Plugin) {
|
|
600
391
|
* Fires when the new dropdown pane is visible.
|
601
392
|
* @event DropdownMenu#show
|
602
393
|
*/
|
603
|
-
|
604
|
-
|
605
394
|
this.$element.trigger('show.zf.dropdownMenu', [$sub]);
|
606
395
|
}
|
396
|
+
|
607
397
|
/**
|
608
398
|
* Hides a single, currently open dropdown pane, if passed a parameter, otherwise, hides everything.
|
609
399
|
* @function
|
@@ -612,70 +402,58 @@ function (_Plugin) {
|
|
612
402
|
* @fires DropdownMenu#hide
|
613
403
|
* @private
|
614
404
|
*/
|
615
|
-
|
616
405
|
}, {
|
617
406
|
key: "_hide",
|
618
407
|
value: function _hide($elem, idx) {
|
619
408
|
var $toClose;
|
620
|
-
|
621
409
|
if ($elem && $elem.length) {
|
622
410
|
$toClose = $elem;
|
623
411
|
} else if (typeof idx !== 'undefined') {
|
624
|
-
$toClose = this.$tabs.not(function (i
|
412
|
+
$toClose = this.$tabs.not(function (i) {
|
625
413
|
return i === idx;
|
626
414
|
});
|
627
415
|
} else {
|
628
416
|
$toClose = this.$element;
|
629
417
|
}
|
630
|
-
|
631
418
|
var somethingToClose = $toClose.hasClass('is-active') || $toClose.find('.is-active').length > 0;
|
632
|
-
|
633
419
|
if (somethingToClose) {
|
634
420
|
var $activeItem = $toClose.find('li.is-active');
|
635
421
|
$activeItem.add($toClose).attr({
|
636
422
|
'data-is-click': false
|
637
423
|
}).removeClass('is-active');
|
638
424
|
$toClose.find('ul.js-dropdown-active').removeClass('js-dropdown-active');
|
639
|
-
|
640
425
|
if (this.changed || $toClose.find('opens-inner').length) {
|
641
426
|
var oldClass = this.options.alignment === 'left' ? 'right' : 'left';
|
642
427
|
$toClose.find('li.is-dropdown-submenu-parent').add($toClose).removeClass("opens-inner opens-".concat(this.options.alignment)).addClass("opens-".concat(oldClass));
|
643
428
|
this.changed = false;
|
644
429
|
}
|
645
|
-
|
646
430
|
clearTimeout($activeItem.data('_delay'));
|
647
|
-
|
648
431
|
this._removeBodyHandler();
|
432
|
+
|
649
433
|
/**
|
650
434
|
* Fires when the open menus are closed.
|
651
435
|
* @event DropdownMenu#hide
|
652
436
|
*/
|
653
|
-
|
654
|
-
|
655
437
|
this.$element.trigger('hide.zf.dropdownMenu', [$toClose]);
|
656
438
|
}
|
657
439
|
}
|
440
|
+
|
658
441
|
/**
|
659
442
|
* Destroys the plugin.
|
660
443
|
* @function
|
661
444
|
*/
|
662
|
-
|
663
445
|
}, {
|
664
446
|
key: "_destroy",
|
665
447
|
value: function _destroy() {
|
666
448
|
this.$menuItems.off('.zf.dropdownMenu').removeAttr('data-is-click').removeClass('is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner');
|
667
449
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document.body).off('.zf.dropdownMenu');
|
668
|
-
_foundation_util_nest__WEBPACK_IMPORTED_MODULE_3__
|
450
|
+
_foundation_util_nest__WEBPACK_IMPORTED_MODULE_3__.Nest.Burn(this.$element, 'dropdown');
|
669
451
|
}
|
670
452
|
}]);
|
671
|
-
|
672
|
-
return DropdownMenu;
|
673
|
-
}(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__["Plugin"]);
|
453
|
+
}(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.Plugin);
|
674
454
|
/**
|
675
455
|
* Default settings for plugin
|
676
456
|
*/
|
677
|
-
|
678
|
-
|
679
457
|
DropdownMenu.defaults = {
|
680
458
|
/**
|
681
459
|
* Disallows hover events from opening submenus
|
@@ -684,7 +462,13 @@ DropdownMenu.defaults = {
|
|
684
462
|
* @default false
|
685
463
|
*/
|
686
464
|
disableHover: false,
|
687
|
-
|
465
|
+
/**
|
466
|
+
* Disallows hover on touch devices
|
467
|
+
* @option
|
468
|
+
* @type {boolean}
|
469
|
+
* @default true
|
470
|
+
*/
|
471
|
+
disableHoverOnTouch: true,
|
688
472
|
/**
|
689
473
|
* Allow a submenu to automatically close on a mouseleave event, if not clicked open.
|
690
474
|
* @option
|
@@ -692,7 +476,6 @@ DropdownMenu.defaults = {
|
|
692
476
|
* @default true
|
693
477
|
*/
|
694
478
|
autoclose: true,
|
695
|
-
|
696
479
|
/**
|
697
480
|
* Amount of time to delay opening a submenu on hover event.
|
698
481
|
* @option
|
@@ -700,7 +483,6 @@ DropdownMenu.defaults = {
|
|
700
483
|
* @default 50
|
701
484
|
*/
|
702
485
|
hoverDelay: 50,
|
703
|
-
|
704
486
|
/**
|
705
487
|
* Allow a submenu to open/remain open on parent click event. Allows cursor to move away from menu.
|
706
488
|
* @option
|
@@ -708,15 +490,14 @@ DropdownMenu.defaults = {
|
|
708
490
|
* @default false
|
709
491
|
*/
|
710
492
|
clickOpen: false,
|
711
|
-
|
712
493
|
/**
|
713
494
|
* Amount of time to delay closing a submenu on a mouseleave event.
|
714
495
|
* @option
|
715
496
|
* @type {number}
|
716
497
|
* @default 500
|
717
498
|
*/
|
718
|
-
closingTime: 500,
|
719
499
|
|
500
|
+
closingTime: 500,
|
720
501
|
/**
|
721
502
|
* Position of the menu relative to what direction the submenus should open. Handled by JS. Can be `'auto'`, `'left'` or `'right'`.
|
722
503
|
* @option
|
@@ -724,7 +505,6 @@ DropdownMenu.defaults = {
|
|
724
505
|
* @default 'auto'
|
725
506
|
*/
|
726
507
|
alignment: 'auto',
|
727
|
-
|
728
508
|
/**
|
729
509
|
* Allow clicks on the body to close any open submenus.
|
730
510
|
* @option
|
@@ -732,7 +512,6 @@ DropdownMenu.defaults = {
|
|
732
512
|
* @default true
|
733
513
|
*/
|
734
514
|
closeOnClick: true,
|
735
|
-
|
736
515
|
/**
|
737
516
|
* Allow clicks on leaf anchor links to close any open submenus.
|
738
517
|
* @option
|
@@ -740,7 +519,6 @@ DropdownMenu.defaults = {
|
|
740
519
|
* @default true
|
741
520
|
*/
|
742
521
|
closeOnClickInside: true,
|
743
|
-
|
744
522
|
/**
|
745
523
|
* Class applied to vertical oriented menus, Foundation default is `vertical`. Update this if using your own class.
|
746
524
|
* @option
|
@@ -748,7 +526,6 @@ DropdownMenu.defaults = {
|
|
748
526
|
* @default 'vertical'
|
749
527
|
*/
|
750
528
|
verticalClass: 'vertical',
|
751
|
-
|
752
529
|
/**
|
753
530
|
* Class applied to right-side oriented menus, Foundation default is `align-right`. Update this if using your own class.
|
754
531
|
* @option
|
@@ -756,7 +533,6 @@ DropdownMenu.defaults = {
|
|
756
533
|
* @default 'align-right'
|
757
534
|
*/
|
758
535
|
rightClass: 'align-right',
|
759
|
-
|
760
536
|
/**
|
761
537
|
* Boolean to force overide the clicking of links to perform default action, on second touch event for mobile.
|
762
538
|
* @option
|
@@ -769,15 +545,53 @@ DropdownMenu.defaults = {
|
|
769
545
|
|
770
546
|
/***/ }),
|
771
547
|
|
772
|
-
/***/
|
773
|
-
|
774
|
-
!***
|
775
|
-
|
776
|
-
|
777
|
-
|
548
|
+
/***/ "./foundation.core":
|
549
|
+
/*!****************************************************************************************************************************************************************!*\
|
550
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
|
551
|
+
\****************************************************************************************************************************************************************/
|
552
|
+
/***/ (function(module) {
|
553
|
+
|
554
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
|
555
|
+
|
556
|
+
/***/ }),
|
557
|
+
|
558
|
+
/***/ "./foundation.util.box":
|
559
|
+
/*!********************************************************************************************************************************************************************************!*\
|
560
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.box"],"amd":"./foundation.util.box","commonjs":"./foundation.util.box","commonjs2":"./foundation.util.box"} ***!
|
561
|
+
\********************************************************************************************************************************************************************************/
|
562
|
+
/***/ (function(module) {
|
563
|
+
|
564
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_box__;
|
565
|
+
|
566
|
+
/***/ }),
|
567
|
+
|
568
|
+
/***/ "./foundation.util.keyboard":
|
569
|
+
/*!****************************************************************************************************************************************************************************************************!*\
|
570
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.keyboard"],"amd":"./foundation.util.keyboard","commonjs":"./foundation.util.keyboard","commonjs2":"./foundation.util.keyboard"} ***!
|
571
|
+
\****************************************************************************************************************************************************************************************************/
|
572
|
+
/***/ (function(module) {
|
573
|
+
|
574
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__;
|
575
|
+
|
576
|
+
/***/ }),
|
577
|
+
|
578
|
+
/***/ "./foundation.util.nest":
|
579
|
+
/*!************************************************************************************************************************************************************************************!*\
|
580
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.nest"],"amd":"./foundation.util.nest","commonjs":"./foundation.util.nest","commonjs2":"./foundation.util.nest"} ***!
|
581
|
+
\************************************************************************************************************************************************************************************/
|
582
|
+
/***/ (function(module) {
|
583
|
+
|
584
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_nest__;
|
585
|
+
|
586
|
+
/***/ }),
|
778
587
|
|
779
|
-
|
588
|
+
/***/ "./foundation.util.touch":
|
589
|
+
/*!****************************************************************************************************************************************************************************************!*\
|
590
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.touch"],"amd":"./foundation.util.touch","commonjs":"./foundation.util.touch","commonjs2":"./foundation.util.touch"} ***!
|
591
|
+
\****************************************************************************************************************************************************************************************/
|
592
|
+
/***/ (function(module) {
|
780
593
|
|
594
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_touch__;
|
781
595
|
|
782
596
|
/***/ }),
|
783
597
|
|
@@ -785,13 +599,101 @@ module.exports = __webpack_require__(/*! /Volumes/Data/Development/Foundation/fo
|
|
785
599
|
/*!********************************************************************************************!*\
|
786
600
|
!*** external {"root":["jQuery"],"amd":"jquery","commonjs":"jquery","commonjs2":"jquery"} ***!
|
787
601
|
\********************************************************************************************/
|
788
|
-
|
789
|
-
/***/ (function(module, exports) {
|
602
|
+
/***/ (function(module) {
|
790
603
|
|
791
604
|
module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
|
792
605
|
|
793
606
|
/***/ })
|
794
607
|
|
795
|
-
/******/
|
608
|
+
/******/ });
|
609
|
+
/************************************************************************/
|
610
|
+
/******/ // The module cache
|
611
|
+
/******/ var __webpack_module_cache__ = {};
|
612
|
+
/******/
|
613
|
+
/******/ // The require function
|
614
|
+
/******/ function __webpack_require__(moduleId) {
|
615
|
+
/******/ // Check if module is in cache
|
616
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
617
|
+
/******/ if (cachedModule !== undefined) {
|
618
|
+
/******/ return cachedModule.exports;
|
619
|
+
/******/ }
|
620
|
+
/******/ // Create a new module (and put it into the cache)
|
621
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
622
|
+
/******/ // no module.id needed
|
623
|
+
/******/ // no module.loaded needed
|
624
|
+
/******/ exports: {}
|
625
|
+
/******/ };
|
626
|
+
/******/
|
627
|
+
/******/ // Execute the module function
|
628
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
629
|
+
/******/
|
630
|
+
/******/ // Return the exports of the module
|
631
|
+
/******/ return module.exports;
|
632
|
+
/******/ }
|
633
|
+
/******/
|
634
|
+
/************************************************************************/
|
635
|
+
/******/ /* webpack/runtime/compat get default export */
|
636
|
+
/******/ !function() {
|
637
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
638
|
+
/******/ __webpack_require__.n = function(module) {
|
639
|
+
/******/ var getter = module && module.__esModule ?
|
640
|
+
/******/ function() { return module['default']; } :
|
641
|
+
/******/ function() { return module; };
|
642
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
643
|
+
/******/ return getter;
|
644
|
+
/******/ };
|
645
|
+
/******/ }();
|
646
|
+
/******/
|
647
|
+
/******/ /* webpack/runtime/define property getters */
|
648
|
+
/******/ !function() {
|
649
|
+
/******/ // define getter functions for harmony exports
|
650
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
651
|
+
/******/ for(var key in definition) {
|
652
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
653
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
654
|
+
/******/ }
|
655
|
+
/******/ }
|
656
|
+
/******/ };
|
657
|
+
/******/ }();
|
658
|
+
/******/
|
659
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
660
|
+
/******/ !function() {
|
661
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
662
|
+
/******/ }();
|
663
|
+
/******/
|
664
|
+
/******/ /* webpack/runtime/make namespace object */
|
665
|
+
/******/ !function() {
|
666
|
+
/******/ // define __esModule on exports
|
667
|
+
/******/ __webpack_require__.r = function(exports) {
|
668
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
669
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
670
|
+
/******/ }
|
671
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
672
|
+
/******/ };
|
673
|
+
/******/ }();
|
674
|
+
/******/
|
675
|
+
/************************************************************************/
|
676
|
+
var __webpack_exports__ = {};
|
677
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
678
|
+
!function() {
|
679
|
+
/*!*******************************************************!*\
|
680
|
+
!*** ./js/entries/plugins/foundation.dropdownMenu.js ***!
|
681
|
+
\*******************************************************/
|
682
|
+
__webpack_require__.r(__webpack_exports__);
|
683
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
684
|
+
/* harmony export */ DropdownMenu: function() { return /* reexport safe */ _foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_1__.DropdownMenu; },
|
685
|
+
/* harmony export */ Foundation: function() { return /* reexport safe */ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation; }
|
686
|
+
/* harmony export */ });
|
687
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
688
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
689
|
+
/* harmony import */ var _foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.dropdownMenu */ "./js/foundation.dropdownMenu.js");
|
690
|
+
|
691
|
+
|
692
|
+
_foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation.plugin(_foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_1__.DropdownMenu, 'DropdownMenu');
|
693
|
+
|
694
|
+
}();
|
695
|
+
/******/ return __webpack_exports__;
|
696
|
+
/******/ })()
|
697
|
+
;
|
796
698
|
});
|
797
699
|
//# sourceMappingURL=foundation.dropdownMenu.js.map
|