@openremote/or-data-viewer 1.8.0-snapshot.20250723094757 → 1.8.0-snapshot.20250725070921

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/lib/index.d.ts CHANGED
@@ -57,7 +57,7 @@ declare const OrDataViewer_base: (new (...args: any[]) => {
57
57
  _i18nextJustInitialized: boolean;
58
58
  connectedCallback(): void;
59
59
  disconnectedCallback(): void;
60
- shouldUpdate(changedProps: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): any;
60
+ shouldUpdate(changedProps: PropertyValues): any;
61
61
  initCallback: (options: import("i18next").InitOptions) => void;
62
62
  langChangedCallback: () => void;
63
63
  readonly isConnected: boolean;
package/lib/index.js CHANGED
@@ -1,25 +1,25 @@
1
- var OrDataViewer_1,__decorate=this&&this.__decorate||function(e,t,r,i){var a,o=arguments.length,n=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n};import{html,LitElement}from"lit";import{customElement,property}from"lit/decorators.js";import"@openremote/or-chart";import"@openremote/or-translate";import{translate}from"@openremote/or-translate";import"@openremote/or-components/or-panel";import{OrChartEvent}from"@openremote/or-chart";import{style}from"./style";import i18next from"i18next";import{styleMap}from"lit/directives/style-map.js";import{classMap}from"lit/directives/class-map.js";import"@openremote/or-attribute-card";import manager from"@openremote/core";export class OrDataViewerRenderCompleteEvent extends CustomEvent{constructor(){super(OrDataViewerRenderCompleteEvent.NAME,{bubbles:!0,composed:!0})}}OrDataViewerRenderCompleteEvent.NAME="or-data-viewer-render-complete-event";export class OrDataViewerConfigInvalidEvent extends CustomEvent{constructor(){super(OrDataViewerConfigInvalidEvent.NAME,{bubbles:!0,composed:!0})}}OrDataViewerConfigInvalidEvent.NAME="or-data-viewer-config-invalid-event";let OrDataViewer=OrDataViewer_1=class extends(translate(i18next)(LitElement)){static get styles(){return[style]}static generateGrid(e){if(e){const t=e.querySelector("#container");if(t){const r=parseInt(window.getComputedStyle(t).getPropertyValue("grid-auto-rows"),10),i=parseInt(window.getComputedStyle(t).getPropertyValue("grid-row-gap"),10),a=e.querySelectorAll(".panel");a&&a.forEach((e=>{const t=e.querySelector(".panel-content-wrapper");if(t){const a=Math.ceil((t.getBoundingClientRect().height+i)/(r+i));e.style.gridRowEnd="span "+a}}))}}}constructor(){super(),this._loading=!1,this._resizeHandler=()=>{OrDataViewer_1.generateGrid(this.shadowRoot)},this.addEventListener(OrChartEvent.NAME,(()=>OrDataViewer_1.generateGrid(this.shadowRoot)))}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this._resizeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this._resizeHandler)}refresh(){this.realm=manager.displayRealm}getPanel(e,t){const r=this.getPanelContent(e,t);return r?html`
2
- <div class=${classMap({panel:!0,mobileHidden:!0===t.hideOnMobile})} id="${e}-panel" style="${t&&t.panelStyles?styleMap(t.panelStyles):""}">
1
+ var OrDataViewer_1,__decorate=this&&this.__decorate||function(e,t,r,i){var a,o=arguments.length,n=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n};import{html as e,LitElement as t}from"lit";import{customElement as r,property as i}from"lit/decorators.js";import"@openremote/or-chart";import"@openremote/or-translate";import{translate as a}from"@openremote/or-translate";import"@openremote/or-components/or-panel";import{OrChartEvent as o}from"@openremote/or-chart";import{style as n}from"./style";import l from"i18next";import{styleMap as s}from"lit/directives/style-map.js";import{classMap as p}from"lit/directives/class-map.js";import"@openremote/or-attribute-card";import d from"@openremote/core";export class OrDataViewerRenderCompleteEvent extends CustomEvent{constructor(){super(OrDataViewerRenderCompleteEvent.NAME,{bubbles:!0,composed:!0})}}OrDataViewerRenderCompleteEvent.NAME="or-data-viewer-render-complete-event";export class OrDataViewerConfigInvalidEvent extends CustomEvent{constructor(){super(OrDataViewerConfigInvalidEvent.NAME,{bubbles:!0,composed:!0})}}OrDataViewerConfigInvalidEvent.NAME="or-data-viewer-config-invalid-event";let OrDataViewer=OrDataViewer_1=class extends a(l)(t){static get styles(){return[n]}static generateGrid(e){if(e){let t=e.querySelector("#container");if(t){let r=parseInt(window.getComputedStyle(t).getPropertyValue("grid-auto-rows"),10),i=parseInt(window.getComputedStyle(t).getPropertyValue("grid-row-gap"),10),a=e.querySelectorAll(".panel");a&&a.forEach(e=>{let t=e.querySelector(".panel-content-wrapper");if(t){let a=Math.ceil((t.getBoundingClientRect().height+i)/(r+i));e.style.gridRowEnd="span "+a}})}}}constructor(){super(),this._loading=!1,this._resizeHandler=()=>{OrDataViewer_1.generateGrid(this.shadowRoot)},this.addEventListener(o.NAME,()=>OrDataViewer_1.generateGrid(this.shadowRoot))}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this._resizeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this._resizeHandler)}refresh(){this.realm=d.displayRealm}getPanel(t,r){let i=this.getPanelContent(t,r);return i?e`
2
+ <div class=${p({panel:!0,mobileHidden:!0===r.hideOnMobile})} id="${t}-panel" style="${r&&r.panelStyles?s(r.panelStyles):""}">
3
3
  <div class="panel-content-wrapper">
4
- ${t&&"chart"===t.type?html`
4
+ ${r&&"chart"===r.type?e`
5
5
  <div class="panel-title">
6
- <or-translate value="${e}"></or-translate>
6
+ <or-translate value="${t}"></or-translate>
7
7
  </div>
8
8
  `:""}
9
9
 
10
10
  <div class="panel-content">
11
- ${r}
11
+ ${i}
12
12
  </div>
13
13
  </div>
14
14
  </div>
15
- `:html``}getPanelContent(e,t){if(t.hide||!this.config)return;let r;return this.realm=manager.displayRealm,t&&"chart"===t.type&&(r=html`<or-chart id="chart" panelName="${e}" .config="${this.config.chartConfig}" .realm="${this.realm}"></or-chart>`),t&&"kpi"===t.type&&(r=html`
16
- <or-attribute-card panelName="${e}" .config="${this.config.chartConfig}" .realm="${this.realm}"></or-attribute-card>
17
- `),r}render(){return this._loading?html`
15
+ `:e``}getPanelContent(t,r){let i;if(!r.hide&&this.config)return this.realm=d.displayRealm,r&&"chart"===r.type&&(i=e`<or-chart id="chart" panelName="${t}" .config="${this.config.chartConfig}" .realm="${this.realm}"></or-chart>`),r&&"kpi"===r.type&&(i=e`
16
+ <or-attribute-card panelName="${t}" .config="${this.config.chartConfig}" .realm="${this.realm}"></or-attribute-card>
17
+ `),i}render(){return this._loading?e`
18
18
  <div class="msg"><or-translate value="loading"></or-translate></div>
19
- `:(this.config||(this.config=Object.assign({},OrDataViewer_1.DEFAULT_CONFIG)),html`
19
+ `:(this.config||(this.config=Object.assign({},OrDataViewer_1.DEFAULT_CONFIG)),e`
20
20
  <div id="wrapper">
21
- <div id="container" style="${this.config.viewerStyles?styleMap(this.config.viewerStyles):""}">
21
+ <div id="container" style="${this.config.viewerStyles?s(this.config.viewerStyles):""}">
22
22
  ${this.renderConfig()}
23
23
  </div>
24
24
  </div>
25
- `)}renderConfig(){let e=this.config?this.config:OrDataViewer_1.DEFAULT_CONFIG;try{return Object.entries(e.panels).map((([e,t])=>this.getPanel(e,t)))}catch(t){return console.warn("OR data viewer config is invalid"),this.config=void 0,this.dispatchEvent(new OrDataViewerConfigInvalidEvent),e=OrDataViewer_1.DEFAULT_CONFIG,Object.entries(e.panels).map((([e,t])=>this.getPanel(e,t)))}}updated(e){super.updated(e),e.has("realm")&&this.refresh(),this.updateComplete.then((()=>{this.dispatchEvent(new OrDataViewerRenderCompleteEvent),OrDataViewer_1.generateGrid(this.shadowRoot)}))}};OrDataViewer.DEFAULT_PANEL_TYPE="chart",OrDataViewer.DEFAULT_CONFIG={viewerStyles:{},panels:{chart:{type:"chart",hideOnMobile:!0,panelStyles:{gridColumn:"1 / -1"}},kpi1:{type:"kpi",hideOnMobile:!1},kpi2:{type:"kpi",hideOnMobile:!1},kpi3:{type:"kpi",hideOnMobile:!1},kpi4:{type:"kpi",hideOnMobile:!1},kpi5:{type:"kpi",hideOnMobile:!1},kpi6:{type:"kpi",hideOnMobile:!1},kpi7:{type:"kpi",hideOnMobile:!1},kpi8:{type:"kpi",hideOnMobile:!1},chart2:{type:"chart",hideOnMobile:!0,panelStyles:{gridColumn:"1 / -1"}},chart3:{type:"chart",hideOnMobile:!0,panelStyles:{gridColumn:"1 / -1"}}}},__decorate([property()],OrDataViewer.prototype,"config",void 0),__decorate([property({type:Array,attribute:!1})],OrDataViewer.prototype,"_assets",void 0),__decorate([property()],OrDataViewer.prototype,"_loading",void 0),__decorate([property()],OrDataViewer.prototype,"realm",void 0),OrDataViewer=OrDataViewer_1=__decorate([customElement("or-data-viewer")],OrDataViewer);export{OrDataViewer};
25
+ `)}renderConfig(){let e=this.config?this.config:OrDataViewer_1.DEFAULT_CONFIG;try{return Object.entries(e.panels).map(([e,t])=>this.getPanel(e,t))}catch(t){return console.warn("OR data viewer config is invalid"),this.config=void 0,this.dispatchEvent(new OrDataViewerConfigInvalidEvent),Object.entries((e=OrDataViewer_1.DEFAULT_CONFIG).panels).map(([e,t])=>this.getPanel(e,t))}}updated(e){super.updated(e),e.has("realm")&&this.refresh(),this.updateComplete.then(()=>{this.dispatchEvent(new OrDataViewerRenderCompleteEvent),OrDataViewer_1.generateGrid(this.shadowRoot)})}};OrDataViewer.DEFAULT_PANEL_TYPE="chart",OrDataViewer.DEFAULT_CONFIG={viewerStyles:{},panels:{chart:{type:"chart",hideOnMobile:!0,panelStyles:{gridColumn:"1 / -1"}},kpi1:{type:"kpi",hideOnMobile:!1},kpi2:{type:"kpi",hideOnMobile:!1},kpi3:{type:"kpi",hideOnMobile:!1},kpi4:{type:"kpi",hideOnMobile:!1},kpi5:{type:"kpi",hideOnMobile:!1},kpi6:{type:"kpi",hideOnMobile:!1},kpi7:{type:"kpi",hideOnMobile:!1},kpi8:{type:"kpi",hideOnMobile:!1},chart2:{type:"chart",hideOnMobile:!0,panelStyles:{gridColumn:"1 / -1"}},chart3:{type:"chart",hideOnMobile:!0,panelStyles:{gridColumn:"1 / -1"}}}},__decorate([i()],OrDataViewer.prototype,"config",void 0),__decorate([i({type:Array,attribute:!1})],OrDataViewer.prototype,"_assets",void 0),__decorate([i()],OrDataViewer.prototype,"_loading",void 0),__decorate([i()],OrDataViewer.prototype,"realm",void 0),OrDataViewer=OrDataViewer_1=__decorate([r("or-data-viewer")],OrDataViewer);export{OrDataViewer};
package/lib/style.js CHANGED
@@ -1,13 +1,13 @@
1
- import{css,unsafeCSS}from"lit";import{DefaultColor1,DefaultColor2,DefaultColor3,DefaultColor5}from"@openremote/core";export const style=css`
1
+ import{css as e,unsafeCSS as r}from"lit";import{DefaultColor1 as a,DefaultColor2 as o,DefaultColor3 as i,DefaultColor5 as t}from"@openremote/core";export const style=e`
2
2
 
3
3
  :host {
4
- --internal-or-asset-viewer-background-color: var(--or-asset-viewer-background-color, var(--or-app-color2, ${unsafeCSS(DefaultColor2)}));
4
+ --internal-or-asset-viewer-background-color: var(--or-asset-viewer-background-color, var(--or-app-color2, ${r(o)}));
5
5
  --internal-or-asset-viewer-panel-margin: var(--or-asset-viewer-panel-margin, 20px);
6
6
  --internal-or-asset-viewer-panel-padding: var(--or-asset-viewer-panel-padding, 24px);
7
- --internal-or-asset-viewer-text-color: var(--or-asset-viewer-text-color, var(--or-app-color3, ${unsafeCSS(DefaultColor3)}));
8
- --internal-or-asset-viewer-title-text-color: var(--or-asset-viewer-title-text-color, var(--or-app-color3, ${unsafeCSS(DefaultColor3)}));
9
- --internal-or-asset-viewer-panel-color: var(--or-asset-viewer-panel-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)}));
10
- --internal-or-asset-viewer-line-color: var(--or-asset-viewer-line-color, var(--or-app-color5, ${unsafeCSS(DefaultColor5)}));
7
+ --internal-or-asset-viewer-text-color: var(--or-asset-viewer-text-color, var(--or-app-color3, ${r(i)}));
8
+ --internal-or-asset-viewer-title-text-color: var(--or-asset-viewer-title-text-color, var(--or-app-color3, ${r(i)}));
9
+ --internal-or-asset-viewer-panel-color: var(--or-asset-viewer-panel-color, var(--or-app-color1, ${r(a)}));
10
+ --internal-or-asset-viewer-line-color: var(--or-asset-viewer-line-color, var(--or-app-color5, ${r(t)}));
11
11
 
12
12
  height: 100%;
13
13
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openremote/or-data-viewer",
3
- "version": "1.8.0-snapshot.20250723094757",
3
+ "version": "1.8.0-snapshot.20250725070921",
4
4
  "description": "OpenRemote data Viewer",
5
5
  "customElements": "custom-elements.json",
6
6
  "main": "dist/umd/index.bundle.js",
@@ -13,27 +13,27 @@
13
13
  "scripts": {
14
14
  "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
15
15
  "test": "echo \"No tests\" && exit 0",
16
- "prepack": "npx webpack"
16
+ "prepack": "npx rspack"
17
17
  },
18
18
  "author": "OpenRemote",
19
19
  "license": "AGPL-3.0-or-later",
20
20
  "dependencies": {
21
- "@openremote/core": "1.8.0-snapshot.20250723094757",
22
- "@openremote/model": "1.8.0-snapshot.20250723094757",
23
- "@openremote/or-attribute-card": "1.8.0-snapshot.20250723094757",
24
- "@openremote/or-attribute-history": "1.8.0-snapshot.20250723094757",
25
- "@openremote/or-attribute-input": "1.8.0-snapshot.20250723094757",
26
- "@openremote/or-chart": "1.8.0-snapshot.20250723094757",
27
- "@openremote/or-components": "1.8.0-snapshot.20250723094757",
28
- "@openremote/or-icon": "1.8.0-snapshot.20250723094757",
29
- "@openremote/or-map": "1.8.0-snapshot.20250723094757",
30
- "@openremote/or-mwc-components": "1.8.0-snapshot.20250723094757",
31
- "@openremote/or-translate": "1.8.0-snapshot.20250723094757",
32
- "@openremote/rest": "1.8.0-snapshot.20250723094757",
21
+ "@openremote/core": "1.8.0-snapshot.20250725070921",
22
+ "@openremote/model": "1.8.0-snapshot.20250725070921",
23
+ "@openremote/or-attribute-card": "1.8.0-snapshot.20250725070921",
24
+ "@openremote/or-attribute-history": "1.8.0-snapshot.20250725070921",
25
+ "@openremote/or-attribute-input": "1.8.0-snapshot.20250725070921",
26
+ "@openremote/or-chart": "1.8.0-snapshot.20250725070921",
27
+ "@openremote/or-components": "1.8.0-snapshot.20250725070921",
28
+ "@openremote/or-icon": "1.8.0-snapshot.20250725070921",
29
+ "@openremote/or-map": "1.8.0-snapshot.20250725070921",
30
+ "@openremote/or-mwc-components": "1.8.0-snapshot.20250725070921",
31
+ "@openremote/or-translate": "1.8.0-snapshot.20250725070921",
32
+ "@openremote/rest": "1.8.0-snapshot.20250725070921",
33
33
  "lit": "^2.0.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@openremote/util": "1.8.0-snapshot.20250723094757"
36
+ "@openremote/util": "1.8.0-snapshot.20250725070921"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
@@ -1,23 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
-
7
- /**
8
- * @license
9
- * Copyright 2018 Google LLC
10
- * SPDX-License-Identifier: BSD-3-Clause
11
- */
12
-
13
- /**
14
- * @license
15
- * Copyright 2019 Google LLC
16
- * SPDX-License-Identifier: BSD-3-Clause
17
- */
18
-
19
- /**
20
- * @license
21
- * Copyright 2021 Google LLC
22
- * SPDX-License-Identifier: BSD-3-Clause
23
- */
@@ -1,200 +0,0 @@
1
- /*!
2
- * chartjs-adapter-moment v1.0.1
3
- * https://www.chartjs.org
4
- * (c) 2022 chartjs-adapter-moment Contributors
5
- * Released under the MIT license
6
- */
7
-
8
- /*!
9
- * @kurkle/color v0.2.1
10
- * https://github.com/kurkle/color#readme
11
- * (c) 2022 Jukka Kurkela
12
- * Released under the MIT License
13
- */
14
-
15
- /*!
16
- * Chart.js v3.9.1
17
- * https://www.chartjs.org
18
- * (c) 2022 Chart.js Contributors
19
- * Released under the MIT License
20
- */
21
-
22
- /*!
23
- * Platform.js v1.3.6
24
- * Copyright 2014-2020 Benjamin Tan
25
- * Copyright 2011-2013 John-David Dalton
26
- * Available under MIT license
27
- */
28
-
29
- /*!
30
- * chartjs-plugin-annotation v1.4.0
31
- * https://www.chartjs.org/chartjs-plugin-annotation/index
32
- * (c) 2022 chartjs-plugin-annotation Contributors
33
- * Released under the MIT License
34
- */
35
-
36
- /*! *****************************************************************************
37
- Copyright (c) Microsoft Corporation.
38
-
39
- Permission to use, copy, modify, and/or distribute this software for any
40
- purpose with or without fee is hereby granted.
41
-
42
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
43
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
44
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
45
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
46
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
47
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
48
- PERFORMANCE OF THIS SOFTWARE.
49
- ***************************************************************************** */
50
-
51
- /**
52
- * @license
53
- * Copyright 2016 Google Inc.
54
- *
55
- * Permission is hereby granted, free of charge, to any person obtaining a copy
56
- * of this software and associated documentation files (the "Software"), to deal
57
- * in the Software without restriction, including without limitation the rights
58
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
59
- * copies of the Software, and to permit persons to whom the Software is
60
- * furnished to do so, subject to the following conditions:
61
- *
62
- * The above copyright notice and this permission notice shall be included in
63
- * all copies or substantial portions of the Software.
64
- *
65
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
66
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
67
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
68
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
69
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
70
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
71
- * THE SOFTWARE.
72
- */
73
-
74
- /**
75
- * @license
76
- * Copyright 2017 Google LLC
77
- * SPDX-License-Identifier: BSD-3-Clause
78
- */
79
-
80
- /**
81
- * @license
82
- * Copyright 2018 Google Inc.
83
- *
84
- * Permission is hereby granted, free of charge, to any person obtaining a copy
85
- * of this software and associated documentation files (the "Software"), to deal
86
- * in the Software without restriction, including without limitation the rights
87
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
88
- * copies of the Software, and to permit persons to whom the Software is
89
- * furnished to do so, subject to the following conditions:
90
- *
91
- * The above copyright notice and this permission notice shall be included in
92
- * all copies or substantial portions of the Software.
93
- *
94
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
95
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
96
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
97
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
98
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
99
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
100
- * THE SOFTWARE.
101
- */
102
-
103
- /**
104
- * @license
105
- * Copyright 2018 Google LLC
106
- * SPDX-License-Identifier: BSD-3-Clause
107
- */
108
-
109
- /**
110
- * @license
111
- * Copyright 2019 Google Inc.
112
- *
113
- * Permission is hereby granted, free of charge, to any person obtaining a copy
114
- * of this software and associated documentation files (the "Software"), to deal
115
- * in the Software without restriction, including without limitation the rights
116
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
117
- * copies of the Software, and to permit persons to whom the Software is
118
- * furnished to do so, subject to the following conditions:
119
- *
120
- * The above copyright notice and this permission notice shall be included in
121
- * all copies or substantial portions of the Software.
122
- *
123
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
124
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
125
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
126
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
127
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
128
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
129
- * THE SOFTWARE.
130
- */
131
-
132
- /**
133
- * @license
134
- * Copyright 2019 Google LLC
135
- * SPDX-License-Identifier: BSD-3-Clause
136
- */
137
-
138
- /**
139
- * @license
140
- * Copyright 2020 Google Inc.
141
- *
142
- * Permission is hereby granted, free of charge, to any person obtaining a copy
143
- * of this software and associated documentation files (the "Software"), to deal
144
- * in the Software without restriction, including without limitation the rights
145
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
146
- * copies of the Software, and to permit persons to whom the Software is
147
- * furnished to do so, subject to the following conditions:
148
- *
149
- * The above copyright notice and this permission notice shall be included in
150
- * all copies or substantial portions of the Software.
151
- *
152
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
153
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
154
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
155
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
156
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
157
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
158
- * THE SOFTWARE.
159
- */
160
-
161
- /**
162
- * @license
163
- * Copyright 2020 Google LLC
164
- * SPDX-License-Identifier: BSD-3-Clause
165
- */
166
-
167
- /**
168
- * @license
169
- * Copyright 2021 Google LLC
170
- * SPDX-License-Identifier: BSD-3-Clause
171
- */
172
-
173
- /**
174
- * @license
175
- * Lodash <https://lodash.com/>
176
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
177
- * Released under MIT license <https://lodash.com/license>
178
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
179
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
180
- */
181
-
182
- /**
183
- * [js-sha256]{@link https://github.com/emn178/js-sha256}
184
- *
185
- * @version 0.11.0
186
- * @author Chen, Yi-Cyuan [emn178@gmail.com]
187
- * @copyright Chen, Yi-Cyuan 2014-2024
188
- * @license MIT
189
- */
190
-
191
- /**!
192
- * url-search-params-polyfill
193
- *
194
- * @author Jerry Bendy (https://github.com/jerrybendy)
195
- * @licence MIT
196
- */
197
-
198
- //! moment.js
199
-
200
- //! moment.js locale configuration