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,182 +1,49 @@
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
-
module.exports = factory(require("./foundation.core"), require("./foundation.util.mediaQuery"), require("
|
3
|
+
module.exports = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.mediaQuery"), require("./foundation.util.motion"));
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
5
|
-
define(["./foundation.core", "./foundation.util.mediaQuery", "
|
5
|
+
define(["./foundation.core", "jquery", "./foundation.util.mediaQuery", "./foundation.util.motion"], factory);
|
6
6
|
else if(typeof exports === 'object')
|
7
|
-
exports["
|
7
|
+
exports["__FOUNDATION_EXTERNAL__"] = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.mediaQuery"), require("./foundation.util.motion"));
|
8
8
|
else
|
9
|
-
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.interchange"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.mediaQuery"], root["
|
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 = 7);
|
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.mediaQuery":
|
111
|
-
/*!************************************************************************************************************************************************************************************************************!*\
|
112
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.mediaQuery"],"amd":"./foundation.util.mediaQuery","commonjs":"./foundation.util.mediaQuery","commonjs2":"./foundation.util.mediaQuery"} ***!
|
113
|
-
\************************************************************************************************************************************************************************************************************/
|
114
|
-
/*! no static exports found */
|
115
|
-
/***/ (function(module, exports) {
|
116
|
-
|
117
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__;
|
118
|
-
|
119
|
-
/***/ }),
|
120
|
-
|
121
|
-
/***/ "./js/entries/plugins/foundation.interchange.js":
|
122
|
-
/*!******************************************************!*\
|
123
|
-
!*** ./js/entries/plugins/foundation.interchange.js ***!
|
124
|
-
\******************************************************/
|
125
|
-
/*! exports provided: Foundation, Interchange */
|
126
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
127
|
-
|
128
|
-
"use strict";
|
129
|
-
__webpack_require__.r(__webpack_exports__);
|
130
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
131
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
132
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Foundation", function() { return _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"]; });
|
133
|
-
|
134
|
-
/* harmony import */ var _foundation_interchange__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.interchange */ "./js/foundation.interchange.js");
|
135
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Interchange", function() { return _foundation_interchange__WEBPACK_IMPORTED_MODULE_1__["Interchange"]; });
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
_foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"].plugin(_foundation_interchange__WEBPACK_IMPORTED_MODULE_1__["Interchange"], 'Interchange');
|
140
|
-
|
141
|
-
|
142
|
-
/***/ }),
|
9
|
+
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.interchange"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.mediaQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.motion"]);
|
10
|
+
})(self, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__) {
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
12
|
+
/******/ "use strict";
|
13
|
+
/******/ var __webpack_modules__ = ({
|
143
14
|
|
144
15
|
/***/ "./js/foundation.interchange.js":
|
145
16
|
/*!**************************************!*\
|
146
17
|
!*** ./js/foundation.interchange.js ***!
|
147
18
|
\**************************************/
|
148
|
-
|
149
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
150
20
|
|
151
|
-
"use strict";
|
152
21
|
__webpack_require__.r(__webpack_exports__);
|
153
|
-
/* harmony export
|
22
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
23
|
+
/* harmony export */ Interchange: function() { return /* binding */ Interchange; }
|
24
|
+
/* harmony export */ });
|
154
25
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
|
155
26
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
156
27
|
/* harmony import */ var _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.util.mediaQuery */ "./foundation.util.mediaQuery");
|
157
28
|
/* harmony import */ var _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__);
|
158
|
-
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.core.
|
29
|
+
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
|
159
30
|
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_2__);
|
31
|
+
/* harmony import */ var _foundation_util_triggers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation.util.triggers */ "./js/foundation.util.triggers.js");
|
32
|
+
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); }
|
33
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
34
|
+
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); } }
|
35
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
36
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
37
|
+
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); }
|
38
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
39
|
+
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); }
|
40
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
41
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
42
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
43
|
+
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); }
|
44
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
160
45
|
|
161
46
|
|
162
|
-
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
163
|
-
|
164
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
165
|
-
|
166
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
167
|
-
|
168
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
169
|
-
|
170
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
171
|
-
|
172
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
173
|
-
|
174
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
175
|
-
|
176
|
-
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); }
|
177
|
-
|
178
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
179
|
-
|
180
47
|
|
181
48
|
|
182
49
|
|
@@ -186,21 +53,15 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
186
53
|
* @module foundation.interchange
|
187
54
|
* @requires foundation.util.mediaQuery
|
188
55
|
*/
|
189
|
-
|
190
|
-
var Interchange =
|
191
|
-
/*#__PURE__*/
|
192
|
-
function (_Plugin) {
|
193
|
-
_inherits(Interchange, _Plugin);
|
194
|
-
|
56
|
+
var Interchange = /*#__PURE__*/function (_Plugin) {
|
195
57
|
function Interchange() {
|
196
58
|
_classCallCheck(this, Interchange);
|
197
|
-
|
198
|
-
return _possibleConstructorReturn(this, _getPrototypeOf(Interchange).apply(this, arguments));
|
59
|
+
return _callSuper(this, Interchange, arguments);
|
199
60
|
}
|
200
|
-
|
201
|
-
_createClass(Interchange, [{
|
61
|
+
_inherits(Interchange, _Plugin);
|
62
|
+
return _createClass(Interchange, [{
|
202
63
|
key: "_setup",
|
203
|
-
|
64
|
+
value:
|
204
65
|
/**
|
205
66
|
* Creates a new instance of Interchange.
|
206
67
|
* @class
|
@@ -209,221 +70,203 @@ function (_Plugin) {
|
|
209
70
|
* @param {Object} element - jQuery object to add the trigger to.
|
210
71
|
* @param {Object} options - Overrides to the default plugin settings.
|
211
72
|
*/
|
212
|
-
|
73
|
+
function _setup(element, options) {
|
213
74
|
this.$element = element;
|
214
|
-
this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
75
|
+
this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default().extend({}, Interchange.defaults, this.$element.data(), options);
|
215
76
|
this.rules = [];
|
216
77
|
this.currentPath = '';
|
217
78
|
this.className = 'Interchange'; // ie9 back compat
|
218
79
|
|
80
|
+
// Triggers init is idempotent, just need to make sure it is initialized
|
81
|
+
_foundation_util_triggers__WEBPACK_IMPORTED_MODULE_3__.Triggers.init((jquery__WEBPACK_IMPORTED_MODULE_0___default()));
|
219
82
|
this._init();
|
220
|
-
|
221
83
|
this._events();
|
222
84
|
}
|
85
|
+
|
223
86
|
/**
|
224
87
|
* Initializes the Interchange plugin and calls functions to get interchange functioning on load.
|
225
88
|
* @function
|
226
89
|
* @private
|
227
90
|
*/
|
228
|
-
|
229
91
|
}, {
|
230
92
|
key: "_init",
|
231
93
|
value: function _init() {
|
232
|
-
_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__
|
233
|
-
|
234
|
-
var id = this.$element[0].id || Object(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_2__["GetYoDigits"])(6, 'interchange');
|
94
|
+
_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__.MediaQuery._init();
|
95
|
+
var id = this.$element[0].id || (0,_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_2__.GetYoDigits)(6, 'interchange');
|
235
96
|
this.$element.attr({
|
236
97
|
'data-resize': id,
|
237
98
|
'id': id
|
238
99
|
});
|
239
|
-
|
240
100
|
this._parseOptions();
|
241
|
-
|
242
101
|
this._addBreakpoints();
|
243
|
-
|
244
102
|
this._generateRules();
|
245
|
-
|
246
103
|
this._reflow();
|
247
104
|
}
|
105
|
+
|
248
106
|
/**
|
249
107
|
* Initializes events for Interchange.
|
250
108
|
* @function
|
251
109
|
* @private
|
252
110
|
*/
|
253
|
-
|
254
111
|
}, {
|
255
112
|
key: "_events",
|
256
113
|
value: function _events() {
|
257
114
|
var _this = this;
|
258
|
-
|
259
115
|
this.$element.off('resizeme.zf.trigger').on('resizeme.zf.trigger', function () {
|
260
116
|
return _this._reflow();
|
261
117
|
});
|
262
118
|
}
|
119
|
+
|
263
120
|
/**
|
264
121
|
* Calls necessary functions to update Interchange upon DOM change
|
265
122
|
* @function
|
266
123
|
* @private
|
267
124
|
*/
|
268
|
-
|
269
125
|
}, {
|
270
126
|
key: "_reflow",
|
271
127
|
value: function _reflow() {
|
272
|
-
var match;
|
128
|
+
var match;
|
273
129
|
|
130
|
+
// Iterate through each rule, but only save the last match
|
274
131
|
for (var i in this.rules) {
|
275
132
|
if (this.rules.hasOwnProperty(i)) {
|
276
133
|
var rule = this.rules[i];
|
277
|
-
|
278
134
|
if (window.matchMedia(rule.query).matches) {
|
279
135
|
match = rule;
|
280
136
|
}
|
281
137
|
}
|
282
138
|
}
|
283
|
-
|
284
139
|
if (match) {
|
285
140
|
this.replace(match.path);
|
286
141
|
}
|
287
142
|
}
|
143
|
+
|
288
144
|
/**
|
289
145
|
* Check options valifity and set defaults for:
|
290
146
|
* - `data-interchange-type`: if set, enforce the type of replacement (auto, src, background or html)
|
291
147
|
* @function
|
292
148
|
* @private
|
293
149
|
*/
|
294
|
-
|
295
150
|
}, {
|
296
151
|
key: "_parseOptions",
|
297
152
|
value: function _parseOptions() {
|
298
153
|
var types = ['auto', 'src', 'background', 'html'];
|
299
154
|
if (typeof this.options.type === 'undefined') this.options.type = 'auto';else if (types.indexOf(this.options.type) === -1) {
|
300
|
-
console.
|
155
|
+
console.warn("Warning: invalid value \"".concat(this.options.type, "\" for Interchange option \"type\""));
|
301
156
|
this.options.type = 'auto';
|
302
157
|
}
|
303
158
|
}
|
159
|
+
|
304
160
|
/**
|
305
161
|
* Gets the Foundation breakpoints and adds them to the Interchange.SPECIAL_QUERIES object.
|
306
162
|
* @function
|
307
163
|
* @private
|
308
164
|
*/
|
309
|
-
|
310
165
|
}, {
|
311
166
|
key: "_addBreakpoints",
|
312
167
|
value: function _addBreakpoints() {
|
313
|
-
for (var i in _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__
|
314
|
-
if (_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__
|
315
|
-
var query = _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__
|
168
|
+
for (var i in _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__.MediaQuery.queries) {
|
169
|
+
if (_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__.MediaQuery.queries.hasOwnProperty(i)) {
|
170
|
+
var query = _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__.MediaQuery.queries[i];
|
316
171
|
Interchange.SPECIAL_QUERIES[query.name] = query.value;
|
317
172
|
}
|
318
173
|
}
|
319
174
|
}
|
175
|
+
|
320
176
|
/**
|
321
177
|
* Checks the Interchange element for the provided media query + content pairings
|
322
178
|
* @function
|
323
179
|
* @private
|
324
|
-
* @param {Object} element - jQuery object that is an Interchange instance
|
325
180
|
* @returns {Array} scenarios - Array of objects that have 'mq' and 'path' keys with corresponding keys
|
326
181
|
*/
|
327
|
-
|
328
182
|
}, {
|
329
183
|
key: "_generateRules",
|
330
|
-
value: function _generateRules(
|
184
|
+
value: function _generateRules() {
|
331
185
|
var rulesList = [];
|
332
186
|
var rules;
|
333
|
-
|
334
187
|
if (this.options.rules) {
|
335
188
|
rules = this.options.rules;
|
336
189
|
} else {
|
337
190
|
rules = this.$element.data('interchange');
|
338
191
|
}
|
339
|
-
|
340
192
|
rules = typeof rules === 'string' ? rules.match(/\[.*?, .*?\]/g) : rules;
|
341
|
-
|
342
193
|
for (var i in rules) {
|
343
194
|
if (rules.hasOwnProperty(i)) {
|
344
195
|
var rule = rules[i].slice(1, -1).split(', ');
|
345
196
|
var path = rule.slice(0, -1).join('');
|
346
197
|
var query = rule[rule.length - 1];
|
347
|
-
|
348
198
|
if (Interchange.SPECIAL_QUERIES[query]) {
|
349
199
|
query = Interchange.SPECIAL_QUERIES[query];
|
350
200
|
}
|
351
|
-
|
352
201
|
rulesList.push({
|
353
202
|
path: path,
|
354
203
|
query: query
|
355
204
|
});
|
356
205
|
}
|
357
206
|
}
|
358
|
-
|
359
207
|
this.rules = rulesList;
|
360
208
|
}
|
209
|
+
|
361
210
|
/**
|
362
211
|
* Update the `src` property of an image, or change the HTML of a container, to the specified path.
|
363
212
|
* @function
|
364
213
|
* @param {String} path - Path to the image or HTML partial.
|
365
214
|
* @fires Interchange#replaced
|
366
215
|
*/
|
367
|
-
|
368
216
|
}, {
|
369
217
|
key: "replace",
|
370
218
|
value: function replace(path) {
|
371
219
|
var _this2 = this;
|
372
|
-
|
373
220
|
if (this.currentPath === path) return;
|
374
221
|
var trigger = 'replaced.zf.interchange';
|
375
222
|
var type = this.options.type;
|
376
|
-
|
377
223
|
if (type === 'auto') {
|
378
224
|
if (this.$element[0].nodeName === 'IMG') type = 'src';else if (path.match(/\.(gif|jpe?g|png|svg|tiff)([?#].*)?/i)) type = 'background';else type = 'html';
|
379
|
-
}
|
380
|
-
|
225
|
+
}
|
381
226
|
|
227
|
+
// Replacing images
|
382
228
|
if (type === 'src') {
|
383
229
|
this.$element.attr('src', path).on('load', function () {
|
384
230
|
_this2.currentPath = path;
|
385
231
|
}).trigger(trigger);
|
386
|
-
}
|
232
|
+
}
|
233
|
+
// Replacing background images
|
387
234
|
else if (type === 'background') {
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
235
|
+
path = path.replace(/\(/g, '%28').replace(/\)/g, '%29');
|
236
|
+
this.$element.css({
|
237
|
+
'background-image': 'url(' + path + ')'
|
238
|
+
}).trigger(trigger);
|
239
|
+
}
|
240
|
+
// Replacing HTML
|
241
|
+
else if (type === 'html') {
|
242
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default().get(path, function (response) {
|
243
|
+
_this2.$element.html(response).trigger(trigger);
|
244
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(response).foundation();
|
245
|
+
_this2.currentPath = path;
|
246
|
+
});
|
247
|
+
}
|
248
|
+
|
401
249
|
/**
|
402
250
|
* Fires when content in an Interchange element is done being loaded.
|
403
251
|
* @event Interchange#replaced
|
404
252
|
*/
|
405
253
|
// this.$element.trigger('replaced.zf.interchange');
|
406
|
-
|
407
254
|
}
|
255
|
+
|
408
256
|
/**
|
409
257
|
* Destroys an instance of interchange.
|
410
258
|
* @function
|
411
259
|
*/
|
412
|
-
|
413
260
|
}, {
|
414
261
|
key: "_destroy",
|
415
262
|
value: function _destroy() {
|
416
263
|
this.$element.off('resizeme.zf.trigger');
|
417
264
|
}
|
418
265
|
}]);
|
419
|
-
|
420
|
-
return Interchange;
|
421
|
-
}(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_2__["Plugin"]);
|
266
|
+
}(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_2__.Plugin);
|
422
267
|
/**
|
423
268
|
* Default settings for plugin
|
424
269
|
*/
|
425
|
-
|
426
|
-
|
427
270
|
Interchange.defaults = {
|
428
271
|
/**
|
429
272
|
* Rules to be applied to Interchange elements. Set with the `data-interchange` array notation.
|
@@ -432,7 +275,6 @@ Interchange.defaults = {
|
|
432
275
|
* @default null
|
433
276
|
*/
|
434
277
|
rules: null,
|
435
|
-
|
436
278
|
/**
|
437
279
|
* Type of the responsive ressource to replace. It can take the following options:
|
438
280
|
* - `auto` (default): choose the type according to the element tag or the ressource extension,
|
@@ -454,15 +296,300 @@ Interchange.SPECIAL_QUERIES = {
|
|
454
296
|
|
455
297
|
/***/ }),
|
456
298
|
|
457
|
-
/***/
|
458
|
-
|
459
|
-
!***
|
460
|
-
|
461
|
-
|
462
|
-
|
299
|
+
/***/ "./js/foundation.util.triggers.js":
|
300
|
+
/*!****************************************!*\
|
301
|
+
!*** ./js/foundation.util.triggers.js ***!
|
302
|
+
\****************************************/
|
303
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
304
|
+
|
305
|
+
__webpack_require__.r(__webpack_exports__);
|
306
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
307
|
+
/* harmony export */ Triggers: function() { return /* binding */ Triggers; }
|
308
|
+
/* harmony export */ });
|
309
|
+
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
|
310
|
+
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
311
|
+
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
|
312
|
+
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__);
|
313
|
+
/* harmony import */ var _foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.util.motion */ "./foundation.util.motion");
|
314
|
+
/* harmony import */ var _foundation_util_motion__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__);
|
315
|
+
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); }
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
var MutationObserver = function () {
|
320
|
+
var prefixes = ['WebKit', 'Moz', 'O', 'Ms', ''];
|
321
|
+
for (var i = 0; i < prefixes.length; i++) {
|
322
|
+
if ("".concat(prefixes[i], "MutationObserver") in window) {
|
323
|
+
return window["".concat(prefixes[i], "MutationObserver")];
|
324
|
+
}
|
325
|
+
}
|
326
|
+
return false;
|
327
|
+
}();
|
328
|
+
var triggers = function triggers(el, type) {
|
329
|
+
el.data(type).split(' ').forEach(function (id) {
|
330
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()("#".concat(id))[type === 'close' ? 'trigger' : 'triggerHandler']("".concat(type, ".zf.trigger"), [el]);
|
331
|
+
});
|
332
|
+
};
|
333
|
+
var Triggers = {
|
334
|
+
Listeners: {
|
335
|
+
Basic: {},
|
336
|
+
Global: {}
|
337
|
+
},
|
338
|
+
Initializers: {}
|
339
|
+
};
|
340
|
+
Triggers.Listeners.Basic = {
|
341
|
+
openListener: function openListener() {
|
342
|
+
triggers(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), 'open');
|
343
|
+
},
|
344
|
+
closeListener: function closeListener() {
|
345
|
+
var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('close');
|
346
|
+
if (id) {
|
347
|
+
triggers(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), 'close');
|
348
|
+
} else {
|
349
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).trigger('close.zf.trigger');
|
350
|
+
}
|
351
|
+
},
|
352
|
+
toggleListener: function toggleListener() {
|
353
|
+
var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('toggle');
|
354
|
+
if (id) {
|
355
|
+
triggers(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), 'toggle');
|
356
|
+
} else {
|
357
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).trigger('toggle.zf.trigger');
|
358
|
+
}
|
359
|
+
},
|
360
|
+
closeableListener: function closeableListener(e) {
|
361
|
+
var animation = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('closable');
|
362
|
+
|
363
|
+
// Only close the first closable element. See https://git.io/zf-7833
|
364
|
+
e.stopPropagation();
|
365
|
+
if (animation !== '') {
|
366
|
+
_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__.Motion.animateOut(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), animation, function () {
|
367
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).trigger('closed.zf');
|
368
|
+
});
|
369
|
+
} else {
|
370
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).fadeOut().trigger('closed.zf');
|
371
|
+
}
|
372
|
+
},
|
373
|
+
toggleFocusListener: function toggleFocusListener() {
|
374
|
+
var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('toggle-focus');
|
375
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()("#".concat(id)).triggerHandler('toggle.zf.trigger', [jquery__WEBPACK_IMPORTED_MODULE_0___default()(this)]);
|
376
|
+
}
|
377
|
+
};
|
378
|
+
|
379
|
+
// Elements with [data-open] will reveal a plugin that supports it when clicked.
|
380
|
+
Triggers.Initializers.addOpenListener = function ($elem) {
|
381
|
+
$elem.off('click.zf.trigger', Triggers.Listeners.Basic.openListener);
|
382
|
+
$elem.on('click.zf.trigger', '[data-open]', Triggers.Listeners.Basic.openListener);
|
383
|
+
};
|
384
|
+
|
385
|
+
// Elements with [data-close] will close a plugin that supports it when clicked.
|
386
|
+
// If used without a value on [data-close], the event will bubble, allowing it to close a parent component.
|
387
|
+
Triggers.Initializers.addCloseListener = function ($elem) {
|
388
|
+
$elem.off('click.zf.trigger', Triggers.Listeners.Basic.closeListener);
|
389
|
+
$elem.on('click.zf.trigger', '[data-close]', Triggers.Listeners.Basic.closeListener);
|
390
|
+
};
|
391
|
+
|
392
|
+
// Elements with [data-toggle] will toggle a plugin that supports it when clicked.
|
393
|
+
Triggers.Initializers.addToggleListener = function ($elem) {
|
394
|
+
$elem.off('click.zf.trigger', Triggers.Listeners.Basic.toggleListener);
|
395
|
+
$elem.on('click.zf.trigger', '[data-toggle]', Triggers.Listeners.Basic.toggleListener);
|
396
|
+
};
|
397
|
+
|
398
|
+
// Elements with [data-closable] will respond to close.zf.trigger events.
|
399
|
+
Triggers.Initializers.addCloseableListener = function ($elem) {
|
400
|
+
$elem.off('close.zf.trigger', Triggers.Listeners.Basic.closeableListener);
|
401
|
+
$elem.on('close.zf.trigger', '[data-closeable], [data-closable]', Triggers.Listeners.Basic.closeableListener);
|
402
|
+
};
|
403
|
+
|
404
|
+
// Elements with [data-toggle-focus] will respond to coming in and out of focus
|
405
|
+
Triggers.Initializers.addToggleFocusListener = function ($elem) {
|
406
|
+
$elem.off('focus.zf.trigger blur.zf.trigger', Triggers.Listeners.Basic.toggleFocusListener);
|
407
|
+
$elem.on('focus.zf.trigger blur.zf.trigger', '[data-toggle-focus]', Triggers.Listeners.Basic.toggleFocusListener);
|
408
|
+
};
|
409
|
+
|
410
|
+
// More Global/complex listeners and triggers
|
411
|
+
Triggers.Listeners.Global = {
|
412
|
+
resizeListener: function resizeListener($nodes) {
|
413
|
+
if (!MutationObserver) {
|
414
|
+
//fallback for IE 9
|
415
|
+
$nodes.each(function () {
|
416
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).triggerHandler('resizeme.zf.trigger');
|
417
|
+
});
|
418
|
+
}
|
419
|
+
//trigger all listening elements and signal a resize event
|
420
|
+
$nodes.attr('data-events', "resize");
|
421
|
+
},
|
422
|
+
scrollListener: function scrollListener($nodes) {
|
423
|
+
if (!MutationObserver) {
|
424
|
+
//fallback for IE 9
|
425
|
+
$nodes.each(function () {
|
426
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).triggerHandler('scrollme.zf.trigger');
|
427
|
+
});
|
428
|
+
}
|
429
|
+
//trigger all listening elements and signal a scroll event
|
430
|
+
$nodes.attr('data-events', "scroll");
|
431
|
+
},
|
432
|
+
closeMeListener: function closeMeListener(e, pluginId) {
|
433
|
+
var plugin = e.namespace.split('.')[0];
|
434
|
+
var plugins = jquery__WEBPACK_IMPORTED_MODULE_0___default()("[data-".concat(plugin, "]")).not("[data-yeti-box=\"".concat(pluginId, "\"]"));
|
435
|
+
plugins.each(function () {
|
436
|
+
var _this = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this);
|
437
|
+
_this.triggerHandler('close.zf.trigger', [_this]);
|
438
|
+
});
|
439
|
+
}
|
440
|
+
};
|
441
|
+
|
442
|
+
// Global, parses whole document.
|
443
|
+
Triggers.Initializers.addClosemeListener = function (pluginName) {
|
444
|
+
var yetiBoxes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-yeti-box]'),
|
445
|
+
plugNames = ['dropdown', 'tooltip', 'reveal'];
|
446
|
+
if (pluginName) {
|
447
|
+
if (typeof pluginName === 'string') {
|
448
|
+
plugNames.push(pluginName);
|
449
|
+
} else if (_typeof(pluginName) === 'object' && typeof pluginName[0] === 'string') {
|
450
|
+
plugNames = plugNames.concat(pluginName);
|
451
|
+
} else {
|
452
|
+
console.error('Plugin names must be strings');
|
453
|
+
}
|
454
|
+
}
|
455
|
+
if (yetiBoxes.length) {
|
456
|
+
var listeners = plugNames.map(function (name) {
|
457
|
+
return "closeme.zf.".concat(name);
|
458
|
+
}).join(' ');
|
459
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off(listeners).on(listeners, Triggers.Listeners.Global.closeMeListener);
|
460
|
+
}
|
461
|
+
};
|
462
|
+
function debounceGlobalListener(debounce, trigger, listener) {
|
463
|
+
var timer,
|
464
|
+
args = Array.prototype.slice.call(arguments, 3);
|
465
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).on(trigger, function () {
|
466
|
+
if (timer) {
|
467
|
+
clearTimeout(timer);
|
468
|
+
}
|
469
|
+
timer = setTimeout(function () {
|
470
|
+
listener.apply(null, args);
|
471
|
+
}, debounce || 10); //default time to emit scroll event
|
472
|
+
});
|
473
|
+
}
|
474
|
+
Triggers.Initializers.addResizeListener = function (debounce) {
|
475
|
+
var $nodes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-resize]');
|
476
|
+
if ($nodes.length) {
|
477
|
+
debounceGlobalListener(debounce, 'resize.zf.trigger', Triggers.Listeners.Global.resizeListener, $nodes);
|
478
|
+
}
|
479
|
+
};
|
480
|
+
Triggers.Initializers.addScrollListener = function (debounce) {
|
481
|
+
var $nodes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-scroll]');
|
482
|
+
if ($nodes.length) {
|
483
|
+
debounceGlobalListener(debounce, 'scroll.zf.trigger', Triggers.Listeners.Global.scrollListener, $nodes);
|
484
|
+
}
|
485
|
+
};
|
486
|
+
Triggers.Initializers.addMutationEventsListener = function ($elem) {
|
487
|
+
if (!MutationObserver) {
|
488
|
+
return false;
|
489
|
+
}
|
490
|
+
var $nodes = $elem.find('[data-resize], [data-scroll], [data-mutate]');
|
491
|
+
|
492
|
+
//element callback
|
493
|
+
var listeningElementsMutation = function listeningElementsMutation(mutationRecordsList) {
|
494
|
+
var $target = jquery__WEBPACK_IMPORTED_MODULE_0___default()(mutationRecordsList[0].target);
|
495
|
+
|
496
|
+
//trigger the event handler for the element depending on type
|
497
|
+
switch (mutationRecordsList[0].type) {
|
498
|
+
case "attributes":
|
499
|
+
if ($target.attr("data-events") === "scroll" && mutationRecordsList[0].attributeName === "data-events") {
|
500
|
+
$target.triggerHandler('scrollme.zf.trigger', [$target, window.pageYOffset]);
|
501
|
+
}
|
502
|
+
if ($target.attr("data-events") === "resize" && mutationRecordsList[0].attributeName === "data-events") {
|
503
|
+
$target.triggerHandler('resizeme.zf.trigger', [$target]);
|
504
|
+
}
|
505
|
+
if (mutationRecordsList[0].attributeName === "style") {
|
506
|
+
$target.closest("[data-mutate]").attr("data-events", "mutate");
|
507
|
+
$target.closest("[data-mutate]").triggerHandler('mutateme.zf.trigger', [$target.closest("[data-mutate]")]);
|
508
|
+
}
|
509
|
+
break;
|
510
|
+
case "childList":
|
511
|
+
$target.closest("[data-mutate]").attr("data-events", "mutate");
|
512
|
+
$target.closest("[data-mutate]").triggerHandler('mutateme.zf.trigger', [$target.closest("[data-mutate]")]);
|
513
|
+
break;
|
514
|
+
default:
|
515
|
+
return false;
|
516
|
+
//nothing
|
517
|
+
}
|
518
|
+
};
|
519
|
+
if ($nodes.length) {
|
520
|
+
//for each element that needs to listen for resizing, scrolling, or mutation add a single observer
|
521
|
+
for (var i = 0; i <= $nodes.length - 1; i++) {
|
522
|
+
var elementObserver = new MutationObserver(listeningElementsMutation);
|
523
|
+
elementObserver.observe($nodes[i], {
|
524
|
+
attributes: true,
|
525
|
+
childList: true,
|
526
|
+
characterData: false,
|
527
|
+
subtree: true,
|
528
|
+
attributeFilter: ["data-events", "style"]
|
529
|
+
});
|
530
|
+
}
|
531
|
+
}
|
532
|
+
};
|
533
|
+
Triggers.Initializers.addSimpleListeners = function () {
|
534
|
+
var $document = jquery__WEBPACK_IMPORTED_MODULE_0___default()(document);
|
535
|
+
Triggers.Initializers.addOpenListener($document);
|
536
|
+
Triggers.Initializers.addCloseListener($document);
|
537
|
+
Triggers.Initializers.addToggleListener($document);
|
538
|
+
Triggers.Initializers.addCloseableListener($document);
|
539
|
+
Triggers.Initializers.addToggleFocusListener($document);
|
540
|
+
};
|
541
|
+
Triggers.Initializers.addGlobalListeners = function () {
|
542
|
+
var $document = jquery__WEBPACK_IMPORTED_MODULE_0___default()(document);
|
543
|
+
Triggers.Initializers.addMutationEventsListener($document);
|
544
|
+
Triggers.Initializers.addResizeListener(250);
|
545
|
+
Triggers.Initializers.addScrollListener();
|
546
|
+
Triggers.Initializers.addClosemeListener();
|
547
|
+
};
|
548
|
+
Triggers.init = function (__, Foundation) {
|
549
|
+
(0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__.onLoad)(jquery__WEBPACK_IMPORTED_MODULE_0___default()(window), function () {
|
550
|
+
if ((jquery__WEBPACK_IMPORTED_MODULE_0___default().triggersInitialized) !== true) {
|
551
|
+
Triggers.Initializers.addSimpleListeners();
|
552
|
+
Triggers.Initializers.addGlobalListeners();
|
553
|
+
(jquery__WEBPACK_IMPORTED_MODULE_0___default().triggersInitialized) = true;
|
554
|
+
}
|
555
|
+
});
|
556
|
+
if (Foundation) {
|
557
|
+
Foundation.Triggers = Triggers;
|
558
|
+
// Legacy included to be backwards compatible for now.
|
559
|
+
Foundation.IHearYou = Triggers.Initializers.addGlobalListeners;
|
560
|
+
}
|
561
|
+
};
|
562
|
+
|
563
|
+
|
564
|
+
/***/ }),
|
565
|
+
|
566
|
+
/***/ "./foundation.core":
|
567
|
+
/*!****************************************************************************************************************************************************************!*\
|
568
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
|
569
|
+
\****************************************************************************************************************************************************************/
|
570
|
+
/***/ (function(module) {
|
571
|
+
|
572
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
|
573
|
+
|
574
|
+
/***/ }),
|
575
|
+
|
576
|
+
/***/ "./foundation.util.mediaQuery":
|
577
|
+
/*!************************************************************************************************************************************************************************************************************!*\
|
578
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.mediaQuery"],"amd":"./foundation.util.mediaQuery","commonjs":"./foundation.util.mediaQuery","commonjs2":"./foundation.util.mediaQuery"} ***!
|
579
|
+
\************************************************************************************************************************************************************************************************************/
|
580
|
+
/***/ (function(module) {
|
581
|
+
|
582
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__;
|
463
583
|
|
464
|
-
|
584
|
+
/***/ }),
|
585
|
+
|
586
|
+
/***/ "./foundation.util.motion":
|
587
|
+
/*!********************************************************************************************************************************************************************************************!*\
|
588
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.motion"],"amd":"./foundation.util.motion","commonjs":"./foundation.util.motion","commonjs2":"./foundation.util.motion"} ***!
|
589
|
+
\********************************************************************************************************************************************************************************************/
|
590
|
+
/***/ (function(module) {
|
465
591
|
|
592
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__;
|
466
593
|
|
467
594
|
/***/ }),
|
468
595
|
|
@@ -470,13 +597,101 @@ module.exports = __webpack_require__(/*! /Volumes/Data/Development/Foundation/fo
|
|
470
597
|
/*!********************************************************************************************!*\
|
471
598
|
!*** external {"root":["jQuery"],"amd":"jquery","commonjs":"jquery","commonjs2":"jquery"} ***!
|
472
599
|
\********************************************************************************************/
|
473
|
-
|
474
|
-
/***/ (function(module, exports) {
|
600
|
+
/***/ (function(module) {
|
475
601
|
|
476
602
|
module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
|
477
603
|
|
478
604
|
/***/ })
|
479
605
|
|
480
|
-
/******/
|
606
|
+
/******/ });
|
607
|
+
/************************************************************************/
|
608
|
+
/******/ // The module cache
|
609
|
+
/******/ var __webpack_module_cache__ = {};
|
610
|
+
/******/
|
611
|
+
/******/ // The require function
|
612
|
+
/******/ function __webpack_require__(moduleId) {
|
613
|
+
/******/ // Check if module is in cache
|
614
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
615
|
+
/******/ if (cachedModule !== undefined) {
|
616
|
+
/******/ return cachedModule.exports;
|
617
|
+
/******/ }
|
618
|
+
/******/ // Create a new module (and put it into the cache)
|
619
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
620
|
+
/******/ // no module.id needed
|
621
|
+
/******/ // no module.loaded needed
|
622
|
+
/******/ exports: {}
|
623
|
+
/******/ };
|
624
|
+
/******/
|
625
|
+
/******/ // Execute the module function
|
626
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
627
|
+
/******/
|
628
|
+
/******/ // Return the exports of the module
|
629
|
+
/******/ return module.exports;
|
630
|
+
/******/ }
|
631
|
+
/******/
|
632
|
+
/************************************************************************/
|
633
|
+
/******/ /* webpack/runtime/compat get default export */
|
634
|
+
/******/ !function() {
|
635
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
636
|
+
/******/ __webpack_require__.n = function(module) {
|
637
|
+
/******/ var getter = module && module.__esModule ?
|
638
|
+
/******/ function() { return module['default']; } :
|
639
|
+
/******/ function() { return module; };
|
640
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
641
|
+
/******/ return getter;
|
642
|
+
/******/ };
|
643
|
+
/******/ }();
|
644
|
+
/******/
|
645
|
+
/******/ /* webpack/runtime/define property getters */
|
646
|
+
/******/ !function() {
|
647
|
+
/******/ // define getter functions for harmony exports
|
648
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
649
|
+
/******/ for(var key in definition) {
|
650
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
651
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
652
|
+
/******/ }
|
653
|
+
/******/ }
|
654
|
+
/******/ };
|
655
|
+
/******/ }();
|
656
|
+
/******/
|
657
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
658
|
+
/******/ !function() {
|
659
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
660
|
+
/******/ }();
|
661
|
+
/******/
|
662
|
+
/******/ /* webpack/runtime/make namespace object */
|
663
|
+
/******/ !function() {
|
664
|
+
/******/ // define __esModule on exports
|
665
|
+
/******/ __webpack_require__.r = function(exports) {
|
666
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
667
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
668
|
+
/******/ }
|
669
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
670
|
+
/******/ };
|
671
|
+
/******/ }();
|
672
|
+
/******/
|
673
|
+
/************************************************************************/
|
674
|
+
var __webpack_exports__ = {};
|
675
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
676
|
+
!function() {
|
677
|
+
/*!******************************************************!*\
|
678
|
+
!*** ./js/entries/plugins/foundation.interchange.js ***!
|
679
|
+
\******************************************************/
|
680
|
+
__webpack_require__.r(__webpack_exports__);
|
681
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
682
|
+
/* harmony export */ Foundation: function() { return /* reexport safe */ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation; },
|
683
|
+
/* harmony export */ Interchange: function() { return /* reexport safe */ _foundation_interchange__WEBPACK_IMPORTED_MODULE_1__.Interchange; }
|
684
|
+
/* harmony export */ });
|
685
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
686
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
687
|
+
/* harmony import */ var _foundation_interchange__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.interchange */ "./js/foundation.interchange.js");
|
688
|
+
|
689
|
+
|
690
|
+
_foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation.plugin(_foundation_interchange__WEBPACK_IMPORTED_MODULE_1__.Interchange, 'Interchange');
|
691
|
+
|
692
|
+
}();
|
693
|
+
/******/ return __webpack_exports__;
|
694
|
+
/******/ })()
|
695
|
+
;
|
481
696
|
});
|
482
697
|
//# sourceMappingURL=foundation.interchange.js.map
|