@limetech/lime-elements 35.0.0 → 35.0.1-next.1

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.
Files changed (62) hide show
  1. package/dist/cjs/{_arrayIncludesWith-36a6fafb.js → _arrayIncludesWith-29083f83.js} +5 -4
  2. package/dist/cjs/{_assignValue-c9fc3712.js → _assignValue-7c18d8d6.js} +1 -1
  3. package/dist/cjs/_defineProperty-8f56146d.js +13 -0
  4. package/dist/cjs/{_defineProperty-8351e789.js → _getNative-60328036.js} +0 -9
  5. package/dist/cjs/identity-6dc34885.js +44 -0
  6. package/dist/cjs/{isEqual-e3b9c27c.js → isEqual-d2a13a24.js} +13 -55
  7. package/dist/cjs/limel-color-picker-palette_2.cjs.entry.js +4 -3
  8. package/dist/cjs/limel-dialog.cjs.entry.js +26 -9
  9. package/dist/cjs/limel-form.cjs.entry.js +20438 -20436
  10. package/dist/cjs/limel-menu.cjs.entry.js +4 -3
  11. package/dist/cjs/limel-tab-bar.cjs.entry.js +6 -4
  12. package/dist/cjs/limel-table.cjs.entry.js +6 -4
  13. package/dist/cjs/{pickBy-88b0430a.js → pickBy-3ef47bf2.js} +6 -5
  14. package/dist/cjs/{zipObject-4050a45f.js → zipObject-93a471fa.js} +1 -1
  15. package/dist/collection/components/dialog/dialog.js +29 -11
  16. package/dist/esm/{_arrayIncludesWith-b5d3fd9e.js → _arrayIncludesWith-969bccda.js} +4 -3
  17. package/dist/esm/{_assignValue-08fe10bc.js → _assignValue-fb2bf80a.js} +1 -1
  18. package/dist/esm/_defineProperty-2105cb48.js +11 -0
  19. package/dist/esm/{_defineProperty-8c869077.js → _getNative-93d6bfe9.js} +1 -9
  20. package/dist/esm/identity-87aa3962.js +41 -0
  21. package/dist/esm/{isArrayLike-dd37ba9a.js → isArrayLike-385e0f31.js} +1 -1
  22. package/dist/esm/{isEqual-4f22635f.js → isEqual-c5a636a4.js} +3 -43
  23. package/dist/esm/limel-color-picker-palette_2.entry.js +4 -3
  24. package/dist/esm/limel-dialog.entry.js +26 -9
  25. package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
  26. package/dist/esm/limel-form.entry.js +20476 -20474
  27. package/dist/esm/limel-menu.entry.js +4 -3
  28. package/dist/esm/limel-tab-bar.entry.js +6 -4
  29. package/dist/esm/limel-table.entry.js +7 -5
  30. package/dist/esm/{pickBy-8a849e46.js → pickBy-d359eb12.js} +4 -3
  31. package/dist/esm/{zipObject-22e88ce9.js → zipObject-2bb1968e.js} +1 -1
  32. package/dist/lime-elements/lime-elements.esm.js +1 -1
  33. package/dist/lime-elements/p-2754e134.entry.js +1 -0
  34. package/dist/lime-elements/p-4c3358cb.js +1 -0
  35. package/dist/lime-elements/p-5fdb83c9.js +1 -0
  36. package/dist/lime-elements/p-669626e5.js +1 -0
  37. package/dist/lime-elements/p-7cda574b.js +1 -0
  38. package/dist/lime-elements/{p-96f4b892.entry.js → p-8827628d.entry.js} +6 -6
  39. package/dist/lime-elements/{p-7f43b0c4.js → p-9acf7b5d.js} +1 -1
  40. package/dist/lime-elements/p-ad8cb388.js +1 -0
  41. package/dist/lime-elements/p-ade76f1d.js +1 -0
  42. package/dist/lime-elements/{p-090bc949.js → p-b28128d2.js} +1 -1
  43. package/dist/lime-elements/p-b422045e.entry.js +11 -0
  44. package/dist/lime-elements/p-b95e80c9.entry.js +1 -0
  45. package/dist/lime-elements/p-e80dd2ff.entry.js +1 -0
  46. package/dist/lime-elements/p-f9bfbeb3.entry.js +82 -0
  47. package/dist/lime-elements/p-fa607ed3.js +1 -0
  48. package/dist/lime-elements/{p-716a6acd.entry.js → p-fbc5d7e8.entry.js} +1 -1
  49. package/dist/types/components/dialog/dialog.d.ts +4 -5
  50. package/dist/types/components/dialog/dialog.types.d.ts +4 -0
  51. package/dist/types/components.d.ts +3 -3
  52. package/package.json +1 -1
  53. package/dist/lime-elements/p-04b5bc13.entry.js +0 -82
  54. package/dist/lime-elements/p-1a64b531.js +0 -1
  55. package/dist/lime-elements/p-358706b6.entry.js +0 -1
  56. package/dist/lime-elements/p-379955f4.js +0 -1
  57. package/dist/lime-elements/p-426d11b4.js +0 -1
  58. package/dist/lime-elements/p-440084ea.js +0 -1
  59. package/dist/lime-elements/p-5b7a8c61.entry.js +0 -20
  60. package/dist/lime-elements/p-87a1e1cb.entry.js +0 -1
  61. package/dist/lime-elements/p-c4b38454.entry.js +0 -1
  62. package/dist/lime-elements/p-f83213b8.js +0 -1
@@ -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-4050a45f.js');
8
- require('./_assignValue-c9fc3712.js');
9
- require('./_defineProperty-8351e789.js');
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
 
@@ -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-e3b9c27c.js');
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-36a6fafb.js');
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('./_defineProperty-8351e789.js');
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 = isEqual.arrayMap(values, isEqual.baseUnary(iteratee));
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-88b0430a.js');
7
- const isEqual = require('./isEqual-e3b9c27c.js');
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-c9fc3712.js');
15
- require('./_defineProperty-8351e789.js');
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
 
@@ -1,11 +1,12 @@
1
1
  'use strict';
2
2
 
3
- const isEqual = require('./isEqual-e3b9c27c.js');
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-c9fc3712.js');
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 isEqual.arrayMap(value, baseToString) + '';
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 isEqual.identity;
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 = isEqual.arrayMap(getAllKeysIn(object), function(prop) {
878
+ var props = identity.arrayMap(getAllKeysIn(object), function(prop) {
878
879
  return [prop];
879
880
  });
880
881
  predicate = baseIteratee(predicate);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const _assignValue = require('./_assignValue-c9fc3712.js');
3
+ const _assignValue = require('./_assignValue-7c18d8d6.js');
4
4
 
5
5
  /**
6
6
  * This base implementation of `_.zipObject` which assigns values using `assignFunc`.
@@ -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.mdcDialog.scrimClickAction = '';
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": "{ escapeKey: boolean; scrimClick: boolean }",
229
- "resolved": "{ escapeKey: boolean; scrimClick: boolean; }",
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
  }
@@ -1,8 +1,9 @@
1
- import { v as identity, c as isArguments, p as arrayPush } from './isEqual-4f22635f.js';
2
- import { d as defineProperty } from './_defineProperty-8c869077.js';
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 { i as isArrayLike } from './isArrayLike-dd37ba9a.js';
6
+ import { b as isArrayLike } from './isArrayLike-385e0f31.js';
6
7
  import { i as isObjectLike } from './isObjectLike-38996507.js';
7
8
 
8
9
  /**
@@ -1,4 +1,4 @@
1
- import { d as defineProperty } from './_defineProperty-8c869077.js';
1
+ import { d as defineProperty } from './_defineProperty-2105cb48.js';
2
2
  import { e as eq } from './eq-c1c7f528.js';
3
3
 
4
4
  /**
@@ -0,0 +1,11 @@
1
+ import { g as getNative } from './_getNative-93d6bfe9.js';
2
+
3
+ var defineProperty = (function() {
4
+ try {
5
+ var func = getNative(Object, 'defineProperty');
6
+ func({}, '', {});
7
+ return func;
8
+ } catch (e) {}
9
+ }());
10
+
11
+ export { defineProperty as d };
@@ -112,12 +112,4 @@ function getNative(object, key) {
112
112
  return baseIsNative(value) ? value : undefined;
113
113
  }
114
114
 
115
- var defineProperty = (function() {
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 };
@@ -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 };
@@ -87,4 +87,4 @@ function isArrayLike(value) {
87
87
  return value != null && isLength(value.length) && !isFunction(value);
88
88
  }
89
89
 
90
- export { isLength as a, isIndex as b, isArrayLike as i };
90
+ export { isIndex as a, isArrayLike as b, isLength 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 './_defineProperty-8c869077.js';
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 { a as isLength, b as isIndex, i as isArrayLike } from './isArrayLike-dd37ba9a.js';
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, arrayMap as a, isTypedArray as b, isArguments as c, isPrototype as d, baseKeys as e, SetCache as f, getTag$1 as g, cacheHas as h, isBuffer as i, isEqual as j, keys as k, arrayLikeKeys as l, mapToArray as m, stubArray as n, overArg as o, arrayPush as p, getSymbols as q, baseGetAllKeys as r, setToArray as s, Stack as t, baseIsEqual as u, identity as v, baseUnary as w };
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,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-22e88ce9.js';
5
- import './_assignValue-08fe10bc.js';
6
- import './_defineProperty-8c869077.js';
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
 
@@ -5,6 +5,13 @@ import { M as MDCFoundation, a as MDCComponent } from './component-410aad5a.js';
5
5
  import { m as matches, c as closest } from './ponyfill-30263d5e.js';
6
6
  import { M as MDCRipple } from './component-5b4ac85a.js';
7
7
  import { A as AnimationFrame } from './animationframe-b52af02d.js';
8
+ import { i as isEqual } from './isEqual-c5a636a4.js';
9
+ import './eq-c1c7f528.js';
10
+ import './isObject-c74e273c.js';
11
+ import './_getNative-93d6bfe9.js';
12
+ import './isArray-80298bc7.js';
13
+ import './isObjectLike-38996507.js';
14
+ import './isArrayLike-385e0f31.js';
8
15
 
9
16
  /**
10
17
  * @license
@@ -968,14 +975,7 @@ const Dialog = class {
968
975
  this.mdcDialog.listen('MDCDialog:opened', this.handleMdcOpened);
969
976
  this.mdcDialog.listen('MDCDialog:closed', this.handleMdcClosed);
970
977
  this.mdcDialog.listen('MDCDialog:closing', this.handleMdcClosing);
971
- this.mdcDialog.scrimClickAction = '';
972
- if (this.closingActions.scrimClick) {
973
- this.mdcDialog.scrimClickAction = 'close';
974
- }
975
- this.mdcDialog.escapeKeyAction = '';
976
- if (this.closingActions.escapeKey) {
977
- this.mdcDialog.escapeKeyAction = 'close';
978
- }
978
+ this.setClosingActions();
979
979
  }
980
980
  disconnectedCallback() {
981
981
  this.mdcDialog.unlisten('MDCDialog:opened', this.handleMdcOpened);
@@ -1003,6 +1003,12 @@ const Dialog = class {
1003
1003
  this.mdcDialog.close();
1004
1004
  }
1005
1005
  }
1006
+ closingActionsChanged(newValue, oldValue) {
1007
+ if (isEqual(newValue, oldValue)) {
1008
+ return;
1009
+ }
1010
+ this.setClosingActions();
1011
+ }
1006
1012
  handleMdcOpened() {
1007
1013
  // When the opening-animation has completed, dispatch a
1008
1014
  // resize-event so that any content that depends on
@@ -1038,9 +1044,20 @@ const Dialog = class {
1038
1044
  return (h("footer", { class: "mdc-dialog__actions" }, h("slot", { name: "button" })));
1039
1045
  }
1040
1046
  }
1047
+ setClosingActions() {
1048
+ this.mdcDialog.scrimClickAction = '';
1049
+ if (this.closingActions.scrimClick) {
1050
+ this.mdcDialog.scrimClickAction = 'close';
1051
+ }
1052
+ this.mdcDialog.escapeKeyAction = '';
1053
+ if (this.closingActions.escapeKey) {
1054
+ this.mdcDialog.escapeKeyAction = 'close';
1055
+ }
1056
+ }
1041
1057
  get host() { return getElement(this); }
1042
1058
  static get watchers() { return {
1043
- "open": ["watchHandler"]
1059
+ "open": ["watchHandler"],
1060
+ "closingActions": ["closingActionsChanged"]
1044
1061
  }; }
1045
1062
  };
1046
1063
  Dialog.style = dialogCss;
@@ -5,7 +5,7 @@ import { D as DateFormatter } from './dateFormatter-ed618478.js';
5
5
  import { m as moment } from './moment-29c213b7.js';
6
6
  import { i as isIOSDevice, a as isAndroidDevice } from './device-39db3b5f.js';
7
7
  import { e as eq } from './eq-c1c7f528.js';
8
- import { i as isArrayLike$1, b as isIndex } from './isArrayLike-dd37ba9a.js';
8
+ import { b as isArrayLike$1, a as isIndex } from './isArrayLike-385e0f31.js';
9
9
  import { i as isObject$1 } from './isObject-c74e273c.js';
10
10
  import { t as toNumber } from './toNumber-a6ed64f0.js';
11
11
  import './isSymbol-5bf20921.js';