@limetech/lime-elements 37.55.6 → 37.55.8

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 (106) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/lime-elements.cjs.js +1 -1
  3. package/dist/cjs/limel-dialog.cjs.entry.js +51 -931
  4. package/dist/cjs/limel-dialog.cjs.entry.js.map +1 -1
  5. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
  6. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js.map +1 -1
  7. package/dist/cjs/limel-form.cjs.entry.js +2498 -2498
  8. package/dist/cjs/limel-form.cjs.entry.js.map +1 -1
  9. package/dist/cjs/limel-slider.cjs.entry.js +86 -2
  10. package/dist/cjs/limel-slider.cjs.entry.js.map +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +1 -1
  13. package/dist/collection/components/dialog/dialog.css +79 -679
  14. package/dist/collection/components/dialog/dialog.js +58 -62
  15. package/dist/collection/components/dialog/dialog.js.map +1 -1
  16. package/dist/esm/{_arrayIncludesWith-8fac90b7.js → _arrayIncludesWith-37fb8c3e.js} +3 -3
  17. package/dist/esm/{_arrayIncludesWith-8fac90b7.js.map → _arrayIncludesWith-37fb8c3e.js.map} +1 -1
  18. package/dist/esm/{_baseForOwn-6eb68438.js → _baseForOwn-fff53ded.js} +2 -2
  19. package/dist/esm/{_baseForOwn-6eb68438.js.map → _baseForOwn-fff53ded.js.map} +1 -1
  20. package/dist/esm/{_baseIsEqual-f751b77f.js → _baseIsEqual-f3eeaadf.js} +3 -3
  21. package/dist/esm/{_baseIsEqual-f751b77f.js.map → _baseIsEqual-f3eeaadf.js.map} +1 -1
  22. package/dist/esm/{_baseIteratee-77de5982.js → _baseIteratee-b8e533f5.js} +3 -3
  23. package/dist/esm/{_baseIteratee-77de5982.js.map → _baseIteratee-b8e533f5.js.map} +1 -1
  24. package/dist/esm/{_getAllKeysIn-f5fc1fe7.js → _getAllKeysIn-4936435d.js} +3 -3
  25. package/dist/esm/{_getAllKeysIn-f5fc1fe7.js.map → _getAllKeysIn-4936435d.js.map} +1 -1
  26. package/dist/esm/{isArrayLike-385e0f31.js → isArrayLike-dd37ba9a.js} +2 -2
  27. package/dist/esm/{isArrayLike-385e0f31.js.map → isArrayLike-dd37ba9a.js.map} +1 -1
  28. package/dist/esm/{isEmpty-3b1e5881.js → isEmpty-d700c746.js} +3 -3
  29. package/dist/esm/{isEmpty-3b1e5881.js.map → isEmpty-d700c746.js.map} +1 -1
  30. package/dist/esm/{isEqual-90c6e6fc.js → isEqual-883988f1.js} +2 -2
  31. package/dist/esm/{isEqual-90c6e6fc.js.map → isEqual-883988f1.js.map} +1 -1
  32. package/dist/esm/lime-elements.js +1 -1
  33. package/dist/esm/limel-chip_2.entry.js +4 -4
  34. package/dist/esm/limel-dialog.entry.js +51 -931
  35. package/dist/esm/limel-dialog.entry.js.map +1 -1
  36. package/dist/esm/limel-file-dropzone_2.entry.js +4 -4
  37. package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
  38. package/dist/esm/limel-flatpickr-adapter.entry.js.map +1 -1
  39. package/dist/esm/limel-form.entry.js +2507 -2507
  40. package/dist/esm/limel-form.entry.js.map +1 -1
  41. package/dist/esm/limel-prosemirror-adapter.entry.js +4 -4
  42. package/dist/esm/limel-slider.entry.js +85 -1
  43. package/dist/esm/limel-slider.entry.js.map +1 -1
  44. package/dist/esm/limel-tab-bar.entry.js +4 -4
  45. package/dist/esm/limel-table.entry.js +6 -6
  46. package/dist/esm/loader.js +1 -1
  47. package/dist/esm/{pickBy-7b1558ef.js → pickBy-923628c8.js} +4 -4
  48. package/dist/esm/{pickBy-7b1558ef.js.map → pickBy-923628c8.js.map} +1 -1
  49. package/dist/lime-elements/lime-elements.esm.js +1 -1
  50. package/dist/lime-elements/lime-elements.esm.js.map +1 -1
  51. package/dist/lime-elements/{p-efe6d8b9.entry.js → p-11bc6383.entry.js} +3 -3
  52. package/dist/lime-elements/{p-efe6d8b9.entry.js.map → p-11bc6383.entry.js.map} +1 -1
  53. package/dist/lime-elements/{p-f1d08f33.entry.js → p-33733088.entry.js} +2 -2
  54. package/dist/lime-elements/p-3d88b583.js +2 -0
  55. package/dist/lime-elements/p-57906760.js +2 -0
  56. package/dist/lime-elements/{p-a28fa78d.js.map → p-57906760.js.map} +1 -1
  57. package/dist/lime-elements/p-69b694b5.js +2 -0
  58. package/dist/lime-elements/{p-038bd215.js.map → p-69b694b5.js.map} +1 -1
  59. package/dist/lime-elements/p-6a3d0141.js +2 -0
  60. package/dist/lime-elements/p-7377db39.js +2 -0
  61. package/dist/lime-elements/{p-2b06f854.entry.js → p-75b4a7aa.entry.js} +2 -2
  62. package/dist/lime-elements/p-785755e9.js +2 -0
  63. package/dist/lime-elements/{p-0ec8eec7.js.map → p-785755e9.js.map} +1 -1
  64. package/dist/lime-elements/{p-9acf7b5d.js → p-7f43b0c4.js} +2 -2
  65. package/dist/lime-elements/{p-347c1107.entry.js → p-82af91ed.entry.js} +2 -2
  66. package/dist/lime-elements/p-836774a8.js +2 -0
  67. package/dist/lime-elements/p-9b51660b.entry.js +21 -0
  68. package/dist/lime-elements/p-9b51660b.entry.js.map +1 -0
  69. package/dist/lime-elements/p-b11ab47e.entry.js +2 -0
  70. package/dist/lime-elements/p-b11ab47e.entry.js.map +1 -0
  71. package/dist/lime-elements/{p-9375145d.entry.js → p-d505de95.entry.js} +27 -5
  72. package/dist/lime-elements/p-d505de95.entry.js.map +1 -0
  73. package/dist/lime-elements/{p-178bbeb4.entry.js → p-e53fae23.entry.js} +2 -2
  74. package/dist/lime-elements/{p-1b9d3851.js → p-f069e11f.js} +2 -2
  75. package/dist/lime-elements/{p-36b385b2.entry.js → p-f629e2bf.entry.js} +2 -2
  76. package/dist/types/components/dialog/dialog.d.ts +5 -8
  77. package/package.json +2 -2
  78. package/dist/cjs/animationframe-e4c1798e.js +0 -90
  79. package/dist/cjs/animationframe-e4c1798e.js.map +0 -1
  80. package/dist/esm/animationframe-b52af02d.js +0 -88
  81. package/dist/esm/animationframe-b52af02d.js.map +0 -1
  82. package/dist/lime-elements/p-038bd215.js +0 -2
  83. package/dist/lime-elements/p-0ec8eec7.js +0 -2
  84. package/dist/lime-elements/p-22704cbc.js +0 -2
  85. package/dist/lime-elements/p-48105d44.js +0 -24
  86. package/dist/lime-elements/p-48105d44.js.map +0 -1
  87. package/dist/lime-elements/p-48ef6a20.js +0 -2
  88. package/dist/lime-elements/p-50303eb1.entry.js +0 -21
  89. package/dist/lime-elements/p-50303eb1.entry.js.map +0 -1
  90. package/dist/lime-elements/p-9375145d.entry.js.map +0 -1
  91. package/dist/lime-elements/p-a28fa78d.js +0 -2
  92. package/dist/lime-elements/p-adf6cbe8.entry.js +0 -112
  93. package/dist/lime-elements/p-adf6cbe8.entry.js.map +0 -1
  94. package/dist/lime-elements/p-d0bdb2e3.js +0 -2
  95. package/dist/lime-elements/p-d4029e33.js +0 -2
  96. /package/dist/lime-elements/{p-f1d08f33.entry.js.map → p-33733088.entry.js.map} +0 -0
  97. /package/dist/lime-elements/{p-48ef6a20.js.map → p-3d88b583.js.map} +0 -0
  98. /package/dist/lime-elements/{p-d4029e33.js.map → p-6a3d0141.js.map} +0 -0
  99. /package/dist/lime-elements/{p-d0bdb2e3.js.map → p-7377db39.js.map} +0 -0
  100. /package/dist/lime-elements/{p-2b06f854.entry.js.map → p-75b4a7aa.entry.js.map} +0 -0
  101. /package/dist/lime-elements/{p-9acf7b5d.js.map → p-7f43b0c4.js.map} +0 -0
  102. /package/dist/lime-elements/{p-347c1107.entry.js.map → p-82af91ed.entry.js.map} +0 -0
  103. /package/dist/lime-elements/{p-22704cbc.js.map → p-836774a8.js.map} +0 -0
  104. /package/dist/lime-elements/{p-178bbeb4.entry.js.map → p-e53fae23.entry.js.map} +0 -0
  105. /package/dist/lime-elements/{p-1b9d3851.js.map → p-f069e11f.js.map} +0 -0
  106. /package/dist/lime-elements/{p-36b385b2.entry.js.map → p-f629e2bf.entry.js.map} +0 -0
@@ -56,24 +56,21 @@ export declare class Dialog {
56
56
  */
57
57
  private closing;
58
58
  private host;
59
- private mdcDialog;
60
59
  private id;
61
60
  private showFooter;
62
- constructor();
63
61
  connectedCallback(): void;
64
62
  componentWillLoad(): void;
65
63
  componentDidLoad(): void;
66
64
  private initialize;
67
- disconnectedCallback(): void;
65
+ protected handleClick(event: MouseEvent): void;
66
+ private handleCancel;
67
+ private closeDialog;
68
68
  render(): any;
69
69
  protected watchHandler(newValue: boolean, oldValue: boolean): void;
70
- protected closingActionsChanged(newValue: ClosingActions, oldValue: ClosingActions): void;
71
- private handleMdcOpened;
72
- private handleMdcClosed;
73
- private handleMdcClosing;
70
+ private getDialogAttributes;
74
71
  private isBadgeHeading;
75
72
  private renderHeading;
76
73
  private renderFooter;
77
- private setClosingActions;
74
+ private get dialog();
78
75
  }
79
76
  //# sourceMappingURL=dialog.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "37.55.6",
3
+ "version": "37.55.8",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -51,7 +51,7 @@
51
51
  "@rjsf/core": "^2.4.2",
52
52
  "@rollup/plugin-node-resolve": "^13.3.0",
53
53
  "@stencil/core": "^3.4.1",
54
- "@stencil/sass": "^3.0.11",
54
+ "@stencil/sass": "^3.0.12",
55
55
  "@types/codemirror": "^5.60.2",
56
56
  "@types/html-escaper": "^3.0.2",
57
57
  "@types/jest": "^27.4.0",
@@ -1,90 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @license
5
- * Copyright 2020 Google Inc.
6
- *
7
- * Permission is hereby granted, free of charge, to any person obtaining a copy
8
- * of this software and associated documentation files (the "Software"), to deal
9
- * in the Software without restriction, including without limitation the rights
10
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- * copies of the Software, and to permit persons to whom the Software is
12
- * furnished to do so, subject to the following conditions:
13
- *
14
- * The above copyright notice and this permission notice shall be included in
15
- * all copies or substantial portions of the Software.
16
- *
17
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
- * THE SOFTWARE.
24
- */
25
- /**
26
- * AnimationFrame provides a user-friendly abstraction around requesting
27
- * and canceling animation frames.
28
- */
29
- var AnimationFrame = /** @class */ (function () {
30
- function AnimationFrame() {
31
- this.rafIDs = new Map();
32
- }
33
- /**
34
- * Requests an animation frame. Cancels any existing frame with the same key.
35
- * @param {string} key The key for this callback.
36
- * @param {FrameRequestCallback} callback The callback to be executed.
37
- */
38
- AnimationFrame.prototype.request = function (key, callback) {
39
- var _this = this;
40
- this.cancel(key);
41
- var frameID = requestAnimationFrame(function (frame) {
42
- _this.rafIDs.delete(key);
43
- // Callback must come *after* the key is deleted so that nested calls to
44
- // request with the same key are not deleted.
45
- callback(frame);
46
- });
47
- this.rafIDs.set(key, frameID);
48
- };
49
- /**
50
- * Cancels a queued callback with the given key.
51
- * @param {string} key The key for this callback.
52
- */
53
- AnimationFrame.prototype.cancel = function (key) {
54
- var rafID = this.rafIDs.get(key);
55
- if (rafID) {
56
- cancelAnimationFrame(rafID);
57
- this.rafIDs.delete(key);
58
- }
59
- };
60
- /**
61
- * Cancels all queued callback.
62
- */
63
- AnimationFrame.prototype.cancelAll = function () {
64
- var _this = this;
65
- // Need to use forEach because it's the only iteration method supported
66
- // by IE11. Suppress the underscore because we don't need it.
67
- // tslint:disable-next-line:enforce-name-casing
68
- this.rafIDs.forEach(function (_, key) {
69
- _this.cancel(key);
70
- });
71
- };
72
- /**
73
- * Returns the queue of unexecuted callback keys.
74
- */
75
- AnimationFrame.prototype.getQueue = function () {
76
- var queue = [];
77
- // Need to use forEach because it's the only iteration method supported
78
- // by IE11. Suppress the underscore because we don't need it.
79
- // tslint:disable-next-line:enforce-name-casing
80
- this.rafIDs.forEach(function (_, key) {
81
- queue.push(key);
82
- });
83
- return queue;
84
- };
85
- return AnimationFrame;
86
- }());
87
-
88
- exports.AnimationFrame = AnimationFrame;
89
-
90
- //# sourceMappingURL=animationframe-e4c1798e.js.map
@@ -1 +0,0 @@
1
- {"file":"animationframe-e4c1798e.js","mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,cAAc,kBAAkB,YAAY;AAChD,IAAI,SAAS,cAAc,GAAG;AAC9B,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,EAAE,CAAC;AAChC,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,IAAI,cAAc,CAAC,SAAS,CAAC,OAAO,GAAG,UAAU,GAAG,EAAE,QAAQ,EAAE;AAChE,QAAQ,IAAI,KAAK,GAAG,IAAI,CAAC;AACzB,QAAQ,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACzB,QAAQ,IAAI,OAAO,GAAG,qBAAqB,CAAC,UAAU,KAAK,EAAE;AAC7D,YAAY,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACrC;AACA;AACA,YAAY,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC5B,SAAS,CAAC,CAAC;AACX,QAAQ,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AACtC,KAAK,CAAC;AACN;AACA;AACA;AACA;AACA,IAAI,cAAc,CAAC,SAAS,CAAC,MAAM,GAAG,UAAU,GAAG,EAAE;AACrD,QAAQ,IAAI,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACzC,QAAQ,IAAI,KAAK,EAAE;AACnB,YAAY,oBAAoB,CAAC,KAAK,CAAC,CAAC;AACxC,YAAY,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACpC,SAAS;AACT,KAAK,CAAC;AACN;AACA;AACA;AACA,IAAI,cAAc,CAAC,SAAS,CAAC,SAAS,GAAG,YAAY;AACrD,QAAQ,IAAI,KAAK,GAAG,IAAI,CAAC;AACzB;AACA;AACA;AACA,QAAQ,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE;AAC9C,YAAY,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAC9B,SAAS,CAAC,CAAC;AACX,KAAK,CAAC;AACN;AACA;AACA;AACA,IAAI,cAAc,CAAC,SAAS,CAAC,QAAQ,GAAG,YAAY;AACpD,QAAQ,IAAI,KAAK,GAAG,EAAE,CAAC;AACvB;AACA;AACA;AACA,QAAQ,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE;AAC9C,YAAY,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC5B,SAAS,CAAC,CAAC;AACX,QAAQ,OAAO,KAAK,CAAC;AACrB,KAAK,CAAC;AACN,IAAI,OAAO,cAAc,CAAC;AAC1B,CAAC,EAAE;;;;","names":[],"sources":["./node_modules/@material/animation/animationframe.js"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n/**\n * AnimationFrame provides a user-friendly abstraction around requesting\n * and canceling animation frames.\n */\nvar AnimationFrame = /** @class */ (function () {\n function AnimationFrame() {\n this.rafIDs = new Map();\n }\n /**\n * Requests an animation frame. Cancels any existing frame with the same key.\n * @param {string} key The key for this callback.\n * @param {FrameRequestCallback} callback The callback to be executed.\n */\n AnimationFrame.prototype.request = function (key, callback) {\n var _this = this;\n this.cancel(key);\n var frameID = requestAnimationFrame(function (frame) {\n _this.rafIDs.delete(key);\n // Callback must come *after* the key is deleted so that nested calls to\n // request with the same key are not deleted.\n callback(frame);\n });\n this.rafIDs.set(key, frameID);\n };\n /**\n * Cancels a queued callback with the given key.\n * @param {string} key The key for this callback.\n */\n AnimationFrame.prototype.cancel = function (key) {\n var rafID = this.rafIDs.get(key);\n if (rafID) {\n cancelAnimationFrame(rafID);\n this.rafIDs.delete(key);\n }\n };\n /**\n * Cancels all queued callback.\n */\n AnimationFrame.prototype.cancelAll = function () {\n var _this = this;\n // Need to use forEach because it's the only iteration method supported\n // by IE11. Suppress the underscore because we don't need it.\n // tslint:disable-next-line:enforce-name-casing\n this.rafIDs.forEach(function (_, key) {\n _this.cancel(key);\n });\n };\n /**\n * Returns the queue of unexecuted callback keys.\n */\n AnimationFrame.prototype.getQueue = function () {\n var queue = [];\n // Need to use forEach because it's the only iteration method supported\n // by IE11. Suppress the underscore because we don't need it.\n // tslint:disable-next-line:enforce-name-casing\n this.rafIDs.forEach(function (_, key) {\n queue.push(key);\n });\n return queue;\n };\n return AnimationFrame;\n}());\nexport { AnimationFrame };\n//# sourceMappingURL=animationframe.js.map"],"version":3}
@@ -1,88 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2020 Google Inc.
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- */
23
- /**
24
- * AnimationFrame provides a user-friendly abstraction around requesting
25
- * and canceling animation frames.
26
- */
27
- var AnimationFrame = /** @class */ (function () {
28
- function AnimationFrame() {
29
- this.rafIDs = new Map();
30
- }
31
- /**
32
- * Requests an animation frame. Cancels any existing frame with the same key.
33
- * @param {string} key The key for this callback.
34
- * @param {FrameRequestCallback} callback The callback to be executed.
35
- */
36
- AnimationFrame.prototype.request = function (key, callback) {
37
- var _this = this;
38
- this.cancel(key);
39
- var frameID = requestAnimationFrame(function (frame) {
40
- _this.rafIDs.delete(key);
41
- // Callback must come *after* the key is deleted so that nested calls to
42
- // request with the same key are not deleted.
43
- callback(frame);
44
- });
45
- this.rafIDs.set(key, frameID);
46
- };
47
- /**
48
- * Cancels a queued callback with the given key.
49
- * @param {string} key The key for this callback.
50
- */
51
- AnimationFrame.prototype.cancel = function (key) {
52
- var rafID = this.rafIDs.get(key);
53
- if (rafID) {
54
- cancelAnimationFrame(rafID);
55
- this.rafIDs.delete(key);
56
- }
57
- };
58
- /**
59
- * Cancels all queued callback.
60
- */
61
- AnimationFrame.prototype.cancelAll = function () {
62
- var _this = this;
63
- // Need to use forEach because it's the only iteration method supported
64
- // by IE11. Suppress the underscore because we don't need it.
65
- // tslint:disable-next-line:enforce-name-casing
66
- this.rafIDs.forEach(function (_, key) {
67
- _this.cancel(key);
68
- });
69
- };
70
- /**
71
- * Returns the queue of unexecuted callback keys.
72
- */
73
- AnimationFrame.prototype.getQueue = function () {
74
- var queue = [];
75
- // Need to use forEach because it's the only iteration method supported
76
- // by IE11. Suppress the underscore because we don't need it.
77
- // tslint:disable-next-line:enforce-name-casing
78
- this.rafIDs.forEach(function (_, key) {
79
- queue.push(key);
80
- });
81
- return queue;
82
- };
83
- return AnimationFrame;
84
- }());
85
-
86
- export { AnimationFrame as A };
87
-
88
- //# sourceMappingURL=animationframe-b52af02d.js.map
@@ -1 +0,0 @@
1
- {"file":"animationframe-b52af02d.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,cAAc,kBAAkB,YAAY;AAChD,IAAI,SAAS,cAAc,GAAG;AAC9B,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,EAAE,CAAC;AAChC,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,IAAI,cAAc,CAAC,SAAS,CAAC,OAAO,GAAG,UAAU,GAAG,EAAE,QAAQ,EAAE;AAChE,QAAQ,IAAI,KAAK,GAAG,IAAI,CAAC;AACzB,QAAQ,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACzB,QAAQ,IAAI,OAAO,GAAG,qBAAqB,CAAC,UAAU,KAAK,EAAE;AAC7D,YAAY,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACrC;AACA;AACA,YAAY,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC5B,SAAS,CAAC,CAAC;AACX,QAAQ,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AACtC,KAAK,CAAC;AACN;AACA;AACA;AACA;AACA,IAAI,cAAc,CAAC,SAAS,CAAC,MAAM,GAAG,UAAU,GAAG,EAAE;AACrD,QAAQ,IAAI,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACzC,QAAQ,IAAI,KAAK,EAAE;AACnB,YAAY,oBAAoB,CAAC,KAAK,CAAC,CAAC;AACxC,YAAY,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACpC,SAAS;AACT,KAAK,CAAC;AACN;AACA;AACA;AACA,IAAI,cAAc,CAAC,SAAS,CAAC,SAAS,GAAG,YAAY;AACrD,QAAQ,IAAI,KAAK,GAAG,IAAI,CAAC;AACzB;AACA;AACA;AACA,QAAQ,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE;AAC9C,YAAY,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAC9B,SAAS,CAAC,CAAC;AACX,KAAK,CAAC;AACN;AACA;AACA;AACA,IAAI,cAAc,CAAC,SAAS,CAAC,QAAQ,GAAG,YAAY;AACpD,QAAQ,IAAI,KAAK,GAAG,EAAE,CAAC;AACvB;AACA;AACA;AACA,QAAQ,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE;AAC9C,YAAY,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC5B,SAAS,CAAC,CAAC;AACX,QAAQ,OAAO,KAAK,CAAC;AACrB,KAAK,CAAC;AACN,IAAI,OAAO,cAAc,CAAC;AAC1B,CAAC,EAAE;;;;","names":[],"sources":["./node_modules/@material/animation/animationframe.js"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n/**\n * AnimationFrame provides a user-friendly abstraction around requesting\n * and canceling animation frames.\n */\nvar AnimationFrame = /** @class */ (function () {\n function AnimationFrame() {\n this.rafIDs = new Map();\n }\n /**\n * Requests an animation frame. Cancels any existing frame with the same key.\n * @param {string} key The key for this callback.\n * @param {FrameRequestCallback} callback The callback to be executed.\n */\n AnimationFrame.prototype.request = function (key, callback) {\n var _this = this;\n this.cancel(key);\n var frameID = requestAnimationFrame(function (frame) {\n _this.rafIDs.delete(key);\n // Callback must come *after* the key is deleted so that nested calls to\n // request with the same key are not deleted.\n callback(frame);\n });\n this.rafIDs.set(key, frameID);\n };\n /**\n * Cancels a queued callback with the given key.\n * @param {string} key The key for this callback.\n */\n AnimationFrame.prototype.cancel = function (key) {\n var rafID = this.rafIDs.get(key);\n if (rafID) {\n cancelAnimationFrame(rafID);\n this.rafIDs.delete(key);\n }\n };\n /**\n * Cancels all queued callback.\n */\n AnimationFrame.prototype.cancelAll = function () {\n var _this = this;\n // Need to use forEach because it's the only iteration method supported\n // by IE11. Suppress the underscore because we don't need it.\n // tslint:disable-next-line:enforce-name-casing\n this.rafIDs.forEach(function (_, key) {\n _this.cancel(key);\n });\n };\n /**\n * Returns the queue of unexecuted callback keys.\n */\n AnimationFrame.prototype.getQueue = function () {\n var queue = [];\n // Need to use forEach because it's the only iteration method supported\n // by IE11. Suppress the underscore because we don't need it.\n // tslint:disable-next-line:enforce-name-casing\n this.rafIDs.forEach(function (_, key) {\n queue.push(key);\n });\n return queue;\n };\n return AnimationFrame;\n}());\nexport { AnimationFrame };\n//# sourceMappingURL=animationframe.js.map"],"version":3}
@@ -1,2 +0,0 @@
1
- import{M as n,j as r,b as t,k as u,e}from"./p-1b9d3851.js";import{S as i,i as f}from"./p-c93050d6.js";import{i as a}from"./p-0b1af919.js";import{i as o}from"./p-d529bb7d.js";import{a as c,i as l}from"./p-669626e5.js";import{i as s,a as v}from"./p-9acf7b5d.js";var d=1/0;var p=i?i.prototype:undefined,b=p?p.toString:undefined;function m(n){if(typeof n=="string"){return n}if(a(n)){return c(n,m)+""}if(o(n)){return b?b.call(n):""}var r=n+"";return r=="0"&&1/n==-d?"-0":r}var j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,w=/^\w*$/;function h(n,r){if(a(n)){return false}var t=typeof n;if(t=="number"||t=="symbol"||t=="boolean"||n==null||o(n)){return true}return w.test(n)||!j.test(n)||r!=null&&n in Object(r)}var y="Expected a function";function g(r,t){if(typeof r!="function"||t!=null&&typeof t!="function"){throw new TypeError(y)}var u=function(){var n=arguments,e=t?t.apply(this,n):n[0],i=u.cache;if(i.has(e)){return i.get(e)}var f=r.apply(this,n);u.cache=i.set(e,f)||i;return f};u.cache=new(g.Cache||n);return u}g.Cache=n;var O=500;function $(n){var r=g(n,(function(n){if(t.size===O){t.clear()}return n}));var t=r.cache;return r}var k=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var x=/\\(\\)?/g;var E=$((function(n){var r=[];if(n.charCodeAt(0)===46){r.push("")}n.replace(k,(function(n,t,u,e){r.push(u?e.replace(x,"$1"):t||n)}));return r}));function M(n){return n==null?"":m(n)}function S(n,r){if(a(n)){return n}return h(n,r)?[n]:E(M(n))}var T=1/0;function q(n){if(typeof n=="string"||o(n)){return n}var r=n+"";return r=="0"&&1/n==-T?"-0":r}function z(n,r){r=S(r,n);var t=0,u=r.length;while(n!=null&&t<u){n=n[q(r[t++])]}return t&&t==u?n:undefined}function A(n,r,t){var u=n==null?undefined:z(n,r);return u===undefined?t:u}var B=1,C=2;function D(n,u,e,i){var f=e.length,a=f,o=!i;if(n==null){return!a}n=Object(n);while(f--){var c=e[f];if(o&&c[2]?c[1]!==n[c[0]]:!(c[0]in n)){return false}}while(++f<a){c=e[f];var l=c[0],s=n[l],v=c[1];if(o&&c[2]){if(s===undefined&&!(l in n)){return false}}else{var d=new r;if(i){var p=i(s,v,l,n,u,d)}if(!(p===undefined?t(v,s,B|C,i,d):p)){return false}}}return true}function F(n){return n===n&&!f(n)}function G(n){var r=u(n),t=r.length;while(t--){var e=r[t],i=n[e];r[t]=[e,i,F(i)]}return r}function H(n,r){return function(t){if(t==null){return false}return t[n]===r&&(r!==undefined||n in Object(t))}}function I(n){var r=G(n);if(r.length==1&&r[0][2]){return H(r[0][0],r[0][1])}return function(t){return t===n||D(t,n,r)}}function J(n,r){return n!=null&&r in Object(n)}function K(n,r,t){r=S(r,n);var u=-1,i=r.length,f=false;while(++u<i){var o=q(r[u]);if(!(f=n!=null&&t(n,o))){break}n=n[o]}if(f||++u!=i){return f}i=n==null?0:n.length;return!!i&&s(i)&&v(o,i)&&(a(n)||e(n))}function L(n,r){return n!=null&&K(n,r,J)}var N=1,P=2;function Q(n,r){if(h(n)&&F(r)){return H(q(n),r)}return function(u){var e=A(u,n);return e===undefined&&e===r?L(u,n):t(r,e,N|P)}}function R(n){return function(r){return r==null?undefined:r[n]}}function U(n){return function(r){return z(r,n)}}function V(n){return h(n)?R(q(n)):U(n)}function W(n){if(typeof n=="function"){return n}if(n==null){return l}if(typeof n=="object"){return a(n)?Q(n[0],n[1]):I(n)}return V(n)}export{q as a,W as b,S as c,z as d,A as g,K as h,M as t};
2
- //# sourceMappingURL=p-038bd215.js.map
@@ -1,2 +0,0 @@
1
- import{i as r,d as t,e as a,g as e,f,h as i}from"./p-1b9d3851.js";import{i as o}from"./p-0b1af919.js";import{b as s}from"./p-9acf7b5d.js";var n="[object Map]",u="[object Set]";var p=Object.prototype;var b=p.hasOwnProperty;function c(p){if(p==null){return true}if(s(p)&&(o(p)||typeof p=="string"||typeof p.splice=="function"||r(p)||t(p)||a(p))){return!p.length}var c=e(p);if(c==n||c==u){return!p.size}if(f(p)){return!i(p).length}for(var j in p){if(b.call(p,j)){return false}}return true}export{c as i};
2
- //# sourceMappingURL=p-0ec8eec7.js.map
@@ -1,2 +0,0 @@
1
- import{f as r,l as a,o as t,n,p as o,q as s,r as f}from"./p-1b9d3851.js";import{i}from"./p-c93050d6.js";import{b as c}from"./p-9acf7b5d.js";function e(r){var a=[];if(r!=null){for(var t in Object(r)){a.push(t)}}return a}var u=Object.prototype;var v=u.hasOwnProperty;function b(a){if(!i(a)){return e(a)}var t=r(a),n=[];for(var o in a){if(!(o=="constructor"&&(t||!v.call(a,o)))){n.push(o)}}return n}function j(r){return c(r)?a(r,true):b(r)}var p=t(Object.getPrototypeOf,Object);var m=Object.getOwnPropertySymbols;var O=!m?n:function(r){var a=[];while(r){o(a,s(r));r=p(r)}return a};function l(r){return f(r,j,O)}export{l as a,O as b,p as g,j as k};
2
- //# sourceMappingURL=p-22704cbc.js.map
@@ -1,24 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2020 Google Inc.
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- */
23
- var n=function(){function n(){this.rafIDs=new Map}n.prototype.request=function(n,t){var i=this;this.cancel(n);var r=requestAnimationFrame((function(r){i.rafIDs.delete(n);t(r)}));this.rafIDs.set(n,r)};n.prototype.cancel=function(n){var t=this.rafIDs.get(n);if(t){cancelAnimationFrame(t);this.rafIDs.delete(n)}};n.prototype.cancelAll=function(){var n=this;this.rafIDs.forEach((function(t,i){n.cancel(i)}))};n.prototype.getQueue=function(){var n=[];this.rafIDs.forEach((function(t,i){n.push(i)}));return n};return n}();export{n as A};
24
- //# sourceMappingURL=p-48105d44.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["AnimationFrame","this","rafIDs","Map","prototype","request","key","callback","_this","cancel","frameID","requestAnimationFrame","frame","delete","set","rafID","get","cancelAnimationFrame","cancelAll","forEach","_","getQueue","queue","push"],"sources":["./node_modules/@material/animation/animationframe.js"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n/**\n * AnimationFrame provides a user-friendly abstraction around requesting\n * and canceling animation frames.\n */\nvar AnimationFrame = /** @class */ (function () {\n function AnimationFrame() {\n this.rafIDs = new Map();\n }\n /**\n * Requests an animation frame. Cancels any existing frame with the same key.\n * @param {string} key The key for this callback.\n * @param {FrameRequestCallback} callback The callback to be executed.\n */\n AnimationFrame.prototype.request = function (key, callback) {\n var _this = this;\n this.cancel(key);\n var frameID = requestAnimationFrame(function (frame) {\n _this.rafIDs.delete(key);\n // Callback must come *after* the key is deleted so that nested calls to\n // request with the same key are not deleted.\n callback(frame);\n });\n this.rafIDs.set(key, frameID);\n };\n /**\n * Cancels a queued callback with the given key.\n * @param {string} key The key for this callback.\n */\n AnimationFrame.prototype.cancel = function (key) {\n var rafID = this.rafIDs.get(key);\n if (rafID) {\n cancelAnimationFrame(rafID);\n this.rafIDs.delete(key);\n }\n };\n /**\n * Cancels all queued callback.\n */\n AnimationFrame.prototype.cancelAll = function () {\n var _this = this;\n // Need to use forEach because it's the only iteration method supported\n // by IE11. Suppress the underscore because we don't need it.\n // tslint:disable-next-line:enforce-name-casing\n this.rafIDs.forEach(function (_, key) {\n _this.cancel(key);\n });\n };\n /**\n * Returns the queue of unexecuted callback keys.\n */\n AnimationFrame.prototype.getQueue = function () {\n var queue = [];\n // Need to use forEach because it's the only iteration method supported\n // by IE11. Suppress the underscore because we don't need it.\n // tslint:disable-next-line:enforce-name-casing\n this.rafIDs.forEach(function (_, key) {\n queue.push(key);\n });\n return queue;\n };\n return AnimationFrame;\n}());\nexport { AnimationFrame };\n//# sourceMappingURL=animationframe.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA0BG,IAACA,EAAgC,WAChC,SAASA,IACLC,KAAKC,OAAS,IAAIC,GAC1B,CAMIH,EAAeI,UAAUC,QAAU,SAAUC,EAAKC,GAC9C,IAAIC,EAAQP,KACZA,KAAKQ,OAAOH,GACZ,IAAII,EAAUC,uBAAsB,SAAUC,GAC1CJ,EAAMN,OAAOW,OAAOP,GAGpBC,EAASK,EACrB,IACQX,KAAKC,OAAOY,IAAIR,EAAKI,EAC7B,EAKIV,EAAeI,UAAUK,OAAS,SAAUH,GACxC,IAAIS,EAAQd,KAAKC,OAAOc,IAAIV,GAC5B,GAAIS,EAAO,CACPE,qBAAqBF,GACrBd,KAAKC,OAAOW,OAAOP,EAC/B,CACA,EAIIN,EAAeI,UAAUc,UAAY,WACjC,IAAIV,EAAQP,KAIZA,KAAKC,OAAOiB,SAAQ,SAAUC,EAAGd,GAC7BE,EAAMC,OAAOH,EACzB,GACA,EAIIN,EAAeI,UAAUiB,SAAW,WAChC,IAAIC,EAAQ,GAIZrB,KAAKC,OAAOiB,SAAQ,SAAUC,EAAGd,GAC7BgB,EAAMC,KAAKjB,EACvB,IACQ,OAAOgB,CACf,EACI,OAAOtB,CACX,CAzDkB,U"}
@@ -1,2 +0,0 @@
1
- import{h as r,c as n,a as t,d as e,b as i}from"./p-038bd215.js";import{a}from"./p-669626e5.js";import{a as u}from"./p-b28128d2.js";import{a as o}from"./p-9acf7b5d.js";import{i as s}from"./p-c93050d6.js";import{a as f}from"./p-22704cbc.js";var c=Object.prototype;var p=c.hasOwnProperty;function m(r,n){return r!=null&&p.call(r,n)}function h(n,t){return n!=null&&r(n,t,m)}var d="Expected a function";function l(r){if(typeof r!="function"){throw new TypeError(d)}return function(){var n=arguments;switch(n.length){case 0:return!r.call(this);case 1:return!r.call(this,n[0]);case 2:return!r.call(this,n[0],n[1]);case 3:return!r.call(this,n[0],n[1],n[2])}return!r.apply(this,n)}}function v(r,e,i,a){if(!s(r)){return r}e=n(e,r);var f=-1,c=e.length,p=c-1,m=r;while(m!=null&&++f<c){var h=t(e[f]),d=i;if(h==="__proto__"||h==="constructor"||h==="prototype"){return r}if(f!=p){var l=m[h];d=a?a(l,h,m):undefined;if(d===undefined){d=s(l)?l:o(e[f+1])?[]:{}}}u(m,h,d);m=m[h]}return r}function j(r,t,i){var a=-1,u=t.length,o={};while(++a<u){var s=t[a],f=e(r,s);if(i(f,s)){v(o,n(s,r),f)}}return o}function b(r,n){if(r==null){return{}}var t=a(f(r),(function(r){return[r]}));n=i(n);return j(r,t,(function(r,t){return n(r,t[0])}))}export{h,l as n,b as p};
2
- //# sourceMappingURL=p-48ef6a20.js.map