framework7 7.0.7 → 7.0.9
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/components/accordion/accordion.lazy.js +1 -1
- package/components/actions/actions.lazy.js +1 -1
- package/components/app/app-class.js +2 -0
- package/components/appbar/appbar.lazy.js +1 -1
- package/components/area-chart/area-chart.lazy.js +1 -1
- package/components/autocomplete/autocomplete.lazy.js +1 -1
- package/components/breadcrumbs/breadcrumbs.lazy.js +1 -1
- package/components/calendar/calendar.lazy.js +1 -1
- package/components/card/card.lazy.js +1 -1
- package/components/checkbox/checkbox.lazy.js +1 -1
- package/components/chip/chip.lazy.js +1 -1
- package/components/color-picker/color-picker.lazy.js +1 -1
- package/components/contacts-list/contacts-list.lazy.js +1 -1
- package/components/data-table/data-table-class.js +2 -2
- package/components/data-table/data-table.lazy.js +1 -1
- package/components/dialog/dialog.lazy.js +1 -1
- package/components/elevation/elevation.lazy.js +1 -1
- package/components/fab/fab.lazy.js +1 -1
- package/components/form/form.lazy.js +1 -1
- package/components/gauge/gauge.lazy.js +1 -1
- package/components/grid/grid.lazy.js +1 -1
- package/components/infinite-scroll/infinite-scroll.lazy.js +1 -1
- package/components/input/input.lazy.js +1 -1
- package/components/lazy/lazy.lazy.js +1 -1
- package/components/list-index/list-index.lazy.js +1 -1
- package/components/login-screen/login-screen.lazy.js +1 -1
- package/components/menu/menu.lazy.js +1 -1
- package/components/messagebar/messagebar.lazy.js +1 -1
- package/components/messages/messages.lazy.js +1 -1
- package/components/notification/notification.lazy.js +1 -1
- package/components/panel/panel.lazy.js +1 -1
- package/components/panel/swipe-panel.js +21 -11
- package/components/photo-browser/photo-browser.lazy.js +1 -1
- package/components/picker/picker.lazy.js +1 -1
- package/components/pie-chart/pie-chart.lazy.js +1 -1
- package/components/popover/popover.lazy.js +1 -1
- package/components/popup/popup.lazy.js +1 -1
- package/components/preloader/preloader.lazy.js +1 -1
- package/components/progressbar/progressbar.lazy.js +1 -1
- package/components/pull-to-refresh/pull-to-refresh.lazy.js +1 -1
- package/components/radio/radio.lazy.js +1 -1
- package/components/range/range.lazy.js +1 -1
- package/components/searchbar/searchbar.lazy.js +1 -1
- package/components/sheet/sheet.lazy.js +1 -1
- package/components/skeleton/skeleton.lazy.js +1 -1
- package/components/smart-select/smart-select.lazy.js +1 -1
- package/components/sortable/sortable.lazy.js +1 -1
- package/components/stepper/stepper.lazy.js +1 -1
- package/components/swipeout/swipeout.lazy.js +1 -1
- package/components/swiper/swiper.lazy.js +1 -1
- package/components/tabs/tabs.lazy.js +1 -1
- package/components/text-editor/text-editor.lazy.js +1 -1
- package/components/timeline/timeline.lazy.js +1 -1
- package/components/toast/toast.lazy.js +1 -1
- package/components/toggle/toggle.lazy.js +1 -1
- package/components/tooltip/tooltip.lazy.js +1 -1
- package/components/treeview/treeview.lazy.js +1 -1
- package/components/typography/typography.lazy.js +1 -1
- package/components/virtual-list/virtual-list.lazy.js +1 -1
- package/framework7-bundle-rtl.css +2 -2
- package/framework7-bundle-rtl.min.css +2 -2
- package/framework7-bundle.css +2 -2
- package/framework7-bundle.esm.js +2 -2
- package/framework7-bundle.js +447 -435
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -2
- package/framework7-bundle.min.css +2 -2
- package/framework7-bundle.min.js +3 -3
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +2 -2
- package/framework7-lite.esm.js +2 -2
- package/framework7-rtl.css +2 -2
- package/framework7-rtl.min.css +2 -2
- package/framework7.css +2 -2
- package/framework7.esm.js +2 -2
- package/framework7.js +30 -2
- package/framework7.js.map +1 -1
- package/framework7.less +2 -2
- package/framework7.min.css +2 -2
- package/framework7.min.js +3 -3
- package/framework7.min.js.map +1 -1
- package/modules/component/component.js +1 -0
- package/package.json +1 -1
package/framework7-bundle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 7.0.
|
|
2
|
+
* Framework7 7.0.9
|
|
3
3
|
* Full featured mobile HTML framework for building iOS & Android apps
|
|
4
4
|
* https://framework7.io/
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: November 21, 2022
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
(function (global, factory) {
|
|
@@ -3052,6 +3052,32 @@
|
|
|
3052
3052
|
});
|
|
3053
3053
|
}
|
|
3054
3054
|
|
|
3055
|
+
/* eslint-disable prefer-rest-params */
|
|
3056
|
+
const $jsx$1 = function (tag, props) {
|
|
3057
|
+
const attrs = props || {};
|
|
3058
|
+
|
|
3059
|
+
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
3060
|
+
args[_key - 2] = arguments[_key];
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
const children = args || [];
|
|
3064
|
+
const attrsString = Object.keys(attrs).map(attr => {
|
|
3065
|
+
if (attr[0] === '_') {
|
|
3066
|
+
if (attrs[attr]) return attr.replace('_', '');
|
|
3067
|
+
return '';
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3070
|
+
return `${attr}="${attrs[attr]}"`;
|
|
3071
|
+
}).filter(attr => !!attr).join(' ');
|
|
3072
|
+
|
|
3073
|
+
if (['path', 'img', 'circle', 'polygon', 'line', 'input'].indexOf(tag) >= 0) {
|
|
3074
|
+
return `<${tag} ${attrsString} />`.trim();
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3077
|
+
const childrenContent = children.filter(c => !!c).map(c => Array.isArray(c) ? c.join('') : c).join('');
|
|
3078
|
+
return `<${tag} ${attrsString}>${childrenContent}</${tag}>`.trim();
|
|
3079
|
+
};
|
|
3080
|
+
|
|
3055
3081
|
/* eslint-disable no-underscore-dangle */
|
|
3056
3082
|
|
|
3057
3083
|
class Framework7 extends Framework7Class {
|
|
@@ -3368,6 +3394,7 @@
|
|
|
3368
3394
|
|
|
3369
3395
|
}
|
|
3370
3396
|
|
|
3397
|
+
Framework7.$jsx = $jsx$1;
|
|
3371
3398
|
Framework7.ModalMethods = ModalMethods;
|
|
3372
3399
|
Framework7.ConstructorMethods = ConstructorMethods;
|
|
3373
3400
|
Framework7.loadModule = loadModule;
|
|
@@ -11951,7 +11978,7 @@
|
|
|
11951
11978
|
|
|
11952
11979
|
const ignoreChildren = [false, null, '', undefined];
|
|
11953
11980
|
|
|
11954
|
-
const $jsx
|
|
11981
|
+
const $jsx = function (type, props) {
|
|
11955
11982
|
for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
11956
11983
|
children[_key - 2] = arguments[_key];
|
|
11957
11984
|
}
|
|
@@ -12357,7 +12384,7 @@
|
|
|
12357
12384
|
|
|
12358
12385
|
}
|
|
12359
12386
|
|
|
12360
|
-
Component.$jsx = $jsx
|
|
12387
|
+
Component.$jsx = $jsx;
|
|
12361
12388
|
|
|
12362
12389
|
function parseComponent(componentString) {
|
|
12363
12390
|
const window = getWindow();
|
|
@@ -12445,6 +12472,7 @@
|
|
|
12445
12472
|
name: 'component',
|
|
12446
12473
|
static: {
|
|
12447
12474
|
Component,
|
|
12475
|
+
parseComponent,
|
|
12448
12476
|
registerComponent,
|
|
12449
12477
|
unregisterComponent
|
|
12450
12478
|
},
|
|
@@ -14737,32 +14765,6 @@
|
|
|
14737
14765
|
name: 'appbar'
|
|
14738
14766
|
};
|
|
14739
14767
|
|
|
14740
|
-
/* eslint-disable prefer-rest-params */
|
|
14741
|
-
const $jsx = function (tag, props) {
|
|
14742
|
-
const attrs = props || {};
|
|
14743
|
-
|
|
14744
|
-
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
14745
|
-
args[_key - 2] = arguments[_key];
|
|
14746
|
-
}
|
|
14747
|
-
|
|
14748
|
-
const children = args || [];
|
|
14749
|
-
const attrsString = Object.keys(attrs).map(attr => {
|
|
14750
|
-
if (attr[0] === '_') {
|
|
14751
|
-
if (attrs[attr]) return attr.replace('_', '');
|
|
14752
|
-
return '';
|
|
14753
|
-
}
|
|
14754
|
-
|
|
14755
|
-
return `${attr}="${attrs[attr]}"`;
|
|
14756
|
-
}).filter(attr => !!attr).join(' ');
|
|
14757
|
-
|
|
14758
|
-
if (['path', 'img', 'circle', 'polygon', 'line', 'input'].indexOf(tag) >= 0) {
|
|
14759
|
-
return `<${tag} ${attrsString} />`.trim();
|
|
14760
|
-
}
|
|
14761
|
-
|
|
14762
|
-
const childrenContent = children.filter(c => !!c).map(c => Array.isArray(c) ? c.join('') : c).join('');
|
|
14763
|
-
return `<${tag} ${attrsString}>${childrenContent}</${tag}>`.trim();
|
|
14764
|
-
};
|
|
14765
|
-
|
|
14766
14768
|
class Dialog$1 extends Modal$1 {
|
|
14767
14769
|
constructor(app, params) {
|
|
14768
14770
|
const extendedParams = extend$1({
|
|
@@ -14812,20 +14814,20 @@
|
|
|
14812
14814
|
let buttonsHTML = '';
|
|
14813
14815
|
|
|
14814
14816
|
if (buttons.length > 0) {
|
|
14815
|
-
buttonsHTML = $jsx("div", {
|
|
14817
|
+
buttonsHTML = $jsx$1("div", {
|
|
14816
14818
|
class: "dialog-buttons"
|
|
14817
|
-
}, buttons.map(button => $jsx("span", {
|
|
14819
|
+
}, buttons.map(button => $jsx$1("span", {
|
|
14818
14820
|
class: `dialog-button${button.bold ? ' dialog-button-bold' : ''}${button.color ? ` color-${button.color}` : ''}${button.cssClass ? ` ${button.cssClass}` : ''}`
|
|
14819
14821
|
}, button.text)));
|
|
14820
14822
|
}
|
|
14821
14823
|
|
|
14822
|
-
const dialogHtml = $jsx("div", {
|
|
14824
|
+
const dialogHtml = $jsx$1("div", {
|
|
14823
14825
|
class: dialogClasses.join(' ')
|
|
14824
|
-
}, $jsx("div", {
|
|
14826
|
+
}, $jsx$1("div", {
|
|
14825
14827
|
class: "dialog-inner"
|
|
14826
|
-
}, title && $jsx("div", {
|
|
14828
|
+
}, title && $jsx$1("div", {
|
|
14827
14829
|
class: "dialog-title"
|
|
14828
|
-
}, title), text && $jsx("div", {
|
|
14830
|
+
}, title), text && $jsx$1("div", {
|
|
14829
14831
|
class: "dialog-text"
|
|
14830
14832
|
}, text), content), buttonsHTML);
|
|
14831
14833
|
$el = $(dialogHtml);
|
|
@@ -16458,9 +16460,9 @@
|
|
|
16458
16460
|
groups
|
|
16459
16461
|
} = actions;
|
|
16460
16462
|
const cssClass = actions.params.cssClass;
|
|
16461
|
-
return $jsx("div", {
|
|
16463
|
+
return $jsx$1("div", {
|
|
16462
16464
|
class: `actions-modal${actions.params.grid ? ' actions-grid' : ''} ${cssClass || ''}`
|
|
16463
|
-
}, groups.map(group => $jsx("div", {
|
|
16465
|
+
}, groups.map(group => $jsx$1("div", {
|
|
16464
16466
|
class: "actions-group"
|
|
16465
16467
|
}, group.map(button => {
|
|
16466
16468
|
const buttonClasses = [`actions-${button.label ? 'label' : 'button'}`];
|
|
@@ -16479,16 +16481,16 @@
|
|
|
16479
16481
|
if (disabled) buttonClasses.push('disabled');
|
|
16480
16482
|
|
|
16481
16483
|
if (label) {
|
|
16482
|
-
return $jsx("div", {
|
|
16484
|
+
return $jsx$1("div", {
|
|
16483
16485
|
class: buttonClasses.join(' ')
|
|
16484
16486
|
}, text);
|
|
16485
16487
|
}
|
|
16486
16488
|
|
|
16487
|
-
return $jsx("div", {
|
|
16489
|
+
return $jsx$1("div", {
|
|
16488
16490
|
class: buttonClasses.join(' ')
|
|
16489
|
-
}, icon && $jsx("div", {
|
|
16491
|
+
}, icon && $jsx$1("div", {
|
|
16490
16492
|
class: "actions-button-media"
|
|
16491
|
-
}, icon), $jsx("div", {
|
|
16493
|
+
}, icon), $jsx$1("div", {
|
|
16492
16494
|
class: "actions-button-text"
|
|
16493
16495
|
}, text));
|
|
16494
16496
|
}))));
|
|
@@ -16501,13 +16503,13 @@
|
|
|
16501
16503
|
groups
|
|
16502
16504
|
} = actions;
|
|
16503
16505
|
const cssClass = actions.params.cssClass;
|
|
16504
|
-
return $jsx("div", {
|
|
16506
|
+
return $jsx$1("div", {
|
|
16505
16507
|
class: `popover popover-from-actions ${cssClass || ''}`
|
|
16506
|
-
}, $jsx("div", {
|
|
16508
|
+
}, $jsx$1("div", {
|
|
16507
16509
|
class: "popover-inner"
|
|
16508
|
-
}, groups.map(group => $jsx("div", {
|
|
16510
|
+
}, groups.map(group => $jsx$1("div", {
|
|
16509
16511
|
class: "list"
|
|
16510
|
-
}, $jsx("ul", null, group.map(button => {
|
|
16512
|
+
}, $jsx$1("ul", null, group.map(button => {
|
|
16511
16513
|
const itemClasses = [];
|
|
16512
16514
|
const {
|
|
16513
16515
|
color,
|
|
@@ -16530,19 +16532,19 @@
|
|
|
16530
16532
|
|
|
16531
16533
|
if (icon) {
|
|
16532
16534
|
itemClasses.push('item-link item-content');
|
|
16533
|
-
return $jsx("li", null, $jsx("a", {
|
|
16535
|
+
return $jsx$1("li", null, $jsx$1("a", {
|
|
16534
16536
|
class: itemClasses.join(' ')
|
|
16535
|
-
}, $jsx("div", {
|
|
16537
|
+
}, $jsx$1("div", {
|
|
16536
16538
|
class: "item-media"
|
|
16537
|
-
}, icon), $jsx("div", {
|
|
16539
|
+
}, icon), $jsx$1("div", {
|
|
16538
16540
|
class: "item-inner"
|
|
16539
|
-
}, $jsx("div", {
|
|
16541
|
+
}, $jsx$1("div", {
|
|
16540
16542
|
class: "item-title"
|
|
16541
16543
|
}, text))));
|
|
16542
16544
|
}
|
|
16543
16545
|
|
|
16544
16546
|
itemClasses.push('list-button');
|
|
16545
|
-
return $jsx("li", null, $jsx("a", {
|
|
16547
|
+
return $jsx$1("li", null, $jsx$1("a", {
|
|
16546
16548
|
class: itemClasses.join(' ')
|
|
16547
16549
|
}, text));
|
|
16548
16550
|
}))))));
|
|
@@ -17331,15 +17333,15 @@
|
|
|
17331
17333
|
closeButtonText
|
|
17332
17334
|
} = toast.params;
|
|
17333
17335
|
const horizontalClass = position === 'top' || position === 'bottom' ? `toast-horizontal-${horizontalPosition}` : '';
|
|
17334
|
-
return $jsx("div", {
|
|
17336
|
+
return $jsx$1("div", {
|
|
17335
17337
|
class: `toast toast-${position} ${horizontalClass} ${cssClass || ''} ${icon ? 'toast-with-icon' : ''}`
|
|
17336
|
-
}, $jsx("div", {
|
|
17338
|
+
}, $jsx$1("div", {
|
|
17337
17339
|
class: "toast-content"
|
|
17338
|
-
}, icon && $jsx("div", {
|
|
17340
|
+
}, icon && $jsx$1("div", {
|
|
17339
17341
|
class: "toast-icon"
|
|
17340
|
-
}, icon), $jsx("div", {
|
|
17342
|
+
}, icon), $jsx$1("div", {
|
|
17341
17343
|
class: "toast-text"
|
|
17342
|
-
}, text), closeButton && !icon && $jsx("a", {
|
|
17344
|
+
}, text), closeButton && !icon && $jsx$1("a", {
|
|
17343
17345
|
class: `toast-button button ${closeButtonColor ? `color-${closeButtonColor}` : ''}`
|
|
17344
17346
|
}, closeButtonText)));
|
|
17345
17347
|
}
|
|
@@ -20310,7 +20312,7 @@
|
|
|
20310
20312
|
if (!panel.opened) {
|
|
20311
20313
|
panel.insertToRoot();
|
|
20312
20314
|
$el.addClass('panel-in-swipe');
|
|
20313
|
-
$backdropEl.css('visibility', 'visible');
|
|
20315
|
+
if ($backdropEl) $backdropEl.css('visibility', 'visible');
|
|
20314
20316
|
$el.trigger('panel:swipeopen');
|
|
20315
20317
|
panel.emit('local::swipeOpen panelSwipeOpen', panel);
|
|
20316
20318
|
}
|
|
@@ -20362,7 +20364,7 @@
|
|
|
20362
20364
|
if (effect === 'reveal') {
|
|
20363
20365
|
if (!params.swipeNoFollow) {
|
|
20364
20366
|
$viewEl.transform(`translate3d(${translate}px,0,0)`).transition(0);
|
|
20365
|
-
$backdropEl.transform(`translate3d(${translate}px,0,0)`).transition(0);
|
|
20367
|
+
if ($backdropEl) $backdropEl.transform(`translate3d(${translate}px,0,0)`).transition(0);
|
|
20366
20368
|
}
|
|
20367
20369
|
|
|
20368
20370
|
$el.trigger('panel:swipe', Math.abs(translate / panelWidth));
|
|
@@ -20371,17 +20373,24 @@
|
|
|
20371
20373
|
if (side === 'left') translate -= panelWidth;
|
|
20372
20374
|
|
|
20373
20375
|
if (!params.swipeNoFollow) {
|
|
20374
|
-
$backdropEl.transition(0);
|
|
20375
20376
|
backdropOpacity = 1 - Math.abs(translate / panelWidth);
|
|
20376
|
-
|
|
20377
|
-
|
|
20378
|
-
|
|
20377
|
+
|
|
20378
|
+
if ($backdropEl) {
|
|
20379
|
+
$backdropEl.transition(0);
|
|
20380
|
+
$backdropEl.css({
|
|
20381
|
+
opacity: backdropOpacity
|
|
20382
|
+
});
|
|
20383
|
+
}
|
|
20384
|
+
|
|
20379
20385
|
$el.transform(`translate3d(${translate}px,0,0)`).transition(0);
|
|
20380
20386
|
|
|
20381
20387
|
if (effect === 'push') {
|
|
20382
20388
|
const viewTranslate = side === 'left' ? translate + panelWidth : translate - panelWidth;
|
|
20383
20389
|
$viewEl.transform(`translate3d(${viewTranslate}px,0,0)`).transition(0);
|
|
20384
|
-
|
|
20390
|
+
|
|
20391
|
+
if ($backdropEl) {
|
|
20392
|
+
$backdropEl.transform(`translate3d(${viewTranslate}px,0,0)`).transition(0);
|
|
20393
|
+
}
|
|
20385
20394
|
}
|
|
20386
20395
|
}
|
|
20387
20396
|
|
|
@@ -20495,10 +20504,13 @@
|
|
|
20495
20504
|
}
|
|
20496
20505
|
|
|
20497
20506
|
$el.transition('').transform('');
|
|
20498
|
-
|
|
20499
|
-
|
|
20500
|
-
|
|
20501
|
-
|
|
20507
|
+
|
|
20508
|
+
if ($backdropEl) {
|
|
20509
|
+
$backdropEl.transform('').transition('').css({
|
|
20510
|
+
opacity: '',
|
|
20511
|
+
visibility: ''
|
|
20512
|
+
});
|
|
20513
|
+
}
|
|
20502
20514
|
}
|
|
20503
20515
|
|
|
20504
20516
|
function handleGestureStart(e) {
|
|
@@ -25119,21 +25131,21 @@
|
|
|
25119
25131
|
renderSearchbar() {
|
|
25120
25132
|
const ss = this;
|
|
25121
25133
|
if (ss.params.renderSearchbar) return ss.params.renderSearchbar.call(ss);
|
|
25122
|
-
return $jsx("form", {
|
|
25134
|
+
return $jsx$1("form", {
|
|
25123
25135
|
class: "searchbar"
|
|
25124
|
-
}, $jsx("div", {
|
|
25136
|
+
}, $jsx$1("div", {
|
|
25125
25137
|
class: "searchbar-inner"
|
|
25126
|
-
}, $jsx("div", {
|
|
25138
|
+
}, $jsx$1("div", {
|
|
25127
25139
|
class: "searchbar-input-wrap"
|
|
25128
|
-
}, $jsx("input", {
|
|
25140
|
+
}, $jsx$1("input", {
|
|
25129
25141
|
type: "search",
|
|
25130
25142
|
spellcheck: ss.params.searchbarSpellcheck || 'false',
|
|
25131
25143
|
placeholder: ss.params.searchbarPlaceholder
|
|
25132
|
-
}), $jsx("i", {
|
|
25144
|
+
}), $jsx$1("i", {
|
|
25133
25145
|
class: "searchbar-icon"
|
|
25134
|
-
}), $jsx("span", {
|
|
25146
|
+
}), $jsx$1("span", {
|
|
25135
25147
|
class: "input-clear-button"
|
|
25136
|
-
})), ss.params.searchbarDisableButton && $jsx("span", {
|
|
25148
|
+
})), ss.params.searchbarDisableButton && $jsx$1("span", {
|
|
25137
25149
|
class: "searchbar-disable-button"
|
|
25138
25150
|
}, ss.params.searchbarDisableText)));
|
|
25139
25151
|
}
|
|
@@ -25195,26 +25207,26 @@
|
|
|
25195
25207
|
const hasIcon = icon || iconIos || iconMd || iconAurora;
|
|
25196
25208
|
const iconContent = getIconContent(icon || iconIos || iconMd || iconAurora || '');
|
|
25197
25209
|
const iconClass = getIconClass(icon || iconIos || iconMd || iconAurora || '');
|
|
25198
|
-
itemHtml = $jsx("li", {
|
|
25210
|
+
itemHtml = $jsx$1("li", {
|
|
25199
25211
|
class: `${item.className || ''}${disabled ? ' disabled' : ''}`
|
|
25200
|
-
}, $jsx("label", {
|
|
25212
|
+
}, $jsx$1("label", {
|
|
25201
25213
|
class: `item-${item.inputType} item-content`
|
|
25202
|
-
}, $jsx("input", {
|
|
25214
|
+
}, $jsx$1("input", {
|
|
25203
25215
|
type: item.inputType,
|
|
25204
25216
|
name: item.inputName,
|
|
25205
25217
|
value: item.value,
|
|
25206
25218
|
_checked: selected
|
|
25207
|
-
}), $jsx("i", {
|
|
25219
|
+
}), $jsx$1("i", {
|
|
25208
25220
|
class: `icon icon-${item.inputType}`
|
|
25209
|
-
}), item.hasMedia && $jsx("div", {
|
|
25221
|
+
}), item.hasMedia && $jsx$1("div", {
|
|
25210
25222
|
class: "item-media"
|
|
25211
|
-
}, hasIcon && $jsx("i", {
|
|
25223
|
+
}, hasIcon && $jsx$1("i", {
|
|
25212
25224
|
class: `icon ${iconClass}`
|
|
25213
|
-
}, iconContent), item.image && $jsx("img", {
|
|
25225
|
+
}, iconContent), item.image && $jsx$1("img", {
|
|
25214
25226
|
src: item.image
|
|
25215
|
-
})), $jsx("div", {
|
|
25227
|
+
})), $jsx$1("div", {
|
|
25216
25228
|
class: "item-inner"
|
|
25217
|
-
}, $jsx("div", {
|
|
25229
|
+
}, $jsx$1("div", {
|
|
25218
25230
|
class: `item-title${item.color ? ` text-color-${item.color}` : ''}`
|
|
25219
25231
|
}, item.text))));
|
|
25220
25232
|
}
|
|
@@ -25242,35 +25254,35 @@
|
|
|
25242
25254
|
}
|
|
25243
25255
|
|
|
25244
25256
|
const cssClass = ss.params.cssClass;
|
|
25245
|
-
return $jsx("div", {
|
|
25257
|
+
return $jsx$1("div", {
|
|
25246
25258
|
class: `page smart-select-page ${cssClass}`,
|
|
25247
25259
|
"data-name": "smart-select-page",
|
|
25248
25260
|
"data-select-name": ss.selectName
|
|
25249
|
-
}, $jsx("div", {
|
|
25261
|
+
}, $jsx$1("div", {
|
|
25250
25262
|
class: `navbar ${ss.params.navbarColorTheme ? `color-${ss.params.navbarColorTheme}` : ''}`
|
|
25251
|
-
}, $jsx("div", {
|
|
25263
|
+
}, $jsx$1("div", {
|
|
25252
25264
|
class: "navbar-bg"
|
|
25253
|
-
}), $jsx("div", {
|
|
25265
|
+
}), $jsx$1("div", {
|
|
25254
25266
|
class: `navbar-inner sliding ${ss.params.navbarColorTheme ? `color-${ss.params.navbarColorTheme}` : ''}`
|
|
25255
|
-
}, $jsx("div", {
|
|
25267
|
+
}, $jsx$1("div", {
|
|
25256
25268
|
class: "left"
|
|
25257
|
-
}, $jsx("a", {
|
|
25269
|
+
}, $jsx$1("a", {
|
|
25258
25270
|
class: "link back"
|
|
25259
|
-
}, $jsx("i", {
|
|
25271
|
+
}, $jsx$1("i", {
|
|
25260
25272
|
class: "icon icon-back"
|
|
25261
|
-
}), $jsx("span", {
|
|
25273
|
+
}), $jsx$1("span", {
|
|
25262
25274
|
class: "if-not-md"
|
|
25263
|
-
}, ss.params.pageBackLinkText))), pageTitle && $jsx("div", {
|
|
25275
|
+
}, ss.params.pageBackLinkText))), pageTitle && $jsx$1("div", {
|
|
25264
25276
|
class: "title"
|
|
25265
|
-
}, pageTitle), ss.params.searchbar && $jsx("div", {
|
|
25277
|
+
}, pageTitle), ss.params.searchbar && $jsx$1("div", {
|
|
25266
25278
|
class: "subnavbar"
|
|
25267
|
-
}, ss.renderSearchbar()))), ss.params.searchbar && $jsx("div", {
|
|
25279
|
+
}, ss.renderSearchbar()))), ss.params.searchbar && $jsx$1("div", {
|
|
25268
25280
|
class: "searchbar-backdrop"
|
|
25269
|
-
}), $jsx("div", {
|
|
25281
|
+
}), $jsx$1("div", {
|
|
25270
25282
|
class: "page-content"
|
|
25271
|
-
}, $jsx("div", {
|
|
25283
|
+
}, $jsx$1("div", {
|
|
25272
25284
|
class: `list smart-select-list-${ss.id} ${ss.params.virtualList ? ' virtual-list' : ''} ${ss.params.formColorTheme ? `color-${ss.params.formColorTheme}` : ''}`
|
|
25273
|
-
}, $jsx("ul", null, !ss.params.virtualList && ss.renderItems(ss.items)))));
|
|
25285
|
+
}, $jsx$1("ul", null, !ss.params.virtualList && ss.renderItems(ss.items)))));
|
|
25274
25286
|
}
|
|
25275
25287
|
|
|
25276
25288
|
renderPopup() {
|
|
@@ -25284,36 +25296,36 @@
|
|
|
25284
25296
|
}
|
|
25285
25297
|
|
|
25286
25298
|
const cssClass = ss.params.cssClass || '';
|
|
25287
|
-
return $jsx("div", {
|
|
25299
|
+
return $jsx$1("div", {
|
|
25288
25300
|
class: `popup smart-select-popup ${cssClass} ${ss.params.popupTabletFullscreen ? 'popup-tablet-fullscreen' : ''}`,
|
|
25289
25301
|
"data-select-name": ss.selectName
|
|
25290
|
-
}, $jsx("div", {
|
|
25302
|
+
}, $jsx$1("div", {
|
|
25291
25303
|
class: "view"
|
|
25292
|
-
}, $jsx("div", {
|
|
25304
|
+
}, $jsx$1("div", {
|
|
25293
25305
|
class: `page smart-select-page ${ss.params.searchbar ? 'page-with-subnavbar' : ''}`,
|
|
25294
25306
|
"data-name": "smart-select-page"
|
|
25295
|
-
}, $jsx("div", {
|
|
25307
|
+
}, $jsx$1("div", {
|
|
25296
25308
|
class: `navbar ${ss.params.navbarColorTheme ? `color-${ss.params.navbarColorTheme}` : ''}`
|
|
25297
|
-
}, $jsx("div", {
|
|
25309
|
+
}, $jsx$1("div", {
|
|
25298
25310
|
class: "navbar-bg"
|
|
25299
|
-
}), $jsx("div", {
|
|
25311
|
+
}), $jsx$1("div", {
|
|
25300
25312
|
class: "navbar-inner sliding"
|
|
25301
|
-
}, pageTitle && $jsx("div", {
|
|
25313
|
+
}, pageTitle && $jsx$1("div", {
|
|
25302
25314
|
class: "title"
|
|
25303
|
-
}, pageTitle), $jsx("div", {
|
|
25315
|
+
}, pageTitle), $jsx$1("div", {
|
|
25304
25316
|
class: "right"
|
|
25305
|
-
}, $jsx("a", {
|
|
25317
|
+
}, $jsx$1("a", {
|
|
25306
25318
|
class: "link popup-close",
|
|
25307
25319
|
"data-popup": `.smart-select-popup[data-select-name='${ss.selectName}']`
|
|
25308
|
-
}, ss.params.popupCloseLinkText)), ss.params.searchbar && $jsx("div", {
|
|
25320
|
+
}, ss.params.popupCloseLinkText)), ss.params.searchbar && $jsx$1("div", {
|
|
25309
25321
|
class: "subnavbar"
|
|
25310
|
-
}, ss.renderSearchbar()))), ss.params.searchbar && $jsx("div", {
|
|
25322
|
+
}, ss.renderSearchbar()))), ss.params.searchbar && $jsx$1("div", {
|
|
25311
25323
|
class: "searchbar-backdrop"
|
|
25312
|
-
}), $jsx("div", {
|
|
25324
|
+
}), $jsx$1("div", {
|
|
25313
25325
|
class: "page-content"
|
|
25314
|
-
}, $jsx("div", {
|
|
25326
|
+
}, $jsx$1("div", {
|
|
25315
25327
|
class: `list smart-select-list-${ss.id} ${ss.params.virtualList ? ' virtual-list' : ''} ${ss.params.formColorTheme ? `color-${ss.params.formColorTheme}` : ''}`
|
|
25316
|
-
}, $jsx("ul", null, !ss.params.virtualList && ss.renderItems(ss.items)))))));
|
|
25328
|
+
}, $jsx$1("ul", null, !ss.params.virtualList && ss.renderItems(ss.items)))))));
|
|
25317
25329
|
}
|
|
25318
25330
|
|
|
25319
25331
|
renderSheet() {
|
|
@@ -25321,26 +25333,26 @@
|
|
|
25321
25333
|
if (ss.params.renderSheet) return ss.params.renderSheet.call(ss, ss.items);
|
|
25322
25334
|
const cssClass = ss.params.cssClass; // prettier-ignore
|
|
25323
25335
|
|
|
25324
|
-
return $jsx("div", {
|
|
25336
|
+
return $jsx$1("div", {
|
|
25325
25337
|
class: `sheet-modal smart-select-sheet ${cssClass}`,
|
|
25326
25338
|
"data-select-name": ss.selectName
|
|
25327
|
-
}, $jsx("div", {
|
|
25339
|
+
}, $jsx$1("div", {
|
|
25328
25340
|
class: `toolbar toolbar-top ${ss.params.toolbarColorTheme ? `color-${ss.params.toolbarColorTheme}` : ''}`
|
|
25329
|
-
}, $jsx("div", {
|
|
25341
|
+
}, $jsx$1("div", {
|
|
25330
25342
|
class: "toolbar-inner"
|
|
25331
|
-
}, $jsx("div", {
|
|
25343
|
+
}, $jsx$1("div", {
|
|
25332
25344
|
class: "left"
|
|
25333
|
-
}), $jsx("div", {
|
|
25345
|
+
}), $jsx$1("div", {
|
|
25334
25346
|
class: "right"
|
|
25335
|
-
}, $jsx("a", {
|
|
25347
|
+
}, $jsx$1("a", {
|
|
25336
25348
|
class: "link sheet-close"
|
|
25337
|
-
}, ss.params.sheetCloseLinkText)))), $jsx("div", {
|
|
25349
|
+
}, ss.params.sheetCloseLinkText)))), $jsx$1("div", {
|
|
25338
25350
|
class: "sheet-modal-inner"
|
|
25339
|
-
}, $jsx("div", {
|
|
25351
|
+
}, $jsx$1("div", {
|
|
25340
25352
|
class: "page-content"
|
|
25341
|
-
}, $jsx("div", {
|
|
25353
|
+
}, $jsx$1("div", {
|
|
25342
25354
|
class: `list smart-select-list-${ss.id} ${ss.params.virtualList ? ' virtual-list' : ''} ${ss.params.formColorTheme ? `color-${ss.params.formColorTheme}` : ''}`
|
|
25343
|
-
}, $jsx("ul", null, !ss.params.virtualList && ss.renderItems(ss.items))))));
|
|
25355
|
+
}, $jsx$1("ul", null, !ss.params.virtualList && ss.renderItems(ss.items))))));
|
|
25344
25356
|
}
|
|
25345
25357
|
|
|
25346
25358
|
renderPopover() {
|
|
@@ -25348,14 +25360,14 @@
|
|
|
25348
25360
|
if (ss.params.renderPopover) return ss.params.renderPopover.call(ss, ss.items);
|
|
25349
25361
|
const cssClass = ss.params.cssClass; // prettier-ignore
|
|
25350
25362
|
|
|
25351
|
-
return $jsx("div", {
|
|
25363
|
+
return $jsx$1("div", {
|
|
25352
25364
|
class: `popover smart-select-popover ${cssClass}`,
|
|
25353
25365
|
"data-select-name": ss.selectName
|
|
25354
|
-
}, $jsx("div", {
|
|
25366
|
+
}, $jsx$1("div", {
|
|
25355
25367
|
class: "popover-inner"
|
|
25356
|
-
}, $jsx("div", {
|
|
25368
|
+
}, $jsx$1("div", {
|
|
25357
25369
|
class: `list smart-select-list-${ss.id} ${ss.params.virtualList ? ' virtual-list' : ''} ${ss.params.formColorTheme ? `color-${ss.params.formColorTheme}` : ''}`
|
|
25358
|
-
}, $jsx("ul", null, !ss.params.virtualList && ss.renderItems(ss.items)))));
|
|
25370
|
+
}, $jsx$1("ul", null, !ss.params.virtualList && ss.renderItems(ss.items)))));
|
|
25359
25371
|
}
|
|
25360
25372
|
|
|
25361
25373
|
scrollToSelectedItem() {
|
|
@@ -27289,7 +27301,7 @@
|
|
|
27289
27301
|
return calendar.params.renderMonths.call(calendar, date);
|
|
27290
27302
|
}
|
|
27291
27303
|
|
|
27292
|
-
return $jsx("div", {
|
|
27304
|
+
return $jsx$1("div", {
|
|
27293
27305
|
class: "calendar-months-wrapper"
|
|
27294
27306
|
}, calendar.renderMonth(date, 'prev'), calendar.renderMonth(date), calendar.renderMonth(date, 'next'));
|
|
27295
27307
|
}
|
|
@@ -27511,7 +27523,7 @@
|
|
|
27511
27523
|
weekDaysHtml += `<div class="calendar-week-day">${dayName}</div>`;
|
|
27512
27524
|
}
|
|
27513
27525
|
|
|
27514
|
-
return $jsx("div", {
|
|
27526
|
+
return $jsx$1("div", {
|
|
27515
27527
|
class: "calendar-week-header"
|
|
27516
27528
|
}, weekDaysHtml);
|
|
27517
27529
|
}
|
|
@@ -27523,19 +27535,19 @@
|
|
|
27523
27535
|
return calendar.params.renderMonthSelector.call(calendar);
|
|
27524
27536
|
}
|
|
27525
27537
|
|
|
27526
|
-
return $jsx("div", {
|
|
27538
|
+
return $jsx$1("div", {
|
|
27527
27539
|
class: "calendar-month-selector"
|
|
27528
|
-
}, $jsx("a", {
|
|
27540
|
+
}, $jsx$1("a", {
|
|
27529
27541
|
class: "link icon-only calendar-prev-month-button"
|
|
27530
|
-
}, $jsx("i", {
|
|
27542
|
+
}, $jsx$1("i", {
|
|
27531
27543
|
class: "icon icon-prev"
|
|
27532
|
-
})), calendar.params.monthPicker ? $jsx("a", {
|
|
27544
|
+
})), calendar.params.monthPicker ? $jsx$1("a", {
|
|
27533
27545
|
class: "current-month-value link"
|
|
27534
|
-
}) : $jsx("span", {
|
|
27546
|
+
}) : $jsx$1("span", {
|
|
27535
27547
|
class: "current-month-value"
|
|
27536
|
-
}), $jsx("a", {
|
|
27548
|
+
}), $jsx$1("a", {
|
|
27537
27549
|
class: "link icon-only calendar-next-month-button"
|
|
27538
|
-
}, $jsx("i", {
|
|
27550
|
+
}, $jsx$1("i", {
|
|
27539
27551
|
class: "icon icon-next"
|
|
27540
27552
|
})));
|
|
27541
27553
|
}
|
|
@@ -27547,19 +27559,19 @@
|
|
|
27547
27559
|
return calendar.params.renderYearSelector.call(calendar);
|
|
27548
27560
|
}
|
|
27549
27561
|
|
|
27550
|
-
return $jsx("div", {
|
|
27562
|
+
return $jsx$1("div", {
|
|
27551
27563
|
class: "calendar-year-selector"
|
|
27552
|
-
}, $jsx("a", {
|
|
27564
|
+
}, $jsx$1("a", {
|
|
27553
27565
|
class: "link icon-only calendar-prev-year-button"
|
|
27554
|
-
}, $jsx("i", {
|
|
27566
|
+
}, $jsx$1("i", {
|
|
27555
27567
|
class: "icon icon-prev"
|
|
27556
|
-
})), calendar.params.yearPicker ? $jsx("a", {
|
|
27568
|
+
})), calendar.params.yearPicker ? $jsx$1("a", {
|
|
27557
27569
|
class: "current-year-value link"
|
|
27558
|
-
}) : $jsx("span", {
|
|
27570
|
+
}) : $jsx$1("span", {
|
|
27559
27571
|
class: "current-year-value"
|
|
27560
|
-
}), $jsx("a", {
|
|
27572
|
+
}), $jsx$1("a", {
|
|
27561
27573
|
class: "link icon-only calendar-next-year-button"
|
|
27562
|
-
}, $jsx("i", {
|
|
27574
|
+
}, $jsx$1("i", {
|
|
27563
27575
|
class: "icon icon-next"
|
|
27564
27576
|
})));
|
|
27565
27577
|
} // eslint-disable-next-line
|
|
@@ -27570,9 +27582,9 @@
|
|
|
27570
27582
|
const value = calendar.value && calendar.value[0];
|
|
27571
27583
|
let timeString;
|
|
27572
27584
|
if (value) timeString = calendar.timeSelectorFormatter(value);
|
|
27573
|
-
return $jsx("div", {
|
|
27585
|
+
return $jsx$1("div", {
|
|
27574
27586
|
class: "calendar-time-selector"
|
|
27575
|
-
}, $jsx("span", null, calendar.params.timePickerLabel), $jsx("a", {
|
|
27587
|
+
}, $jsx$1("span", null, calendar.params.timePickerLabel), $jsx$1("a", {
|
|
27576
27588
|
class: "link"
|
|
27577
27589
|
}, timeString || calendar.params.timePickerPlaceholder));
|
|
27578
27590
|
}
|
|
@@ -27584,9 +27596,9 @@
|
|
|
27584
27596
|
return calendar.params.renderHeader.call(calendar);
|
|
27585
27597
|
}
|
|
27586
27598
|
|
|
27587
|
-
return $jsx("div", {
|
|
27599
|
+
return $jsx$1("div", {
|
|
27588
27600
|
class: "calendar-header"
|
|
27589
|
-
}, $jsx("div", {
|
|
27601
|
+
}, $jsx$1("div", {
|
|
27590
27602
|
class: "calendar-selected-date"
|
|
27591
27603
|
}, calendar.params.headerPlaceholder));
|
|
27592
27604
|
}
|
|
@@ -27599,9 +27611,9 @@
|
|
|
27599
27611
|
return calendar.params.renderFooter.call(calendar);
|
|
27600
27612
|
}
|
|
27601
27613
|
|
|
27602
|
-
return $jsx("div", {
|
|
27614
|
+
return $jsx$1("div", {
|
|
27603
27615
|
class: "calendar-footer"
|
|
27604
|
-
}, $jsx("a", {
|
|
27616
|
+
}, $jsx$1("a", {
|
|
27605
27617
|
class: `${app.theme === 'md' ? 'button' : 'link'} calendar-close sheet-close popover-close`
|
|
27606
27618
|
}, calendar.params.toolbarCloseText));
|
|
27607
27619
|
}
|
|
@@ -27614,9 +27626,9 @@
|
|
|
27614
27626
|
} // prettier-ignore
|
|
27615
27627
|
|
|
27616
27628
|
|
|
27617
|
-
return $jsx("div", {
|
|
27629
|
+
return $jsx$1("div", {
|
|
27618
27630
|
class: "toolbar toolbar-top no-shadow"
|
|
27619
|
-
}, $jsx("div", {
|
|
27631
|
+
}, $jsx$1("div", {
|
|
27620
27632
|
class: "toolbar-inner"
|
|
27621
27633
|
}, calendar.params.monthSelector ? calendar.renderMonthSelector() : '', calendar.params.yearSelector ? calendar.renderYearSelector() : ''));
|
|
27622
27634
|
} // eslint-disable-next-line
|
|
@@ -27637,9 +27649,9 @@
|
|
|
27637
27649
|
hasTimePicker
|
|
27638
27650
|
} = calendar;
|
|
27639
27651
|
const date = value && value.length ? value[0] : new Date().setHours(0, 0, 0);
|
|
27640
|
-
return $jsx("div", {
|
|
27652
|
+
return $jsx$1("div", {
|
|
27641
27653
|
class: `calendar calendar-inline ${rangePicker ? 'calendar-range' : ''} ${cssClass || ''}`
|
|
27642
|
-
}, header && calendar.renderHeader(), toolbar && calendar.renderToolbar(), weekHeader && calendar.renderWeekHeader(), $jsx("div", {
|
|
27654
|
+
}, header && calendar.renderHeader(), toolbar && calendar.renderToolbar(), weekHeader && calendar.renderWeekHeader(), $jsx$1("div", {
|
|
27643
27655
|
class: "calendar-months"
|
|
27644
27656
|
}, calendar.renderMonths(date)), hasTimePicker && calendar.renderTimeSelector(), footer && calendar.renderFooter());
|
|
27645
27657
|
}
|
|
@@ -27659,9 +27671,9 @@
|
|
|
27659
27671
|
hasTimePicker
|
|
27660
27672
|
} = calendar;
|
|
27661
27673
|
const date = value && value.length ? value[0] : new Date().setHours(0, 0, 0);
|
|
27662
|
-
return $jsx("div", {
|
|
27674
|
+
return $jsx$1("div", {
|
|
27663
27675
|
class: `calendar calendar-modal ${rangePicker ? 'calendar-range' : ''} ${cssClass || ''}`
|
|
27664
|
-
}, header && calendar.renderHeader(), toolbar && calendar.renderToolbar(), weekHeader && calendar.renderWeekHeader(), $jsx("div", {
|
|
27676
|
+
}, header && calendar.renderHeader(), toolbar && calendar.renderToolbar(), weekHeader && calendar.renderWeekHeader(), $jsx$1("div", {
|
|
27665
27677
|
class: "calendar-months"
|
|
27666
27678
|
}, calendar.renderMonths(date)), hasTimePicker && calendar.renderTimeSelector(), footer && calendar.renderFooter());
|
|
27667
27679
|
}
|
|
@@ -27681,9 +27693,9 @@
|
|
|
27681
27693
|
hasTimePicker
|
|
27682
27694
|
} = calendar;
|
|
27683
27695
|
const date = value && value.length ? value[0] : new Date().setHours(0, 0, 0);
|
|
27684
|
-
return $jsx("div", {
|
|
27696
|
+
return $jsx$1("div", {
|
|
27685
27697
|
class: `sheet-modal calendar calendar-sheet ${rangePicker ? 'calendar-range' : ''} ${cssClass || ''}`
|
|
27686
|
-
}, header && calendar.renderHeader(), toolbar && calendar.renderToolbar(), weekHeader && calendar.renderWeekHeader(), $jsx("div", {
|
|
27698
|
+
}, header && calendar.renderHeader(), toolbar && calendar.renderToolbar(), weekHeader && calendar.renderWeekHeader(), $jsx$1("div", {
|
|
27687
27699
|
class: "sheet-modal-inner calendar-months"
|
|
27688
27700
|
}, calendar.renderMonths(date)), hasTimePicker && calendar.renderTimeSelector(), footer && calendar.renderFooter());
|
|
27689
27701
|
}
|
|
@@ -27703,13 +27715,13 @@
|
|
|
27703
27715
|
hasTimePicker
|
|
27704
27716
|
} = calendar;
|
|
27705
27717
|
const date = value && value.length ? value[0] : new Date().setHours(0, 0, 0);
|
|
27706
|
-
return $jsx("div", {
|
|
27718
|
+
return $jsx$1("div", {
|
|
27707
27719
|
class: "popover calendar-popover"
|
|
27708
|
-
}, $jsx("div", {
|
|
27720
|
+
}, $jsx$1("div", {
|
|
27709
27721
|
class: "popover-inner"
|
|
27710
|
-
}, $jsx("div", {
|
|
27722
|
+
}, $jsx$1("div", {
|
|
27711
27723
|
class: `calendar ${rangePicker ? 'calendar-range' : ''} ${cssClass || ''}`
|
|
27712
|
-
}, header && calendar.renderHeader(), toolbar && calendar.renderToolbar(), weekHeader && calendar.renderWeekHeader(), $jsx("div", {
|
|
27724
|
+
}, header && calendar.renderHeader(), toolbar && calendar.renderToolbar(), weekHeader && calendar.renderWeekHeader(), $jsx$1("div", {
|
|
27713
27725
|
class: "calendar-months"
|
|
27714
27726
|
}, calendar.renderMonths(date)), hasTimePicker && calendar.renderTimeSelector(), footer && calendar.renderFooter())));
|
|
27715
27727
|
}
|
|
@@ -28837,15 +28849,15 @@
|
|
|
28837
28849
|
renderToolbar() {
|
|
28838
28850
|
const picker = this;
|
|
28839
28851
|
if (picker.params.renderToolbar) return picker.params.renderToolbar.call(picker, picker);
|
|
28840
|
-
return $jsx("div", {
|
|
28852
|
+
return $jsx$1("div", {
|
|
28841
28853
|
class: "toolbar toolbar-top no-shadow"
|
|
28842
|
-
}, $jsx("div", {
|
|
28854
|
+
}, $jsx$1("div", {
|
|
28843
28855
|
class: "toolbar-inner"
|
|
28844
|
-
}, $jsx("div", {
|
|
28856
|
+
}, $jsx$1("div", {
|
|
28845
28857
|
class: "left"
|
|
28846
|
-
}), $jsx("div", {
|
|
28858
|
+
}), $jsx$1("div", {
|
|
28847
28859
|
class: "right"
|
|
28848
|
-
}, $jsx("a", {
|
|
28860
|
+
}, $jsx$1("a", {
|
|
28849
28861
|
class: "link sheet-close popover-close"
|
|
28850
28862
|
}, picker.params.toolbarCloseText))));
|
|
28851
28863
|
} // eslint-disable-next-line
|
|
@@ -28886,11 +28898,11 @@
|
|
|
28886
28898
|
cssClass,
|
|
28887
28899
|
toolbar
|
|
28888
28900
|
} = picker.params;
|
|
28889
|
-
const inlineHtml = $jsx("div", {
|
|
28901
|
+
const inlineHtml = $jsx$1("div", {
|
|
28890
28902
|
class: `picker picker-inline ${rotateEffect ? 'picker-3d' : ''} ${cssClass || ''}`
|
|
28891
|
-
}, toolbar && picker.renderToolbar(), $jsx("div", {
|
|
28903
|
+
}, toolbar && picker.renderToolbar(), $jsx$1("div", {
|
|
28892
28904
|
class: "picker-columns"
|
|
28893
|
-
}, picker.cols.map(col => picker.renderColumn(col)), $jsx("div", {
|
|
28905
|
+
}, picker.cols.map(col => picker.renderColumn(col)), $jsx$1("div", {
|
|
28894
28906
|
class: "picker-center-highlight"
|
|
28895
28907
|
})));
|
|
28896
28908
|
return inlineHtml;
|
|
@@ -28903,11 +28915,11 @@
|
|
|
28903
28915
|
cssClass,
|
|
28904
28916
|
toolbar
|
|
28905
28917
|
} = picker.params;
|
|
28906
|
-
const sheetHtml = $jsx("div", {
|
|
28918
|
+
const sheetHtml = $jsx$1("div", {
|
|
28907
28919
|
class: `sheet-modal picker picker-sheet ${rotateEffect ? 'picker-3d' : ''} ${cssClass || ''}`
|
|
28908
|
-
}, toolbar && picker.renderToolbar(), $jsx("div", {
|
|
28920
|
+
}, toolbar && picker.renderToolbar(), $jsx$1("div", {
|
|
28909
28921
|
class: "sheet-modal-inner picker-columns"
|
|
28910
|
-
}, picker.cols.map(col => picker.renderColumn(col)), $jsx("div", {
|
|
28922
|
+
}, picker.cols.map(col => picker.renderColumn(col)), $jsx$1("div", {
|
|
28911
28923
|
class: "picker-center-highlight"
|
|
28912
28924
|
})));
|
|
28913
28925
|
return sheetHtml;
|
|
@@ -28920,15 +28932,15 @@
|
|
|
28920
28932
|
cssClass,
|
|
28921
28933
|
toolbar
|
|
28922
28934
|
} = picker.params;
|
|
28923
|
-
const popoverHtml = $jsx("div", {
|
|
28935
|
+
const popoverHtml = $jsx$1("div", {
|
|
28924
28936
|
class: "popover picker-popover"
|
|
28925
|
-
}, $jsx("div", {
|
|
28937
|
+
}, $jsx$1("div", {
|
|
28926
28938
|
class: "popover-inner"
|
|
28927
|
-
}, $jsx("div", {
|
|
28939
|
+
}, $jsx$1("div", {
|
|
28928
28940
|
class: `picker ${rotateEffect ? 'picker-3d' : ''} ${cssClass || ''}`
|
|
28929
|
-
}, toolbar && picker.renderToolbar(), $jsx("div", {
|
|
28941
|
+
}, toolbar && picker.renderToolbar(), $jsx$1("div", {
|
|
28930
28942
|
class: "picker-columns"
|
|
28931
|
-
}, picker.cols.map(col => picker.renderColumn(col)), $jsx("div", {
|
|
28943
|
+
}, picker.cols.map(col => picker.renderColumn(col)), $jsx$1("div", {
|
|
28932
28944
|
class: "picker-center-highlight"
|
|
28933
28945
|
})))));
|
|
28934
28946
|
return popoverHtml;
|
|
@@ -30454,9 +30466,9 @@
|
|
|
30454
30466
|
table.$el.find('tbody td:not(.checkbox-cell)').each(el => {
|
|
30455
30467
|
const $el = $(el);
|
|
30456
30468
|
const elIndex = $el.index();
|
|
30457
|
-
const
|
|
30469
|
+
const collapsibleTitle = $el.attr('data-collapsible-title');
|
|
30458
30470
|
|
|
30459
|
-
if (!
|
|
30471
|
+
if (!collapsibleTitle && collapsibleTitle !== '') {
|
|
30460
30472
|
$el.attr('data-collapsible-title', table.$el.find('thead th').eq(elIndex).text());
|
|
30461
30473
|
}
|
|
30462
30474
|
});
|
|
@@ -33652,34 +33664,34 @@
|
|
|
33652
33664
|
return `<div class="messages-title">${message.text}</div>`;
|
|
33653
33665
|
}
|
|
33654
33666
|
|
|
33655
|
-
return $jsx("div", _extends({
|
|
33667
|
+
return $jsx$1("div", _extends({
|
|
33656
33668
|
class: `message message-${message.type} ${message.isTyping ? 'message-typing' : ''} ${message.cssClass || ''}`
|
|
33657
|
-
}, message.attrs), message.avatar && $jsx("div", {
|
|
33669
|
+
}, message.attrs), message.avatar && $jsx$1("div", {
|
|
33658
33670
|
class: "message-avatar",
|
|
33659
33671
|
style: `background-image:url(${message.avatar})`
|
|
33660
|
-
}), $jsx("div", {
|
|
33672
|
+
}), $jsx$1("div", {
|
|
33661
33673
|
class: "message-content"
|
|
33662
|
-
}, message.name && $jsx("div", {
|
|
33674
|
+
}, message.name && $jsx$1("div", {
|
|
33663
33675
|
class: "message-name"
|
|
33664
|
-
}, message.name), message.header && $jsx("div", {
|
|
33676
|
+
}, message.name), message.header && $jsx$1("div", {
|
|
33665
33677
|
class: "message-header"
|
|
33666
|
-
}, message.header), $jsx("div", {
|
|
33678
|
+
}, message.header), $jsx$1("div", {
|
|
33667
33679
|
class: "message-bubble"
|
|
33668
|
-
}, message.textHeader && $jsx("div", {
|
|
33680
|
+
}, message.textHeader && $jsx$1("div", {
|
|
33669
33681
|
class: "message-text-header"
|
|
33670
|
-
}, message.textHeader), message.image && $jsx("div", {
|
|
33682
|
+
}, message.textHeader), message.image && $jsx$1("div", {
|
|
33671
33683
|
class: "message-image"
|
|
33672
|
-
}, message.image), message.imageSrc && !message.image && $jsx("div", {
|
|
33684
|
+
}, message.image), message.imageSrc && !message.image && $jsx$1("div", {
|
|
33673
33685
|
class: "message-image"
|
|
33674
|
-
}, $jsx("img", {
|
|
33686
|
+
}, $jsx$1("img", {
|
|
33675
33687
|
src: message.imageSrc
|
|
33676
|
-
})), (message.text || message.isTyping) && $jsx("div", {
|
|
33688
|
+
})), (message.text || message.isTyping) && $jsx$1("div", {
|
|
33677
33689
|
class: "message-text"
|
|
33678
|
-
}, message.text || '', message.isTyping && $jsx("div", {
|
|
33690
|
+
}, message.text || '', message.isTyping && $jsx$1("div", {
|
|
33679
33691
|
class: "message-typing-indicator"
|
|
33680
|
-
}, $jsx("div", null), $jsx("div", null), $jsx("div", null))), message.textFooter && $jsx("div", {
|
|
33692
|
+
}, $jsx$1("div", null), $jsx$1("div", null), $jsx$1("div", null))), message.textFooter && $jsx$1("div", {
|
|
33681
33693
|
class: "message-text-footer"
|
|
33682
|
-
}, message.textFooter)), message.footer && $jsx("div", {
|
|
33694
|
+
}, message.textFooter)), message.footer && $jsx$1("div", {
|
|
33683
33695
|
class: "message-footer"
|
|
33684
33696
|
}, message.footer)));
|
|
33685
33697
|
}
|
|
@@ -44527,32 +44539,32 @@
|
|
|
44527
44539
|
const pageBackLinkText = (pb.app.theme === 'ios' || pb.app.theme === 'aurora') && pb.params.pageBackLinkText ? pb.params.pageBackLinkText : '';
|
|
44528
44540
|
const renderNavbarCount = typeof pb.params.navbarShowCount === 'undefined' ? pb.params.photos.length > 1 : pb.params.navbarShowCount;
|
|
44529
44541
|
const isPopup = pb.params.type !== 'page';
|
|
44530
|
-
return $jsx("div", {
|
|
44542
|
+
return $jsx$1("div", {
|
|
44531
44543
|
class: `navbar navbar-photo-browser ${pb.params.theme === 'dark' ? 'navbar-photo-browser-dark' : ''}`
|
|
44532
|
-
}, $jsx("div", {
|
|
44544
|
+
}, $jsx$1("div", {
|
|
44533
44545
|
class: "navbar-bg"
|
|
44534
|
-
}), $jsx("div", {
|
|
44546
|
+
}), $jsx$1("div", {
|
|
44535
44547
|
class: "navbar-inner navbar-inner-centered-title sliding"
|
|
44536
|
-
}, !isPopup && $jsx("div", {
|
|
44548
|
+
}, !isPopup && $jsx$1("div", {
|
|
44537
44549
|
class: "left"
|
|
44538
|
-
}, $jsx("a", {
|
|
44550
|
+
}, $jsx$1("a", {
|
|
44539
44551
|
class: `link ${!pageBackLinkText ? 'icon-only' : ''} back`
|
|
44540
|
-
}, $jsx("i", {
|
|
44552
|
+
}, $jsx$1("i", {
|
|
44541
44553
|
class: `icon icon-back ${iconsColor ? `color-${iconsColor}` : ''}`
|
|
44542
|
-
}), pageBackLinkText && $jsx("span", null, pageBackLinkText))), renderNavbarCount && $jsx("div", {
|
|
44554
|
+
}), pageBackLinkText && $jsx$1("span", null, pageBackLinkText))), renderNavbarCount && $jsx$1("div", {
|
|
44543
44555
|
class: "title"
|
|
44544
|
-
}, $jsx("span", {
|
|
44556
|
+
}, $jsx$1("span", {
|
|
44545
44557
|
class: "photo-browser-current"
|
|
44546
|
-
}), $jsx("span", {
|
|
44558
|
+
}), $jsx$1("span", {
|
|
44547
44559
|
class: "photo-browser-of"
|
|
44548
|
-
}, pb.params.navbarOfText), $jsx("span", {
|
|
44560
|
+
}, pb.params.navbarOfText), $jsx$1("span", {
|
|
44549
44561
|
class: "photo-browser-total"
|
|
44550
|
-
})), isPopup && $jsx("div", {
|
|
44562
|
+
})), isPopup && $jsx$1("div", {
|
|
44551
44563
|
class: "right"
|
|
44552
|
-
}, $jsx("a", {
|
|
44564
|
+
}, $jsx$1("a", {
|
|
44553
44565
|
class: "link popup-close",
|
|
44554
44566
|
"data-popup": ".photo-browser-popup"
|
|
44555
|
-
}, $jsx("span", null, pb.params.popupCloseLinkText)))));
|
|
44567
|
+
}, $jsx$1("span", null, pb.params.popupCloseLinkText)))));
|
|
44556
44568
|
}
|
|
44557
44569
|
|
|
44558
44570
|
renderToolbar() {
|
|
@@ -44560,17 +44572,17 @@
|
|
|
44560
44572
|
if (pb.params.renderToolbar) return pb.params.renderToolbar.call(pb);
|
|
44561
44573
|
let iconsColor = pb.params.iconsColor;
|
|
44562
44574
|
if (!pb.params.iconsColor && pb.params.theme === 'dark') iconsColor = 'white';
|
|
44563
|
-
return $jsx("div", {
|
|
44575
|
+
return $jsx$1("div", {
|
|
44564
44576
|
class: "toolbar toolbar-bottom tabbar"
|
|
44565
|
-
}, $jsx("div", {
|
|
44577
|
+
}, $jsx$1("div", {
|
|
44566
44578
|
class: "toolbar-inner"
|
|
44567
|
-
}, $jsx("a", {
|
|
44579
|
+
}, $jsx$1("a", {
|
|
44568
44580
|
class: "link photo-browser-prev"
|
|
44569
|
-
}, $jsx("i", {
|
|
44581
|
+
}, $jsx$1("i", {
|
|
44570
44582
|
class: `icon icon-back ${iconsColor ? `color-${iconsColor}` : ''}`
|
|
44571
|
-
})), $jsx("a", {
|
|
44583
|
+
})), $jsx$1("a", {
|
|
44572
44584
|
class: "link photo-browser-next"
|
|
44573
|
-
}, $jsx("i", {
|
|
44585
|
+
}, $jsx$1("i", {
|
|
44574
44586
|
class: `icon icon-forward ${iconsColor ? `color-${iconsColor}` : ''}`
|
|
44575
44587
|
}))));
|
|
44576
44588
|
}
|
|
@@ -44578,7 +44590,7 @@
|
|
|
44578
44590
|
renderCaption(caption, index) {
|
|
44579
44591
|
const pb = this;
|
|
44580
44592
|
if (pb.params.renderCaption) return pb.params.renderCaption.call(pb, caption, index);
|
|
44581
|
-
return $jsx("div", {
|
|
44593
|
+
return $jsx$1("div", {
|
|
44582
44594
|
class: "photo-browser-caption",
|
|
44583
44595
|
"data-caption-index": index
|
|
44584
44596
|
}, caption);
|
|
@@ -44587,7 +44599,7 @@
|
|
|
44587
44599
|
renderObject(photo, index) {
|
|
44588
44600
|
const pb = this;
|
|
44589
44601
|
if (pb.params.renderObject) return pb.params.renderObject.call(pb, photo, index);
|
|
44590
|
-
return $jsx("div", {
|
|
44602
|
+
return $jsx$1("div", {
|
|
44591
44603
|
class: "photo-browser-slide photo-browser-object-slide swiper-slide",
|
|
44592
44604
|
"data-swiper-slide-index": index
|
|
44593
44605
|
}, photo.html ? photo.html : photo);
|
|
@@ -44596,14 +44608,14 @@
|
|
|
44596
44608
|
renderLazyPhoto(photo, index) {
|
|
44597
44609
|
const pb = this;
|
|
44598
44610
|
if (pb.params.renderLazyPhoto) return pb.params.renderLazyPhoto.call(pb, photo, index);
|
|
44599
|
-
return $jsx("div", {
|
|
44611
|
+
return $jsx$1("div", {
|
|
44600
44612
|
class: "photo-browser-slide photo-browser-slide-lazy swiper-slide",
|
|
44601
44613
|
"data-swiper-slide-index": index
|
|
44602
|
-
}, $jsx("div", {
|
|
44614
|
+
}, $jsx$1("div", {
|
|
44603
44615
|
class: "swiper-lazy-preloader"
|
|
44604
|
-
}), $jsx("span", {
|
|
44616
|
+
}), $jsx$1("span", {
|
|
44605
44617
|
class: "swiper-zoom-container"
|
|
44606
|
-
}, $jsx("img", {
|
|
44618
|
+
}, $jsx$1("img", {
|
|
44607
44619
|
"data-src": photo.url ? photo.url : photo,
|
|
44608
44620
|
class: "swiper-lazy"
|
|
44609
44621
|
})));
|
|
@@ -44612,12 +44624,12 @@
|
|
|
44612
44624
|
renderPhoto(photo, index) {
|
|
44613
44625
|
const pb = this;
|
|
44614
44626
|
if (pb.params.renderPhoto) return pb.params.renderPhoto.call(pb, photo, index);
|
|
44615
|
-
return $jsx("div", {
|
|
44627
|
+
return $jsx$1("div", {
|
|
44616
44628
|
class: "photo-browser-slide swiper-slide",
|
|
44617
44629
|
"data-swiper-slide-index": index
|
|
44618
|
-
}, $jsx("span", {
|
|
44630
|
+
}, $jsx$1("span", {
|
|
44619
44631
|
class: "swiper-zoom-container"
|
|
44620
|
-
}, $jsx("img", {
|
|
44632
|
+
}, $jsx$1("img", {
|
|
44621
44633
|
src: photo.url ? photo.url : photo
|
|
44622
44634
|
})));
|
|
44623
44635
|
}
|
|
@@ -44625,21 +44637,21 @@
|
|
|
44625
44637
|
render() {
|
|
44626
44638
|
const pb = this;
|
|
44627
44639
|
if (pb.params.render) return pb.params.render.call(pb, pb.params);
|
|
44628
|
-
return $jsx("div", {
|
|
44640
|
+
return $jsx$1("div", {
|
|
44629
44641
|
class: `photo-browser photo-browser-${pb.params.theme}`
|
|
44630
|
-
}, $jsx("div", {
|
|
44642
|
+
}, $jsx$1("div", {
|
|
44631
44643
|
class: "view"
|
|
44632
|
-
}, $jsx("div", {
|
|
44644
|
+
}, $jsx$1("div", {
|
|
44633
44645
|
class: `page photo-browser-page photo-browser-page-${pb.params.theme} no-toolbar ${!pb.params.navbar ? 'no-navbar' : ''}`,
|
|
44634
44646
|
"data-name": "photo-browser-page"
|
|
44635
|
-
}, pb.params.navbar && pb.renderNavbar(), pb.params.toolbar && pb.renderToolbar(), $jsx("div", {
|
|
44647
|
+
}, pb.params.navbar && pb.renderNavbar(), pb.params.toolbar && pb.renderToolbar(), $jsx$1("div", {
|
|
44636
44648
|
class: `photo-browser-captions photo-browser-captions-${pb.params.captionsTheme || pb.params.theme}`
|
|
44637
44649
|
}, pb.params.photos.map((photo, index) => {
|
|
44638
44650
|
if (photo.caption) return pb.renderCaption(photo.caption, index);
|
|
44639
44651
|
return '';
|
|
44640
|
-
})), $jsx("div", {
|
|
44652
|
+
})), $jsx$1("div", {
|
|
44641
44653
|
class: "photo-browser-swiper-container swiper"
|
|
44642
|
-
}, $jsx("div", {
|
|
44654
|
+
}, $jsx$1("div", {
|
|
44643
44655
|
class: "photo-browser-swiper-wrapper swiper-wrapper"
|
|
44644
44656
|
}, !pb.params.virtualSlides && pb.params.photos.map((photo, index) => {
|
|
44645
44657
|
if (photo.html || (typeof photo === 'string' || photo instanceof String) && photo.indexOf('<') >= 0 && photo.indexOf('>') >= 0) {
|
|
@@ -45402,23 +45414,23 @@
|
|
|
45402
45414
|
closeButton,
|
|
45403
45415
|
cssClass
|
|
45404
45416
|
} = notification.params;
|
|
45405
|
-
return $jsx("div", {
|
|
45417
|
+
return $jsx$1("div", {
|
|
45406
45418
|
class: `notification ${cssClass || ''}`
|
|
45407
|
-
}, $jsx("div", {
|
|
45419
|
+
}, $jsx$1("div", {
|
|
45408
45420
|
class: "notification-header"
|
|
45409
|
-
}, icon && $jsx("div", {
|
|
45421
|
+
}, icon && $jsx$1("div", {
|
|
45410
45422
|
class: "notification-icon"
|
|
45411
|
-
}, icon), title && $jsx("div", {
|
|
45423
|
+
}, icon), title && $jsx$1("div", {
|
|
45412
45424
|
class: "notification-title"
|
|
45413
|
-
}, title), titleRightText && $jsx("div", {
|
|
45425
|
+
}, title), titleRightText && $jsx$1("div", {
|
|
45414
45426
|
class: "notification-title-right-text"
|
|
45415
|
-
}, titleRightText), closeButton && $jsx("span", {
|
|
45427
|
+
}, titleRightText), closeButton && $jsx$1("span", {
|
|
45416
45428
|
class: "notification-close-button"
|
|
45417
|
-
})), $jsx("div", {
|
|
45429
|
+
})), $jsx$1("div", {
|
|
45418
45430
|
class: "notification-content"
|
|
45419
|
-
}, subtitle && $jsx("div", {
|
|
45431
|
+
}, subtitle && $jsx$1("div", {
|
|
45420
45432
|
class: "notification-subtitle"
|
|
45421
|
-
}, subtitle), text && $jsx("div", {
|
|
45433
|
+
}, subtitle), text && $jsx$1("div", {
|
|
45422
45434
|
class: "notification-text"
|
|
45423
45435
|
}, text)));
|
|
45424
45436
|
}
|
|
@@ -45977,7 +45989,7 @@
|
|
|
45977
45989
|
mdPreloaderContent,
|
|
45978
45990
|
auroraPreloaderContent
|
|
45979
45991
|
};
|
|
45980
|
-
return $jsx("div", {
|
|
45992
|
+
return $jsx$1("div", {
|
|
45981
45993
|
class: `autocomplete-preloader preloader ${ac.params.preloaderColor ? `color-${ac.params.preloaderColor}` : ''}`
|
|
45982
45994
|
}, preloaders[`${ac.app.theme}PreloaderContent`] || '');
|
|
45983
45995
|
}
|
|
@@ -45985,21 +45997,21 @@
|
|
|
45985
45997
|
renderSearchbar() {
|
|
45986
45998
|
const ac = this;
|
|
45987
45999
|
if (ac.params.renderSearchbar) return ac.params.renderSearchbar.call(ac);
|
|
45988
|
-
return $jsx("form", {
|
|
46000
|
+
return $jsx$1("form", {
|
|
45989
46001
|
class: "searchbar"
|
|
45990
|
-
}, $jsx("div", {
|
|
46002
|
+
}, $jsx$1("div", {
|
|
45991
46003
|
class: "searchbar-inner"
|
|
45992
|
-
}, $jsx("div", {
|
|
46004
|
+
}, $jsx$1("div", {
|
|
45993
46005
|
class: "searchbar-input-wrap"
|
|
45994
|
-
}, $jsx("input", {
|
|
46006
|
+
}, $jsx$1("input", {
|
|
45995
46007
|
type: "search",
|
|
45996
46008
|
spellcheck: ac.params.searchbarSpellcheck || 'false',
|
|
45997
46009
|
placeholder: ac.params.searchbarPlaceholder
|
|
45998
|
-
}), $jsx("i", {
|
|
46010
|
+
}), $jsx$1("i", {
|
|
45999
46011
|
class: "searchbar-icon"
|
|
46000
|
-
}), $jsx("span", {
|
|
46012
|
+
}), $jsx$1("span", {
|
|
46001
46013
|
class: "input-clear-button"
|
|
46002
|
-
})), ac.params.searchbarDisableButton && $jsx("span", {
|
|
46014
|
+
})), ac.params.searchbarDisableButton && $jsx$1("span", {
|
|
46003
46015
|
class: "searchbar-disable-button"
|
|
46004
46016
|
}, ac.params.searchbarDisableText)));
|
|
46005
46017
|
}
|
|
@@ -46010,42 +46022,42 @@
|
|
|
46010
46022
|
const itemValue = item.value && typeof item.value === 'string' ? item.value.replace(/"/g, '"') : item.value;
|
|
46011
46023
|
|
|
46012
46024
|
if (ac.params.openIn !== 'dropdown') {
|
|
46013
|
-
return $jsx("li", null, $jsx("label", {
|
|
46025
|
+
return $jsx$1("li", null, $jsx$1("label", {
|
|
46014
46026
|
class: `item-${item.inputType} item-content`
|
|
46015
|
-
}, $jsx("input", {
|
|
46027
|
+
}, $jsx$1("input", {
|
|
46016
46028
|
type: item.inputType,
|
|
46017
46029
|
name: item.inputName,
|
|
46018
46030
|
value: itemValue,
|
|
46019
46031
|
_checked: item.selected
|
|
46020
|
-
}), $jsx("i", {
|
|
46032
|
+
}), $jsx$1("i", {
|
|
46021
46033
|
class: `icon icon-${item.inputType}`
|
|
46022
|
-
}), $jsx("div", {
|
|
46034
|
+
}), $jsx$1("div", {
|
|
46023
46035
|
class: "item-inner"
|
|
46024
|
-
}, $jsx("div", {
|
|
46036
|
+
}, $jsx$1("div", {
|
|
46025
46037
|
class: "item-title"
|
|
46026
46038
|
}, item.text))));
|
|
46027
46039
|
} // Dropdown
|
|
46028
46040
|
|
|
46029
46041
|
|
|
46030
46042
|
if (!item.placeholder) {
|
|
46031
|
-
return $jsx("li", null, $jsx("label", {
|
|
46043
|
+
return $jsx$1("li", null, $jsx$1("label", {
|
|
46032
46044
|
class: "item-radio item-content",
|
|
46033
46045
|
"data-value": itemValue
|
|
46034
|
-
}, $jsx("div", {
|
|
46046
|
+
}, $jsx$1("div", {
|
|
46035
46047
|
class: "item-inner"
|
|
46036
|
-
}, $jsx("div", {
|
|
46048
|
+
}, $jsx$1("div", {
|
|
46037
46049
|
class: "item-title"
|
|
46038
46050
|
}, item.text))));
|
|
46039
46051
|
} // Dropwdown placeholder
|
|
46040
46052
|
|
|
46041
46053
|
|
|
46042
|
-
return $jsx("li", {
|
|
46054
|
+
return $jsx$1("li", {
|
|
46043
46055
|
class: "autocomplete-dropdown-placeholder"
|
|
46044
|
-
}, $jsx("label", {
|
|
46056
|
+
}, $jsx$1("label", {
|
|
46045
46057
|
class: "item-content"
|
|
46046
|
-
}, $jsx("div", {
|
|
46058
|
+
}, $jsx$1("div", {
|
|
46047
46059
|
class: "item-inner"
|
|
46048
|
-
}, $jsx("div", {
|
|
46060
|
+
}, $jsx$1("div", {
|
|
46049
46061
|
class: "item-title"
|
|
46050
46062
|
}, item.text))));
|
|
46051
46063
|
}
|
|
@@ -46061,34 +46073,34 @@
|
|
|
46061
46073
|
|
|
46062
46074
|
const inPopup = ac.params.openIn === 'popup'; // eslint-disable-next-line
|
|
46063
46075
|
|
|
46064
|
-
const navbarLeft = inPopup ? ac.params.preloader && $jsx("div", {
|
|
46076
|
+
const navbarLeft = inPopup ? ac.params.preloader && $jsx$1("div", {
|
|
46065
46077
|
class: "left"
|
|
46066
|
-
}, ac.renderPreloader()) : $jsx("div", {
|
|
46078
|
+
}, ac.renderPreloader()) : $jsx$1("div", {
|
|
46067
46079
|
class: "left sliding"
|
|
46068
|
-
}, $jsx("a", {
|
|
46080
|
+
}, $jsx$1("a", {
|
|
46069
46081
|
class: "link back"
|
|
46070
|
-
}, $jsx("i", {
|
|
46082
|
+
}, $jsx$1("i", {
|
|
46071
46083
|
class: "icon icon-back"
|
|
46072
|
-
}), $jsx("span", {
|
|
46084
|
+
}), $jsx$1("span", {
|
|
46073
46085
|
class: "if-not-md"
|
|
46074
46086
|
}, ac.params.pageBackLinkText)));
|
|
46075
|
-
const navbarRight = inPopup ? $jsx("div", {
|
|
46087
|
+
const navbarRight = inPopup ? $jsx$1("div", {
|
|
46076
46088
|
class: "right"
|
|
46077
|
-
}, $jsx("a", {
|
|
46089
|
+
}, $jsx$1("a", {
|
|
46078
46090
|
class: "link popup-close",
|
|
46079
46091
|
"data-popup": ".autocomplete-popup"
|
|
46080
|
-
}, ac.params.popupCloseLinkText)) : ac.params.preloader && $jsx("div", {
|
|
46092
|
+
}, ac.params.popupCloseLinkText)) : ac.params.preloader && $jsx$1("div", {
|
|
46081
46093
|
class: "right"
|
|
46082
46094
|
}, ac.renderPreloader());
|
|
46083
|
-
return $jsx("div", {
|
|
46095
|
+
return $jsx$1("div", {
|
|
46084
46096
|
class: `navbar ${ac.params.navbarColorTheme ? `color-${ac.params.navbarColorTheme}` : ''}`
|
|
46085
|
-
}, $jsx("div", {
|
|
46097
|
+
}, $jsx$1("div", {
|
|
46086
46098
|
class: "navbar-bg"
|
|
46087
|
-
}), $jsx("div", {
|
|
46099
|
+
}), $jsx$1("div", {
|
|
46088
46100
|
class: `navbar-inner ${ac.params.navbarColorTheme ? `color-${ac.params.navbarColorTheme}` : ''}`
|
|
46089
|
-
}, navbarLeft, pageTitle && $jsx("div", {
|
|
46101
|
+
}, navbarLeft, pageTitle && $jsx$1("div", {
|
|
46090
46102
|
class: "title sliding"
|
|
46091
|
-
}, pageTitle), navbarRight, $jsx("div", {
|
|
46103
|
+
}, pageTitle), navbarRight, $jsx$1("div", {
|
|
46092
46104
|
class: "subnavbar sliding"
|
|
46093
46105
|
}, ac.renderSearchbar())));
|
|
46094
46106
|
}
|
|
@@ -46096,46 +46108,46 @@
|
|
|
46096
46108
|
renderDropdown() {
|
|
46097
46109
|
const ac = this;
|
|
46098
46110
|
if (ac.params.renderDropdown) return ac.params.renderDropdown.call(ac, ac.items);
|
|
46099
|
-
return $jsx("div", {
|
|
46111
|
+
return $jsx$1("div", {
|
|
46100
46112
|
class: "autocomplete-dropdown"
|
|
46101
|
-
}, $jsx("div", {
|
|
46113
|
+
}, $jsx$1("div", {
|
|
46102
46114
|
class: "autocomplete-dropdown-inner"
|
|
46103
|
-
}, $jsx("div", {
|
|
46115
|
+
}, $jsx$1("div", {
|
|
46104
46116
|
class: `list ${!ac.params.expandInput ? 'no-safe-areas' : ''}`
|
|
46105
|
-
}, $jsx("ul", null))), ac.params.preloader && ac.renderPreloader());
|
|
46117
|
+
}, $jsx$1("ul", null))), ac.params.preloader && ac.renderPreloader());
|
|
46106
46118
|
}
|
|
46107
46119
|
|
|
46108
46120
|
renderPage(inPopup) {
|
|
46109
46121
|
const ac = this;
|
|
46110
46122
|
if (ac.params.renderPage) return ac.params.renderPage.call(ac, ac.items);
|
|
46111
|
-
return $jsx("div", {
|
|
46123
|
+
return $jsx$1("div", {
|
|
46112
46124
|
class: "page page-with-subnavbar autocomplete-page",
|
|
46113
46125
|
"data-name": "autocomplete-page"
|
|
46114
|
-
}, ac.renderNavbar(inPopup), $jsx("div", {
|
|
46126
|
+
}, ac.renderNavbar(inPopup), $jsx$1("div", {
|
|
46115
46127
|
class: "searchbar-backdrop"
|
|
46116
|
-
}), $jsx("div", {
|
|
46128
|
+
}), $jsx$1("div", {
|
|
46117
46129
|
class: "page-content"
|
|
46118
|
-
}, $jsx("div", {
|
|
46130
|
+
}, $jsx$1("div", {
|
|
46119
46131
|
class: `list autocomplete-list autocomplete-found autocomplete-list-${ac.id} ${ac.params.formColorTheme ? `color-${ac.params.formColorTheme}` : ''}`
|
|
46120
|
-
}, $jsx("ul", null)), $jsx("div", {
|
|
46132
|
+
}, $jsx$1("ul", null)), $jsx$1("div", {
|
|
46121
46133
|
class: "list autocomplete-not-found"
|
|
46122
|
-
}, $jsx("ul", null, $jsx("li", {
|
|
46134
|
+
}, $jsx$1("ul", null, $jsx$1("li", {
|
|
46123
46135
|
class: "item-content"
|
|
46124
|
-
}, $jsx("div", {
|
|
46136
|
+
}, $jsx$1("div", {
|
|
46125
46137
|
class: "item-inner"
|
|
46126
|
-
}, $jsx("div", {
|
|
46138
|
+
}, $jsx$1("div", {
|
|
46127
46139
|
class: "item-title"
|
|
46128
|
-
}, ac.params.notFoundText))))), $jsx("div", {
|
|
46140
|
+
}, ac.params.notFoundText))))), $jsx$1("div", {
|
|
46129
46141
|
class: "list autocomplete-values"
|
|
46130
|
-
}, $jsx("ul", null))));
|
|
46142
|
+
}, $jsx$1("ul", null))));
|
|
46131
46143
|
}
|
|
46132
46144
|
|
|
46133
46145
|
renderPopup() {
|
|
46134
46146
|
const ac = this;
|
|
46135
46147
|
if (ac.params.renderPopup) return ac.params.renderPopup.call(ac, ac.items);
|
|
46136
|
-
return $jsx("div", {
|
|
46148
|
+
return $jsx$1("div", {
|
|
46137
46149
|
class: "popup autocomplete-popup"
|
|
46138
|
-
}, $jsx("div", {
|
|
46150
|
+
}, $jsx$1("div", {
|
|
46139
46151
|
class: "view"
|
|
46140
46152
|
}, ac.renderPage(true), ";"));
|
|
46141
46153
|
}
|
|
@@ -47089,18 +47101,18 @@
|
|
|
47089
47101
|
const radius = self.calcRadius();
|
|
47090
47102
|
const length = self.calcBorderLength();
|
|
47091
47103
|
const progress = Math.max(Math.min(value, 1), 0);
|
|
47092
|
-
return $jsx("svg", {
|
|
47104
|
+
return $jsx$1("svg", {
|
|
47093
47105
|
class: "gauge-svg",
|
|
47094
47106
|
width: `${size}px`,
|
|
47095
47107
|
height: `${semiCircle ? size / 2 : size}px`,
|
|
47096
47108
|
viewBox: `0 0 ${size} ${semiCircle ? size / 2 : size}`
|
|
47097
|
-
}, semiCircle && $jsx("path", {
|
|
47109
|
+
}, semiCircle && $jsx$1("path", {
|
|
47098
47110
|
class: "gauge-back-semi",
|
|
47099
47111
|
d: `M${size - borderWidth / 2},${size / 2} a1,1 0 0,0 -${size - borderWidth},0`,
|
|
47100
47112
|
stroke: borderBgColor,
|
|
47101
47113
|
"stroke-width": borderWidth,
|
|
47102
47114
|
fill: bgColor || 'none'
|
|
47103
|
-
}), semiCircle && $jsx("path", {
|
|
47115
|
+
}), semiCircle && $jsx$1("path", {
|
|
47104
47116
|
class: "gauge-front-semi",
|
|
47105
47117
|
d: `M${size - borderWidth / 2},${size / 2} a1,1 0 0,0 -${size - borderWidth},0`,
|
|
47106
47118
|
stroke: borderColor,
|
|
@@ -47108,7 +47120,7 @@
|
|
|
47108
47120
|
"stroke-dasharray": length / 2,
|
|
47109
47121
|
"stroke-dashoffset": length / 2 * (1 + progress),
|
|
47110
47122
|
fill: borderBgColor ? 'none' : bgColor || 'none'
|
|
47111
|
-
}), !semiCircle && borderBgColor && $jsx("circle", {
|
|
47123
|
+
}), !semiCircle && borderBgColor && $jsx$1("circle", {
|
|
47112
47124
|
class: "gauge-back-circle",
|
|
47113
47125
|
stroke: borderBgColor,
|
|
47114
47126
|
"stroke-width": borderWidth,
|
|
@@ -47116,7 +47128,7 @@
|
|
|
47116
47128
|
cx: size / 2,
|
|
47117
47129
|
cy: size / 2,
|
|
47118
47130
|
r: radius
|
|
47119
|
-
}), !semiCircle && $jsx("circle", {
|
|
47131
|
+
}), !semiCircle && $jsx$1("circle", {
|
|
47120
47132
|
class: "gauge-front-circle",
|
|
47121
47133
|
transform: `rotate(-90 ${size / 2} ${size / 2})`,
|
|
47122
47134
|
stroke: borderColor,
|
|
@@ -47127,7 +47139,7 @@
|
|
|
47127
47139
|
cx: size / 2,
|
|
47128
47140
|
cy: size / 2,
|
|
47129
47141
|
r: radius
|
|
47130
|
-
}), valueText && $jsx("text", {
|
|
47142
|
+
}), valueText && $jsx$1("text", {
|
|
47131
47143
|
class: "gauge-value-text",
|
|
47132
47144
|
x: "50%",
|
|
47133
47145
|
y: semiCircle ? '100%' : '50%',
|
|
@@ -47137,7 +47149,7 @@
|
|
|
47137
47149
|
dy: semiCircle ? labelText ? -labelFontSize - 15 : -5 : 0,
|
|
47138
47150
|
"text-anchor": "middle",
|
|
47139
47151
|
"dominant-baseline": !semiCircle && 'middle'
|
|
47140
|
-
}, valueText), labelText && $jsx("text", {
|
|
47152
|
+
}, valueText), labelText && $jsx$1("text", {
|
|
47141
47153
|
class: "gauge-label-text",
|
|
47142
47154
|
x: "50%",
|
|
47143
47155
|
y: semiCircle ? '100%' : '50%',
|
|
@@ -47518,23 +47530,23 @@
|
|
|
47518
47530
|
sliderValueEditable,
|
|
47519
47531
|
alphaLabelText
|
|
47520
47532
|
} = self.params;
|
|
47521
|
-
return $jsx("div", {
|
|
47533
|
+
return $jsx$1("div", {
|
|
47522
47534
|
class: "color-picker-module color-picker-module-alpha-slider"
|
|
47523
|
-
}, $jsx("div", {
|
|
47535
|
+
}, $jsx$1("div", {
|
|
47524
47536
|
class: "color-picker-slider-wrap"
|
|
47525
|
-
}, sliderLabel && $jsx("div", {
|
|
47537
|
+
}, sliderLabel && $jsx$1("div", {
|
|
47526
47538
|
class: "color-picker-slider-label"
|
|
47527
|
-
}, alphaLabelText), $jsx("div", {
|
|
47539
|
+
}, alphaLabelText), $jsx$1("div", {
|
|
47528
47540
|
class: "range-slider color-picker-slider color-picker-slider-alpha"
|
|
47529
|
-
}), sliderValue && $jsx("div", {
|
|
47541
|
+
}), sliderValue && $jsx$1("div", {
|
|
47530
47542
|
class: "color-picker-slider-value"
|
|
47531
|
-
}, sliderValueEditable ? $jsx("input", {
|
|
47543
|
+
}, sliderValueEditable ? $jsx$1("input", {
|
|
47532
47544
|
type: "number",
|
|
47533
47545
|
step: "0.01",
|
|
47534
47546
|
min: "0",
|
|
47535
47547
|
max: "1",
|
|
47536
47548
|
class: "color-picker-value-alpha"
|
|
47537
|
-
}) : $jsx("span", {
|
|
47549
|
+
}) : $jsx$1("span", {
|
|
47538
47550
|
class: "color-picker-value-alpha"
|
|
47539
47551
|
}))));
|
|
47540
47552
|
},
|
|
@@ -47615,9 +47627,9 @@
|
|
|
47615
47627
|
/** @jsx $jsx */
|
|
47616
47628
|
var moduleCurrentColor = {
|
|
47617
47629
|
render() {
|
|
47618
|
-
return $jsx("div", {
|
|
47630
|
+
return $jsx$1("div", {
|
|
47619
47631
|
class: "color-picker-module color-picker-module-current-color"
|
|
47620
|
-
}, $jsx("div", {
|
|
47632
|
+
}, $jsx$1("div", {
|
|
47621
47633
|
class: "color-picker-current-color"
|
|
47622
47634
|
}));
|
|
47623
47635
|
},
|
|
@@ -47636,18 +47648,18 @@
|
|
|
47636
47648
|
hexLabelText,
|
|
47637
47649
|
hexValueEditable
|
|
47638
47650
|
} = self.params;
|
|
47639
|
-
return $jsx("div", {
|
|
47651
|
+
return $jsx$1("div", {
|
|
47640
47652
|
class: "color-picker-module color-picker-module-hex"
|
|
47641
|
-
}, $jsx("div", {
|
|
47653
|
+
}, $jsx$1("div", {
|
|
47642
47654
|
class: "color-picker-hex-wrap"
|
|
47643
|
-
}, hexLabel && $jsx("div", {
|
|
47655
|
+
}, hexLabel && $jsx$1("div", {
|
|
47644
47656
|
class: "color-picker-hex-label"
|
|
47645
|
-
}, hexLabelText), $jsx("div", {
|
|
47657
|
+
}, hexLabelText), $jsx$1("div", {
|
|
47646
47658
|
class: "color-picker-hex-value"
|
|
47647
|
-
}, hexValueEditable ? $jsx("input", {
|
|
47659
|
+
}, hexValueEditable ? $jsx$1("input", {
|
|
47648
47660
|
type: "text",
|
|
47649
47661
|
class: "color-picker-value-hex"
|
|
47650
|
-
}) : $jsx("span", {
|
|
47662
|
+
}) : $jsx$1("span", {
|
|
47651
47663
|
class: "color-picker-value-hex"
|
|
47652
47664
|
}))));
|
|
47653
47665
|
},
|
|
@@ -47721,58 +47733,58 @@
|
|
|
47721
47733
|
saturationLabelText,
|
|
47722
47734
|
brightnessLabelText
|
|
47723
47735
|
} = self.params;
|
|
47724
|
-
return $jsx("div", {
|
|
47736
|
+
return $jsx$1("div", {
|
|
47725
47737
|
class: "color-picker-module color-picker-module-hsb-sliders"
|
|
47726
|
-
}, $jsx("div", {
|
|
47738
|
+
}, $jsx$1("div", {
|
|
47727
47739
|
class: "color-picker-slider-wrap"
|
|
47728
|
-
}, sliderLabel && $jsx("div", {
|
|
47740
|
+
}, sliderLabel && $jsx$1("div", {
|
|
47729
47741
|
class: "color-picker-slider-label"
|
|
47730
|
-
}, hueLabelText), $jsx("div", {
|
|
47742
|
+
}, hueLabelText), $jsx$1("div", {
|
|
47731
47743
|
class: "range-slider color-picker-slider color-picker-slider-hue"
|
|
47732
|
-
}), sliderValue && $jsx("div", {
|
|
47744
|
+
}), sliderValue && $jsx$1("div", {
|
|
47733
47745
|
class: "color-picker-slider-value"
|
|
47734
|
-
}, sliderValueEditable ? $jsx("input", {
|
|
47746
|
+
}, sliderValueEditable ? $jsx$1("input", {
|
|
47735
47747
|
type: "number",
|
|
47736
47748
|
step: "0.1",
|
|
47737
47749
|
min: "0",
|
|
47738
47750
|
max: "360",
|
|
47739
47751
|
class: "color-picker-value-hue",
|
|
47740
47752
|
"data-color-index": "0"
|
|
47741
|
-
}) : $jsx("span", {
|
|
47753
|
+
}) : $jsx$1("span", {
|
|
47742
47754
|
class: "color-picker-value-hue"
|
|
47743
|
-
}))), $jsx("div", {
|
|
47755
|
+
}))), $jsx$1("div", {
|
|
47744
47756
|
class: "color-picker-slider-wrap"
|
|
47745
|
-
}, sliderLabel && $jsx("div", {
|
|
47757
|
+
}, sliderLabel && $jsx$1("div", {
|
|
47746
47758
|
class: "color-picker-slider-label"
|
|
47747
|
-
}, saturationLabelText), $jsx("div", {
|
|
47759
|
+
}, saturationLabelText), $jsx$1("div", {
|
|
47748
47760
|
class: "range-slider color-picker-slider color-picker-slider-saturation"
|
|
47749
|
-
}), sliderValue && $jsx("div", {
|
|
47761
|
+
}), sliderValue && $jsx$1("div", {
|
|
47750
47762
|
class: "color-picker-slider-value"
|
|
47751
|
-
}, sliderValueEditable ? $jsx("input", {
|
|
47763
|
+
}, sliderValueEditable ? $jsx$1("input", {
|
|
47752
47764
|
type: "number",
|
|
47753
47765
|
step: "0.1",
|
|
47754
47766
|
min: "0",
|
|
47755
47767
|
max: "100",
|
|
47756
47768
|
class: "color-picker-value-saturation",
|
|
47757
47769
|
"data-color-index": "1"
|
|
47758
|
-
}) : $jsx("span", {
|
|
47770
|
+
}) : $jsx$1("span", {
|
|
47759
47771
|
class: "color-picker-value-saturation"
|
|
47760
|
-
}))), $jsx("div", {
|
|
47772
|
+
}))), $jsx$1("div", {
|
|
47761
47773
|
class: "color-picker-slider-wrap"
|
|
47762
|
-
}, sliderLabel && $jsx("div", {
|
|
47774
|
+
}, sliderLabel && $jsx$1("div", {
|
|
47763
47775
|
class: "color-picker-slider-label"
|
|
47764
|
-
}, brightnessLabelText), $jsx("div", {
|
|
47776
|
+
}, brightnessLabelText), $jsx$1("div", {
|
|
47765
47777
|
class: "range-slider color-picker-slider color-picker-slider-brightness"
|
|
47766
|
-
}), sliderValue && $jsx("div", {
|
|
47778
|
+
}), sliderValue && $jsx$1("div", {
|
|
47767
47779
|
class: "color-picker-slider-value"
|
|
47768
|
-
}, sliderValueEditable ? $jsx("input", {
|
|
47780
|
+
}, sliderValueEditable ? $jsx$1("input", {
|
|
47769
47781
|
type: "number",
|
|
47770
47782
|
step: "0.1",
|
|
47771
47783
|
min: "0",
|
|
47772
47784
|
max: "100",
|
|
47773
47785
|
class: "color-picker-value-brightness",
|
|
47774
47786
|
"data-color-index": "2"
|
|
47775
|
-
}) : $jsx("span", {
|
|
47787
|
+
}) : $jsx$1("span", {
|
|
47776
47788
|
class: "color-picker-value-brightness"
|
|
47777
47789
|
}))));
|
|
47778
47790
|
},
|
|
@@ -47925,23 +47937,23 @@
|
|
|
47925
47937
|
sliderValueEditable,
|
|
47926
47938
|
hueLabelText
|
|
47927
47939
|
} = self.params;
|
|
47928
|
-
return $jsx("div", {
|
|
47940
|
+
return $jsx$1("div", {
|
|
47929
47941
|
class: "color-picker-module color-picker-module-hue-slider"
|
|
47930
|
-
}, $jsx("div", {
|
|
47942
|
+
}, $jsx$1("div", {
|
|
47931
47943
|
class: "color-picker-slider-wrap"
|
|
47932
|
-
}, sliderLabel && $jsx("div", {
|
|
47944
|
+
}, sliderLabel && $jsx$1("div", {
|
|
47933
47945
|
class: "color-picker-slider-label"
|
|
47934
|
-
}, hueLabelText), $jsx("div", {
|
|
47946
|
+
}, hueLabelText), $jsx$1("div", {
|
|
47935
47947
|
class: "range-slider color-picker-slider color-picker-slider-hue"
|
|
47936
|
-
}), sliderValue && $jsx("div", {
|
|
47948
|
+
}), sliderValue && $jsx$1("div", {
|
|
47937
47949
|
class: "color-picker-slider-value"
|
|
47938
|
-
}, sliderValueEditable ? $jsx("input", {
|
|
47950
|
+
}, sliderValueEditable ? $jsx$1("input", {
|
|
47939
47951
|
type: "number",
|
|
47940
47952
|
step: "0.1",
|
|
47941
47953
|
min: "0",
|
|
47942
47954
|
max: "360",
|
|
47943
47955
|
class: "color-picker-value-hue"
|
|
47944
|
-
}) : $jsx("span", {
|
|
47956
|
+
}) : $jsx$1("span", {
|
|
47945
47957
|
class: "color-picker-value-hue"
|
|
47946
47958
|
}))));
|
|
47947
47959
|
},
|
|
@@ -48004,23 +48016,23 @@
|
|
|
48004
48016
|
sliderValueEditable,
|
|
48005
48017
|
brightnessLabelText
|
|
48006
48018
|
} = self.params;
|
|
48007
|
-
return $jsx("div", {
|
|
48019
|
+
return $jsx$1("div", {
|
|
48008
48020
|
class: "color-picker-module color-picker-module-brightness-slider"
|
|
48009
|
-
}, $jsx("div", {
|
|
48021
|
+
}, $jsx$1("div", {
|
|
48010
48022
|
class: "color-picker-slider-wrap"
|
|
48011
|
-
}, sliderLabel && $jsx("div", {
|
|
48023
|
+
}, sliderLabel && $jsx$1("div", {
|
|
48012
48024
|
class: "color-picker-slider-label"
|
|
48013
|
-
}, brightnessLabelText), $jsx("div", {
|
|
48025
|
+
}, brightnessLabelText), $jsx$1("div", {
|
|
48014
48026
|
class: "range-slider color-picker-slider color-picker-slider-brightness"
|
|
48015
|
-
}), sliderValue && $jsx("div", {
|
|
48027
|
+
}), sliderValue && $jsx$1("div", {
|
|
48016
48028
|
class: "color-picker-slider-value"
|
|
48017
|
-
}, sliderValueEditable ? $jsx("input", {
|
|
48029
|
+
}, sliderValueEditable ? $jsx$1("input", {
|
|
48018
48030
|
type: "number",
|
|
48019
48031
|
step: "0.1",
|
|
48020
48032
|
min: "0",
|
|
48021
48033
|
max: "100",
|
|
48022
48034
|
class: "color-picker-value-brightness"
|
|
48023
|
-
}) : $jsx("span", {
|
|
48035
|
+
}) : $jsx$1("span", {
|
|
48024
48036
|
class: "color-picker-value-brightness"
|
|
48025
48037
|
}))));
|
|
48026
48038
|
},
|
|
@@ -48084,9 +48096,9 @@
|
|
|
48084
48096
|
/* eslint indent: ["off"] */
|
|
48085
48097
|
var modulePalette = {
|
|
48086
48098
|
render(self) {
|
|
48087
|
-
return $jsx("div", {
|
|
48099
|
+
return $jsx$1("div", {
|
|
48088
48100
|
class: "color-picker-module color-picker-module-palette"
|
|
48089
|
-
}, $jsx("div", {
|
|
48101
|
+
}, $jsx$1("div", {
|
|
48090
48102
|
class: "color-picker-palette"
|
|
48091
48103
|
}, self.params.palette.map(p => {
|
|
48092
48104
|
if (Array.isArray(p)) {
|
|
@@ -48099,7 +48111,7 @@
|
|
|
48099
48111
|
return row;
|
|
48100
48112
|
}
|
|
48101
48113
|
|
|
48102
|
-
return $jsx("div", {
|
|
48114
|
+
return $jsx$1("div", {
|
|
48103
48115
|
class: "color-picker-palette-value",
|
|
48104
48116
|
"data-palette-color": p,
|
|
48105
48117
|
style: `background-color: ${p}`
|
|
@@ -48135,13 +48147,13 @@
|
|
|
48135
48147
|
/** @jsx $jsx */
|
|
48136
48148
|
var moduleInitialCurrentColors = {
|
|
48137
48149
|
render() {
|
|
48138
|
-
return $jsx("div", {
|
|
48150
|
+
return $jsx$1("div", {
|
|
48139
48151
|
class: "color-picker-module color-picker-module-initial-current-colors"
|
|
48140
|
-
}, $jsx("div", {
|
|
48152
|
+
}, $jsx$1("div", {
|
|
48141
48153
|
class: "color-picker-initial-current-colors"
|
|
48142
|
-
}, $jsx("div", {
|
|
48154
|
+
}, $jsx$1("div", {
|
|
48143
48155
|
class: "color-picker-initial-color"
|
|
48144
|
-
}), $jsx("div", {
|
|
48156
|
+
}), $jsx$1("div", {
|
|
48145
48157
|
class: "color-picker-current-color"
|
|
48146
48158
|
})));
|
|
48147
48159
|
},
|
|
@@ -48192,58 +48204,58 @@
|
|
|
48192
48204
|
greenLabelText,
|
|
48193
48205
|
blueLabelText
|
|
48194
48206
|
} = self.params;
|
|
48195
|
-
return $jsx("div", {
|
|
48207
|
+
return $jsx$1("div", {
|
|
48196
48208
|
class: "color-picker-module color-picker-module-rgb-bars"
|
|
48197
|
-
}, $jsx("div", {
|
|
48209
|
+
}, $jsx$1("div", {
|
|
48198
48210
|
class: "color-picker-bar-wrap"
|
|
48199
|
-
}, barLabel && $jsx("div", {
|
|
48211
|
+
}, barLabel && $jsx$1("div", {
|
|
48200
48212
|
class: "color-picker-bar-label"
|
|
48201
|
-
}, redLabelText), $jsx("div", {
|
|
48213
|
+
}, redLabelText), $jsx$1("div", {
|
|
48202
48214
|
class: "range-slider color-picker-bar color-picker-bar-red"
|
|
48203
|
-
}), barValue && $jsx("div", {
|
|
48215
|
+
}), barValue && $jsx$1("div", {
|
|
48204
48216
|
class: "color-picker-bar-value"
|
|
48205
|
-
}, barValueEditable ? $jsx("input", {
|
|
48217
|
+
}, barValueEditable ? $jsx$1("input", {
|
|
48206
48218
|
type: "number",
|
|
48207
48219
|
step: "1",
|
|
48208
48220
|
min: "0",
|
|
48209
48221
|
max: "255",
|
|
48210
48222
|
class: "color-picker-value-bar-red",
|
|
48211
48223
|
"data-color-index": "0"
|
|
48212
|
-
}) : $jsx("span", {
|
|
48224
|
+
}) : $jsx$1("span", {
|
|
48213
48225
|
class: "color-picker-value-bar-red"
|
|
48214
|
-
}))), $jsx("div", {
|
|
48226
|
+
}))), $jsx$1("div", {
|
|
48215
48227
|
class: "color-picker-bar-wrap"
|
|
48216
|
-
}, barLabel && $jsx("div", {
|
|
48228
|
+
}, barLabel && $jsx$1("div", {
|
|
48217
48229
|
class: "color-picker-bar-label"
|
|
48218
|
-
}, greenLabelText), $jsx("div", {
|
|
48230
|
+
}, greenLabelText), $jsx$1("div", {
|
|
48219
48231
|
class: "range-slider color-picker-bar color-picker-bar-green"
|
|
48220
|
-
}), barValue && $jsx("div", {
|
|
48232
|
+
}), barValue && $jsx$1("div", {
|
|
48221
48233
|
class: "color-picker-bar-value"
|
|
48222
|
-
}, barValueEditable ? $jsx("input", {
|
|
48234
|
+
}, barValueEditable ? $jsx$1("input", {
|
|
48223
48235
|
type: "number",
|
|
48224
48236
|
step: "1",
|
|
48225
48237
|
min: "0",
|
|
48226
48238
|
max: "255",
|
|
48227
48239
|
class: "color-picker-value-bar-green",
|
|
48228
48240
|
"data-color-index": "1"
|
|
48229
|
-
}) : $jsx("span", {
|
|
48241
|
+
}) : $jsx$1("span", {
|
|
48230
48242
|
class: "color-picker-value-bar-green"
|
|
48231
|
-
}))), $jsx("div", {
|
|
48243
|
+
}))), $jsx$1("div", {
|
|
48232
48244
|
class: "color-picker-bar-wrap"
|
|
48233
|
-
}, barLabel && $jsx("div", {
|
|
48245
|
+
}, barLabel && $jsx$1("div", {
|
|
48234
48246
|
class: "color-picker-bar-label"
|
|
48235
|
-
}, blueLabelText), $jsx("div", {
|
|
48247
|
+
}, blueLabelText), $jsx$1("div", {
|
|
48236
48248
|
class: "range-slider color-picker-bar color-picker-bar-blue"
|
|
48237
|
-
}), barValue && $jsx("div", {
|
|
48249
|
+
}), barValue && $jsx$1("div", {
|
|
48238
48250
|
class: "color-picker-bar-value"
|
|
48239
|
-
}, barValueEditable ? $jsx("input", {
|
|
48251
|
+
}, barValueEditable ? $jsx$1("input", {
|
|
48240
48252
|
type: "number",
|
|
48241
48253
|
step: "1",
|
|
48242
48254
|
min: "0",
|
|
48243
48255
|
max: "255",
|
|
48244
48256
|
class: "color-picker-value-bar-blue",
|
|
48245
48257
|
"data-color-index": "2"
|
|
48246
|
-
}) : $jsx("span", {
|
|
48258
|
+
}) : $jsx$1("span", {
|
|
48247
48259
|
class: "color-picker-value-bar-blue"
|
|
48248
48260
|
}))));
|
|
48249
48261
|
},
|
|
@@ -48389,58 +48401,58 @@
|
|
|
48389
48401
|
greenLabelText,
|
|
48390
48402
|
blueLabelText
|
|
48391
48403
|
} = self.params;
|
|
48392
|
-
return $jsx("div", {
|
|
48404
|
+
return $jsx$1("div", {
|
|
48393
48405
|
class: "color-picker-module color-picker-module-rgb-sliders"
|
|
48394
|
-
}, $jsx("div", {
|
|
48406
|
+
}, $jsx$1("div", {
|
|
48395
48407
|
class: "color-picker-slider-wrap"
|
|
48396
|
-
}, sliderLabel && $jsx("div", {
|
|
48408
|
+
}, sliderLabel && $jsx$1("div", {
|
|
48397
48409
|
class: "color-picker-slider-label"
|
|
48398
|
-
}, redLabelText), $jsx("div", {
|
|
48410
|
+
}, redLabelText), $jsx$1("div", {
|
|
48399
48411
|
class: "range-slider color-picker-slider color-picker-slider-red"
|
|
48400
|
-
}), sliderValue && $jsx("div", {
|
|
48412
|
+
}), sliderValue && $jsx$1("div", {
|
|
48401
48413
|
class: "color-picker-slider-value"
|
|
48402
|
-
}, sliderValueEditable ? $jsx("input", {
|
|
48414
|
+
}, sliderValueEditable ? $jsx$1("input", {
|
|
48403
48415
|
type: "number",
|
|
48404
48416
|
step: "1",
|
|
48405
48417
|
min: "0",
|
|
48406
48418
|
max: "255",
|
|
48407
48419
|
class: "color-picker-value-red",
|
|
48408
48420
|
"data-color-index": "0"
|
|
48409
|
-
}) : $jsx("span", {
|
|
48421
|
+
}) : $jsx$1("span", {
|
|
48410
48422
|
class: "color-picker-value-red"
|
|
48411
|
-
}))), $jsx("div", {
|
|
48423
|
+
}))), $jsx$1("div", {
|
|
48412
48424
|
class: "color-picker-slider-wrap"
|
|
48413
|
-
}, sliderLabel && $jsx("div", {
|
|
48425
|
+
}, sliderLabel && $jsx$1("div", {
|
|
48414
48426
|
class: "color-picker-slider-label"
|
|
48415
|
-
}, greenLabelText), $jsx("div", {
|
|
48427
|
+
}, greenLabelText), $jsx$1("div", {
|
|
48416
48428
|
class: "range-slider color-picker-slider color-picker-slider-green"
|
|
48417
|
-
}), sliderValue && $jsx("div", {
|
|
48429
|
+
}), sliderValue && $jsx$1("div", {
|
|
48418
48430
|
class: "color-picker-slider-value"
|
|
48419
|
-
}, sliderValueEditable ? $jsx("input", {
|
|
48431
|
+
}, sliderValueEditable ? $jsx$1("input", {
|
|
48420
48432
|
type: "number",
|
|
48421
48433
|
step: "1",
|
|
48422
48434
|
min: "0",
|
|
48423
48435
|
max: "255",
|
|
48424
48436
|
class: "color-picker-value-green",
|
|
48425
48437
|
"data-color-index": "1"
|
|
48426
|
-
}) : $jsx("span", {
|
|
48438
|
+
}) : $jsx$1("span", {
|
|
48427
48439
|
class: "color-picker-value-green"
|
|
48428
|
-
}))), $jsx("div", {
|
|
48440
|
+
}))), $jsx$1("div", {
|
|
48429
48441
|
class: "color-picker-slider-wrap"
|
|
48430
|
-
}, sliderLabel && $jsx("div", {
|
|
48442
|
+
}, sliderLabel && $jsx$1("div", {
|
|
48431
48443
|
class: "color-picker-slider-label"
|
|
48432
|
-
}, blueLabelText), $jsx("div", {
|
|
48444
|
+
}, blueLabelText), $jsx$1("div", {
|
|
48433
48445
|
class: "range-slider color-picker-slider color-picker-slider-blue"
|
|
48434
|
-
}), sliderValue && $jsx("div", {
|
|
48446
|
+
}), sliderValue && $jsx$1("div", {
|
|
48435
48447
|
class: "color-picker-slider-value"
|
|
48436
|
-
}, sliderValueEditable ? $jsx("input", {
|
|
48448
|
+
}, sliderValueEditable ? $jsx$1("input", {
|
|
48437
48449
|
type: "number",
|
|
48438
48450
|
step: "1",
|
|
48439
48451
|
min: "0",
|
|
48440
48452
|
max: "255",
|
|
48441
48453
|
class: "color-picker-value-blue",
|
|
48442
48454
|
"data-color-index": "2"
|
|
48443
|
-
}) : $jsx("span", {
|
|
48455
|
+
}) : $jsx$1("span", {
|
|
48444
48456
|
class: "color-picker-value-blue"
|
|
48445
48457
|
}))));
|
|
48446
48458
|
},
|
|
@@ -48580,12 +48592,12 @@
|
|
|
48580
48592
|
|
|
48581
48593
|
var moduleSbSpectrum = {
|
|
48582
48594
|
render() {
|
|
48583
|
-
return $jsx("div", {
|
|
48595
|
+
return $jsx$1("div", {
|
|
48584
48596
|
class: "color-picker-module color-picker-module-sb-spectrum"
|
|
48585
|
-
}, $jsx("div", {
|
|
48597
|
+
}, $jsx$1("div", {
|
|
48586
48598
|
class: "color-picker-sb-spectrum",
|
|
48587
48599
|
style: "background-color: hsl(0, 100%, 50%)"
|
|
48588
|
-
}, $jsx("div", {
|
|
48600
|
+
}, $jsx$1("div", {
|
|
48589
48601
|
class: "color-picker-sb-spectrum-handle"
|
|
48590
48602
|
})));
|
|
48591
48603
|
},
|
|
@@ -48715,11 +48727,11 @@
|
|
|
48715
48727
|
|
|
48716
48728
|
var moduleHsSpectrum = {
|
|
48717
48729
|
render() {
|
|
48718
|
-
return $jsx("div", {
|
|
48730
|
+
return $jsx$1("div", {
|
|
48719
48731
|
class: "color-picker-module color-picker-module-hs-spectrum"
|
|
48720
|
-
}, $jsx("div", {
|
|
48732
|
+
}, $jsx$1("div", {
|
|
48721
48733
|
class: "color-picker-hs-spectrum"
|
|
48722
|
-
}, $jsx("div", {
|
|
48734
|
+
}, $jsx$1("div", {
|
|
48723
48735
|
class: "color-picker-hs-spectrum-handle"
|
|
48724
48736
|
})));
|
|
48725
48737
|
},
|
|
@@ -48861,20 +48873,20 @@
|
|
|
48861
48873
|
|
|
48862
48874
|
var moduleWheel = {
|
|
48863
48875
|
render() {
|
|
48864
|
-
return $jsx("div", {
|
|
48876
|
+
return $jsx$1("div", {
|
|
48865
48877
|
class: "color-picker-module color-picker-module-wheel"
|
|
48866
|
-
}, $jsx("div", {
|
|
48878
|
+
}, $jsx$1("div", {
|
|
48867
48879
|
class: "color-picker-wheel"
|
|
48868
|
-
}, $jsx("svg", {
|
|
48880
|
+
}, $jsx$1("svg", {
|
|
48869
48881
|
viewBox: "0 0 300 300",
|
|
48870
48882
|
width: "300",
|
|
48871
48883
|
height: "300"
|
|
48872
|
-
}, svgWheelCircles()), $jsx("div", {
|
|
48884
|
+
}, svgWheelCircles()), $jsx$1("div", {
|
|
48873
48885
|
class: "color-picker-wheel-handle"
|
|
48874
|
-
}), $jsx("div", {
|
|
48886
|
+
}), $jsx$1("div", {
|
|
48875
48887
|
class: "color-picker-sb-spectrum",
|
|
48876
48888
|
style: "background-color: hsl(0, 100%, 50%)"
|
|
48877
|
-
}, $jsx("div", {
|
|
48889
|
+
}, $jsx$1("div", {
|
|
48878
48890
|
class: "color-picker-sb-spectrum-handle"
|
|
48879
48891
|
}))));
|
|
48880
48892
|
},
|
|
@@ -49519,25 +49531,25 @@
|
|
|
49519
49531
|
navbarBackLinkText,
|
|
49520
49532
|
navbarCloseText
|
|
49521
49533
|
} = self.params;
|
|
49522
|
-
return $jsx("div", {
|
|
49534
|
+
return $jsx$1("div", {
|
|
49523
49535
|
class: "navbar"
|
|
49524
|
-
}, $jsx("div", {
|
|
49536
|
+
}, $jsx$1("div", {
|
|
49525
49537
|
class: "navbar-bg"
|
|
49526
|
-
}), $jsx("div", {
|
|
49538
|
+
}), $jsx$1("div", {
|
|
49527
49539
|
class: "navbar-inner sliding"
|
|
49528
|
-
}, openIn === 'page' && $jsx("div", {
|
|
49540
|
+
}, openIn === 'page' && $jsx$1("div", {
|
|
49529
49541
|
class: "left"
|
|
49530
|
-
}, $jsx("a", {
|
|
49542
|
+
}, $jsx$1("a", {
|
|
49531
49543
|
class: "link back"
|
|
49532
|
-
}, $jsx("i", {
|
|
49544
|
+
}, $jsx$1("i", {
|
|
49533
49545
|
class: "icon icon-back"
|
|
49534
|
-
}), $jsx("span", {
|
|
49546
|
+
}), $jsx$1("span", {
|
|
49535
49547
|
class: "if-not-md"
|
|
49536
|
-
}, navbarBackLinkText))), $jsx("div", {
|
|
49548
|
+
}, navbarBackLinkText))), $jsx$1("div", {
|
|
49537
49549
|
class: "title"
|
|
49538
|
-
}, navbarTitleText), openIn !== 'page' && $jsx("div", {
|
|
49550
|
+
}, navbarTitleText), openIn !== 'page' && $jsx$1("div", {
|
|
49539
49551
|
class: "right"
|
|
49540
|
-
}, $jsx("a", {
|
|
49552
|
+
}, $jsx$1("a", {
|
|
49541
49553
|
class: "link popup-close",
|
|
49542
49554
|
"data-popup": ".color-picker-popup"
|
|
49543
49555
|
}, navbarCloseText))));
|
|
@@ -49550,15 +49562,15 @@
|
|
|
49550
49562
|
return self.params.renderToolbar.call(self, self);
|
|
49551
49563
|
}
|
|
49552
49564
|
|
|
49553
|
-
return $jsx("div", {
|
|
49565
|
+
return $jsx$1("div", {
|
|
49554
49566
|
class: "toolbar toolbar-top no-shadow"
|
|
49555
|
-
}, $jsx("div", {
|
|
49567
|
+
}, $jsx$1("div", {
|
|
49556
49568
|
class: "toolbar-inner"
|
|
49557
|
-
}, $jsx("div", {
|
|
49569
|
+
}, $jsx$1("div", {
|
|
49558
49570
|
class: "left"
|
|
49559
|
-
}), $jsx("div", {
|
|
49571
|
+
}), $jsx$1("div", {
|
|
49560
49572
|
class: "right"
|
|
49561
|
-
}, $jsx("a", {
|
|
49573
|
+
}, $jsx$1("a", {
|
|
49562
49574
|
class: "link sheet-close popover-close",
|
|
49563
49575
|
"data-sheet": ".color-picker-sheet-modal",
|
|
49564
49576
|
"data-popover": ".color-picker-popover"
|
|
@@ -49571,7 +49583,7 @@
|
|
|
49571
49583
|
cssClass,
|
|
49572
49584
|
groupedModules
|
|
49573
49585
|
} = self.params;
|
|
49574
|
-
return $jsx("div", {
|
|
49586
|
+
return $jsx$1("div", {
|
|
49575
49587
|
class: `color-picker color-picker-inline ${groupedModules ? 'color-picker-grouped-modules' : ''} ${cssClass || ''}`
|
|
49576
49588
|
}, self.renderPicker());
|
|
49577
49589
|
}
|
|
@@ -49583,11 +49595,11 @@
|
|
|
49583
49595
|
toolbarSheet,
|
|
49584
49596
|
groupedModules
|
|
49585
49597
|
} = self.params;
|
|
49586
|
-
return $jsx("div", {
|
|
49598
|
+
return $jsx$1("div", {
|
|
49587
49599
|
class: `sheet-modal color-picker color-picker-sheet-modal ${groupedModules ? 'color-picker-grouped-modules' : ''} ${cssClass || ''}`
|
|
49588
|
-
}, toolbarSheet && self.renderToolbar(), $jsx("div", {
|
|
49600
|
+
}, toolbarSheet && self.renderToolbar(), $jsx$1("div", {
|
|
49589
49601
|
class: "sheet-modal-inner"
|
|
49590
|
-
}, $jsx("div", {
|
|
49602
|
+
}, $jsx$1("div", {
|
|
49591
49603
|
class: "page-content"
|
|
49592
49604
|
}, self.renderPicker())));
|
|
49593
49605
|
}
|
|
@@ -49599,13 +49611,13 @@
|
|
|
49599
49611
|
toolbarPopover,
|
|
49600
49612
|
groupedModules
|
|
49601
49613
|
} = self.params;
|
|
49602
|
-
return $jsx("div", {
|
|
49614
|
+
return $jsx$1("div", {
|
|
49603
49615
|
class: `popover color-picker-popover ${cssClass || ''}`
|
|
49604
|
-
}, $jsx("div", {
|
|
49616
|
+
}, $jsx$1("div", {
|
|
49605
49617
|
class: "popover-inner"
|
|
49606
|
-
}, $jsx("div", {
|
|
49618
|
+
}, $jsx$1("div", {
|
|
49607
49619
|
class: `color-picker ${groupedModules ? 'color-picker-grouped-modules' : ''}`
|
|
49608
|
-
}, toolbarPopover && self.renderToolbar(), $jsx("div", {
|
|
49620
|
+
}, toolbarPopover && self.renderToolbar(), $jsx$1("div", {
|
|
49609
49621
|
class: "page-content"
|
|
49610
49622
|
}, self.renderPicker()))));
|
|
49611
49623
|
}
|
|
@@ -49617,13 +49629,13 @@
|
|
|
49617
49629
|
navbarPopup,
|
|
49618
49630
|
groupedModules
|
|
49619
49631
|
} = self.params;
|
|
49620
|
-
return $jsx("div", {
|
|
49632
|
+
return $jsx$1("div", {
|
|
49621
49633
|
class: `popup color-picker-popup ${cssClass || ''}`
|
|
49622
|
-
}, $jsx("div", {
|
|
49634
|
+
}, $jsx$1("div", {
|
|
49623
49635
|
class: "page"
|
|
49624
|
-
}, navbarPopup && self.renderNavbar(), $jsx("div", {
|
|
49636
|
+
}, navbarPopup && self.renderNavbar(), $jsx$1("div", {
|
|
49625
49637
|
class: `color-picker ${groupedModules ? 'color-picker-grouped-modules' : ''}`
|
|
49626
|
-
}, $jsx("div", {
|
|
49638
|
+
}, $jsx$1("div", {
|
|
49627
49639
|
class: "page-content"
|
|
49628
49640
|
}, self.renderPicker()))));
|
|
49629
49641
|
}
|
|
@@ -49634,12 +49646,12 @@
|
|
|
49634
49646
|
cssClass,
|
|
49635
49647
|
groupedModules
|
|
49636
49648
|
} = self.params;
|
|
49637
|
-
return $jsx("div", {
|
|
49649
|
+
return $jsx$1("div", {
|
|
49638
49650
|
class: `page color-picker-page ${cssClass || ''}`,
|
|
49639
49651
|
"data-name": "color-picker-page"
|
|
49640
|
-
}, self.renderNavbar(), $jsx("div", {
|
|
49652
|
+
}, self.renderNavbar(), $jsx$1("div", {
|
|
49641
49653
|
class: `color-picker ${groupedModules ? 'color-picker-grouped-modules' : ''}`
|
|
49642
|
-
}, $jsx("div", {
|
|
49654
|
+
}, $jsx$1("div", {
|
|
49643
49655
|
class: "page-content"
|
|
49644
49656
|
}, self.renderPicker())));
|
|
49645
49657
|
} // eslint-disable-next-line
|
|
@@ -51043,12 +51055,12 @@
|
|
|
51043
51055
|
const self = this;
|
|
51044
51056
|
const size = self.params.size;
|
|
51045
51057
|
const paths = self.getPaths();
|
|
51046
|
-
return $jsx("svg", {
|
|
51058
|
+
return $jsx$1("svg", {
|
|
51047
51059
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51048
51060
|
width: size,
|
|
51049
51061
|
viewBox: `-${size / 3} -${size / 3} ${size * 2 / 3} ${size * 2 / 3}`,
|
|
51050
51062
|
style: "transform: rotate(-90deg)"
|
|
51051
|
-
}, paths.map((path, index) => $jsx("path", {
|
|
51063
|
+
}, paths.map((path, index) => $jsx$1("path", {
|
|
51052
51064
|
d: path.points,
|
|
51053
51065
|
fill: path.color,
|
|
51054
51066
|
"data-index": index
|
|
@@ -51569,36 +51581,36 @@
|
|
|
51569
51581
|
const verticalLines = self.getVerticalLines();
|
|
51570
51582
|
const visibleLegends = self.getVisibleLabels();
|
|
51571
51583
|
const LegendItemTag = toggleDatasets ? 'button' : 'span';
|
|
51572
|
-
return $jsx("div", null, $jsx("svg", {
|
|
51584
|
+
return $jsx$1("div", null, $jsx$1("svg", {
|
|
51573
51585
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51574
51586
|
width: width,
|
|
51575
51587
|
height: height,
|
|
51576
51588
|
viewBox: `0 0 ${width} ${height}`,
|
|
51577
51589
|
preserveAspectRatio: "none"
|
|
51578
|
-
}, chartData.map(data => lineChart ? $jsx("path", {
|
|
51590
|
+
}, chartData.map(data => lineChart ? $jsx$1("path", {
|
|
51579
51591
|
stroke: data.color,
|
|
51580
51592
|
"fill-rule": "evenodd",
|
|
51581
51593
|
d: data.points
|
|
51582
|
-
}) : $jsx("polygon", {
|
|
51594
|
+
}) : $jsx$1("polygon", {
|
|
51583
51595
|
fill: data.color,
|
|
51584
51596
|
"fill-rule": "evenodd",
|
|
51585
51597
|
points: data.points
|
|
51586
|
-
})), verticalLines.map((line, index) => $jsx("line", {
|
|
51598
|
+
})), verticalLines.map((line, index) => $jsx$1("line", {
|
|
51587
51599
|
"data-index": index,
|
|
51588
51600
|
fill: "#000",
|
|
51589
51601
|
x1: line,
|
|
51590
51602
|
y1: 0,
|
|
51591
51603
|
x2: line,
|
|
51592
51604
|
y2: height
|
|
51593
|
-
}))), axis && $jsx("div", {
|
|
51605
|
+
}))), axis && $jsx$1("div", {
|
|
51594
51606
|
class: "area-chart-axis"
|
|
51595
|
-
}, axisLabels.map(label => $jsx("span", null, visibleLegends.includes(label) && $jsx("span", null, self.formatAxisLabel(label))))), legend && $jsx("div", {
|
|
51607
|
+
}, axisLabels.map(label => $jsx$1("span", null, visibleLegends.includes(label) && $jsx$1("span", null, self.formatAxisLabel(label))))), legend && $jsx$1("div", {
|
|
51596
51608
|
class: "area-chart-legend"
|
|
51597
|
-
}, datasets.map((dataset, index) => $jsx(LegendItemTag, {
|
|
51609
|
+
}, datasets.map((dataset, index) => $jsx$1(LegendItemTag, {
|
|
51598
51610
|
"data-index": index,
|
|
51599
51611
|
class: `area-chart-legend-item ${toggleDatasets ? 'area-chart-legend-button' : ''}`,
|
|
51600
51612
|
_type: toggleDatasets ? 'button' : undefined
|
|
51601
|
-
}, $jsx("span", {
|
|
51613
|
+
}, $jsx$1("span", {
|
|
51602
51614
|
style: `background-color: ${dataset.color}`
|
|
51603
51615
|
}), self.formatLegendLabel(dataset.label)))));
|
|
51604
51616
|
}
|