@openremote/or-attribute-picker 1.8.0-snapshot.20250723203453 → 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/dist/umd/index.js +151 -133
- package/dist/umd/index.js.map +1 -0
- package/dist/umd/index.orbundle.js +254 -236
- package/dist/umd/index.orbundle.js.map +1 -0
- package/lib/asset-attribute-picker.js +9 -9
- package/lib/assettype-attribute-picker.js +10 -10
- package/lib/assettype-list.js +2 -2
- package/lib/attribute-picker.js +27 -10
- package/lib/attribute-picker.js.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +7 -7
- package/dist/umd/index.js.LICENSE.txt +0 -136
- package/dist/umd/index.orbundle.js.LICENSE.txt +0 -172
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var __decorate=this&&this.__decorate||function(t,e,s,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(a<3?r(o):a>3?r(e,s,o):r(e,s))||o);return a>3&&o&&Object.defineProperty(e,s,o),o},__awaiter=this&&this.__awaiter||function(t,e,s,i){return new(s||(s=Promise))(
|
|
2
|
-
<or-mwc-input id="add-btn" class="button" label="add" .type="${
|
|
3
|
-
<div class="row" style="display: flex;height: 600px;width: 800px;border-top: 1px solid ${
|
|
4
|
-
<div class="col" style="width: 260px;overflow: auto;border-right: 1px solid ${
|
|
1
|
+
var __decorate=this&&this.__decorate||function(t,e,s,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(a<3?r(o):a>3?r(e,s,o):r(e,s))||o);return a>3&&o&&Object.defineProperty(e,s,o),o},__awaiter=this&&this.__awaiter||function(t,e,s,i){return new(s||(s=Promise))(function(r,a){function o(t){try{l(i.next(t))}catch(t){a(t)}}function n(t){try{l(i.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?r(t.value):((e=t.value)instanceof s?e:new s(function(t){t(e)})).then(o,n)}l((i=i.apply(t,e||[])).next())})};import{customElement as t,property as e,state as s}from"lit/decorators.js";import{AttributePicker as i,AttributePickerPickedEvent as r}from"./attribute-picker";import a,{DefaultColor5 as o,Util as n}from"@openremote/core";import{html as l,unsafeCSS as d}from"lit";import{InputType as c}from"@openremote/or-mwc-components/or-mwc-input";import{when as u}from"lit/directives/when.js";import{until as h}from"lit/directives/until.js";export class OrAssetAttributePickerPickedEvent extends r{constructor(t){super(OrAssetAttributePickerPickedEvent.NAME,{bubbles:!0,composed:!0,detail:t})}}OrAssetAttributePickerPickedEvent.NAME="or-asset-attribute-picker-picked";let OrAssetAttributePicker=class extends i{constructor(){super(...arguments),this.selectedAssets=[],this.selectedAttributes=[]}setAttributeFilter(t){return this.attributeFilter=t,this}setSelectedAssets(t){return this.selectedAssets=t,this._updateDialogContent(),this}setSelectedAttributes(t){return this.selectedAttributes=t,this.addBtn&&(this.addBtn.disabled=0===this.selectedAttributes.length),this}_setDialogActions(){this.actions=[{actionName:"cancel",content:"cancel"},{actionName:"add",content:l`
|
|
2
|
+
<or-mwc-input id="add-btn" class="button" label="add" .type="${c.BUTTON}"></or-mwc-input>`,action:()=>{this.addBtn.disabled||this.dispatchEvent(new OrAssetAttributePickerPickedEvent(this.selectedAttributes))}}]}_setDialogContent(){this.content=()=>l`
|
|
3
|
+
<div class="row" style="display: flex;height: 600px;width: 800px;border-top: 1px solid ${d(o)};">
|
|
4
|
+
<div class="col" style="width: 260px;overflow: auto;border-right: 1px solid ${d(o)};">
|
|
5
5
|
<or-asset-tree id="chart-asset-tree" readonly .selectedIds="${this.selectedAssets.length>0?this.selectedAssets:null}"
|
|
6
6
|
@or-asset-tree-selection="${t=>this._onAssetSelectionChanged(t)}">
|
|
7
7
|
</or-asset-tree>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="col" style="flex: 1 1 auto;width: 260px;overflow: auto;">
|
|
10
|
-
${
|
|
10
|
+
${u(this._assetAttributes&&this._assetAttributes.length>0,()=>{let t=this.selectedAttributes.filter(t=>{var e;return t.id===(null==(e=this._asset)?void 0:e.id)}).map(t=>t.name);return l`
|
|
11
11
|
<div class="attributes-header">
|
|
12
12
|
<or-translate value="attribute_plural"></or-translate>
|
|
13
13
|
</div>
|
|
14
|
-
${
|
|
15
|
-
`}
|
|
14
|
+
${h(this._getAttributesTemplate(this._assetAttributes,void 0,t,this.multiSelect,t=>this._onAttributesSelect(t)),l`<or-loading></or-loading>`)}
|
|
15
|
+
`},()=>l`
|
|
16
16
|
<div style="display: flex;align-items: center;text-align: center;height: 100%;padding: 0 20px;">
|
|
17
17
|
<span style="width:100%">
|
|
18
18
|
<or-translate value="${this._assetAttributes&&0===this._assetAttributes.length?this.showOnlyDatapointAttrs&&this.showOnlyRuleStateAttrs?"noDatapointsOrRuleStateAttributes":this.showOnlyDatapointAttrs?"noDatapointsAttributes":this.showOnlyRuleStateAttrs?"noRuleStateAttributes":"noAttributesToShow":"selectAssetOnTheLeft"}">
|
|
19
19
|
</or-translate>
|
|
20
20
|
</span>
|
|
21
21
|
</div>
|
|
22
|
-
`)
|
|
22
|
+
`)}
|
|
23
23
|
</div>
|
|
24
|
-
`}_onAssetSelectionChanged(t){return __awaiter(this,void 0,void 0,
|
|
24
|
+
`}_onAssetSelectionChanged(t){return __awaiter(this,void 0,void 0,function*(){this._assetAttributes=void 0,this.multiSelect||(this.selectedAttributes=[]),this.addBtn.disabled=0===this.selectedAttributes.length;let e=t.target;e.disabled=!0;let s=0===t.detail.newNodes.length?void 0:t.detail.newNodes[0].asset;this._asset=s,s&&(s=(yield a.rest.api.AssetResource.get(s.id)).data)&&(this._assetAttributes=Object.values(s.attributes).map(t=>Object.assign(Object.assign({},t),{id:s.id})).sort(n.sortByString(t=>t.name)),this.attributeFilter&&(this._assetAttributes=this._assetAttributes.filter(t=>this.attributeFilter(t))),this.showOnlyDatapointAttrs&&this.showOnlyRuleStateAttrs?this._assetAttributes=this._assetAttributes.filter(t=>t.meta&&(t.meta.storeDataPoints||t.meta.ruleState||t.meta.agentLink)):this.showOnlyDatapointAttrs?this._assetAttributes=this._assetAttributes.filter(t=>t.meta&&(t.meta.storeDataPoints||t.meta.agentLink)):this.showOnlyRuleStateAttrs&&(this._assetAttributes=this._assetAttributes.filter(t=>t.meta&&(t.meta.ruleState||t.meta.agentLink)))),e.disabled=!1})}_onAttributesSelect(t){this.setSelectedAttributes([...this.selectedAttributes.filter(t=>t.id!==this._asset.id),...t.map(t=>{var e;return{id:null==(e=this._asset)?void 0:e.id,name:t}})])}};__decorate([e()],OrAssetAttributePicker.prototype,"attributeFilter",void 0),__decorate([s()],OrAssetAttributePicker.prototype,"_assetAttributes",void 0),OrAssetAttributePicker=__decorate([t("or-asset-attribute-picker")],OrAssetAttributePicker);export{OrAssetAttributePicker};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var __decorate=this&&this.__decorate||function(t,e,s,i){var r,o=arguments.length,l=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,s,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(l=(o<3?r(l):o>3?r(e,s,l):r(e,s))||l);return o>3&&l&&Object.defineProperty(e,s,l),l};import{customElement,property,state}from"lit/decorators.js";import{AttributePicker,AttributePickerPickedEvent}from"./attribute-picker";import{html,unsafeCSS}from"lit";import{DefaultColor5,Util}from"@openremote/core";import{when}from"lit/directives/when.js";import{until}from"lit/directives/until.js";import{AssetModelUtil}from"@openremote/model";import{InputType}from"@openremote/or-mwc-components/or-mwc-input";import"./assettype-list";export class OrAssetTypeAttributePickerPickedEvent extends
|
|
2
|
-
<div class="row" style="display: flex;height: 600px;width: 800px;border-top: 1px solid ${
|
|
3
|
-
<div class="col" style="width: 320px;overflow: auto;border-right: 1px solid ${
|
|
1
|
+
var __decorate=this&&this.__decorate||function(t,e,s,i){var r,o=arguments.length,l=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,s,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(l=(o<3?r(l):o>3?r(e,s,l):r(e,s))||l);return o>3&&l&&Object.defineProperty(e,s,l),l};import{customElement as t,property as e,state as s}from"lit/decorators.js";import{AttributePicker as i,AttributePickerPickedEvent as r}from"./attribute-picker";import{html as o,unsafeCSS as l}from"lit";import{DefaultColor5 as a,Util as d}from"@openremote/core";import{when as n}from"lit/directives/when.js";import{until as p}from"lit/directives/until.js";import{AssetModelUtil as c}from"@openremote/model";import{InputType as u}from"@openremote/or-mwc-components/or-mwc-input";import"./assettype-list";export class OrAssetTypeAttributePickerPickedEvent extends r{constructor(t){super(OrAssetTypeAttributePickerPickedEvent.NAME,{bubbles:!0,composed:!0,detail:t})}}OrAssetTypeAttributePickerPickedEvent.NAME="or-asset-type-attribute-picker-picked";let OrAssetTypeAttributePicker=class extends i{constructor(){super(...arguments),this.selectedAttributes=new Map}setSelectedAttributes(t){return this.selectedAttributes=t,this}willUpdate(t){if(this._loadedAssetTypes||(this._loadedAssetTypes=this._loadAssetTypes()),t.has("_selectedAssetType")){let t=this._getAssetDescriptorByName(this._selectedAssetType);t&&(this._loadedAttributeTypes=this._loadAttributeTypes(t))}return this._updateDialogContent(),this._updateDialogActions(),super.willUpdate(t)}_loadAssetTypes(){let t=c.getAssetDescriptors();return void 0!==this.assetTypeFilter&&(t=t.filter(this.assetTypeFilter)),this._loadedAssetTypes=t,t||[]}_loadAttributeTypes(t){let e=c.getAssetTypeInfo(t).attributeDescriptors;return void 0!==this.attributeFilter&&(e=null==e?void 0:e.filter(this.attributeFilter)),this.showOnlyDatapointAttrs&&(e=null==e?void 0:e.filter(t=>{var e;return null==(e=t.meta)?void 0:e.storeDataPoints})),this.showOnlyRuleStateAttrs&&(e=null==e?void 0:e.filter(t=>{var e;return null==(e=t.meta)?void 0:e.ruleState})),this._loadedAttributeTypes=e||[],e||[]}_setDialogContent(){var t;let e=this._loadedAssetTypes||this._loadAssetTypes(),s=this.selectedAttributes?Array.from(this.selectedAttributes.keys()):void 0,i=this._getAssetTypeDescriptors(e,e.filter(t=>!s||s.includes(t.name))),r=this._getAssetDescriptorByName(this._selectedAssetType),c=null==(t=this._loadedAttributeTypes||(r?this._loadAttributeTypes(r):void 0))?void 0:t.sort(d.sortByString(t=>t.name));this.content=()=>o`
|
|
2
|
+
<div class="row" style="display: flex;height: 600px;width: 800px;border-top: 1px solid ${l(a)};">
|
|
3
|
+
<div class="col" style="width: 320px;overflow: auto;border-right: 1px solid ${l(a)};">
|
|
4
4
|
<asset-type-list .listItems="${i}" style="--or-icon-fill: #000000;" @or-mwc-list-changed="${t=>{1===t.detail.length&&this._onAssetTypeItemClick(t.detail[0])}}"
|
|
5
5
|
></asset-type-list>
|
|
6
6
|
</div>
|
|
7
7
|
<div class="col" style="flex: 1 1 auto;width: 320px;overflow: auto;">
|
|
8
|
-
${
|
|
8
|
+
${n(c&&c.length>0,()=>{var t;let e=this._selectedAssetType?null==(t=this.selectedAttributes.get(this._selectedAssetType))?void 0:t.map(t=>t.name):void 0;return o`
|
|
9
9
|
<div class="attributes-header">
|
|
10
10
|
<or-translate value="attribute_plural"></or-translate>
|
|
11
11
|
</div>
|
|
12
|
-
${
|
|
13
|
-
`}
|
|
12
|
+
${p(this._getAttributesTemplate(void 0,c,e,this.multiSelect,t=>this._onAttributesSelect(t)),o`<or-loading></or-loading>`)}
|
|
13
|
+
`},()=>o`
|
|
14
14
|
<div style="display: flex;align-items: center;text-align: center;height: 100%;padding: 0 20px;">
|
|
15
15
|
<span style="width:100%">
|
|
16
|
-
<or-translate value="${
|
|
16
|
+
<or-translate value="${c&&0===c.length?this.showOnlyDatapointAttrs&&this.showOnlyRuleStateAttrs?"noDatapointsOrRuleStateAttributes":this.showOnlyDatapointAttrs?"noDatapointsAttributes":this.showOnlyRuleStateAttrs?"noRuleStateAttributes":"noAttributesToShow":"selectAssetTypeOnTheLeft"}">
|
|
17
17
|
</or-translate>
|
|
18
18
|
</span>
|
|
19
19
|
</div>
|
|
20
|
-
`)
|
|
20
|
+
`)}
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
23
|
-
`}_setDialogActions(){this.actions=[{actionName:"cancel",content:"cancel"},{actionName:"add",content:
|
|
24
|
-
<or-mwc-input id="add-btn" class="button" label="add" .type="${
|
|
23
|
+
`}_setDialogActions(){this.actions=[{actionName:"cancel",content:"cancel"},{actionName:"add",content:o`
|
|
24
|
+
<or-mwc-input id="add-btn" class="button" label="add" .type="${u.BUTTON}"></or-mwc-input>`,action:()=>{this.addBtn.disabled||this.dispatchEvent(new OrAssetTypeAttributePickerPickedEvent(this.selectedAttributes))}}]}_onAssetTypeItemClick(t){this._selectedAssetType=t.data.name}_onAttributesSelect(t){var e;return this._selectedAssetType?this._loadedAttributeTypes?void this.selectedAttributes.set(this._selectedAssetType,null==(e=this._loadedAttributeTypes)?void 0:e.filter(e=>t.includes(e.name))):void console.warn("Could not select attribute, since the attribute list seems to be empty?"):void console.warn("Could not select attribute, since no asset type seemed to be selected.")}_getAssetTypeDescriptors(t,e,s){let i=null==t?void 0:t.map(t=>({styleMap:{"--or-icon-fill":t.colour?"#"+t.colour:"unset"},icon:t.icon,trailingIcon:(null==e?void 0:e.includes(t))?"cloud-upload-outline":void 0,text:d.getAssetTypeLabel(t),value:t.name,data:t})).sort((t,e)=>("agent"!==t.data.descriptorType)-("agent"!==e.data.descriptorType)||t.text.localeCompare(e.text));return s&&(null==i||i.splice(0,0,s)),i}_getAssetDescriptorByName(t){var e;return t?null==(e=this._loadedAssetTypes)?void 0:e.find(e=>e.name===t):void 0}};__decorate([e()],OrAssetTypeAttributePicker.prototype,"assetTypeFilter",void 0),__decorate([e()],OrAssetTypeAttributePicker.prototype,"attributeFilter",void 0),__decorate([s()],OrAssetTypeAttributePicker.prototype,"_selectedAssetType",void 0),__decorate([s()],OrAssetTypeAttributePicker.prototype,"_loadedAttributeTypes",void 0),__decorate([s()],OrAssetTypeAttributePicker.prototype,"_loadedAssetTypes",void 0),OrAssetTypeAttributePicker=__decorate([t("or-assettype-attribute-picker")],OrAssetTypeAttributePicker);export{OrAssetTypeAttributePicker};
|
package/lib/assettype-list.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var __decorate=this&&this.__decorate||function(t,e,
|
|
1
|
+
var __decorate=this&&this.__decorate||function(t,e,r,o){var s,i=arguments.length,c=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(c=(i<3?s(c):i>3?s(e,r,c):s(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c};import{OrMwcList as t}from"@openremote/or-mwc-components/or-mwc-list";import{css as e}from"lit";import{customElement as r}from"lit/decorators.js";let AssettypeList=class extends t{static get styles(){return[...super.styles,e`
|
|
2
2
|
.mdc-list-item__meta or-icon {
|
|
3
3
|
--or-icon-fill: gray;
|
|
4
4
|
}
|
|
5
|
-
`]}};AssettypeList=__decorate([
|
|
5
|
+
`]}};AssettypeList=__decorate([r("asset-type-list")],AssettypeList);export{AssettypeList};
|
package/lib/attribute-picker.js
CHANGED
|
@@ -1,12 +1,29 @@
|
|
|
1
|
-
var __decorate=this&&this.__decorate||function(t,e,o,r){var n
|
|
2
|
-
${
|
|
3
|
-
<or-mwc-list id="attribute-selector" .type="${
|
|
4
|
-
@or-mwc-list-changed="${t=>null==
|
|
1
|
+
var __decorate=this&&this.__decorate||function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s},__awaiter=this&&this.__awaiter||function(t,e,o,r){return new(o||(o=Promise))(function(i,n){function s(t){try{l(r.next(t))}catch(t){n(t)}}function a(t){try{l(r.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof o?e:new o(function(t){t(e)})).then(s,a)}l((r=r.apply(t,e||[])).next())})};import{html as t,unsafeCSS as e}from"lit";import{property as o,query as r}from"lit/decorators.js";import"@openremote/or-asset-tree";import"@openremote/or-translate";import"@openremote/or-mwc-components/or-mwc-input";import"@openremote/or-mwc-components/or-mwc-list";import{InputType as i}from"@openremote/or-mwc-components/or-mwc-input";import{i18next as n}from"@openremote/or-translate";import{DefaultColor2 as s,DefaultColor4 as a,DefaultColor5 as l,Util as c}from"@openremote/core";import{OrMwcDialog as p}from"@openremote/or-mwc-components/or-mwc-dialog";import{when as u}from"lit/directives/when.js";import{ListType as m}from"@openremote/or-mwc-components/or-mwc-list";export class AttributePickerPickedEvent extends CustomEvent{}export class AttributePicker extends p{constructor(){super(...arguments),this.multiSelect=!1,this.showOnlyDatapointAttrs=!1,this.showOnlyRuleStateAttrs=!1}connectedCallback(){super.connectedCallback(),this.heading=n.t("selectAttributes"),this._setDialogContent(),this._setDialogActions(),this.dismissAction=null,this.styles=this._getStyles()}setShowOnlyDatapointAttrs(t){return this.showOnlyDatapointAttrs=t,this}setShowOnlyRuleStateAttrs(t){return this.showOnlyRuleStateAttrs=t,this}setMultiSelect(t){return this.multiSelect=t,this}setOpen(t){return super.setOpen(t),this}setHeading(t){return super.setHeading(t),this}setContent(t){throw Error("Cannot modify attribute picker content")}setActions(t){throw Error("Cannot modify attribute picker actions")}setDismissAction(t){throw Error("Cannot modify attribute picker dismiss action")}setStyles(t){throw Error("Cannot modify attribute picker styles")}setAvatar(t){throw Error("Cannot modify attribute picker avatar setting")}_updateDialogContent(){this._setDialogContent()}_updateDialogActions(){this._setDialogActions()}_getAttributesTemplate(e,o,r){return __awaiter(this,arguments,void 0,function*(e,o,r,s=!1,a){let l=Math.max((null==e?void 0:e.length)||0,(null==o?void 0:o.length)||0),p=[];for(let t=0;t<l;t++)p.push({text:c.getAttributeLabel(null==e?void 0:e[t],null==o?void 0:o[t],void 0,!0),value:(null==e?void 0:e[t].name)||(null==o?void 0:o[t].name)});return t`
|
|
2
|
+
${u(s,()=>t`
|
|
3
|
+
<or-mwc-list id="attribute-selector" .type="${m.MULTI_CHECKBOX}" .listItems="${p}" .values="${r}"
|
|
4
|
+
@or-mwc-list-changed="${t=>null==a?void 0:a(t.detail.map(t=>t.value))}"
|
|
5
5
|
</or-mwc-list>
|
|
6
|
-
|
|
7
|
-
<or-mwc-input id="attribute-selector" .type="${
|
|
8
|
-
style="display:flex;" .label="${
|
|
9
|
-
@or-mwc-input-changed="${t=>null==
|
|
6
|
+
`,()=>t`
|
|
7
|
+
<or-mwc-input id="attribute-selector" .type="${i.LIST}" .options="${null==p?void 0:p.map(t=>[t,t.text])}"
|
|
8
|
+
style="display:flex;" .label="${n.t("attribute")}"
|
|
9
|
+
@or-mwc-input-changed="${t=>null==a?void 0:a([t.detail.value.value])}"
|
|
10
10
|
></or-mwc-input>
|
|
11
|
-
`)
|
|
12
|
-
`})
|
|
11
|
+
`)}
|
|
12
|
+
`})}_getStyles(){return`
|
|
13
|
+
.attributes-header {
|
|
14
|
+
line-height: 48px;
|
|
15
|
+
padding: 0 15px;
|
|
16
|
+
background-color: ${e(s)};
|
|
17
|
+
font-weight: bold;
|
|
18
|
+
border-bottom: 1px solid ${e(s)};
|
|
19
|
+
}
|
|
20
|
+
footer.mdc-dialog__actions {
|
|
21
|
+
border-top: 1px solid ${e(l)};
|
|
22
|
+
}
|
|
23
|
+
#header {
|
|
24
|
+
background-color: ${e(a)} !important;
|
|
25
|
+
}
|
|
26
|
+
#dialog-content {
|
|
27
|
+
padding: 0;
|
|
28
|
+
}
|
|
29
|
+
`}}__decorate([o({type:Boolean})],AttributePicker.prototype,"multiSelect",void 0),__decorate([o({type:Boolean})],AttributePicker.prototype,"showOnlyDatapointAttrs",void 0),__decorate([o({type:Boolean})],AttributePicker.prototype,"showOnlyRuleStateAttrs",void 0),__decorate([r("#add-btn")],AttributePicker.prototype,"addBtn",void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attribute-picker.js","sourceRoot":"","sources":["../src/attribute-picker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAC,IAAI,EAAkB,SAAS,EAAC,MAAM,KAAK,CAAC;AACpD,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,2BAA2B,CAAC;AACnC,OAAO,0BAA0B,CAAC;AAClC,OAAO,4CAA4C,CAAC;AACpD,OAAO,2CAA2C,CAAC;AACnD,OAAO,EAAC,SAAS,EAAkC,MAAM,4CAA4C,CAAC;AACtG,OAAO,EAAC,OAAO,EAAC,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,IAAI,EAAC,MAAM,kBAAkB,CAAC;AAEnF,OAAO,EAAiC,WAAW,EAAC,MAAM,6CAA6C,CAAC;AACxG,OAAO,EAAC,IAAI,EAAC,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAW,QAAQ,EAAwB,MAAM,2CAA2C,CAAC;AAEpG,MAAM,OAAgB,0BAA2B,SAAQ,WAAgB;CAExE;AAED;;;;;;;;GAQG;AACH,MAAM,OAAgB,eAAgB,SAAQ,WAAW;IAAzD;;QAQW,gBAAW,GAAa,KAAK,CAAC;QAG9B,2BAAsB,GAAa,KAAK,CAAC;QAGzC,2BAAsB,GAAa,KAAK,CAAC;IAsIpD,CAAC;IAjIG,iBAAiB;QACb,KA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Q,CAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;;aAEpH,EAAE,GAAG,EAAE,CAAC,IAAI,CAAA;+DACsC,SAAS,CAAC,IAAI,eAAe,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;8DACzE,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC;uDAC7B,CAAC,EAAuB,EAAE,EAAE,CAAC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,CAAE,EAAE,CAAC,MAAM,CAAC,KAAkB,CAAC,KAAK,CAAC,CAAC;;aAExH,CAAC;SACL,CAAC;QACN,CAAC;KAAA;IAED;;OAEG;IACO,UAAU;QAEhB,eAAe;QACf,OAAO;;;;oCAIqB,SAAS,CAAC,aAAa,CAAC;;2CAEjB,SAAS,CAAC,aAAa,CAAC;;;wCAG3B,SAAS,CAAC,aAAa,CAAC;;;oCAG5B,SAAS,CAAC,aAAa,CAAC;;;;;SAKnD,CAAA;IAEL,CAAC;CACJ;AA5IU;IADN,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAC,CAAC;oDACW;AAG9B;IADN,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAC,CAAC;+DACsB;AAGzC;IADN,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAC,CAAC;+DACsB;AAGtC;IADT,KAAK,CAAC,UAAU,CAAC;+CACY"}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var __decorate=this&&this.__decorate||function(t,e,r,i){var c,o=arguments.length,
|
|
1
|
+
var __decorate=this&&this.__decorate||function(t,e,r,i){var c,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,i);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(o<3?c(a):o>3?c(e,r,a):c(e,r))||a);return o>3&&a&&Object.defineProperty(e,r,a),a};import{customElement as t}from"lit/decorators.js";import{OrAssetAttributePicker as e,OrAssetAttributePickerPickedEvent as r}from"./asset-attribute-picker";export class OrAttributePickerPickedEvent extends r{}let OrAttributePicker=class extends e{};OrAttributePicker=__decorate([t("or-attribute-picker")],OrAttributePicker);export*from"./asset-attribute-picker";export*from"./assettype-attribute-picker";export{OrAttributePicker};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openremote/or-attribute-picker",
|
|
3
|
-
"version": "1.8.0-snapshot.
|
|
3
|
+
"version": "1.8.0-snapshot.20250725070921",
|
|
4
4
|
"description": "OpenRemote attribute picker dialog",
|
|
5
5
|
"customElements": "custom-elements.json",
|
|
6
6
|
"main": "dist/umd/index.bundle.js",
|
|
@@ -13,19 +13,19 @@
|
|
|
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
|
|
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.
|
|
22
|
-
"@openremote/or-asset-tree": "1.8.0-snapshot.
|
|
23
|
-
"@openremote/or-mwc-components": "1.8.0-snapshot.
|
|
24
|
-
"@openremote/or-translate": "1.8.0-snapshot.
|
|
21
|
+
"@openremote/core": "1.8.0-snapshot.20250725070921",
|
|
22
|
+
"@openremote/or-asset-tree": "1.8.0-snapshot.20250725070921",
|
|
23
|
+
"@openremote/or-mwc-components": "1.8.0-snapshot.20250725070921",
|
|
24
|
+
"@openremote/or-translate": "1.8.0-snapshot.20250725070921",
|
|
25
25
|
"lit": "^2.0.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@openremote/util": "1.8.0-snapshot.
|
|
28
|
+
"@openremote/util": "1.8.0-snapshot.20250725070921"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
/*! *****************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @license
|
|
18
|
-
* Copyright 2016 Google Inc.
|
|
19
|
-
*
|
|
20
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
21
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
22
|
-
* in the Software without restriction, including without limitation the rights
|
|
23
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
24
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
25
|
-
* furnished to do so, subject to the following conditions:
|
|
26
|
-
*
|
|
27
|
-
* The above copyright notice and this permission notice shall be included in
|
|
28
|
-
* all copies or substantial portions of the Software.
|
|
29
|
-
*
|
|
30
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
31
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
32
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
33
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
34
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
35
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
36
|
-
* THE SOFTWARE.
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @license
|
|
41
|
-
* Copyright 2017 Google LLC
|
|
42
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
43
|
-
*/
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @license
|
|
47
|
-
* Copyright 2018 Google Inc.
|
|
48
|
-
*
|
|
49
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
50
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
51
|
-
* in the Software without restriction, including without limitation the rights
|
|
52
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
53
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
54
|
-
* furnished to do so, subject to the following conditions:
|
|
55
|
-
*
|
|
56
|
-
* The above copyright notice and this permission notice shall be included in
|
|
57
|
-
* all copies or substantial portions of the Software.
|
|
58
|
-
*
|
|
59
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
60
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
61
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
62
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
63
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
64
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
65
|
-
* THE SOFTWARE.
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @license
|
|
70
|
-
* Copyright 2018 Google LLC
|
|
71
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
-
*/
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @license
|
|
76
|
-
* Copyright 2019 Google Inc.
|
|
77
|
-
*
|
|
78
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
79
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
80
|
-
* in the Software without restriction, including without limitation the rights
|
|
81
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
82
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
83
|
-
* furnished to do so, subject to the following conditions:
|
|
84
|
-
*
|
|
85
|
-
* The above copyright notice and this permission notice shall be included in
|
|
86
|
-
* all copies or substantial portions of the Software.
|
|
87
|
-
*
|
|
88
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
89
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
90
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
91
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
92
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
93
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
94
|
-
* THE SOFTWARE.
|
|
95
|
-
*/
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @license
|
|
99
|
-
* Copyright 2019 Google LLC
|
|
100
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
101
|
-
*/
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @license
|
|
105
|
-
* Copyright 2020 Google Inc.
|
|
106
|
-
*
|
|
107
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
108
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
109
|
-
* in the Software without restriction, including without limitation the rights
|
|
110
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
111
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
112
|
-
* furnished to do so, subject to the following conditions:
|
|
113
|
-
*
|
|
114
|
-
* The above copyright notice and this permission notice shall be included in
|
|
115
|
-
* all copies or substantial portions of the Software.
|
|
116
|
-
*
|
|
117
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
118
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
119
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
120
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
121
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
122
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
123
|
-
* THE SOFTWARE.
|
|
124
|
-
*/
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* @license
|
|
128
|
-
* Copyright 2020 Google LLC
|
|
129
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @license
|
|
134
|
-
* Copyright 2021 Google LLC
|
|
135
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
|
-
*/
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Platform.js v1.3.6
|
|
3
|
-
* Copyright 2014-2020 Benjamin Tan
|
|
4
|
-
* Copyright 2011-2013 John-David Dalton
|
|
5
|
-
* Available under MIT license
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/*! *****************************************************************************
|
|
9
|
-
Copyright (c) Microsoft Corporation.
|
|
10
|
-
|
|
11
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
12
|
-
purpose with or without fee is hereby granted.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
15
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
16
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
17
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
18
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
19
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
20
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
21
|
-
***************************************************************************** */
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @license
|
|
25
|
-
* Copyright 2016 Google Inc.
|
|
26
|
-
*
|
|
27
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
28
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
29
|
-
* in the Software without restriction, including without limitation the rights
|
|
30
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
31
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
32
|
-
* furnished to do so, subject to the following conditions:
|
|
33
|
-
*
|
|
34
|
-
* The above copyright notice and this permission notice shall be included in
|
|
35
|
-
* all copies or substantial portions of the Software.
|
|
36
|
-
*
|
|
37
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
38
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
39
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
40
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
41
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
42
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
43
|
-
* THE SOFTWARE.
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @license
|
|
48
|
-
* Copyright 2017 Google LLC
|
|
49
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
|
-
*/
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @license
|
|
54
|
-
* Copyright 2018 Google Inc.
|
|
55
|
-
*
|
|
56
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
57
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
58
|
-
* in the Software without restriction, including without limitation the rights
|
|
59
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
60
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
61
|
-
* furnished to do so, subject to the following conditions:
|
|
62
|
-
*
|
|
63
|
-
* The above copyright notice and this permission notice shall be included in
|
|
64
|
-
* all copies or substantial portions of the Software.
|
|
65
|
-
*
|
|
66
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
67
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
68
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
69
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
70
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
71
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
72
|
-
* THE SOFTWARE.
|
|
73
|
-
*/
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @license
|
|
77
|
-
* Copyright 2018 Google LLC
|
|
78
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
|
-
*/
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @license
|
|
83
|
-
* Copyright 2019 Google Inc.
|
|
84
|
-
*
|
|
85
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
86
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
87
|
-
* in the Software without restriction, including without limitation the rights
|
|
88
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
89
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
90
|
-
* furnished to do so, subject to the following conditions:
|
|
91
|
-
*
|
|
92
|
-
* The above copyright notice and this permission notice shall be included in
|
|
93
|
-
* all copies or substantial portions of the Software.
|
|
94
|
-
*
|
|
95
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
96
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
97
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
98
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
99
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
100
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
101
|
-
* THE SOFTWARE.
|
|
102
|
-
*/
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @license
|
|
106
|
-
* Copyright 2019 Google LLC
|
|
107
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
108
|
-
*/
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @license
|
|
112
|
-
* Copyright 2020 Google Inc.
|
|
113
|
-
*
|
|
114
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
115
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
116
|
-
* in the Software without restriction, including without limitation the rights
|
|
117
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
118
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
119
|
-
* furnished to do so, subject to the following conditions:
|
|
120
|
-
*
|
|
121
|
-
* The above copyright notice and this permission notice shall be included in
|
|
122
|
-
* all copies or substantial portions of the Software.
|
|
123
|
-
*
|
|
124
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
125
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
126
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
127
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
128
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
129
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
130
|
-
* THE SOFTWARE.
|
|
131
|
-
*/
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* @license
|
|
135
|
-
* Copyright 2020 Google LLC
|
|
136
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
137
|
-
*/
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* @license
|
|
141
|
-
* Copyright 2021 Google LLC
|
|
142
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
143
|
-
*/
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* @license
|
|
147
|
-
* Lodash <https://lodash.com/>
|
|
148
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
149
|
-
* Released under MIT license <https://lodash.com/license>
|
|
150
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
151
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
152
|
-
*/
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* [js-sha256]{@link https://github.com/emn178/js-sha256}
|
|
156
|
-
*
|
|
157
|
-
* @version 0.11.0
|
|
158
|
-
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
159
|
-
* @copyright Chen, Yi-Cyuan 2014-2024
|
|
160
|
-
* @license MIT
|
|
161
|
-
*/
|
|
162
|
-
|
|
163
|
-
/**!
|
|
164
|
-
* url-search-params-polyfill
|
|
165
|
-
*
|
|
166
|
-
* @author Jerry Bendy (https://github.com/jerrybendy)
|
|
167
|
-
* @licence MIT
|
|
168
|
-
*/
|
|
169
|
-
|
|
170
|
-
//! moment.js
|
|
171
|
-
|
|
172
|
-
//! moment.js locale configuration
|