@kumori/aurora-wui-components 0.0.264-dev4114.25 → 0.0.264-dev4114.26
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.
|
@@ -4,7 +4,10 @@ export declare class AxebowChannelConfigPanel extends LitElement {
|
|
|
4
4
|
empty: boolean;
|
|
5
5
|
channelTypeLabel: string;
|
|
6
6
|
canEditAll: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
height: string;
|
|
7
9
|
render(): import('lit-html').TemplateResult<1>;
|
|
8
10
|
private _handleDelete;
|
|
11
|
+
private _handleClose;
|
|
9
12
|
}
|
|
10
13
|
//# sourceMappingURL=axebow-channel-config-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-channel-config-panel.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-channel-config-panel/axebow-channel-config-panel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AAGvC,qBACa,wBAAyB,SAAQ,UAAU;IACtD,MAAM,CAAC,MAAM,4BASX;IAC2B,KAAK,UAAQ;IACd,gBAAgB,SAAM;IACrB,UAAU,UAAQ;
|
|
1
|
+
{"version":3,"file":"axebow-channel-config-panel.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-channel-config-panel/axebow-channel-config-panel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AAGvC,qBACa,wBAAyB,SAAQ,UAAU;IACtD,MAAM,CAAC,MAAM,4BASX;IAC2B,KAAK,UAAQ;IACd,gBAAgB,SAAM;IACrB,UAAU,UAAQ;IAClB,QAAQ,UAAS;IAClB,MAAM,SAAU;IAE5C,MAAM;IAqDN,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,YAAY;CAGrB"}
|
package/dist/index.js
CHANGED
|
@@ -6018,6 +6018,8 @@ var AxebowChannelConfigPanel = class AxebowChannelConfigPanel extends LitElement
|
|
|
6018
6018
|
this.empty = true;
|
|
6019
6019
|
this.channelTypeLabel = "";
|
|
6020
6020
|
this.canEditAll = true;
|
|
6021
|
+
this.disabled = false;
|
|
6022
|
+
this.height = "80vh";
|
|
6021
6023
|
}
|
|
6022
6024
|
static {
|
|
6023
6025
|
this.styles = [
|
|
@@ -6036,7 +6038,7 @@ var AxebowChannelConfigPanel = class AxebowChannelConfigPanel extends LitElement
|
|
|
6036
6038
|
<div
|
|
6037
6039
|
class="bg-white rounded-md axebow-shadow p-2 w-62.5 flex-col gap-3 transition-all duration-300 ease-in-out overflow-hidden
|
|
6038
6040
|
hidden lg:flex ${this.empty ? "justify-center items-center text-(--axebow-gray)" : ""}"
|
|
6039
|
-
style="height:
|
|
6041
|
+
style="height: ${this.height};"
|
|
6040
6042
|
>
|
|
6041
6043
|
${this.empty ? "" : html`
|
|
6042
6044
|
<div
|
|
@@ -6049,7 +6051,7 @@ var AxebowChannelConfigPanel = class AxebowChannelConfigPanel extends LitElement
|
|
|
6049
6051
|
>
|
|
6050
6052
|
${this.channelTypeLabel}
|
|
6051
6053
|
</h1>
|
|
6052
|
-
${this.canEditAll ? html`
|
|
6054
|
+
${this.canEditAll && !this.disabled ? html`
|
|
6053
6055
|
<div
|
|
6054
6056
|
class="w-4.5 h-4.5 shrink-0 flex items-center justify-center cursor-pointer"
|
|
6055
6057
|
@click=${this._handleDelete}
|
|
@@ -6057,8 +6059,16 @@ var AxebowChannelConfigPanel = class AxebowChannelConfigPanel extends LitElement
|
|
|
6057
6059
|
<axebow-icon iconName="delete" iconColor="var(--axebow-error)" size="base"></axebow-icon>
|
|
6058
6060
|
</div>
|
|
6059
6061
|
` : ""}
|
|
6062
|
+
${this.disabled ? html`
|
|
6063
|
+
<div
|
|
6064
|
+
class="w-4.5 h-4.5 shrink-0 flex items-center justify-center cursor-pointer"
|
|
6065
|
+
@click=${this._handleClose}
|
|
6066
|
+
>
|
|
6067
|
+
<axebow-icon iconName="close" iconColor="var(--axebow-gray)" size="base"></axebow-icon>
|
|
6068
|
+
</div>
|
|
6069
|
+
` : ""}
|
|
6060
6070
|
</div>
|
|
6061
|
-
<div class="flex flex-col gap-2 w-full">
|
|
6071
|
+
<div class="flex flex-col gap-2 w-full ${this.disabled ? "pointer-events-none" : ""}">
|
|
6062
6072
|
<slot name="name-input"></slot>
|
|
6063
6073
|
<slot name="port-input"></slot>
|
|
6064
6074
|
<slot name="gateway-toggle"></slot>
|
|
@@ -6075,10 +6085,18 @@ var AxebowChannelConfigPanel = class AxebowChannelConfigPanel extends LitElement
|
|
|
6075
6085
|
composed: true
|
|
6076
6086
|
}));
|
|
6077
6087
|
}
|
|
6088
|
+
_handleClose() {
|
|
6089
|
+
this.dispatchEvent(new CustomEvent("close", {
|
|
6090
|
+
bubbles: true,
|
|
6091
|
+
composed: true
|
|
6092
|
+
}));
|
|
6093
|
+
}
|
|
6078
6094
|
};
|
|
6079
6095
|
__decorate([property({ type: Boolean })], AxebowChannelConfigPanel.prototype, "empty", void 0);
|
|
6080
6096
|
__decorate([property({ type: String })], AxebowChannelConfigPanel.prototype, "channelTypeLabel", void 0);
|
|
6081
6097
|
__decorate([property({ type: Boolean })], AxebowChannelConfigPanel.prototype, "canEditAll", void 0);
|
|
6098
|
+
__decorate([property({ type: Boolean })], AxebowChannelConfigPanel.prototype, "disabled", void 0);
|
|
6099
|
+
__decorate([property({ type: String })], AxebowChannelConfigPanel.prototype, "height", void 0);
|
|
6082
6100
|
AxebowChannelConfigPanel = __decorate([customElement("axebow-channel-config-panel")], AxebowChannelConfigPanel);
|
|
6083
6101
|
//#endregion
|
|
6084
6102
|
//#region src/components/axebow-mesh-node-renderer/axebow-mesh-node-renderer.ts
|