front-ui-admin 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/front-ui-admin.common.js +518 -502
- package/front-ui-admin.common.js.map +1 -1
- package/front-ui-admin.css +1 -1
- package/front-ui-admin.umd.js +518 -502
- package/front-ui-admin.umd.js.map +1 -1
- package/front-ui-admin.umd.min.js +2 -2
- package/front-ui-admin.umd.min.js.map +1 -1
- package/package.json +1 -1
package/front-ui-admin.common.js
CHANGED
|
@@ -198,6 +198,13 @@ module.exports = function (obj) {
|
|
|
198
198
|
};
|
|
199
199
|
|
|
200
200
|
|
|
201
|
+
/***/ }),
|
|
202
|
+
|
|
203
|
+
/***/ "093a":
|
|
204
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
205
|
+
|
|
206
|
+
// extracted by mini-css-extract-plugin
|
|
207
|
+
|
|
201
208
|
/***/ }),
|
|
202
209
|
|
|
203
210
|
/***/ "0b25":
|
|
@@ -508,17 +515,6 @@ module.exports = typeof documentAll == 'undefined' && documentAll !== undefined
|
|
|
508
515
|
};
|
|
509
516
|
|
|
510
517
|
|
|
511
|
-
/***/ }),
|
|
512
|
-
|
|
513
|
-
/***/ "1638":
|
|
514
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
515
|
-
|
|
516
|
-
"use strict";
|
|
517
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_range_vue_vue_type_style_index_0_id_788b90bf_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c90d");
|
|
518
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_range_vue_vue_type_style_index_0_id_788b90bf_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_range_vue_vue_type_style_index_0_id_788b90bf_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
519
|
-
/* unused harmony reexport * */
|
|
520
|
-
|
|
521
|
-
|
|
522
518
|
/***/ }),
|
|
523
519
|
|
|
524
520
|
/***/ "16d2":
|
|
@@ -529,29 +525,29 @@ __webpack_require__("e9f5");
|
|
|
529
525
|
__webpack_require__("910d");
|
|
530
526
|
__webpack_require__("7d54");
|
|
531
527
|
__webpack_require__("ab43");
|
|
532
|
-
/**
|
|
533
|
-
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
534
|
-
* @version {{version}}
|
|
535
|
-
* @license
|
|
536
|
-
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
537
|
-
*
|
|
538
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
539
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
540
|
-
* in the Software without restriction, including without limitation the rights
|
|
541
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
542
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
543
|
-
* furnished to do so, subject to the following conditions:
|
|
544
|
-
*
|
|
545
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
546
|
-
* copies or substantial portions of the Software.
|
|
547
|
-
*
|
|
548
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
549
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
550
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
551
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
552
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
553
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
554
|
-
* SOFTWARE.
|
|
528
|
+
/**
|
|
529
|
+
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
530
|
+
* @version {{version}}
|
|
531
|
+
* @license
|
|
532
|
+
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
533
|
+
*
|
|
534
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
535
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
536
|
+
* in the Software without restriction, including without limitation the rights
|
|
537
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
538
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
539
|
+
* furnished to do so, subject to the following conditions:
|
|
540
|
+
*
|
|
541
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
542
|
+
* copies or substantial portions of the Software.
|
|
543
|
+
*
|
|
544
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
545
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
546
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
547
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
548
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
549
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
550
|
+
* SOFTWARE.
|
|
555
551
|
*/
|
|
556
552
|
|
|
557
553
|
//
|
|
@@ -596,70 +592,70 @@ __webpack_require__("ab43");
|
|
|
596
592
|
forceAbsolute: false
|
|
597
593
|
};
|
|
598
594
|
|
|
599
|
-
/**
|
|
600
|
-
* Create a new Popper.js instance
|
|
601
|
-
* @constructor Popper
|
|
602
|
-
* @param {HTMLElement} reference - The reference element used to position the popper
|
|
603
|
-
* @param {HTMLElement|Object} popper
|
|
604
|
-
* The HTML element used as popper, or a configuration used to generate the popper.
|
|
605
|
-
* @param {String} [popper.tagName='div'] The tag name of the generated popper.
|
|
606
|
-
* @param {Array} [popper.classNames=['popper']] Array of classes to apply to the generated popper.
|
|
607
|
-
* @param {Array} [popper.attributes] Array of attributes to apply, specify `attr:value` to assign a value to it.
|
|
608
|
-
* @param {HTMLElement|String} [popper.parent=window.document.body] The parent element, given as HTMLElement or as query string.
|
|
609
|
-
* @param {String} [popper.content=''] The content of the popper, it can be text, html, or node; if it is not text, set `contentType` to `html` or `node`.
|
|
610
|
-
* @param {String} [popper.contentType='text'] If `html`, the `content` will be parsed as HTML. If `node`, it will be appended as-is.
|
|
611
|
-
* @param {String} [popper.arrowTagName='div'] Same as `popper.tagName` but for the arrow element.
|
|
612
|
-
* @param {Array} [popper.arrowClassNames='popper__arrow'] Same as `popper.classNames` but for the arrow element.
|
|
613
|
-
* @param {String} [popper.arrowAttributes=['x-arrow']] Same as `popper.attributes` but for the arrow element.
|
|
614
|
-
* @param {Object} options
|
|
615
|
-
* @param {String} [options.placement=bottom]
|
|
616
|
-
* Placement of the popper accepted values: `top(-start, -end), right(-start, -end), bottom(-start, -right),
|
|
617
|
-
* left(-start, -end)`
|
|
618
|
-
*
|
|
619
|
-
* @param {HTMLElement|String} [options.arrowElement='[x-arrow]']
|
|
620
|
-
* The DOM Node used as arrow for the popper, or a CSS selector used to get the DOM node. It must be child of
|
|
621
|
-
* its parent Popper. Popper.js will apply to the given element the style required to align the arrow with its
|
|
622
|
-
* reference element.
|
|
623
|
-
* By default, it will look for a child node of the popper with the `x-arrow` attribute.
|
|
624
|
-
*
|
|
625
|
-
* @param {Boolean} [options.gpuAcceleration=true]
|
|
626
|
-
* When this property is set to true, the popper position will be applied using CSS3 translate3d, allowing the
|
|
627
|
-
* browser to use the GPU to accelerate the rendering.
|
|
628
|
-
* If set to false, the popper will be placed using `top` and `left` properties, not using the GPU.
|
|
629
|
-
*
|
|
630
|
-
* @param {Number} [options.offset=0]
|
|
631
|
-
* Amount of pixels the popper will be shifted (can be negative).
|
|
632
|
-
*
|
|
633
|
-
* @param {String|Element} [options.boundariesElement='viewport']
|
|
634
|
-
* The element which will define the boundaries of the popper position, the popper will never be placed outside
|
|
635
|
-
* of the defined boundaries (except if `keepTogether` is enabled)
|
|
636
|
-
*
|
|
637
|
-
* @param {Number} [options.boundariesPadding=5]
|
|
638
|
-
* Additional padding for the boundaries
|
|
639
|
-
*
|
|
640
|
-
* @param {Array} [options.preventOverflowOrder=['left', 'right', 'top', 'bottom']]
|
|
641
|
-
* Order used when Popper.js tries to avoid overflows from the boundaries, they will be checked in order,
|
|
642
|
-
* this means that the last ones will never overflow
|
|
643
|
-
*
|
|
644
|
-
* @param {String|Array} [options.flipBehavior='flip']
|
|
645
|
-
* The behavior used by the `flip` modifier to change the placement of the popper when the latter is trying to
|
|
646
|
-
* overlap its reference element. Defining `flip` as value, the placement will be flipped on
|
|
647
|
-
* its axis (`right - left`, `top - bottom`).
|
|
648
|
-
* You can even pass an array of placements (eg: `['right', 'left', 'top']` ) to manually specify
|
|
649
|
-
* how alter the placement when a flip is needed. (eg. in the above example, it would first flip from right to left,
|
|
650
|
-
* then, if even in its new placement, the popper is overlapping its reference element, it will be moved to top)
|
|
651
|
-
*
|
|
652
|
-
* @param {Array} [options.modifiers=[ 'shift', 'offset', 'preventOverflow', 'keepTogether', 'arrow', 'flip', 'applyStyle']]
|
|
653
|
-
* List of functions used to modify the data before they are applied to the popper, add your custom functions
|
|
654
|
-
* to this array to edit the offsets and placement.
|
|
655
|
-
* The function should reflect the @params and @returns of preventOverflow
|
|
656
|
-
*
|
|
657
|
-
* @param {Array} [options.modifiersIgnored=[]]
|
|
658
|
-
* Put here any built-in modifier name you want to exclude from the modifiers list
|
|
659
|
-
* The function should reflect the @params and @returns of preventOverflow
|
|
660
|
-
*
|
|
661
|
-
* @param {Boolean} [options.removeOnDestroy=false]
|
|
662
|
-
* Set to true if you want to automatically remove the popper when you call the `destroy` method.
|
|
595
|
+
/**
|
|
596
|
+
* Create a new Popper.js instance
|
|
597
|
+
* @constructor Popper
|
|
598
|
+
* @param {HTMLElement} reference - The reference element used to position the popper
|
|
599
|
+
* @param {HTMLElement|Object} popper
|
|
600
|
+
* The HTML element used as popper, or a configuration used to generate the popper.
|
|
601
|
+
* @param {String} [popper.tagName='div'] The tag name of the generated popper.
|
|
602
|
+
* @param {Array} [popper.classNames=['popper']] Array of classes to apply to the generated popper.
|
|
603
|
+
* @param {Array} [popper.attributes] Array of attributes to apply, specify `attr:value` to assign a value to it.
|
|
604
|
+
* @param {HTMLElement|String} [popper.parent=window.document.body] The parent element, given as HTMLElement or as query string.
|
|
605
|
+
* @param {String} [popper.content=''] The content of the popper, it can be text, html, or node; if it is not text, set `contentType` to `html` or `node`.
|
|
606
|
+
* @param {String} [popper.contentType='text'] If `html`, the `content` will be parsed as HTML. If `node`, it will be appended as-is.
|
|
607
|
+
* @param {String} [popper.arrowTagName='div'] Same as `popper.tagName` but for the arrow element.
|
|
608
|
+
* @param {Array} [popper.arrowClassNames='popper__arrow'] Same as `popper.classNames` but for the arrow element.
|
|
609
|
+
* @param {String} [popper.arrowAttributes=['x-arrow']] Same as `popper.attributes` but for the arrow element.
|
|
610
|
+
* @param {Object} options
|
|
611
|
+
* @param {String} [options.placement=bottom]
|
|
612
|
+
* Placement of the popper accepted values: `top(-start, -end), right(-start, -end), bottom(-start, -right),
|
|
613
|
+
* left(-start, -end)`
|
|
614
|
+
*
|
|
615
|
+
* @param {HTMLElement|String} [options.arrowElement='[x-arrow]']
|
|
616
|
+
* The DOM Node used as arrow for the popper, or a CSS selector used to get the DOM node. It must be child of
|
|
617
|
+
* its parent Popper. Popper.js will apply to the given element the style required to align the arrow with its
|
|
618
|
+
* reference element.
|
|
619
|
+
* By default, it will look for a child node of the popper with the `x-arrow` attribute.
|
|
620
|
+
*
|
|
621
|
+
* @param {Boolean} [options.gpuAcceleration=true]
|
|
622
|
+
* When this property is set to true, the popper position will be applied using CSS3 translate3d, allowing the
|
|
623
|
+
* browser to use the GPU to accelerate the rendering.
|
|
624
|
+
* If set to false, the popper will be placed using `top` and `left` properties, not using the GPU.
|
|
625
|
+
*
|
|
626
|
+
* @param {Number} [options.offset=0]
|
|
627
|
+
* Amount of pixels the popper will be shifted (can be negative).
|
|
628
|
+
*
|
|
629
|
+
* @param {String|Element} [options.boundariesElement='viewport']
|
|
630
|
+
* The element which will define the boundaries of the popper position, the popper will never be placed outside
|
|
631
|
+
* of the defined boundaries (except if `keepTogether` is enabled)
|
|
632
|
+
*
|
|
633
|
+
* @param {Number} [options.boundariesPadding=5]
|
|
634
|
+
* Additional padding for the boundaries
|
|
635
|
+
*
|
|
636
|
+
* @param {Array} [options.preventOverflowOrder=['left', 'right', 'top', 'bottom']]
|
|
637
|
+
* Order used when Popper.js tries to avoid overflows from the boundaries, they will be checked in order,
|
|
638
|
+
* this means that the last ones will never overflow
|
|
639
|
+
*
|
|
640
|
+
* @param {String|Array} [options.flipBehavior='flip']
|
|
641
|
+
* The behavior used by the `flip` modifier to change the placement of the popper when the latter is trying to
|
|
642
|
+
* overlap its reference element. Defining `flip` as value, the placement will be flipped on
|
|
643
|
+
* its axis (`right - left`, `top - bottom`).
|
|
644
|
+
* You can even pass an array of placements (eg: `['right', 'left', 'top']` ) to manually specify
|
|
645
|
+
* how alter the placement when a flip is needed. (eg. in the above example, it would first flip from right to left,
|
|
646
|
+
* then, if even in its new placement, the popper is overlapping its reference element, it will be moved to top)
|
|
647
|
+
*
|
|
648
|
+
* @param {Array} [options.modifiers=[ 'shift', 'offset', 'preventOverflow', 'keepTogether', 'arrow', 'flip', 'applyStyle']]
|
|
649
|
+
* List of functions used to modify the data before they are applied to the popper, add your custom functions
|
|
650
|
+
* to this array to edit the offsets and placement.
|
|
651
|
+
* The function should reflect the @params and @returns of preventOverflow
|
|
652
|
+
*
|
|
653
|
+
* @param {Array} [options.modifiersIgnored=[]]
|
|
654
|
+
* Put here any built-in modifier name you want to exclude from the modifiers list
|
|
655
|
+
* The function should reflect the @params and @returns of preventOverflow
|
|
656
|
+
*
|
|
657
|
+
* @param {Boolean} [options.removeOnDestroy=false]
|
|
658
|
+
* Set to true if you want to automatically remove the popper when you call the `destroy` method.
|
|
663
659
|
*/
|
|
664
660
|
function Popper(reference, popper, options) {
|
|
665
661
|
this._reference = reference.jquery ? reference[0] : reference;
|
|
@@ -713,10 +709,10 @@ __webpack_require__("ab43");
|
|
|
713
709
|
//
|
|
714
710
|
// Methods
|
|
715
711
|
//
|
|
716
|
-
/**
|
|
717
|
-
* Destroy the popper
|
|
718
|
-
* @method
|
|
719
|
-
* @memberof Popper
|
|
712
|
+
/**
|
|
713
|
+
* Destroy the popper
|
|
714
|
+
* @method
|
|
715
|
+
* @memberof Popper
|
|
720
716
|
*/
|
|
721
717
|
Popper.prototype.destroy = function () {
|
|
722
718
|
this._popper.removeAttribute('x-placement');
|
|
@@ -733,10 +729,10 @@ __webpack_require__("ab43");
|
|
|
733
729
|
return this;
|
|
734
730
|
};
|
|
735
731
|
|
|
736
|
-
/**
|
|
737
|
-
* Updates the position of the popper, computing the new offsets and applying the new style
|
|
738
|
-
* @method
|
|
739
|
-
* @memberof Popper
|
|
732
|
+
/**
|
|
733
|
+
* Updates the position of the popper, computing the new offsets and applying the new style
|
|
734
|
+
* @method
|
|
735
|
+
* @memberof Popper
|
|
740
736
|
*/
|
|
741
737
|
Popper.prototype.update = function () {
|
|
742
738
|
var data = {
|
|
@@ -760,11 +756,11 @@ __webpack_require__("ab43");
|
|
|
760
756
|
}
|
|
761
757
|
};
|
|
762
758
|
|
|
763
|
-
/**
|
|
764
|
-
* If a function is passed, it will be executed after the initialization of popper with as first argument the Popper instance.
|
|
765
|
-
* @method
|
|
766
|
-
* @memberof Popper
|
|
767
|
-
* @param {Function} callback
|
|
759
|
+
/**
|
|
760
|
+
* If a function is passed, it will be executed after the initialization of popper with as first argument the Popper instance.
|
|
761
|
+
* @method
|
|
762
|
+
* @memberof Popper
|
|
763
|
+
* @param {Function} callback
|
|
768
764
|
*/
|
|
769
765
|
Popper.prototype.onCreate = function (callback) {
|
|
770
766
|
// the createCallbacks return as first argument the popper instance
|
|
@@ -772,25 +768,25 @@ __webpack_require__("ab43");
|
|
|
772
768
|
return this;
|
|
773
769
|
};
|
|
774
770
|
|
|
775
|
-
/**
|
|
776
|
-
* If a function is passed, it will be executed after each update of popper with as first argument the set of coordinates and informations
|
|
777
|
-
* used to style popper and its arrow.
|
|
778
|
-
* NOTE: it doesn't get fired on the first call of the `Popper.update()` method inside the `Popper` constructor!
|
|
779
|
-
* @method
|
|
780
|
-
* @memberof Popper
|
|
781
|
-
* @param {Function} callback
|
|
771
|
+
/**
|
|
772
|
+
* If a function is passed, it will be executed after each update of popper with as first argument the set of coordinates and informations
|
|
773
|
+
* used to style popper and its arrow.
|
|
774
|
+
* NOTE: it doesn't get fired on the first call of the `Popper.update()` method inside the `Popper` constructor!
|
|
775
|
+
* @method
|
|
776
|
+
* @memberof Popper
|
|
777
|
+
* @param {Function} callback
|
|
782
778
|
*/
|
|
783
779
|
Popper.prototype.onUpdate = function (callback) {
|
|
784
780
|
this.state.updateCallback = callback;
|
|
785
781
|
return this;
|
|
786
782
|
};
|
|
787
783
|
|
|
788
|
-
/**
|
|
789
|
-
* Helper used to generate poppers from a configuration file
|
|
790
|
-
* @method
|
|
791
|
-
* @memberof Popper
|
|
792
|
-
* @param config {Object} configuration
|
|
793
|
-
* @returns {HTMLElement} popper
|
|
784
|
+
/**
|
|
785
|
+
* Helper used to generate poppers from a configuration file
|
|
786
|
+
* @method
|
|
787
|
+
* @memberof Popper
|
|
788
|
+
* @param config {Object} configuration
|
|
789
|
+
* @returns {HTMLElement} popper
|
|
794
790
|
*/
|
|
795
791
|
Popper.prototype.parse = function (config) {
|
|
796
792
|
var defaultConfig = {
|
|
@@ -848,12 +844,12 @@ __webpack_require__("ab43");
|
|
|
848
844
|
parent.appendChild(popper);
|
|
849
845
|
return popper;
|
|
850
846
|
|
|
851
|
-
/**
|
|
852
|
-
* Adds class names to the given element
|
|
853
|
-
* @function
|
|
854
|
-
* @ignore
|
|
855
|
-
* @param {HTMLElement} target
|
|
856
|
-
* @param {Array} classes
|
|
847
|
+
/**
|
|
848
|
+
* Adds class names to the given element
|
|
849
|
+
* @function
|
|
850
|
+
* @ignore
|
|
851
|
+
* @param {HTMLElement} target
|
|
852
|
+
* @param {Array} classes
|
|
857
853
|
*/
|
|
858
854
|
function addClassNames(element, classNames) {
|
|
859
855
|
classNames.forEach(function (className) {
|
|
@@ -861,14 +857,14 @@ __webpack_require__("ab43");
|
|
|
861
857
|
});
|
|
862
858
|
}
|
|
863
859
|
|
|
864
|
-
/**
|
|
865
|
-
* Adds attributes to the given element
|
|
866
|
-
* @function
|
|
867
|
-
* @ignore
|
|
868
|
-
* @param {HTMLElement} target
|
|
869
|
-
* @param {Array} attributes
|
|
870
|
-
* @example
|
|
871
|
-
* addAttributes(element, [ 'data-info:foobar' ]);
|
|
860
|
+
/**
|
|
861
|
+
* Adds attributes to the given element
|
|
862
|
+
* @function
|
|
863
|
+
* @ignore
|
|
864
|
+
* @param {HTMLElement} target
|
|
865
|
+
* @param {Array} attributes
|
|
866
|
+
* @example
|
|
867
|
+
* addAttributes(element, [ 'data-info:foobar' ]);
|
|
872
868
|
*/
|
|
873
869
|
function addAttributes(element, attributes) {
|
|
874
870
|
attributes.forEach(function (attribute) {
|
|
@@ -877,13 +873,13 @@ __webpack_require__("ab43");
|
|
|
877
873
|
}
|
|
878
874
|
};
|
|
879
875
|
|
|
880
|
-
/**
|
|
881
|
-
* Helper used to get the position which will be applied to the popper
|
|
882
|
-
* @method
|
|
883
|
-
* @memberof Popper
|
|
884
|
-
* @param config {HTMLElement} popper element
|
|
885
|
-
* @param reference {HTMLElement} reference element
|
|
886
|
-
* @returns {String} position
|
|
876
|
+
/**
|
|
877
|
+
* Helper used to get the position which will be applied to the popper
|
|
878
|
+
* @method
|
|
879
|
+
* @memberof Popper
|
|
880
|
+
* @param config {HTMLElement} popper element
|
|
881
|
+
* @param reference {HTMLElement} reference element
|
|
882
|
+
* @returns {String} position
|
|
887
883
|
*/
|
|
888
884
|
Popper.prototype._getPosition = function (popper, reference) {
|
|
889
885
|
var container = getOffsetParent(reference);
|
|
@@ -897,14 +893,14 @@ __webpack_require__("ab43");
|
|
|
897
893
|
return isParentFixed ? 'fixed' : 'absolute';
|
|
898
894
|
};
|
|
899
895
|
|
|
900
|
-
/**
|
|
901
|
-
* Get offsets to the popper
|
|
902
|
-
* @method
|
|
903
|
-
* @memberof Popper
|
|
904
|
-
* @access private
|
|
905
|
-
* @param {Element} popper - the popper element
|
|
906
|
-
* @param {Element} reference - the reference element (the popper will be relative to this)
|
|
907
|
-
* @returns {Object} An object containing the offsets which will be applied to the popper
|
|
896
|
+
/**
|
|
897
|
+
* Get offsets to the popper
|
|
898
|
+
* @method
|
|
899
|
+
* @memberof Popper
|
|
900
|
+
* @access private
|
|
901
|
+
* @param {Element} popper - the popper element
|
|
902
|
+
* @param {Element} reference - the reference element (the popper will be relative to this)
|
|
903
|
+
* @returns {Object} An object containing the offsets which will be applied to the popper
|
|
908
904
|
*/
|
|
909
905
|
Popper.prototype._getOffsets = function (popper, reference, placement) {
|
|
910
906
|
placement = placement.split('-')[0];
|
|
@@ -952,11 +948,11 @@ __webpack_require__("ab43");
|
|
|
952
948
|
};
|
|
953
949
|
};
|
|
954
950
|
|
|
955
|
-
/**
|
|
956
|
-
* Setup needed event listeners used to update the popper position
|
|
957
|
-
* @method
|
|
958
|
-
* @memberof Popper
|
|
959
|
-
* @access private
|
|
951
|
+
/**
|
|
952
|
+
* Setup needed event listeners used to update the popper position
|
|
953
|
+
* @method
|
|
954
|
+
* @memberof Popper
|
|
955
|
+
* @access private
|
|
960
956
|
*/
|
|
961
957
|
Popper.prototype._setupEventListeners = function () {
|
|
962
958
|
// NOTE: 1 DOM access here
|
|
@@ -974,11 +970,11 @@ __webpack_require__("ab43");
|
|
|
974
970
|
}
|
|
975
971
|
};
|
|
976
972
|
|
|
977
|
-
/**
|
|
978
|
-
* Remove event listeners used to update the popper position
|
|
979
|
-
* @method
|
|
980
|
-
* @memberof Popper
|
|
981
|
-
* @access private
|
|
973
|
+
/**
|
|
974
|
+
* Remove event listeners used to update the popper position
|
|
975
|
+
* @method
|
|
976
|
+
* @memberof Popper
|
|
977
|
+
* @access private
|
|
982
978
|
*/
|
|
983
979
|
Popper.prototype._removeEventListeners = function () {
|
|
984
980
|
// NOTE: 1 DOM access here
|
|
@@ -990,15 +986,15 @@ __webpack_require__("ab43");
|
|
|
990
986
|
this.state.updateBound = null;
|
|
991
987
|
};
|
|
992
988
|
|
|
993
|
-
/**
|
|
994
|
-
* Computed the boundaries limits and return them
|
|
995
|
-
* @method
|
|
996
|
-
* @memberof Popper
|
|
997
|
-
* @access private
|
|
998
|
-
* @param {Object} data - Object containing the property "offsets" generated by `_getOffsets`
|
|
999
|
-
* @param {Number} padding - Boundaries padding
|
|
1000
|
-
* @param {Element} boundariesElement - Element used to define the boundaries
|
|
1001
|
-
* @returns {Object} Coordinates of the boundaries
|
|
989
|
+
/**
|
|
990
|
+
* Computed the boundaries limits and return them
|
|
991
|
+
* @method
|
|
992
|
+
* @memberof Popper
|
|
993
|
+
* @access private
|
|
994
|
+
* @param {Object} data - Object containing the property "offsets" generated by `_getOffsets`
|
|
995
|
+
* @param {Number} padding - Boundaries padding
|
|
996
|
+
* @param {Element} boundariesElement - Element used to define the boundaries
|
|
997
|
+
* @returns {Object} Coordinates of the boundaries
|
|
1002
998
|
*/
|
|
1003
999
|
Popper.prototype._getBoundaries = function (data, padding, boundariesElement) {
|
|
1004
1000
|
// NOTE: 1 DOM access here
|
|
@@ -1056,14 +1052,14 @@ __webpack_require__("ab43");
|
|
|
1056
1052
|
return boundaries;
|
|
1057
1053
|
};
|
|
1058
1054
|
|
|
1059
|
-
/**
|
|
1060
|
-
* Loop trough the list of modifiers and run them in order, each of them will then edit the data object
|
|
1061
|
-
* @method
|
|
1062
|
-
* @memberof Popper
|
|
1063
|
-
* @access public
|
|
1064
|
-
* @param {Object} data
|
|
1065
|
-
* @param {Array} modifiers
|
|
1066
|
-
* @param {Function} ends
|
|
1055
|
+
/**
|
|
1056
|
+
* Loop trough the list of modifiers and run them in order, each of them will then edit the data object
|
|
1057
|
+
* @method
|
|
1058
|
+
* @memberof Popper
|
|
1059
|
+
* @access public
|
|
1060
|
+
* @param {Object} data
|
|
1061
|
+
* @param {Array} modifiers
|
|
1062
|
+
* @param {Function} ends
|
|
1067
1063
|
*/
|
|
1068
1064
|
Popper.prototype.runModifiers = function (data, modifiers, ends) {
|
|
1069
1065
|
var modifiersToRun = modifiers.slice();
|
|
@@ -1078,13 +1074,13 @@ __webpack_require__("ab43");
|
|
|
1078
1074
|
return data;
|
|
1079
1075
|
};
|
|
1080
1076
|
|
|
1081
|
-
/**
|
|
1082
|
-
* Helper used to know if the given modifier depends from another one.
|
|
1083
|
-
* @method
|
|
1084
|
-
* @memberof Popper
|
|
1085
|
-
* @param {String} requesting - name of requesting modifier
|
|
1086
|
-
* @param {String} requested - name of requested modifier
|
|
1087
|
-
* @returns {Boolean}
|
|
1077
|
+
/**
|
|
1078
|
+
* Helper used to know if the given modifier depends from another one.
|
|
1079
|
+
* @method
|
|
1080
|
+
* @memberof Popper
|
|
1081
|
+
* @param {String} requesting - name of requesting modifier
|
|
1082
|
+
* @param {String} requested - name of requested modifier
|
|
1083
|
+
* @returns {Boolean}
|
|
1088
1084
|
*/
|
|
1089
1085
|
Popper.prototype.isModifierRequired = function (requesting, requested) {
|
|
1090
1086
|
var index = getArrayKeyIndex(this._options.modifiers, requesting);
|
|
@@ -1097,20 +1093,20 @@ __webpack_require__("ab43");
|
|
|
1097
1093
|
// Modifiers
|
|
1098
1094
|
//
|
|
1099
1095
|
|
|
1100
|
-
/**
|
|
1101
|
-
* Modifiers list
|
|
1102
|
-
* @namespace Popper.modifiers
|
|
1103
|
-
* @memberof Popper
|
|
1104
|
-
* @type {Object}
|
|
1096
|
+
/**
|
|
1097
|
+
* Modifiers list
|
|
1098
|
+
* @namespace Popper.modifiers
|
|
1099
|
+
* @memberof Popper
|
|
1100
|
+
* @type {Object}
|
|
1105
1101
|
*/
|
|
1106
1102
|
Popper.prototype.modifiers = {};
|
|
1107
1103
|
|
|
1108
|
-
/**
|
|
1109
|
-
* Apply the computed styles to the popper element
|
|
1110
|
-
* @method
|
|
1111
|
-
* @memberof Popper.modifiers
|
|
1112
|
-
* @argument {Object} data - The data object generated by `update` method
|
|
1113
|
-
* @returns {Object} The same data object
|
|
1104
|
+
/**
|
|
1105
|
+
* Apply the computed styles to the popper element
|
|
1106
|
+
* @method
|
|
1107
|
+
* @memberof Popper.modifiers
|
|
1108
|
+
* @argument {Object} data - The data object generated by `update` method
|
|
1109
|
+
* @returns {Object} The same data object
|
|
1114
1110
|
*/
|
|
1115
1111
|
Popper.prototype.modifiers.applyStyle = function (data) {
|
|
1116
1112
|
// apply the final offsets to the popper
|
|
@@ -1155,12 +1151,12 @@ __webpack_require__("ab43");
|
|
|
1155
1151
|
return data;
|
|
1156
1152
|
};
|
|
1157
1153
|
|
|
1158
|
-
/**
|
|
1159
|
-
* Modifier used to shift the popper on the start or end of its reference element side
|
|
1160
|
-
* @method
|
|
1161
|
-
* @memberof Popper.modifiers
|
|
1162
|
-
* @argument {Object} data - The data object generated by `update` method
|
|
1163
|
-
* @returns {Object} The data object, properly modified
|
|
1154
|
+
/**
|
|
1155
|
+
* Modifier used to shift the popper on the start or end of its reference element side
|
|
1156
|
+
* @method
|
|
1157
|
+
* @memberof Popper.modifiers
|
|
1158
|
+
* @argument {Object} data - The data object generated by `update` method
|
|
1159
|
+
* @returns {Object} The data object, properly modified
|
|
1164
1160
|
*/
|
|
1165
1161
|
Popper.prototype.modifiers.shift = function (data) {
|
|
1166
1162
|
var placement = data.placement;
|
|
@@ -1195,12 +1191,12 @@ __webpack_require__("ab43");
|
|
|
1195
1191
|
return data;
|
|
1196
1192
|
};
|
|
1197
1193
|
|
|
1198
|
-
/**
|
|
1199
|
-
* Modifier used to make sure the popper does not overflows from it's boundaries
|
|
1200
|
-
* @method
|
|
1201
|
-
* @memberof Popper.modifiers
|
|
1202
|
-
* @argument {Object} data - The data object generated by `update` method
|
|
1203
|
-
* @returns {Object} The data object, properly modified
|
|
1194
|
+
/**
|
|
1195
|
+
* Modifier used to make sure the popper does not overflows from it's boundaries
|
|
1196
|
+
* @method
|
|
1197
|
+
* @memberof Popper.modifiers
|
|
1198
|
+
* @argument {Object} data - The data object generated by `update` method
|
|
1199
|
+
* @returns {Object} The data object, properly modified
|
|
1204
1200
|
*/
|
|
1205
1201
|
Popper.prototype.modifiers.preventOverflow = function (data) {
|
|
1206
1202
|
var order = this._options.preventOverflowOrder;
|
|
@@ -1249,12 +1245,12 @@ __webpack_require__("ab43");
|
|
|
1249
1245
|
return data;
|
|
1250
1246
|
};
|
|
1251
1247
|
|
|
1252
|
-
/**
|
|
1253
|
-
* Modifier used to make sure the popper is always near its reference
|
|
1254
|
-
* @method
|
|
1255
|
-
* @memberof Popper.modifiers
|
|
1256
|
-
* @argument {Object} data - The data object generated by _update method
|
|
1257
|
-
* @returns {Object} The data object, properly modified
|
|
1248
|
+
/**
|
|
1249
|
+
* Modifier used to make sure the popper is always near its reference
|
|
1250
|
+
* @method
|
|
1251
|
+
* @memberof Popper.modifiers
|
|
1252
|
+
* @argument {Object} data - The data object generated by _update method
|
|
1253
|
+
* @returns {Object} The data object, properly modified
|
|
1258
1254
|
*/
|
|
1259
1255
|
Popper.prototype.modifiers.keepTogether = function (data) {
|
|
1260
1256
|
var popper = getPopperClientRect(data.offsets.popper);
|
|
@@ -1275,14 +1271,14 @@ __webpack_require__("ab43");
|
|
|
1275
1271
|
return data;
|
|
1276
1272
|
};
|
|
1277
1273
|
|
|
1278
|
-
/**
|
|
1279
|
-
* Modifier used to flip the placement of the popper when the latter is starting overlapping its reference element.
|
|
1280
|
-
* Requires the `preventOverflow` modifier before it in order to work.
|
|
1281
|
-
* **NOTE:** This modifier will run all its previous modifiers everytime it tries to flip the popper!
|
|
1282
|
-
* @method
|
|
1283
|
-
* @memberof Popper.modifiers
|
|
1284
|
-
* @argument {Object} data - The data object generated by _update method
|
|
1285
|
-
* @returns {Object} The data object, properly modified
|
|
1274
|
+
/**
|
|
1275
|
+
* Modifier used to flip the placement of the popper when the latter is starting overlapping its reference element.
|
|
1276
|
+
* Requires the `preventOverflow` modifier before it in order to work.
|
|
1277
|
+
* **NOTE:** This modifier will run all its previous modifiers everytime it tries to flip the popper!
|
|
1278
|
+
* @method
|
|
1279
|
+
* @memberof Popper.modifiers
|
|
1280
|
+
* @argument {Object} data - The data object generated by _update method
|
|
1281
|
+
* @returns {Object} The data object, properly modified
|
|
1286
1282
|
*/
|
|
1287
1283
|
Popper.prototype.modifiers.flip = function (data) {
|
|
1288
1284
|
// check if preventOverflow is in the list of modifiers before the flip modifier.
|
|
@@ -1331,13 +1327,13 @@ __webpack_require__("ab43");
|
|
|
1331
1327
|
return data;
|
|
1332
1328
|
};
|
|
1333
1329
|
|
|
1334
|
-
/**
|
|
1335
|
-
* Modifier used to add an offset to the popper, useful if you more granularity positioning your popper.
|
|
1336
|
-
* The offsets will shift the popper on the side of its reference element.
|
|
1337
|
-
* @method
|
|
1338
|
-
* @memberof Popper.modifiers
|
|
1339
|
-
* @argument {Object} data - The data object generated by _update method
|
|
1340
|
-
* @returns {Object} The data object, properly modified
|
|
1330
|
+
/**
|
|
1331
|
+
* Modifier used to add an offset to the popper, useful if you more granularity positioning your popper.
|
|
1332
|
+
* The offsets will shift the popper on the side of its reference element.
|
|
1333
|
+
* @method
|
|
1334
|
+
* @memberof Popper.modifiers
|
|
1335
|
+
* @argument {Object} data - The data object generated by _update method
|
|
1336
|
+
* @returns {Object} The data object, properly modified
|
|
1341
1337
|
*/
|
|
1342
1338
|
Popper.prototype.modifiers.offset = function (data) {
|
|
1343
1339
|
var offset = this._options.offset;
|
|
@@ -1354,13 +1350,13 @@ __webpack_require__("ab43");
|
|
|
1354
1350
|
return data;
|
|
1355
1351
|
};
|
|
1356
1352
|
|
|
1357
|
-
/**
|
|
1358
|
-
* Modifier used to move the arrows on the edge of the popper to make sure them are always between the popper and the reference element
|
|
1359
|
-
* It will use the CSS outer size of the arrow element to know how many pixels of conjuction are needed
|
|
1360
|
-
* @method
|
|
1361
|
-
* @memberof Popper.modifiers
|
|
1362
|
-
* @argument {Object} data - The data object generated by _update method
|
|
1363
|
-
* @returns {Object} The data object, properly modified
|
|
1353
|
+
/**
|
|
1354
|
+
* Modifier used to move the arrows on the edge of the popper to make sure them are always between the popper and the reference element
|
|
1355
|
+
* It will use the CSS outer size of the arrow element to know how many pixels of conjuction are needed
|
|
1356
|
+
* @method
|
|
1357
|
+
* @memberof Popper.modifiers
|
|
1358
|
+
* @argument {Object} data - The data object generated by _update method
|
|
1359
|
+
* @returns {Object} The data object, properly modified
|
|
1364
1360
|
*/
|
|
1365
1361
|
Popper.prototype.modifiers.arrow = function (data) {
|
|
1366
1362
|
var arrow = this._options.arrowElement;
|
|
@@ -1430,12 +1426,12 @@ __webpack_require__("ab43");
|
|
|
1430
1426
|
// Helpers
|
|
1431
1427
|
//
|
|
1432
1428
|
|
|
1433
|
-
/**
|
|
1434
|
-
* Get the outer sizes of the given element (offset size + margins)
|
|
1435
|
-
* @function
|
|
1436
|
-
* @ignore
|
|
1437
|
-
* @argument {Element} element
|
|
1438
|
-
* @returns {Object} object containing width and height properties
|
|
1429
|
+
/**
|
|
1430
|
+
* Get the outer sizes of the given element (offset size + margins)
|
|
1431
|
+
* @function
|
|
1432
|
+
* @ignore
|
|
1433
|
+
* @argument {Element} element
|
|
1434
|
+
* @returns {Object} object containing width and height properties
|
|
1439
1435
|
*/
|
|
1440
1436
|
function getOuterSizes(element) {
|
|
1441
1437
|
// NOTE: 1 DOM access here
|
|
@@ -1460,12 +1456,12 @@ __webpack_require__("ab43");
|
|
|
1460
1456
|
return result;
|
|
1461
1457
|
}
|
|
1462
1458
|
|
|
1463
|
-
/**
|
|
1464
|
-
* Get the opposite placement of the given one/
|
|
1465
|
-
* @function
|
|
1466
|
-
* @ignore
|
|
1467
|
-
* @argument {String} placement
|
|
1468
|
-
* @returns {String} flipped placement
|
|
1459
|
+
/**
|
|
1460
|
+
* Get the opposite placement of the given one/
|
|
1461
|
+
* @function
|
|
1462
|
+
* @ignore
|
|
1463
|
+
* @argument {String} placement
|
|
1464
|
+
* @returns {String} flipped placement
|
|
1469
1465
|
*/
|
|
1470
1466
|
function getOppositePlacement(placement) {
|
|
1471
1467
|
var hash = {
|
|
@@ -1479,12 +1475,12 @@ __webpack_require__("ab43");
|
|
|
1479
1475
|
});
|
|
1480
1476
|
}
|
|
1481
1477
|
|
|
1482
|
-
/**
|
|
1483
|
-
* Given the popper offsets, generate an output similar to getBoundingClientRect
|
|
1484
|
-
* @function
|
|
1485
|
-
* @ignore
|
|
1486
|
-
* @argument {Object} popperOffsets
|
|
1487
|
-
* @returns {Object} ClientRect like output
|
|
1478
|
+
/**
|
|
1479
|
+
* Given the popper offsets, generate an output similar to getBoundingClientRect
|
|
1480
|
+
* @function
|
|
1481
|
+
* @ignore
|
|
1482
|
+
* @argument {Object} popperOffsets
|
|
1483
|
+
* @returns {Object} ClientRect like output
|
|
1488
1484
|
*/
|
|
1489
1485
|
function getPopperClientRect(popperOffsets) {
|
|
1490
1486
|
var offsets = Object.assign({}, popperOffsets);
|
|
@@ -1493,13 +1489,13 @@ __webpack_require__("ab43");
|
|
|
1493
1489
|
return offsets;
|
|
1494
1490
|
}
|
|
1495
1491
|
|
|
1496
|
-
/**
|
|
1497
|
-
* Given an array and the key to find, returns its index
|
|
1498
|
-
* @function
|
|
1499
|
-
* @ignore
|
|
1500
|
-
* @argument {Array} arr
|
|
1501
|
-
* @argument keyToFind
|
|
1502
|
-
* @returns index or null
|
|
1492
|
+
/**
|
|
1493
|
+
* Given an array and the key to find, returns its index
|
|
1494
|
+
* @function
|
|
1495
|
+
* @ignore
|
|
1496
|
+
* @argument {Array} arr
|
|
1497
|
+
* @argument keyToFind
|
|
1498
|
+
* @returns index or null
|
|
1503
1499
|
*/
|
|
1504
1500
|
function getArrayKeyIndex(arr, keyToFind) {
|
|
1505
1501
|
var i = 0,
|
|
@@ -1513,12 +1509,12 @@ __webpack_require__("ab43");
|
|
|
1513
1509
|
return null;
|
|
1514
1510
|
}
|
|
1515
1511
|
|
|
1516
|
-
/**
|
|
1517
|
-
* Get CSS computed property of the given element
|
|
1518
|
-
* @function
|
|
1519
|
-
* @ignore
|
|
1520
|
-
* @argument {Eement} element
|
|
1521
|
-
* @argument {String} property
|
|
1512
|
+
/**
|
|
1513
|
+
* Get CSS computed property of the given element
|
|
1514
|
+
* @function
|
|
1515
|
+
* @ignore
|
|
1516
|
+
* @argument {Eement} element
|
|
1517
|
+
* @argument {String} property
|
|
1522
1518
|
*/
|
|
1523
1519
|
function getStyleComputedProperty(element, property) {
|
|
1524
1520
|
// NOTE: 1 DOM access here
|
|
@@ -1526,12 +1522,12 @@ __webpack_require__("ab43");
|
|
|
1526
1522
|
return css[property];
|
|
1527
1523
|
}
|
|
1528
1524
|
|
|
1529
|
-
/**
|
|
1530
|
-
* Returns the offset parent of the given element
|
|
1531
|
-
* @function
|
|
1532
|
-
* @ignore
|
|
1533
|
-
* @argument {Element} element
|
|
1534
|
-
* @returns {Element} offset parent
|
|
1525
|
+
/**
|
|
1526
|
+
* Returns the offset parent of the given element
|
|
1527
|
+
* @function
|
|
1528
|
+
* @ignore
|
|
1529
|
+
* @argument {Element} element
|
|
1530
|
+
* @returns {Element} offset parent
|
|
1535
1531
|
*/
|
|
1536
1532
|
function getOffsetParent(element) {
|
|
1537
1533
|
// NOTE: 1 DOM access here
|
|
@@ -1539,12 +1535,12 @@ __webpack_require__("ab43");
|
|
|
1539
1535
|
return offsetParent === root.document.body || !offsetParent ? root.document.documentElement : offsetParent;
|
|
1540
1536
|
}
|
|
1541
1537
|
|
|
1542
|
-
/**
|
|
1543
|
-
* Returns the scrolling parent of the given element
|
|
1544
|
-
* @function
|
|
1545
|
-
* @ignore
|
|
1546
|
-
* @argument {Element} element
|
|
1547
|
-
* @returns {Element} offset parent
|
|
1538
|
+
/**
|
|
1539
|
+
* Returns the scrolling parent of the given element
|
|
1540
|
+
* @function
|
|
1541
|
+
* @ignore
|
|
1542
|
+
* @argument {Element} element
|
|
1543
|
+
* @returns {Element} offset parent
|
|
1548
1544
|
*/
|
|
1549
1545
|
function getScrollParent(element) {
|
|
1550
1546
|
var parent = element.parentNode;
|
|
@@ -1571,13 +1567,13 @@ __webpack_require__("ab43");
|
|
|
1571
1567
|
return getScrollParent(element.parentNode);
|
|
1572
1568
|
}
|
|
1573
1569
|
|
|
1574
|
-
/**
|
|
1575
|
-
* Check if the given element is fixed or is inside a fixed parent
|
|
1576
|
-
* @function
|
|
1577
|
-
* @ignore
|
|
1578
|
-
* @argument {Element} element
|
|
1579
|
-
* @argument {Element} customContainer
|
|
1580
|
-
* @returns {Boolean} answer to "isFixed?"
|
|
1570
|
+
/**
|
|
1571
|
+
* Check if the given element is fixed or is inside a fixed parent
|
|
1572
|
+
* @function
|
|
1573
|
+
* @ignore
|
|
1574
|
+
* @argument {Element} element
|
|
1575
|
+
* @argument {Element} customContainer
|
|
1576
|
+
* @returns {Boolean} answer to "isFixed?"
|
|
1581
1577
|
*/
|
|
1582
1578
|
function isFixed(element) {
|
|
1583
1579
|
if (element === root.document.body) {
|
|
@@ -1589,12 +1585,12 @@ __webpack_require__("ab43");
|
|
|
1589
1585
|
return element.parentNode ? isFixed(element.parentNode) : element;
|
|
1590
1586
|
}
|
|
1591
1587
|
|
|
1592
|
-
/**
|
|
1593
|
-
* Set the style to the given popper
|
|
1594
|
-
* @function
|
|
1595
|
-
* @ignore
|
|
1596
|
-
* @argument {Element} element - Element to apply the style to
|
|
1597
|
-
* @argument {Object} styles - Object with a list of properties and values which will be applied to the element
|
|
1588
|
+
/**
|
|
1589
|
+
* Set the style to the given popper
|
|
1590
|
+
* @function
|
|
1591
|
+
* @ignore
|
|
1592
|
+
* @argument {Element} element - Element to apply the style to
|
|
1593
|
+
* @argument {Object} styles - Object with a list of properties and values which will be applied to the element
|
|
1598
1594
|
*/
|
|
1599
1595
|
function setStyle(element, styles) {
|
|
1600
1596
|
function is_numeric(n) {
|
|
@@ -1610,24 +1606,24 @@ __webpack_require__("ab43");
|
|
|
1610
1606
|
});
|
|
1611
1607
|
}
|
|
1612
1608
|
|
|
1613
|
-
/**
|
|
1614
|
-
* Check if the given variable is a function
|
|
1615
|
-
* @function
|
|
1616
|
-
* @ignore
|
|
1617
|
-
* @argument {*} functionToCheck - variable to check
|
|
1618
|
-
* @returns {Boolean} answer to: is a function?
|
|
1609
|
+
/**
|
|
1610
|
+
* Check if the given variable is a function
|
|
1611
|
+
* @function
|
|
1612
|
+
* @ignore
|
|
1613
|
+
* @argument {*} functionToCheck - variable to check
|
|
1614
|
+
* @returns {Boolean} answer to: is a function?
|
|
1619
1615
|
*/
|
|
1620
1616
|
function isFunction(functionToCheck) {
|
|
1621
1617
|
var getType = {};
|
|
1622
1618
|
return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
|
|
1623
1619
|
}
|
|
1624
1620
|
|
|
1625
|
-
/**
|
|
1626
|
-
* Get the position of the given element, relative to its offset parent
|
|
1627
|
-
* @function
|
|
1628
|
-
* @ignore
|
|
1629
|
-
* @param {Element} element
|
|
1630
|
-
* @return {Object} position - Coordinates of the element and its `scrollTop`
|
|
1621
|
+
/**
|
|
1622
|
+
* Get the position of the given element, relative to its offset parent
|
|
1623
|
+
* @function
|
|
1624
|
+
* @ignore
|
|
1625
|
+
* @param {Element} element
|
|
1626
|
+
* @return {Object} position - Coordinates of the element and its `scrollTop`
|
|
1631
1627
|
*/
|
|
1632
1628
|
function getOffsetRect(element) {
|
|
1633
1629
|
var elementRect = {
|
|
@@ -1643,12 +1639,12 @@ __webpack_require__("ab43");
|
|
|
1643
1639
|
return elementRect;
|
|
1644
1640
|
}
|
|
1645
1641
|
|
|
1646
|
-
/**
|
|
1647
|
-
* Get bounding client rect of given element
|
|
1648
|
-
* @function
|
|
1649
|
-
* @ignore
|
|
1650
|
-
* @param {HTMLElement} element
|
|
1651
|
-
* @return {Object} client rect
|
|
1642
|
+
/**
|
|
1643
|
+
* Get bounding client rect of given element
|
|
1644
|
+
* @function
|
|
1645
|
+
* @ignore
|
|
1646
|
+
* @param {HTMLElement} element
|
|
1647
|
+
* @return {Object} client rect
|
|
1652
1648
|
*/
|
|
1653
1649
|
function getBoundingClientRect(element) {
|
|
1654
1650
|
var rect = element.getBoundingClientRect();
|
|
@@ -1668,13 +1664,13 @@ __webpack_require__("ab43");
|
|
|
1668
1664
|
};
|
|
1669
1665
|
}
|
|
1670
1666
|
|
|
1671
|
-
/**
|
|
1672
|
-
* Given an element and one of its parents, return the offset
|
|
1673
|
-
* @function
|
|
1674
|
-
* @ignore
|
|
1675
|
-
* @param {HTMLElement} element
|
|
1676
|
-
* @param {HTMLElement} parent
|
|
1677
|
-
* @return {Object} rect
|
|
1667
|
+
/**
|
|
1668
|
+
* Given an element and one of its parents, return the offset
|
|
1669
|
+
* @function
|
|
1670
|
+
* @ignore
|
|
1671
|
+
* @param {HTMLElement} element
|
|
1672
|
+
* @param {HTMLElement} parent
|
|
1673
|
+
* @return {Object} rect
|
|
1678
1674
|
*/
|
|
1679
1675
|
function getOffsetRectRelativeToCustomParent(element, parent, fixed) {
|
|
1680
1676
|
var elementRect = getBoundingClientRect(element);
|
|
@@ -1697,12 +1693,12 @@ __webpack_require__("ab43");
|
|
|
1697
1693
|
return rect;
|
|
1698
1694
|
}
|
|
1699
1695
|
|
|
1700
|
-
/**
|
|
1701
|
-
* Get the prefixed supported property name
|
|
1702
|
-
* @function
|
|
1703
|
-
* @ignore
|
|
1704
|
-
* @argument {String} property (camelCase)
|
|
1705
|
-
* @returns {String} prefixed property (camelCase)
|
|
1696
|
+
/**
|
|
1697
|
+
* Get the prefixed supported property name
|
|
1698
|
+
* @function
|
|
1699
|
+
* @ignore
|
|
1700
|
+
* @argument {String} property (camelCase)
|
|
1701
|
+
* @returns {String} prefixed property (camelCase)
|
|
1706
1702
|
*/
|
|
1707
1703
|
function getSupportedPropertyName(property) {
|
|
1708
1704
|
var prefixes = ['', 'ms', 'webkit', 'moz', 'o'];
|
|
@@ -1715,13 +1711,13 @@ __webpack_require__("ab43");
|
|
|
1715
1711
|
return null;
|
|
1716
1712
|
}
|
|
1717
1713
|
|
|
1718
|
-
/**
|
|
1719
|
-
* The Object.assign() method is used to copy the values of all enumerable own properties from one or more source
|
|
1720
|
-
* objects to a target object. It will return the target object.
|
|
1721
|
-
* This polyfill doesn't support symbol properties, since ES5 doesn't have symbols anyway
|
|
1722
|
-
* Source: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
|
|
1723
|
-
* @function
|
|
1724
|
-
* @ignore
|
|
1714
|
+
/**
|
|
1715
|
+
* The Object.assign() method is used to copy the values of all enumerable own properties from one or more source
|
|
1716
|
+
* objects to a target object. It will return the target object.
|
|
1717
|
+
* This polyfill doesn't support symbol properties, since ES5 doesn't have symbols anyway
|
|
1718
|
+
* Source: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
|
|
1719
|
+
* @function
|
|
1720
|
+
* @ignore
|
|
1725
1721
|
*/
|
|
1726
1722
|
if (!Object.assign) {
|
|
1727
1723
|
Object.defineProperty(Object, 'assign', {
|
|
@@ -5580,6 +5576,17 @@ $({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
|
5580
5576
|
});
|
|
5581
5577
|
|
|
5582
5578
|
|
|
5579
|
+
/***/ }),
|
|
5580
|
+
|
|
5581
|
+
/***/ "ab91":
|
|
5582
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5583
|
+
|
|
5584
|
+
"use strict";
|
|
5585
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_range_vue_vue_type_style_index_0_id_1e7343bb_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c4ca");
|
|
5586
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_range_vue_vue_type_style_index_0_id_1e7343bb_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_range_vue_vue_type_style_index_0_id_1e7343bb_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
5587
|
+
/* unused harmony reexport * */
|
|
5588
|
+
|
|
5589
|
+
|
|
5583
5590
|
/***/ }),
|
|
5584
5591
|
|
|
5585
5592
|
/***/ "ae93":
|
|
@@ -5884,29 +5891,29 @@ module.exports = false;
|
|
|
5884
5891
|
|
|
5885
5892
|
var __WEBPACK_AMD_DEFINE_RESULT__;__webpack_require__("d9e2");
|
|
5886
5893
|
__webpack_require__("14d9");
|
|
5887
|
-
/* Modified from https://github.com/taylorhakes/fecha
|
|
5888
|
-
*
|
|
5889
|
-
* The MIT License (MIT)
|
|
5890
|
-
*
|
|
5891
|
-
* Copyright (c) 2015 Taylor Hakes
|
|
5892
|
-
*
|
|
5893
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5894
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
5895
|
-
* in the Software without restriction, including without limitation the rights
|
|
5896
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
5897
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
5898
|
-
* furnished to do so, subject to the following conditions:
|
|
5899
|
-
*
|
|
5900
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
5901
|
-
* copies or substantial portions of the Software.
|
|
5902
|
-
*
|
|
5903
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
5904
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
5905
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
5906
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
5907
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
5908
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
5909
|
-
* SOFTWARE.
|
|
5894
|
+
/* Modified from https://github.com/taylorhakes/fecha
|
|
5895
|
+
*
|
|
5896
|
+
* The MIT License (MIT)
|
|
5897
|
+
*
|
|
5898
|
+
* Copyright (c) 2015 Taylor Hakes
|
|
5899
|
+
*
|
|
5900
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5901
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
5902
|
+
* in the Software without restriction, including without limitation the rights
|
|
5903
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
5904
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
5905
|
+
* furnished to do so, subject to the following conditions:
|
|
5906
|
+
*
|
|
5907
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
5908
|
+
* copies or substantial portions of the Software.
|
|
5909
|
+
*
|
|
5910
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
5911
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
5912
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
5913
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
5914
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
5915
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
5916
|
+
* SOFTWARE.
|
|
5910
5917
|
*/
|
|
5911
5918
|
|
|
5912
5919
|
/*eslint-disable*/
|
|
@@ -5914,9 +5921,9 @@ __webpack_require__("14d9");
|
|
|
5914
5921
|
(function (main) {
|
|
5915
5922
|
'use strict';
|
|
5916
5923
|
|
|
5917
|
-
/**
|
|
5918
|
-
* Parse or format dates
|
|
5919
|
-
* @class fecha
|
|
5924
|
+
/**
|
|
5925
|
+
* Parse or format dates
|
|
5926
|
+
* @class fecha
|
|
5920
5927
|
*/
|
|
5921
5928
|
var fecha = {};
|
|
5922
5929
|
var token = /d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g;
|
|
@@ -6128,11 +6135,11 @@ __webpack_require__("14d9");
|
|
|
6128
6135
|
longTime: 'HH:mm:ss.SSS'
|
|
6129
6136
|
};
|
|
6130
6137
|
|
|
6131
|
-
/***
|
|
6132
|
-
* Format a date
|
|
6133
|
-
* @method format
|
|
6134
|
-
* @param {Date|number} dateObj
|
|
6135
|
-
* @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'
|
|
6138
|
+
/***
|
|
6139
|
+
* Format a date
|
|
6140
|
+
* @method format
|
|
6141
|
+
* @param {Date|number} dateObj
|
|
6142
|
+
* @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'
|
|
6136
6143
|
*/
|
|
6137
6144
|
fecha.format = function (dateObj, mask, i18nSettings) {
|
|
6138
6145
|
var i18n = i18nSettings || fecha.i18n;
|
|
@@ -6160,12 +6167,12 @@ __webpack_require__("14d9");
|
|
|
6160
6167
|
});
|
|
6161
6168
|
};
|
|
6162
6169
|
|
|
6163
|
-
/**
|
|
6164
|
-
* Parse a date string into an object, changes - into /
|
|
6165
|
-
* @method parse
|
|
6166
|
-
* @param {string} dateStr Date string
|
|
6167
|
-
* @param {string} format Date parse format
|
|
6168
|
-
* @returns {Date|boolean}
|
|
6170
|
+
/**
|
|
6171
|
+
* Parse a date string into an object, changes - into /
|
|
6172
|
+
* @method parse
|
|
6173
|
+
* @param {string} dateStr Date string
|
|
6174
|
+
* @param {string} format Date parse format
|
|
6175
|
+
* @returns {Date|boolean}
|
|
6169
6176
|
*/
|
|
6170
6177
|
fecha.parse = function (dateStr, format, i18nSettings) {
|
|
6171
6178
|
var i18n = i18nSettings || fecha.i18n;
|
|
@@ -6233,7 +6240,7 @@ __webpack_require__("14d9");
|
|
|
6233
6240
|
|
|
6234
6241
|
/***/ }),
|
|
6235
6242
|
|
|
6236
|
-
/***/ "
|
|
6243
|
+
/***/ "c4ca":
|
|
6237
6244
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6238
6245
|
|
|
6239
6246
|
// extracted by mini-css-extract-plugin
|
|
@@ -6415,13 +6422,6 @@ try {
|
|
|
6415
6422
|
module.exports = g;
|
|
6416
6423
|
|
|
6417
6424
|
|
|
6418
|
-
/***/ }),
|
|
6419
|
-
|
|
6420
|
-
/***/ "c90d":
|
|
6421
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6422
|
-
|
|
6423
|
-
// extracted by mini-css-extract-plugin
|
|
6424
|
-
|
|
6425
6425
|
/***/ }),
|
|
6426
6426
|
|
|
6427
6427
|
/***/ "ca84":
|
|
@@ -7236,17 +7236,6 @@ function scrollIntoView(container, selected) {
|
|
|
7236
7236
|
}
|
|
7237
7237
|
}
|
|
7238
7238
|
|
|
7239
|
-
/***/ }),
|
|
7240
|
-
|
|
7241
|
-
/***/ "e2e9":
|
|
7242
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7243
|
-
|
|
7244
|
-
"use strict";
|
|
7245
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_vue_vue_type_style_index_0_id_d822de2a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c57e");
|
|
7246
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_vue_vue_type_style_index_0_id_d822de2a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_vue_vue_type_style_index_0_id_d822de2a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
7247
|
-
/* unused harmony reexport * */
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
7239
|
/***/ }),
|
|
7251
7240
|
|
|
7252
7241
|
/***/ "e330":
|
|
@@ -7268,6 +7257,17 @@ module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
|
7268
7257
|
};
|
|
7269
7258
|
|
|
7270
7259
|
|
|
7260
|
+
/***/ }),
|
|
7261
|
+
|
|
7262
|
+
/***/ "e334":
|
|
7263
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7264
|
+
|
|
7265
|
+
"use strict";
|
|
7266
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_vue_vue_type_style_index_0_id_94a0d822_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("093a");
|
|
7267
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_vue_vue_type_style_index_0_id_94a0d822_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_date_vue_vue_type_style_index_0_id_94a0d822_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
7268
|
+
/* unused harmony reexport * */
|
|
7269
|
+
|
|
7270
|
+
|
|
7271
7271
|
/***/ }),
|
|
7272
7272
|
|
|
7273
7273
|
/***/ "e391":
|
|
@@ -8993,9 +8993,9 @@ function isHtmlElement(node) {
|
|
|
8993
8993
|
return node && node.nodeType === Node.ELEMENT_NODE;
|
|
8994
8994
|
}
|
|
8995
8995
|
|
|
8996
|
-
/**
|
|
8997
|
-
* - Inspired:
|
|
8998
|
-
* https://github.com/jashkenas/underscore/blob/master/modules/isFunction.js
|
|
8996
|
+
/**
|
|
8997
|
+
* - Inspired:
|
|
8998
|
+
* https://github.com/jashkenas/underscore/blob/master/modules/isFunction.js
|
|
8999
8999
|
*/
|
|
9000
9000
|
let isFunction = functionToCheck => {
|
|
9001
9001
|
var getType = {};
|
|
@@ -9228,18 +9228,18 @@ const isMac = function () {
|
|
|
9228
9228
|
// CONCATENATED MODULE: ./src/locale/format.js
|
|
9229
9229
|
|
|
9230
9230
|
const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
9231
|
-
/**
|
|
9232
|
-
* String format template
|
|
9233
|
-
* - Inspired:
|
|
9234
|
-
* https://github.com/Matt-Esch/string-template/index.js
|
|
9231
|
+
/**
|
|
9232
|
+
* String format template
|
|
9233
|
+
* - Inspired:
|
|
9234
|
+
* https://github.com/Matt-Esch/string-template/index.js
|
|
9235
9235
|
*/
|
|
9236
9236
|
/* harmony default export */ var locale_format = (function (Vue) {
|
|
9237
|
-
/**
|
|
9238
|
-
* template
|
|
9239
|
-
*
|
|
9240
|
-
* @param {String} string
|
|
9241
|
-
* @param {Array} ...args
|
|
9242
|
-
* @return {String}
|
|
9237
|
+
/**
|
|
9238
|
+
* template
|
|
9239
|
+
*
|
|
9240
|
+
* @param {String} string
|
|
9241
|
+
* @param {Array} ...args
|
|
9242
|
+
* @return {String}
|
|
9243
9243
|
*/
|
|
9244
9244
|
|
|
9245
9245
|
function template(string, ...args) {
|
|
@@ -9323,26 +9323,26 @@ const i18n = function (fn) {
|
|
|
9323
9323
|
});
|
|
9324
9324
|
// CONCATENATED MODULE: ./src/mixins/migrating.js
|
|
9325
9325
|
|
|
9326
|
-
/**
|
|
9327
|
-
* Show migrating guide in browser console.
|
|
9328
|
-
*
|
|
9329
|
-
* Usage:
|
|
9330
|
-
* import Migrating from '@/admin-package/p-table/mixins/migrating';
|
|
9331
|
-
*
|
|
9332
|
-
* mixins: [Migrating]
|
|
9333
|
-
*
|
|
9334
|
-
* add getMigratingConfig method for your component.
|
|
9335
|
-
* getMigratingConfig() {
|
|
9336
|
-
* return {
|
|
9337
|
-
* props: {
|
|
9338
|
-
* 'allow-no-selection': 'allow-no-selection is removed.',
|
|
9339
|
-
* 'selection-mode': 'selection-mode is removed.'
|
|
9340
|
-
* },
|
|
9341
|
-
* events: {
|
|
9342
|
-
* selectionchange: 'selectionchange is renamed to selection-change.'
|
|
9343
|
-
* }
|
|
9344
|
-
* };
|
|
9345
|
-
* },
|
|
9326
|
+
/**
|
|
9327
|
+
* Show migrating guide in browser console.
|
|
9328
|
+
*
|
|
9329
|
+
* Usage:
|
|
9330
|
+
* import Migrating from '@/admin-package/p-table/mixins/migrating';
|
|
9331
|
+
*
|
|
9332
|
+
* mixins: [Migrating]
|
|
9333
|
+
*
|
|
9334
|
+
* add getMigratingConfig method for your component.
|
|
9335
|
+
* getMigratingConfig() {
|
|
9336
|
+
* return {
|
|
9337
|
+
* props: {
|
|
9338
|
+
* 'allow-no-selection': 'allow-no-selection is removed.',
|
|
9339
|
+
* 'selection-mode': 'selection-mode is removed.'
|
|
9340
|
+
* },
|
|
9341
|
+
* events: {
|
|
9342
|
+
* selectionchange: 'selectionchange is renamed to selection-change.'
|
|
9343
|
+
* }
|
|
9344
|
+
* };
|
|
9345
|
+
* },
|
|
9346
9346
|
*/
|
|
9347
9347
|
/* harmony default export */ var migrating = ({
|
|
9348
9348
|
mounted() {
|
|
@@ -11415,13 +11415,13 @@ let popup_scrollBarWidth;
|
|
|
11415
11415
|
const PopperJS = external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default.a.prototype.$isServer ? function () {} : __webpack_require__("16d2");
|
|
11416
11416
|
const stop = e => e.stopPropagation();
|
|
11417
11417
|
|
|
11418
|
-
/**
|
|
11419
|
-
* @param {HTMLElement} [reference=$refs.reference] - The reference element used to position the popper.
|
|
11420
|
-
* @param {HTMLElement} [popper=$refs.popper] - The HTML element used as popper, or a configuration used to generate the popper.
|
|
11421
|
-
* @param {String} [placement=button] - Placement of the popper accepted values: top(-start, -end), right(-start, -end), bottom(-start, -end), left(-start, -end)
|
|
11422
|
-
* @param {Number} [offset=0] - Amount of pixels the popper will be shifted (can be negative).
|
|
11423
|
-
* @param {Boolean} [visible=false] Visibility of the popup element.
|
|
11424
|
-
* @param {Boolean} [visible-arrow=false] Visibility of the arrow, no style.
|
|
11418
|
+
/**
|
|
11419
|
+
* @param {HTMLElement} [reference=$refs.reference] - The reference element used to position the popper.
|
|
11420
|
+
* @param {HTMLElement} [popper=$refs.popper] - The HTML element used as popper, or a configuration used to generate the popper.
|
|
11421
|
+
* @param {String} [placement=button] - Placement of the popper accepted values: top(-start, -end), right(-start, -end), bottom(-start, -end), left(-start, -end)
|
|
11422
|
+
* @param {Number} [offset=0] - Amount of pixels the popper will be shifted (can be negative).
|
|
11423
|
+
* @param {Boolean} [visible=false] Visibility of the popup element.
|
|
11424
|
+
* @param {Boolean} [visible-arrow=false] Visibility of the arrow, no style.
|
|
11425
11425
|
*/
|
|
11426
11426
|
/* harmony default export */ var vue_popper = ({
|
|
11427
11427
|
props: {
|
|
@@ -12561,13 +12561,13 @@ function createDocumentHandler(el, binding, vnode) {
|
|
|
12561
12561
|
};
|
|
12562
12562
|
}
|
|
12563
12563
|
|
|
12564
|
-
/**
|
|
12565
|
-
* v-clickoutside
|
|
12566
|
-
* @desc 点击元素外面才会触发的事件
|
|
12567
|
-
* @example
|
|
12568
|
-
* ```vue
|
|
12569
|
-
* <div v-element-clickoutside="handleClose">
|
|
12570
|
-
* ```
|
|
12564
|
+
/**
|
|
12565
|
+
* v-clickoutside
|
|
12566
|
+
* @desc 点击元素外面才会触发的事件
|
|
12567
|
+
* @example
|
|
12568
|
+
* ```vue
|
|
12569
|
+
* <div v-element-clickoutside="handleClose">
|
|
12570
|
+
* ```
|
|
12571
12571
|
*/
|
|
12572
12572
|
/* harmony default export */ var clickoutside = ({
|
|
12573
12573
|
bind(el, binding, vnode) {
|
|
@@ -14791,8 +14791,8 @@ src_tag.install = function (Vue) {
|
|
|
14791
14791
|
Vue.component(src_tag.name, src_tag);
|
|
14792
14792
|
};
|
|
14793
14793
|
/* harmony default export */ var p_tag = (src_tag);
|
|
14794
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75b11e11-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package-admin/p-select/src/select.vue?vue&type=template&id=
|
|
14795
|
-
var
|
|
14794
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75b11e11-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package-admin/p-select/src/select.vue?vue&type=template&id=0cae2976
|
|
14795
|
+
var selectvue_type_template_id_0cae2976_render = function render() {
|
|
14796
14796
|
var _vm = this,
|
|
14797
14797
|
_c = _vm._self._c;
|
|
14798
14798
|
return _c('div', {
|
|
@@ -14838,7 +14838,7 @@ var selectvue_type_template_id_76bdd372_render = function render() {
|
|
|
14838
14838
|
}
|
|
14839
14839
|
}, [_c('span', {
|
|
14840
14840
|
staticClass: "p-select__tags-text"
|
|
14841
|
-
}, [_vm._v(_vm._s(item.currentLabel))])]);
|
|
14841
|
+
}, [_vm._v(_vm._s(_vm.truncateTagText(item.currentLabel)))])]);
|
|
14842
14842
|
}), 1), _vm.collapsedTagCount > 0 ? _c('div', {
|
|
14843
14843
|
staticClass: "p-tag p-tag--info",
|
|
14844
14844
|
class: [_vm.collapseTagSize ? `p-tag--${_vm.collapseTagSize}` : '']
|
|
@@ -14859,7 +14859,7 @@ var selectvue_type_template_id_76bdd372_render = function render() {
|
|
|
14859
14859
|
}
|
|
14860
14860
|
}, [_c('span', {
|
|
14861
14861
|
staticClass: "p-select__tags-text"
|
|
14862
|
-
}, [_vm._v(_vm._s(_vm.selected[0].currentLabel))])]), _vm.selected.length > 1 ? _c('p-tag', {
|
|
14862
|
+
}, [_vm._v(_vm._s(_vm.truncateTagText(_vm.selected[0].currentLabel)))])]), _vm.selected.length > 1 ? _c('p-tag', {
|
|
14863
14863
|
attrs: {
|
|
14864
14864
|
"closable": false,
|
|
14865
14865
|
"size": _vm.collapseTagSize,
|
|
@@ -14889,7 +14889,7 @@ var selectvue_type_template_id_76bdd372_render = function render() {
|
|
|
14889
14889
|
}
|
|
14890
14890
|
}, [_c('span', {
|
|
14891
14891
|
staticClass: "p-select__tags-text"
|
|
14892
|
-
}, [_vm._v(_vm._s(item.currentLabel))])]);
|
|
14892
|
+
}, [_vm._v(_vm._s(_vm.truncateTagText(item.currentLabel)))])]);
|
|
14893
14893
|
}), 1) : _vm._e(), _vm.filterable ? _c('input', {
|
|
14894
14894
|
directives: [{
|
|
14895
14895
|
name: "model",
|
|
@@ -15078,9 +15078,9 @@ var selectvue_type_template_id_76bdd372_render = function render() {
|
|
|
15078
15078
|
staticClass: "p-select-dropdown__empty"
|
|
15079
15079
|
}, [_vm._v(" " + _vm._s(_vm.emptyText) + " ")])] : _vm._e()], 2)], 1)], 1);
|
|
15080
15080
|
};
|
|
15081
|
-
var
|
|
15081
|
+
var selectvue_type_template_id_0cae2976_staticRenderFns = [];
|
|
15082
15082
|
|
|
15083
|
-
// CONCATENATED MODULE: ./src/package-admin/p-select/src/select.vue?vue&type=template&id=
|
|
15083
|
+
// CONCATENATED MODULE: ./src/package-admin/p-select/src/select.vue?vue&type=template&id=0cae2976
|
|
15084
15084
|
|
|
15085
15085
|
// CONCATENATED MODULE: ./src/mixins/focus.js
|
|
15086
15086
|
/* harmony default export */ var mixins_focus = (function (ref) {
|
|
@@ -15596,6 +15596,10 @@ var es_iterator_every = __webpack_require__("d866");
|
|
|
15596
15596
|
popperAppendToBody: {
|
|
15597
15597
|
type: Boolean,
|
|
15598
15598
|
default: true
|
|
15599
|
+
},
|
|
15600
|
+
tagLength: {
|
|
15601
|
+
type: Number,
|
|
15602
|
+
default: 0
|
|
15599
15603
|
}
|
|
15600
15604
|
},
|
|
15601
15605
|
data() {
|
|
@@ -16121,6 +16125,17 @@ var es_iterator_every = __webpack_require__("d866");
|
|
|
16121
16125
|
} else {
|
|
16122
16126
|
return getValueByPath(item.value, this.valueKey);
|
|
16123
16127
|
}
|
|
16128
|
+
},
|
|
16129
|
+
// 截断 tag 文本,超出指定长度显示省略号
|
|
16130
|
+
truncateTagText(text) {
|
|
16131
|
+
if (!this.tagLength || !text) {
|
|
16132
|
+
return text;
|
|
16133
|
+
}
|
|
16134
|
+
const textStr = String(text);
|
|
16135
|
+
if (textStr.length <= this.tagLength) {
|
|
16136
|
+
return textStr;
|
|
16137
|
+
}
|
|
16138
|
+
return textStr.substring(0, this.tagLength) + '...';
|
|
16124
16139
|
}
|
|
16125
16140
|
},
|
|
16126
16141
|
created() {
|
|
@@ -16183,8 +16198,8 @@ var es_iterator_every = __webpack_require__("d866");
|
|
|
16183
16198
|
|
|
16184
16199
|
var select_component = normalizeComponent(
|
|
16185
16200
|
src_selectvue_type_script_lang_js,
|
|
16186
|
-
|
|
16187
|
-
|
|
16201
|
+
selectvue_type_template_id_0cae2976_render,
|
|
16202
|
+
selectvue_type_template_id_0cae2976_staticRenderFns,
|
|
16188
16203
|
false,
|
|
16189
16204
|
null,
|
|
16190
16205
|
null,
|
|
@@ -18207,13 +18222,13 @@ class store_Store {
|
|
|
18207
18222
|
var aria = aria || {};
|
|
18208
18223
|
aria.Utils = aria.Utils || {};
|
|
18209
18224
|
|
|
18210
|
-
/**
|
|
18211
|
-
* @desc Set focus on descendant nodes until the first focusable element is
|
|
18212
|
-
* found.
|
|
18213
|
-
* @param element
|
|
18214
|
-
* DOM node for which to find the first focusable descendant.
|
|
18215
|
-
* @returns
|
|
18216
|
-
* true if a focusable element is found and focus is set.
|
|
18225
|
+
/**
|
|
18226
|
+
* @desc Set focus on descendant nodes until the first focusable element is
|
|
18227
|
+
* found.
|
|
18228
|
+
* @param element
|
|
18229
|
+
* DOM node for which to find the first focusable descendant.
|
|
18230
|
+
* @returns
|
|
18231
|
+
* true if a focusable element is found and focus is set.
|
|
18217
18232
|
*/
|
|
18218
18233
|
aria.Utils.focusFirstDescendant = function (element) {
|
|
18219
18234
|
for (var i = 0; i < element.childNodes.length; i++) {
|
|
@@ -18225,12 +18240,12 @@ aria.Utils.focusFirstDescendant = function (element) {
|
|
|
18225
18240
|
return false;
|
|
18226
18241
|
};
|
|
18227
18242
|
|
|
18228
|
-
/**
|
|
18229
|
-
* @desc Find the last descendant node that is focusable.
|
|
18230
|
-
* @param element
|
|
18231
|
-
* DOM node for which to find the last focusable descendant.
|
|
18232
|
-
* @returns
|
|
18233
|
-
* true if a focusable element is found and focus is set.
|
|
18243
|
+
/**
|
|
18244
|
+
* @desc Find the last descendant node that is focusable.
|
|
18245
|
+
* @param element
|
|
18246
|
+
* DOM node for which to find the last focusable descendant.
|
|
18247
|
+
* @returns
|
|
18248
|
+
* true if a focusable element is found and focus is set.
|
|
18234
18249
|
*/
|
|
18235
18250
|
|
|
18236
18251
|
aria.Utils.focusLastDescendant = function (element) {
|
|
@@ -18243,12 +18258,12 @@ aria.Utils.focusLastDescendant = function (element) {
|
|
|
18243
18258
|
return false;
|
|
18244
18259
|
};
|
|
18245
18260
|
|
|
18246
|
-
/**
|
|
18247
|
-
* @desc Set Attempt to set focus on the current node.
|
|
18248
|
-
* @param element
|
|
18249
|
-
* The node to attempt to focus on.
|
|
18250
|
-
* @returns
|
|
18251
|
-
* true if element is focused.
|
|
18261
|
+
/**
|
|
18262
|
+
* @desc Set Attempt to set focus on the current node.
|
|
18263
|
+
* @param element
|
|
18264
|
+
* The node to attempt to focus on.
|
|
18265
|
+
* @returns
|
|
18266
|
+
* true if element is focused.
|
|
18252
18267
|
*/
|
|
18253
18268
|
aria.Utils.attemptFocus = function (element) {
|
|
18254
18269
|
if (!aria.Utils.isFocusable(element)) {
|
|
@@ -18282,12 +18297,12 @@ aria.Utils.isFocusable = function (element) {
|
|
|
18282
18297
|
}
|
|
18283
18298
|
};
|
|
18284
18299
|
|
|
18285
|
-
/**
|
|
18286
|
-
* 触发一个事件
|
|
18287
|
-
* mouseenter, mouseleave, mouseover, keyup, change, click 等
|
|
18288
|
-
* @param {Element} elm
|
|
18289
|
-
* @param {String} name
|
|
18290
|
-
* @param {*} opts
|
|
18300
|
+
/**
|
|
18301
|
+
* 触发一个事件
|
|
18302
|
+
* mouseenter, mouseleave, mouseover, keyup, change, click 等
|
|
18303
|
+
* @param {Element} elm
|
|
18304
|
+
* @param {String} name
|
|
18305
|
+
* @param {*} opts
|
|
18291
18306
|
*/
|
|
18292
18307
|
aria.Utils.triggerEvent = function (elm, name, ...opts) {
|
|
18293
18308
|
let eventName;
|
|
@@ -18648,8 +18663,8 @@ const checkNode = el => {
|
|
|
18648
18663
|
};
|
|
18649
18664
|
config.lazyLoad(node, resolve);
|
|
18650
18665
|
},
|
|
18651
|
-
/**
|
|
18652
|
-
* public methods
|
|
18666
|
+
/**
|
|
18667
|
+
* public methods
|
|
18653
18668
|
*/
|
|
18654
18669
|
calculateMultiCheckedValue() {
|
|
18655
18670
|
this.checkedValue = this.getCheckedNodes(this.leafOnly).map(node => node.getValueByOption());
|
|
@@ -19291,8 +19306,8 @@ const InputSizeMap = {
|
|
|
19291
19306
|
}
|
|
19292
19307
|
}
|
|
19293
19308
|
},
|
|
19294
|
-
/**
|
|
19295
|
-
* public methods
|
|
19309
|
+
/**
|
|
19310
|
+
* public methods
|
|
19296
19311
|
*/
|
|
19297
19312
|
getCheckedNodes(leafOnly) {
|
|
19298
19313
|
return this.panel.getCheckedNodes(leafOnly);
|
|
@@ -19329,8 +19344,8 @@ cascader.install = function (Vue) {
|
|
|
19329
19344
|
Vue.component(cascader.name, cascader);
|
|
19330
19345
|
};
|
|
19331
19346
|
/* harmony default export */ var p_cascader = (cascader);
|
|
19332
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75b11e11-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package-admin/p-dateTimePicker/picker.vue?vue&type=template&id=
|
|
19333
|
-
var
|
|
19347
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75b11e11-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package-admin/p-dateTimePicker/picker.vue?vue&type=template&id=43567e6a
|
|
19348
|
+
var pickervue_type_template_id_43567e6a_render = function render() {
|
|
19334
19349
|
var _vm = this,
|
|
19335
19350
|
_c = _vm._self._c;
|
|
19336
19351
|
return !_vm.ranged ? _c('PInput', _vm._b({
|
|
@@ -19454,9 +19469,9 @@ var pickervue_type_template_id_2d28637b_render = function render() {
|
|
|
19454
19469
|
}
|
|
19455
19470
|
}) : _vm._e()], 2);
|
|
19456
19471
|
};
|
|
19457
|
-
var
|
|
19472
|
+
var pickervue_type_template_id_43567e6a_staticRenderFns = [];
|
|
19458
19473
|
|
|
19459
|
-
// CONCATENATED MODULE: ./src/package-admin/p-dateTimePicker/picker.vue?vue&type=template&id=
|
|
19474
|
+
// CONCATENATED MODULE: ./src/package-admin/p-dateTimePicker/picker.vue?vue&type=template&id=43567e6a
|
|
19460
19475
|
|
|
19461
19476
|
// EXTERNAL MODULE: ./src/utils/date.js
|
|
19462
19477
|
var utils_date = __webpack_require__("c466");
|
|
@@ -19887,11 +19902,11 @@ const formatAsFormatAndType = (value, customFormat, type) => {
|
|
|
19887
19902
|
return formatter(value, format);
|
|
19888
19903
|
};
|
|
19889
19904
|
|
|
19890
|
-
/*
|
|
19891
|
-
* Considers:
|
|
19892
|
-
* 1. Date object
|
|
19893
|
-
* 2. date string
|
|
19894
|
-
* 3. array of 1 or 2
|
|
19905
|
+
/*
|
|
19906
|
+
* Considers:
|
|
19907
|
+
* 1. Date object
|
|
19908
|
+
* 2. date string
|
|
19909
|
+
* 3. array of 1 or 2
|
|
19895
19910
|
*/
|
|
19896
19911
|
const pickervue_type_script_lang_js_valueEquals = function (a, b) {
|
|
19897
19912
|
// considers Date object and string
|
|
@@ -19975,6 +19990,7 @@ const validator = function (val) {
|
|
|
19975
19990
|
defaultValue: {},
|
|
19976
19991
|
defaultTime: {},
|
|
19977
19992
|
rangeSeparator: {
|
|
19993
|
+
type: String,
|
|
19978
19994
|
default: '-'
|
|
19979
19995
|
},
|
|
19980
19996
|
pickerOptions: {},
|
|
@@ -20479,8 +20495,8 @@ const validator = function (val) {
|
|
|
20479
20495
|
|
|
20480
20496
|
var picker_component = normalizeComponent(
|
|
20481
20497
|
p_dateTimePicker_pickervue_type_script_lang_js,
|
|
20482
|
-
|
|
20483
|
-
|
|
20498
|
+
pickervue_type_template_id_43567e6a_render,
|
|
20499
|
+
pickervue_type_template_id_43567e6a_staticRenderFns,
|
|
20484
20500
|
false,
|
|
20485
20501
|
null,
|
|
20486
20502
|
null,
|
|
@@ -21698,8 +21714,8 @@ var time_range_component = normalizeComponent(
|
|
|
21698
21714
|
this.panel = this.isRange ? time_range : panel_time;
|
|
21699
21715
|
}
|
|
21700
21716
|
});
|
|
21701
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75b11e11-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package-admin/p-dateTimePicker/panel/date.vue?vue&type=template&id=
|
|
21702
|
-
var
|
|
21717
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75b11e11-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package-admin/p-dateTimePicker/panel/date.vue?vue&type=template&id=94a0d822&scoped=true
|
|
21718
|
+
var datevue_type_template_id_94a0d822_scoped_true_render = function render() {
|
|
21703
21719
|
var _vm = this,
|
|
21704
21720
|
_c = _vm._self._c;
|
|
21705
21721
|
return _c('transition', {
|
|
@@ -21960,9 +21976,9 @@ var datevue_type_template_id_d822de2a_scoped_true_render = function render() {
|
|
|
21960
21976
|
}
|
|
21961
21977
|
}, [_vm._v(" " + _vm._s(_vm.t('el.datepicker.confirm')) + " ")])])])]);
|
|
21962
21978
|
};
|
|
21963
|
-
var
|
|
21979
|
+
var datevue_type_template_id_94a0d822_scoped_true_staticRenderFns = [];
|
|
21964
21980
|
|
|
21965
|
-
// CONCATENATED MODULE: ./src/package-admin/p-dateTimePicker/panel/date.vue?vue&type=template&id=
|
|
21981
|
+
// CONCATENATED MODULE: ./src/package-admin/p-dateTimePicker/panel/date.vue?vue&type=template&id=94a0d822&scoped=true
|
|
21966
21982
|
|
|
21967
21983
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75b11e11-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package-admin/p-dateTimePicker/basic/year-table.vue?vue&type=template&id=4b81133f
|
|
21968
21984
|
var year_tablevue_type_template_id_4b81133f_render = function render() {
|
|
@@ -23242,8 +23258,8 @@ var date_table_component = normalizeComponent(
|
|
|
23242
23258
|
});
|
|
23243
23259
|
// CONCATENATED MODULE: ./src/package-admin/p-dateTimePicker/panel/date.vue?vue&type=script&lang=js
|
|
23244
23260
|
/* harmony default export */ var panel_datevue_type_script_lang_js = (datevue_type_script_lang_js);
|
|
23245
|
-
// EXTERNAL MODULE: ./src/package-admin/p-dateTimePicker/panel/date.vue?vue&type=style&index=0&id=
|
|
23246
|
-
var
|
|
23261
|
+
// EXTERNAL MODULE: ./src/package-admin/p-dateTimePicker/panel/date.vue?vue&type=style&index=0&id=94a0d822&prod&scoped=true&lang=css
|
|
23262
|
+
var datevue_type_style_index_0_id_94a0d822_prod_scoped_true_lang_css = __webpack_require__("e334");
|
|
23247
23263
|
|
|
23248
23264
|
// CONCATENATED MODULE: ./src/package-admin/p-dateTimePicker/panel/date.vue
|
|
23249
23265
|
|
|
@@ -23256,18 +23272,18 @@ var datevue_type_style_index_0_id_d822de2a_prod_scoped_true_lang_css = __webpack
|
|
|
23256
23272
|
|
|
23257
23273
|
var date_component = normalizeComponent(
|
|
23258
23274
|
panel_datevue_type_script_lang_js,
|
|
23259
|
-
|
|
23260
|
-
|
|
23275
|
+
datevue_type_template_id_94a0d822_scoped_true_render,
|
|
23276
|
+
datevue_type_template_id_94a0d822_scoped_true_staticRenderFns,
|
|
23261
23277
|
false,
|
|
23262
23278
|
null,
|
|
23263
|
-
"
|
|
23279
|
+
"94a0d822",
|
|
23264
23280
|
null
|
|
23265
23281
|
|
|
23266
23282
|
)
|
|
23267
23283
|
|
|
23268
23284
|
/* harmony default export */ var panel_date = (date_component.exports);
|
|
23269
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75b11e11-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package-admin/p-dateTimePicker/panel/date-range.vue?vue&type=template&id=
|
|
23270
|
-
var
|
|
23285
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75b11e11-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package-admin/p-dateTimePicker/panel/date-range.vue?vue&type=template&id=1e7343bb&scoped=true
|
|
23286
|
+
var date_rangevue_type_template_id_1e7343bb_scoped_true_render = function render() {
|
|
23271
23287
|
var _vm = this,
|
|
23272
23288
|
_c = _vm._self._c;
|
|
23273
23289
|
return _c('transition', {
|
|
@@ -23564,9 +23580,9 @@ var date_rangevue_type_template_id_788b90bf_scoped_true_render = function render
|
|
|
23564
23580
|
}
|
|
23565
23581
|
}, [_vm._v(" " + _vm._s(_vm.t('el.datepicker.confirm')) + " ")])]) : _vm._e()])]);
|
|
23566
23582
|
};
|
|
23567
|
-
var
|
|
23583
|
+
var date_rangevue_type_template_id_1e7343bb_scoped_true_staticRenderFns = [];
|
|
23568
23584
|
|
|
23569
|
-
// CONCATENATED MODULE: ./src/package-admin/p-dateTimePicker/panel/date-range.vue?vue&type=template&id=
|
|
23585
|
+
// CONCATENATED MODULE: ./src/package-admin/p-dateTimePicker/panel/date-range.vue?vue&type=template&id=1e7343bb&scoped=true
|
|
23570
23586
|
|
|
23571
23587
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package-admin/p-dateTimePicker/panel/date-range.vue?vue&type=script&lang=js
|
|
23572
23588
|
|
|
@@ -23976,8 +23992,8 @@ const calcDefaultValue = defaultValue => {
|
|
|
23976
23992
|
});
|
|
23977
23993
|
// CONCATENATED MODULE: ./src/package-admin/p-dateTimePicker/panel/date-range.vue?vue&type=script&lang=js
|
|
23978
23994
|
/* harmony default export */ var panel_date_rangevue_type_script_lang_js = (date_rangevue_type_script_lang_js);
|
|
23979
|
-
// EXTERNAL MODULE: ./src/package-admin/p-dateTimePicker/panel/date-range.vue?vue&type=style&index=0&id=
|
|
23980
|
-
var
|
|
23995
|
+
// EXTERNAL MODULE: ./src/package-admin/p-dateTimePicker/panel/date-range.vue?vue&type=style&index=0&id=1e7343bb&prod&scoped=true&lang=css
|
|
23996
|
+
var date_rangevue_type_style_index_0_id_1e7343bb_prod_scoped_true_lang_css = __webpack_require__("ab91");
|
|
23981
23997
|
|
|
23982
23998
|
// CONCATENATED MODULE: ./src/package-admin/p-dateTimePicker/panel/date-range.vue
|
|
23983
23999
|
|
|
@@ -23990,11 +24006,11 @@ var date_rangevue_type_style_index_0_id_788b90bf_prod_scoped_true_lang_css = __w
|
|
|
23990
24006
|
|
|
23991
24007
|
var date_range_component = normalizeComponent(
|
|
23992
24008
|
panel_date_rangevue_type_script_lang_js,
|
|
23993
|
-
|
|
23994
|
-
|
|
24009
|
+
date_rangevue_type_template_id_1e7343bb_scoped_true_render,
|
|
24010
|
+
date_rangevue_type_template_id_1e7343bb_scoped_true_staticRenderFns,
|
|
23995
24011
|
false,
|
|
23996
24012
|
null,
|
|
23997
|
-
"
|
|
24013
|
+
"1e7343bb",
|
|
23998
24014
|
null
|
|
23999
24015
|
|
|
24000
24016
|
)
|