@limetech/lime-elements 35.0.0 → 35.0.1-next.3
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/dist/cjs/{_arrayIncludesWith-36a6fafb.js → _arrayIncludesWith-29083f83.js} +5 -4
- package/dist/cjs/{_assignValue-c9fc3712.js → _assignValue-7c18d8d6.js} +1 -1
- package/dist/cjs/_defineProperty-8f56146d.js +13 -0
- package/dist/cjs/{_defineProperty-8351e789.js → _getNative-60328036.js} +0 -9
- package/dist/cjs/{dateFormatter-34b77ead.js → dateFormatter-05d80b12.js} +1 -1
- package/dist/cjs/identity-6dc34885.js +44 -0
- package/dist/cjs/{isEqual-e3b9c27c.js → isEqual-d2a13a24.js} +13 -55
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker-palette_2.cjs.entry.js +4 -3
- package/dist/cjs/limel-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/limel-dialog.cjs.entry.js +26 -9
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +70 -66
- package/dist/cjs/limel-form.cjs.entry.js +20439 -20437
- package/dist/cjs/limel-header.cjs.entry.js +3 -3
- package/dist/cjs/limel-menu.cjs.entry.js +4 -3
- package/dist/cjs/limel-picker.cjs.entry.js +2 -1
- package/dist/cjs/limel-tab-bar.cjs.entry.js +6 -4
- package/dist/cjs/limel-table.cjs.entry.js +6 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{moment-5c6581b7.js → moment-5cfac5cd.js} +1 -1
- package/dist/cjs/{pickBy-88b0430a.js → pickBy-3ef47bf2.js} +6 -5
- package/dist/cjs/{zipObject-4050a45f.js → zipObject-93a471fa.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/dialog/dialog.js +29 -11
- package/dist/collection/components/header/header.css +21 -16
- package/dist/collection/components/header/header.js +4 -4
- package/dist/collection/components/picker/picker.js +2 -1
- package/dist/esm/{_arrayIncludesWith-b5d3fd9e.js → _arrayIncludesWith-969bccda.js} +4 -3
- package/dist/esm/{_assignValue-08fe10bc.js → _assignValue-fb2bf80a.js} +1 -1
- package/dist/esm/_defineProperty-2105cb48.js +11 -0
- package/dist/esm/{_defineProperty-8c869077.js → _getNative-93d6bfe9.js} +1 -9
- package/dist/esm/{dateFormatter-ed618478.js → dateFormatter-2cad0292.js} +1 -1
- package/dist/esm/identity-87aa3962.js +41 -0
- package/dist/esm/{isArrayLike-dd37ba9a.js → isArrayLike-385e0f31.js} +1 -1
- package/dist/esm/{isEqual-4f22635f.js → isEqual-c5a636a4.js} +3 -43
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-code-editor.entry.js +2 -2
- package/dist/esm/limel-color-picker-palette_2.entry.js +4 -3
- package/dist/esm/limel-date-picker.entry.js +2 -2
- package/dist/esm/limel-dialog.entry.js +26 -9
- package/dist/esm/limel-flatpickr-adapter.entry.js +71 -67
- package/dist/esm/limel-form.entry.js +20477 -20475
- package/dist/esm/limel-header.entry.js +3 -3
- package/dist/esm/limel-menu.entry.js +4 -3
- package/dist/esm/limel-picker.entry.js +2 -1
- package/dist/esm/limel-tab-bar.entry.js +6 -4
- package/dist/esm/limel-table.entry.js +7 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{moment-29c213b7.js → moment-367e51c5.js} +1 -1
- package/dist/esm/{pickBy-8a849e46.js → pickBy-d359eb12.js} +4 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{zipObject-22e88ce9.js → zipObject-2bb1968e.js} +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-1a9a961a.entry.js +11 -0
- package/dist/lime-elements/p-2754e134.entry.js +1 -0
- package/dist/lime-elements/{p-2ff40ce6.js → p-3af5f9ad.js} +1 -1
- package/dist/lime-elements/p-4c3358cb.js +1 -0
- package/dist/lime-elements/{p-eae8c615.entry.js → p-4d5a874a.entry.js} +1 -1
- package/dist/lime-elements/p-5fdb83c9.js +1 -0
- package/dist/lime-elements/p-669626e5.js +1 -0
- package/dist/lime-elements/p-6966b5df.entry.js +1 -0
- package/dist/lime-elements/p-7cda574b.js +1 -0
- package/dist/lime-elements/{p-80327bb8.entry.js → p-84f933f7.entry.js} +2 -2
- package/dist/lime-elements/{p-96f4b892.entry.js → p-8827628d.entry.js} +6 -6
- package/dist/lime-elements/{p-7f43b0c4.js → p-9acf7b5d.js} +1 -1
- package/dist/lime-elements/p-ad8cb388.js +1 -0
- package/dist/lime-elements/p-ade76f1d.js +1 -0
- package/dist/lime-elements/p-af0ec482.entry.js +16 -0
- package/dist/lime-elements/p-b0046fcd.entry.js +1 -0
- package/dist/lime-elements/{p-090bc949.js → p-b28128d2.js} +1 -1
- package/dist/lime-elements/p-b95e80c9.entry.js +1 -0
- package/dist/lime-elements/{p-72e03943.js → p-d76f896d.js} +1 -1
- package/dist/lime-elements/p-e80dd2ff.entry.js +1 -0
- package/dist/lime-elements/p-f9bfbeb3.entry.js +82 -0
- package/dist/lime-elements/p-fa607ed3.js +1 -0
- package/dist/types/components/dialog/dialog.d.ts +4 -5
- package/dist/types/components/dialog/dialog.types.d.ts +4 -0
- package/dist/types/components.d.ts +3 -3
- package/package.json +16 -16
- package/dist/lime-elements/p-04b5bc13.entry.js +0 -82
- package/dist/lime-elements/p-101af376.entry.js +0 -1
- package/dist/lime-elements/p-1a64b531.js +0 -1
- package/dist/lime-elements/p-358706b6.entry.js +0 -1
- package/dist/lime-elements/p-379955f4.js +0 -1
- package/dist/lime-elements/p-426d11b4.js +0 -1
- package/dist/lime-elements/p-440084ea.js +0 -1
- package/dist/lime-elements/p-5b7a8c61.entry.js +0 -20
- package/dist/lime-elements/p-716a6acd.entry.js +0 -16
- package/dist/lime-elements/p-87a1e1cb.entry.js +0 -1
- package/dist/lime-elements/p-c4b38454.entry.js +0 -1
- package/dist/lime-elements/p-da962c64.entry.js +0 -1
- package/dist/lime-elements/p-f83213b8.js +0 -1
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2a28697b.js');
|
|
6
6
|
|
|
7
|
-
const headerCss = ":host{display:flex;align-items:center;box-sizing:border-box;width:100%;background-color:var(--header-background-color, rgb(var(--contrast-300)));border-top-left-radius:var(--header-top-right-left-border-radius, 0.75rem);border-top-right-radius:var(--header-top-right-left-border-radius, 0.75rem);padding:0.25rem}.information{display:flex;flex-grow:1;align-items:center;min-width:0}.
|
|
7
|
+
const headerCss = ":host(limel-header){display:flex;align-items:center;box-sizing:border-box;width:100%;background-color:var(--header-background-color, rgb(var(--contrast-300)));border-top-left-radius:var(--header-top-right-left-border-radius, 0.75rem);border-top-right-radius:var(--header-top-right-left-border-radius, 0.75rem);padding:0.25rem}.information{display:flex;flex-grow:1;align-items:center;min-width:0}.icon{flex-shrink:0;color:var(--header-icon-color, rgb(var(--contrast-1100)));background-color:var(--header-icon-background-color, transparent);width:1.75rem;margin:0 0.5rem}.headings{min-width:0;margin-left:0.25rem}.heading,.subheading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;padding:0}.heading{color:var(--header-heading-color, rgb(var(--contrast-1100)));font-size:1.0625rem}.subheading{color:var(--header-subheading-color, rgb(var(--contrast-900)));font-size:0.875rem;font-weight:lighter}.subheading__supporting-text{color:var(--header-supporting-text-color, var(--header-subheading-color))}.subheading__supporting-text span{margin:0 0.5rem;font-weight:bold}.actions{flex-shrink:0}:host(limel-header.is-narrow){padding:0.125rem 0.25rem}:host(limel-header.is-narrow) .icon{margin-right:0.125rem;width:1.25rem}:host(limel-header.is-narrow) .heading{font-size:0.9375rem}:host(limel-header.has-responsive-layout){display:grid;grid-template-columns:repeat(auto-fit, minmax(clamp(50%, var(--header-responsive-breakpoint, 22rem), 100%), 1fr))}:host(limel-header.has-responsive-layout) .headings{padding-right:0.5rem}:host(limel-header.has-responsive-layout) .actions{display:flex;justify-content:flex-end}";
|
|
8
8
|
|
|
9
9
|
const Header = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -12,7 +12,7 @@ const Header = class {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
return [
|
|
15
|
-
index.h("div", { class: "information" }, this.renderIcon(), index.h("div", { class: "
|
|
15
|
+
index.h("div", { class: "information" }, this.renderIcon(), index.h("div", { class: "headings" }, index.h("h1", { class: "heading", title: this.heading }, this.heading), index.h("h2", { class: "subheading", title: this.subheading }, this.subheading, this.renderSupportingText()))),
|
|
16
16
|
index.h("div", { class: "actions" }, index.h("slot", null)),
|
|
17
17
|
];
|
|
18
18
|
}
|
|
@@ -20,7 +20,7 @@ const Header = class {
|
|
|
20
20
|
if (!this.icon) {
|
|
21
21
|
return;
|
|
22
22
|
}
|
|
23
|
-
return
|
|
23
|
+
return index.h("limel-icon", { class: "icon", badge: true, name: this.icon });
|
|
24
24
|
}
|
|
25
25
|
renderSupportingText() {
|
|
26
26
|
if (!this.supportingText) {
|
|
@@ -4,9 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2a28697b.js');
|
|
6
6
|
const randomString = require('./random-string-4c3b7f1c.js');
|
|
7
|
-
const zipObject = require('./zipObject-
|
|
8
|
-
require('./_assignValue-
|
|
9
|
-
require('./_defineProperty-
|
|
7
|
+
const zipObject = require('./zipObject-93a471fa.js');
|
|
8
|
+
require('./_assignValue-7c18d8d6.js');
|
|
9
|
+
require('./_defineProperty-8f56146d.js');
|
|
10
|
+
require('./_getNative-60328036.js');
|
|
10
11
|
require('./eq-9a943b00.js');
|
|
11
12
|
require('./isObject-e28b7997.js');
|
|
12
13
|
|
|
@@ -442,8 +442,9 @@ const Picker = class {
|
|
|
442
442
|
return;
|
|
443
443
|
}
|
|
444
444
|
const style = {
|
|
445
|
-
color: 'var(--
|
|
445
|
+
color: 'rgb(var(--contrast-1100))',
|
|
446
446
|
'text-align': 'center',
|
|
447
|
+
margin: '0.5rem 1rem',
|
|
447
448
|
};
|
|
448
449
|
return index.h("p", { style: style }, this.emptyResultMessage);
|
|
449
450
|
}
|
|
@@ -3,17 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2a28697b.js');
|
|
6
|
-
const isEqual = require('./isEqual-
|
|
6
|
+
const isEqual = require('./isEqual-d2a13a24.js');
|
|
7
7
|
const component = require('./component-67144c1c.js');
|
|
8
8
|
const component$1 = require('./component-cf490570.js');
|
|
9
9
|
const ponyfill = require('./ponyfill-98ca4766.js');
|
|
10
|
-
const _arrayIncludesWith = require('./_arrayIncludesWith-
|
|
10
|
+
const _arrayIncludesWith = require('./_arrayIncludesWith-29083f83.js');
|
|
11
|
+
const identity = require('./identity-6dc34885.js');
|
|
11
12
|
require('./eq-9a943b00.js');
|
|
12
13
|
require('./isObject-e28b7997.js');
|
|
13
|
-
require('./
|
|
14
|
+
require('./_getNative-60328036.js');
|
|
14
15
|
require('./isArray-d188a04f.js');
|
|
15
16
|
require('./isObjectLike-3e3f0cba.js');
|
|
16
17
|
require('./isArrayLike-ac53bdac.js');
|
|
18
|
+
require('./_defineProperty-8f56146d.js');
|
|
17
19
|
|
|
18
20
|
/** Used as the size to enable large array optimizations. */
|
|
19
21
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -41,7 +43,7 @@ function baseDifference(array, values, iteratee, comparator) {
|
|
|
41
43
|
return result;
|
|
42
44
|
}
|
|
43
45
|
if (iteratee) {
|
|
44
|
-
values =
|
|
46
|
+
values = identity.arrayMap(values, isEqual.baseUnary(iteratee));
|
|
45
47
|
}
|
|
46
48
|
if (comparator) {
|
|
47
49
|
includes = _arrayIncludesWith.arrayIncludesWith;
|
|
@@ -3,16 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2a28697b.js');
|
|
6
|
-
const pickBy = require('./pickBy-
|
|
7
|
-
const isEqual = require('./isEqual-
|
|
6
|
+
const pickBy = require('./pickBy-3ef47bf2.js');
|
|
7
|
+
const isEqual = require('./isEqual-d2a13a24.js');
|
|
8
|
+
require('./identity-6dc34885.js');
|
|
8
9
|
require('./isObject-e28b7997.js');
|
|
9
10
|
require('./isArray-d188a04f.js');
|
|
10
11
|
require('./isSymbol-d22b2798.js');
|
|
11
12
|
require('./isObjectLike-3e3f0cba.js');
|
|
12
13
|
require('./isArrayLike-ac53bdac.js');
|
|
13
14
|
require('./eq-9a943b00.js');
|
|
14
|
-
require('./_assignValue-
|
|
15
|
-
require('./_defineProperty-
|
|
15
|
+
require('./_assignValue-7c18d8d6.js');
|
|
16
|
+
require('./_defineProperty-8f56146d.js');
|
|
17
|
+
require('./_getNative-60328036.js');
|
|
16
18
|
|
|
17
19
|
/* Tabulator v4.9.3 (c) Oliver Folkerd */
|
|
18
20
|
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-2a28697b.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.15.
|
|
8
|
+
Stencil Client Patch Esm v2.15.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const identity = require('./identity-6dc34885.js');
|
|
4
|
+
const isEqual = require('./isEqual-d2a13a24.js');
|
|
4
5
|
const isObject = require('./isObject-e28b7997.js');
|
|
5
6
|
const isArray = require('./isArray-d188a04f.js');
|
|
6
7
|
const isSymbol = require('./isSymbol-d22b2798.js');
|
|
7
8
|
const isArrayLike = require('./isArrayLike-ac53bdac.js');
|
|
8
|
-
const _assignValue = require('./_assignValue-
|
|
9
|
+
const _assignValue = require('./_assignValue-7c18d8d6.js');
|
|
9
10
|
|
|
10
11
|
/** Used as references for various `Number` constants. */
|
|
11
12
|
var INFINITY$1 = 1 / 0;
|
|
@@ -29,7 +30,7 @@ function baseToString(value) {
|
|
|
29
30
|
}
|
|
30
31
|
if (isArray.isArray(value)) {
|
|
31
32
|
// Recursively convert values (susceptible to call stack limits).
|
|
32
|
-
return
|
|
33
|
+
return identity.arrayMap(value, baseToString) + '';
|
|
33
34
|
}
|
|
34
35
|
if (isSymbol.isSymbol(value)) {
|
|
35
36
|
return symbolToString ? symbolToString.call(value) : '';
|
|
@@ -685,7 +686,7 @@ function baseIteratee(value) {
|
|
|
685
686
|
return value;
|
|
686
687
|
}
|
|
687
688
|
if (value == null) {
|
|
688
|
-
return
|
|
689
|
+
return identity.identity;
|
|
689
690
|
}
|
|
690
691
|
if (typeof value == 'object') {
|
|
691
692
|
return isArray.isArray(value)
|
|
@@ -874,7 +875,7 @@ function pickBy(object, predicate) {
|
|
|
874
875
|
if (object == null) {
|
|
875
876
|
return {};
|
|
876
877
|
}
|
|
877
|
-
var props =
|
|
878
|
+
var props = identity.arrayMap(getAllKeysIn(object), function(prop) {
|
|
878
879
|
return [prop];
|
|
879
880
|
});
|
|
880
881
|
predicate = baseIteratee(predicate);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MDCDialog } from '@material/dialog';
|
|
2
2
|
import { Component, Element, Event, h, Prop, Watch, } from '@stencil/core';
|
|
3
|
+
import { isEqual } from 'lodash-es';
|
|
3
4
|
import { dispatchResizeEvent } from '../../util/dispatch-resize-event';
|
|
4
5
|
import { createRandomString } from '../../util/random-string';
|
|
5
6
|
/**
|
|
@@ -74,14 +75,7 @@ export class Dialog {
|
|
|
74
75
|
this.mdcDialog.listen('MDCDialog:opened', this.handleMdcOpened);
|
|
75
76
|
this.mdcDialog.listen('MDCDialog:closed', this.handleMdcClosed);
|
|
76
77
|
this.mdcDialog.listen('MDCDialog:closing', this.handleMdcClosing);
|
|
77
|
-
this.
|
|
78
|
-
if (this.closingActions.scrimClick) {
|
|
79
|
-
this.mdcDialog.scrimClickAction = 'close';
|
|
80
|
-
}
|
|
81
|
-
this.mdcDialog.escapeKeyAction = '';
|
|
82
|
-
if (this.closingActions.escapeKey) {
|
|
83
|
-
this.mdcDialog.escapeKeyAction = 'close';
|
|
84
|
-
}
|
|
78
|
+
this.setClosingActions();
|
|
85
79
|
}
|
|
86
80
|
disconnectedCallback() {
|
|
87
81
|
this.mdcDialog.unlisten('MDCDialog:opened', this.handleMdcOpened);
|
|
@@ -118,6 +112,12 @@ export class Dialog {
|
|
|
118
112
|
this.mdcDialog.close();
|
|
119
113
|
}
|
|
120
114
|
}
|
|
115
|
+
closingActionsChanged(newValue, oldValue) {
|
|
116
|
+
if (isEqual(newValue, oldValue)) {
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
this.setClosingActions();
|
|
120
|
+
}
|
|
121
121
|
handleMdcOpened() {
|
|
122
122
|
// When the opening-animation has completed, dispatch a
|
|
123
123
|
// resize-event so that any content that depends on
|
|
@@ -154,6 +154,16 @@ export class Dialog {
|
|
|
154
154
|
h("slot", { name: "button" })));
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
+
setClosingActions() {
|
|
158
|
+
this.mdcDialog.scrimClickAction = '';
|
|
159
|
+
if (this.closingActions.scrimClick) {
|
|
160
|
+
this.mdcDialog.scrimClickAction = 'close';
|
|
161
|
+
}
|
|
162
|
+
this.mdcDialog.escapeKeyAction = '';
|
|
163
|
+
if (this.closingActions.escapeKey) {
|
|
164
|
+
this.mdcDialog.escapeKeyAction = 'close';
|
|
165
|
+
}
|
|
166
|
+
}
|
|
157
167
|
static get is() { return "limel-dialog"; }
|
|
158
168
|
static get encapsulation() { return "shadow"; }
|
|
159
169
|
static get originalStyleUrls() { return {
|
|
@@ -225,9 +235,14 @@ export class Dialog {
|
|
|
225
235
|
"type": "unknown",
|
|
226
236
|
"mutable": false,
|
|
227
237
|
"complexType": {
|
|
228
|
-
"original": "
|
|
229
|
-
"resolved": "
|
|
230
|
-
"references": {
|
|
238
|
+
"original": "ClosingActions",
|
|
239
|
+
"resolved": "ClosingActions",
|
|
240
|
+
"references": {
|
|
241
|
+
"ClosingActions": {
|
|
242
|
+
"location": "import",
|
|
243
|
+
"path": "@limetech/lime-elements"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
231
246
|
},
|
|
232
247
|
"required": false,
|
|
233
248
|
"optional": false,
|
|
@@ -273,5 +288,8 @@ export class Dialog {
|
|
|
273
288
|
static get watchers() { return [{
|
|
274
289
|
"propName": "open",
|
|
275
290
|
"methodName": "watchHandler"
|
|
291
|
+
}, {
|
|
292
|
+
"propName": "closingActions",
|
|
293
|
+
"methodName": "closingActionsChanged"
|
|
276
294
|
}]; }
|
|
277
295
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* @prop --header-top-right-left-border-radius: Top-left and top-right border radius of header, defaults to `0.75rem`.
|
|
15
15
|
* @prop --header-responsive-breakpoint: Defines the minimum allowed `width` of both information and actions areas in the header, defaults to `22rem`.
|
|
16
16
|
*/
|
|
17
|
-
:host {
|
|
17
|
+
:host(limel-header) {
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: center;
|
|
20
20
|
box-sizing: border-box;
|
|
@@ -32,19 +32,21 @@
|
|
|
32
32
|
min-width: 0;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
35
|
+
.icon {
|
|
36
36
|
flex-shrink: 0;
|
|
37
37
|
color: var(--header-icon-color, rgb(var(--contrast-1100)));
|
|
38
38
|
background-color: var(--header-icon-background-color, transparent);
|
|
39
|
+
width: 1.75rem;
|
|
40
|
+
margin: 0 0.5rem;
|
|
39
41
|
}
|
|
40
42
|
|
|
41
|
-
.
|
|
43
|
+
.headings {
|
|
42
44
|
min-width: 0;
|
|
43
45
|
margin-left: 0.25rem;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
|
-
.
|
|
47
|
-
.
|
|
48
|
+
.heading,
|
|
49
|
+
.subheading {
|
|
48
50
|
overflow: hidden;
|
|
49
51
|
white-space: nowrap;
|
|
50
52
|
text-overflow: ellipsis;
|
|
@@ -52,21 +54,21 @@
|
|
|
52
54
|
padding: 0;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
.
|
|
57
|
+
.heading {
|
|
56
58
|
color: var(--header-heading-color, rgb(var(--contrast-1100)));
|
|
57
59
|
font-size: 1.0625rem;
|
|
58
60
|
}
|
|
59
61
|
|
|
60
|
-
.
|
|
62
|
+
.subheading {
|
|
61
63
|
color: var(--header-subheading-color, rgb(var(--contrast-900)));
|
|
62
64
|
font-size: 0.875rem;
|
|
63
65
|
font-weight: lighter;
|
|
64
66
|
}
|
|
65
67
|
|
|
66
|
-
.
|
|
68
|
+
.subheading__supporting-text {
|
|
67
69
|
color: var(--header-supporting-text-color, var(--header-subheading-color));
|
|
68
70
|
}
|
|
69
|
-
.
|
|
71
|
+
.subheading__supporting-text span {
|
|
70
72
|
margin: 0 0.5rem;
|
|
71
73
|
font-weight: bold;
|
|
72
74
|
}
|
|
@@ -75,22 +77,25 @@
|
|
|
75
77
|
flex-shrink: 0;
|
|
76
78
|
}
|
|
77
79
|
|
|
78
|
-
:host(.is-narrow)
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
:host(limel-header.is-narrow) {
|
|
81
|
+
padding: 0.125rem 0.25rem;
|
|
82
|
+
}
|
|
83
|
+
:host(limel-header.is-narrow) .icon {
|
|
84
|
+
margin-right: 0.125rem;
|
|
85
|
+
width: 1.25rem;
|
|
81
86
|
}
|
|
82
|
-
:host(.is-narrow) .
|
|
87
|
+
:host(limel-header.is-narrow) .heading {
|
|
83
88
|
font-size: 0.9375rem;
|
|
84
89
|
}
|
|
85
90
|
|
|
86
|
-
:host(.has-responsive-layout) {
|
|
91
|
+
:host(limel-header.has-responsive-layout) {
|
|
87
92
|
display: grid;
|
|
88
93
|
grid-template-columns: repeat(auto-fit, minmax(clamp(50%, var(--header-responsive-breakpoint, 22rem), 100%), 1fr));
|
|
89
94
|
}
|
|
90
|
-
:host(.has-responsive-layout) .
|
|
95
|
+
:host(limel-header.has-responsive-layout) .headings {
|
|
91
96
|
padding-right: 0.5rem;
|
|
92
97
|
}
|
|
93
|
-
:host(.has-responsive-layout) .actions {
|
|
98
|
+
:host(limel-header.has-responsive-layout) .actions {
|
|
94
99
|
display: flex;
|
|
95
100
|
justify-content: flex-end;
|
|
96
101
|
}
|
|
@@ -49,9 +49,9 @@ export class Header {
|
|
|
49
49
|
return [
|
|
50
50
|
h("div", { class: "information" },
|
|
51
51
|
this.renderIcon(),
|
|
52
|
-
h("div", { class: "
|
|
53
|
-
h("h1", { class: "
|
|
54
|
-
h("h2", { class: "
|
|
52
|
+
h("div", { class: "headings" },
|
|
53
|
+
h("h1", { class: "heading", title: this.heading }, this.heading),
|
|
54
|
+
h("h2", { class: "subheading", title: this.subheading },
|
|
55
55
|
this.subheading,
|
|
56
56
|
this.renderSupportingText()))),
|
|
57
57
|
h("div", { class: "actions" },
|
|
@@ -62,7 +62,7 @@ export class Header {
|
|
|
62
62
|
if (!this.icon) {
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
-
return
|
|
65
|
+
return h("limel-icon", { class: "icon", badge: true, name: this.icon });
|
|
66
66
|
}
|
|
67
67
|
renderSupportingText() {
|
|
68
68
|
if (!this.supportingText) {
|
|
@@ -225,8 +225,9 @@ export class Picker {
|
|
|
225
225
|
return;
|
|
226
226
|
}
|
|
227
227
|
const style = {
|
|
228
|
-
color: 'var(--
|
|
228
|
+
color: 'rgb(var(--contrast-1100))',
|
|
229
229
|
'text-align': 'center',
|
|
230
|
+
margin: '0.5rem 1rem',
|
|
230
231
|
};
|
|
231
232
|
return h("p", { style: style }, this.emptyResultMessage);
|
|
232
233
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as defineProperty } from './_defineProperty-
|
|
1
|
+
import { i as identity } from './identity-87aa3962.js';
|
|
2
|
+
import { d as defineProperty } from './_defineProperty-2105cb48.js';
|
|
3
|
+
import { c as isArguments, n as arrayPush } from './isEqual-c5a636a4.js';
|
|
3
4
|
import { S as Symbol } from './isObject-c74e273c.js';
|
|
4
5
|
import { i as isArray } from './isArray-80298bc7.js';
|
|
5
|
-
import {
|
|
6
|
+
import { b as isArrayLike } from './isArrayLike-385e0f31.js';
|
|
6
7
|
import { i as isObjectLike } from './isObjectLike-38996507.js';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -112,12 +112,4 @@ function getNative(object, key) {
|
|
|
112
112
|
return baseIsNative(value) ? value : undefined;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
|
|
116
|
-
try {
|
|
117
|
-
var func = getNative(Object, 'defineProperty');
|
|
118
|
-
func({}, '', {});
|
|
119
|
-
return func;
|
|
120
|
-
} catch (e) {}
|
|
121
|
-
}());
|
|
122
|
-
|
|
123
|
-
export { defineProperty as d, getNative as g, toSource as t };
|
|
115
|
+
export { getNative as g, toSource as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule, b as commonjsRequire, a as commonjsGlobal } from './_commonjsHelpers-5ec8f9b7.js';
|
|
2
|
-
import { m as moment } from './moment-
|
|
2
|
+
import { m as moment } from './moment-367e51c5.js';
|
|
3
3
|
|
|
4
4
|
createCommonjsModule(function (module, exports) {
|
|
5
5
|
(function (global, factory) {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
3
|
+
* shorthands.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Array} [array] The array to iterate over.
|
|
7
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
8
|
+
* @returns {Array} Returns the new mapped array.
|
|
9
|
+
*/
|
|
10
|
+
function arrayMap(array, iteratee) {
|
|
11
|
+
var index = -1,
|
|
12
|
+
length = array == null ? 0 : array.length,
|
|
13
|
+
result = Array(length);
|
|
14
|
+
|
|
15
|
+
while (++index < length) {
|
|
16
|
+
result[index] = iteratee(array[index], index, array);
|
|
17
|
+
}
|
|
18
|
+
return result;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* This method returns the first argument it receives.
|
|
23
|
+
*
|
|
24
|
+
* @static
|
|
25
|
+
* @since 0.1.0
|
|
26
|
+
* @memberOf _
|
|
27
|
+
* @category Util
|
|
28
|
+
* @param {*} value Any value.
|
|
29
|
+
* @returns {*} Returns `value`.
|
|
30
|
+
* @example
|
|
31
|
+
*
|
|
32
|
+
* var object = { 'a': 1 };
|
|
33
|
+
*
|
|
34
|
+
* console.log(_.identity(object) === object);
|
|
35
|
+
* // => true
|
|
36
|
+
*/
|
|
37
|
+
function identity(value) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { arrayMap as a, identity as i };
|
|
@@ -1,49 +1,9 @@
|
|
|
1
1
|
import { e as eq } from './eq-c1c7f528.js';
|
|
2
|
-
import { g as getNative, t as toSource } from './
|
|
2
|
+
import { g as getNative, t as toSource } from './_getNative-93d6bfe9.js';
|
|
3
3
|
import { r as root, b as baseGetTag, f as freeGlobal, S as Symbol } from './isObject-c74e273c.js';
|
|
4
4
|
import { i as isArray } from './isArray-80298bc7.js';
|
|
5
5
|
import { i as isObjectLike } from './isObjectLike-38996507.js';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* A specialized version of `_.map` for arrays without support for iteratee
|
|
10
|
-
* shorthands.
|
|
11
|
-
*
|
|
12
|
-
* @private
|
|
13
|
-
* @param {Array} [array] The array to iterate over.
|
|
14
|
-
* @param {Function} iteratee The function invoked per iteration.
|
|
15
|
-
* @returns {Array} Returns the new mapped array.
|
|
16
|
-
*/
|
|
17
|
-
function arrayMap(array, iteratee) {
|
|
18
|
-
var index = -1,
|
|
19
|
-
length = array == null ? 0 : array.length,
|
|
20
|
-
result = Array(length);
|
|
21
|
-
|
|
22
|
-
while (++index < length) {
|
|
23
|
-
result[index] = iteratee(array[index], index, array);
|
|
24
|
-
}
|
|
25
|
-
return result;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* This method returns the first argument it receives.
|
|
30
|
-
*
|
|
31
|
-
* @static
|
|
32
|
-
* @since 0.1.0
|
|
33
|
-
* @memberOf _
|
|
34
|
-
* @category Util
|
|
35
|
-
* @param {*} value Any value.
|
|
36
|
-
* @returns {*} Returns `value`.
|
|
37
|
-
* @example
|
|
38
|
-
*
|
|
39
|
-
* var object = { 'a': 1 };
|
|
40
|
-
*
|
|
41
|
-
* console.log(_.identity(object) === object);
|
|
42
|
-
* // => true
|
|
43
|
-
*/
|
|
44
|
-
function identity(value) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
6
|
+
import { i as isLength, a as isIndex, b as isArrayLike } from './isArrayLike-385e0f31.js';
|
|
47
7
|
|
|
48
8
|
/* Built-in method references that are verified to be native. */
|
|
49
9
|
var WeakMap = getNative(root, 'WeakMap');
|
|
@@ -1613,4 +1573,4 @@ function isEqual(value, other) {
|
|
|
1613
1573
|
return baseIsEqual(value, other);
|
|
1614
1574
|
}
|
|
1615
1575
|
|
|
1616
|
-
export { MapCache as M, Set as S,
|
|
1576
|
+
export { MapCache as M, Set as S, isBuffer as a, isTypedArray as b, isArguments as c, isPrototype as d, baseKeys as e, SetCache as f, getTag$1 as g, cacheHas as h, isEqual as i, arrayLikeKeys as j, keys as k, stubArray as l, mapToArray as m, arrayPush as n, overArg as o, getSymbols as p, baseGetAllKeys as q, Stack as r, setToArray as s, baseIsEqual as t, baseUnary as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-11cd0b60.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.15.
|
|
4
|
+
Stencil Client Patch Browser v2.15.1 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchBrowser = () => {
|
|
7
7
|
const importMeta = import.meta.url;
|
|
@@ -1325,7 +1325,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
|
|
|
1325
1325
|
// Add a span to a line.
|
|
1326
1326
|
function addMarkedSpan(line, span, op) {
|
|
1327
1327
|
var inThisOp = op && window.WeakSet && (op.markedSpans || (op.markedSpans = new WeakSet));
|
|
1328
|
-
if (inThisOp && inThisOp.has(line.markedSpans)) {
|
|
1328
|
+
if (inThisOp && line.markedSpans && inThisOp.has(line.markedSpans)) {
|
|
1329
1329
|
line.markedSpans.push(span);
|
|
1330
1330
|
} else {
|
|
1331
1331
|
line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];
|
|
@@ -9843,7 +9843,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
|
|
|
9843
9843
|
|
|
9844
9844
|
addLegacyProps(CodeMirror);
|
|
9845
9845
|
|
|
9846
|
-
CodeMirror.version = "5.65.
|
|
9846
|
+
CodeMirror.version = "5.65.3";
|
|
9847
9847
|
|
|
9848
9848
|
return CodeMirror;
|
|
9849
9849
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-11cd0b60.js';
|
|
2
2
|
import { c as createRandomString } from './random-string-2246b81e.js';
|
|
3
3
|
import { b as ESCAPE } from './keycodes-9f971b46.js';
|
|
4
|
-
import { z as zipObject } from './zipObject-
|
|
5
|
-
import './_assignValue-
|
|
6
|
-
import './_defineProperty-
|
|
4
|
+
import { z as zipObject } from './zipObject-2bb1968e.js';
|
|
5
|
+
import './_assignValue-fb2bf80a.js';
|
|
6
|
+
import './_defineProperty-2105cb48.js';
|
|
7
|
+
import './_getNative-93d6bfe9.js';
|
|
7
8
|
import './eq-c1c7f528.js';
|
|
8
9
|
import './isObject-c74e273c.js';
|
|
9
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-11cd0b60.js';
|
|
2
2
|
import { c as createRandomString } from './random-string-2246b81e.js';
|
|
3
3
|
import { i as isIOSDevice, a as isAndroidDevice } from './device-39db3b5f.js';
|
|
4
|
-
import { D as DateFormatter } from './dateFormatter-
|
|
4
|
+
import { D as DateFormatter } from './dateFormatter-2cad0292.js';
|
|
5
5
|
import { M as MDCTextField } from './component-288691f3.js';
|
|
6
6
|
import './_commonjsHelpers-5ec8f9b7.js';
|
|
7
|
-
import './moment-
|
|
7
|
+
import './moment-367e51c5.js';
|
|
8
8
|
import './component-410aad5a.js';
|
|
9
9
|
import './component-5b4ac85a.js';
|
|
10
10
|
import './ponyfill-30263d5e.js';
|