@kumori/aurora-wui-components 0.0.273-dev4131.6 → 0.0.273-dev4131.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.
@@ -2,6 +2,7 @@ import { LitElement, TemplateResult } from 'lit';
2
2
  export declare abstract class AxebowInputBase extends LitElement {
3
3
  static baseStyles: import('lit').CSSResult[];
4
4
  value: string;
5
+ type: string;
5
6
  placeholder: string;
6
7
  label: string;
7
8
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-input-base.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-input-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAIvE,OAAO,+BAA+B,CAAC;AAEvC,8BAAsB,eAAgB,SAAQ,UAAU;IACtD,MAAM,CAAC,UAAU,4BAiEf;IAE0B,KAAK,SAAM;IACX,WAAW,SAAM;IACjB,KAAK,SAAM;IACX,WAAW,SAAM;IAChB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IAClB,YAAY,SAAM;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,UAAS;IAChB,eAAe,UAAS;IAErD,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,KAAK;IAO/B,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc;IA2ChE,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc;CAiCpE"}
1
+ {"version":3,"file":"axebow-input-base.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-input-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAIvE,OAAO,+BAA+B,CAAC;AAEvC,8BAAsB,eAAgB,SAAQ,UAAU;IACtD,MAAM,CAAC,UAAU,4BAiEf;IAE0B,KAAK,SAAM;IACX,IAAI,SAAU;IACd,WAAW,SAAM;IACjB,KAAK,SAAM;IACX,WAAW,SAAM;IAChB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IAClB,YAAY,SAAM;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,UAAS;IAChB,eAAe,UAAS;IAErD,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,KAAK;IAO/B,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc;IA2ChE,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc;CAiCpE"}
@@ -16,6 +16,7 @@ export type { CarouselItem, AddDialogLabels };
16
16
  export declare class AxebowInput extends LitElement {
17
17
  static styles: import('lit').CSSResult[];
18
18
  value: string;
19
+ type: string;
19
20
  placeholder: string;
20
21
  label: string;
21
22
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-input.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAEvE,OAAO,yDAAyD,CAAC;AAGjE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAA6B,MAAM,0BAA0B,CAAC;AACtF,OAAO,wBAAwB,CAAC;AAChC,OAAO,2BAA2B,CAAC;AACnC,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,4BAA4B,CAAC;AACpC,OAAO,6BAA6B,CAAC;AACrC,OAAO,0BAA0B,CAAC;AAElC,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,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AAY,SAAM;IACjB,QAAQ,UAAS;IAClB,GAAG,SAA2B;IAC9B,GAAG,SAAK;IACR,SAAS,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,UAAS;IACrB,WAAW,SAAkB;IAC7B,gBAAgB,SAAmB;IAClC,mBAAmB,UAAQ;IAC3B,SAAS,UAAQ;IACd,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACrF,eAAe,EAAE,eAAe,CAA6B;IAChE,OAAO,UAAS;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,UAAQ;IACpB,UAAU,SAAK;IACd,UAAU,UAAS;IACnB,eAAe,UAAS;IAErD,MAAM;CAmKP"}
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-text-input.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-text-input.ts"],"names":[],"mappings":"AAEA,OAAO,yDAAyD,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,qBACa,eAAgB,SAAQ,eAAe;IAClD,MAAM,CAAC,MAAM,4BAaX;IAEF,MAAM;CAgBP"}
1
+ {"version":3,"file":"axebow-text-input.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-text-input.ts"],"names":[],"mappings":"AAEA,OAAO,yDAAyD,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,qBACa,eAAgB,SAAQ,eAAe;IAClD,MAAM,CAAC,MAAM,4BAaX;IAEF,MAAM;CAkBP"}
@@ -1,12 +1,9 @@
1
1
  import { LitElement } from 'lit';
2
2
  export interface SummaryFlavorsLabels {
3
- workload: string;
4
3
  runtimePlane: string;
5
4
  numberOfVms: string;
6
5
  controlPlane: string;
7
6
  highAvailable: string;
8
- selectedFlavor: string;
9
- storage: string;
10
7
  volatile: string;
11
8
  nonReplPersistent: string;
12
9
  persistentReplicated: string;
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-summary-flavors.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-summary/axebow-summary-flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAKlD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,qBACa,oBAAqB,SAAQ,UAAU;IAClD,MAAM,CAAC,MAAM,4BAAyC;IAE1B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,SAAS,CAAC;IAC9C,KAAK,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IACjD,aAAa,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,gBAAgB,EAAE,MAAM,EAAE,CAAM;IAC9B,UAAU,EAAE,OAAO,CAAQ;IAC5B,MAAM,EAAG,oBAAoB,CAAC;IAE1D,MAAM;CA6EP"}
1
+ {"version":3,"file":"axebow-summary-flavors.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-summary/axebow-summary-flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAKlD,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,qBACa,oBAAqB,SAAQ,UAAU;IAClD,MAAM,CAAC,MAAM,4BAAyC;IAE1B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,SAAS,CAAC;IAC9C,KAAK,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IACjD,aAAa,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,gBAAgB,EAAE,MAAM,EAAE,CAAM;IAC9B,UAAU,EAAE,OAAO,CAAQ;IAC5B,MAAM,EAAG,oBAAoB,CAAC;IAE1D,MAAM;CA0EP"}
package/dist/index.js CHANGED
@@ -1886,6 +1886,7 @@ var AxebowInputBase = class extends LitElement {
1886
1886
  constructor(..._args) {
1887
1887
  super(..._args);
1888
1888
  this.value = "";
1889
+ this.type = "text";
1889
1890
  this.placeholder = "";
1890
1891
  this.label = "";
1891
1892
  this.description = "";
@@ -2031,6 +2032,7 @@ var AxebowInputBase = class extends LitElement {
2031
2032
  }
2032
2033
  };
2033
2034
  __decorate([property({ type: String })], AxebowInputBase.prototype, "value", void 0);
2035
+ __decorate([property({ type: String })], AxebowInputBase.prototype, "type", void 0);
2034
2036
  __decorate([property({ type: String })], AxebowInputBase.prototype, "placeholder", void 0);
2035
2037
  __decorate([property({ type: String })], AxebowInputBase.prototype, "label", void 0);
2036
2038
  __decorate([property({ type: String })], AxebowInputBase.prototype, "description", void 0);
@@ -2062,6 +2064,8 @@ var AxebowTextInput = class AxebowTextInput extends AxebowInputBase {
2062
2064
  const inputContent = html`
2063
2065
  <div class="${this.hasError ? "input-error" : ""}">
2064
2066
  <sl-input
2067
+ type="${this.type}"
2068
+ ?password-toggle="${this.type === "password"}"
2065
2069
  @sl-input="${this.handleChange}"
2066
2070
  placeholder="${this.placeholder}"
2067
2071
  .value="${this.value}"
@@ -2832,6 +2836,7 @@ var AxebowInput = class AxebowInput extends LitElement {
2832
2836
  constructor(..._args) {
2833
2837
  super(..._args);
2834
2838
  this.value = "";
2839
+ this.type = "text";
2835
2840
  this.placeholder = "";
2836
2841
  this.label = "";
2837
2842
  this.description = "";
@@ -2872,6 +2877,7 @@ var AxebowInput = class AxebowInput extends LitElement {
2872
2877
  switch (this.controlType) {
2873
2878
  case "input": return html`
2874
2879
  <axebow-text-input
2880
+ .type=${this.type}
2875
2881
  .value=${this.value}
2876
2882
  .placeholder=${this.placeholder}
2877
2883
  .label=${this.label}
@@ -3023,6 +3029,7 @@ var AxebowInput = class AxebowInput extends LitElement {
3023
3029
  }
3024
3030
  };
3025
3031
  __decorate([property({ type: String })], AxebowInput.prototype, "value", void 0);
3032
+ __decorate([property({ type: String })], AxebowInput.prototype, "type", void 0);
3026
3033
  __decorate([property({ type: String })], AxebowInput.prototype, "placeholder", void 0);
3027
3034
  __decorate([property({ type: String })], AxebowInput.prototype, "label", void 0);
3028
3035
  __decorate([property({ type: String })], AxebowInput.prototype, "description", void 0);
@@ -11011,14 +11018,12 @@ var AxebowSummaryFlavors = class AxebowSummaryFlavors extends LitElement {
11011
11018
  ${this.hasFlavors || this.nodes || this.highAvailable !== void 0 || this.autoscale !== void 0 || this.supportedStorage.some((s) => this.flavors?.[s]?.[0]) ? html`
11012
11019
  <div class="flex w-full gap-[2%]">
11013
11020
  <div class="flex-1 flex flex-col gap-2">
11014
- <p class="font-semibold">${this.labels.workload}</p>
11015
11021
  ${this.hasFlavors && this.flavors?.small?.[0] ? html`<p>${this.labels.runtimePlane}</p>` : ""}
11016
11022
  <p>${this.labels.numberOfVms}</p>
11017
11023
  ${this.hasFlavors && this.flavors?.medium?.[0] ? html`<p>${this.labels.controlPlane}</p>` : ""}
11018
11024
  ${this.highAvailable !== void 0 ? html`<p>${this.labels.highAvailable}</p>` : ""}
11019
11025
  </div>
11020
11026
  <div class="flex-1 flex flex-col gap-2">
11021
- <p class="font-semibold">${this.labels.selectedFlavor}</p>
11022
11027
  ${this.hasFlavors && this.flavors?.small?.[0] ? html`<p><span class="text-(--axebow-primary)">${this.flavors?.small?.[0]}</span></p>` : ""}
11023
11028
  <p><span class="text-(--axebow-primary)">${this.nodes?.max || "0"}</span></p>
11024
11029
 
@@ -11031,15 +11036,14 @@ var AxebowSummaryFlavors = class AxebowSummaryFlavors extends LitElement {
11031
11036
  </div>
11032
11037
  </div>
11033
11038
  ${this.supportedStorage.some((s) => this.flavors?.[s]?.[0]) ? html`
11039
+ <sl-divider></sl-divider>
11034
11040
  <div class="flex w-full gap-[2%] mt-2">
11035
11041
  <div class="flex-1 flex flex-col gap-2">
11036
- <p class="font-semibold">${this.labels.storage}</p>
11037
11042
  ${this.supportedStorage.includes("volatile") && this.flavors?.volatile?.[0] ? html`<p>${this.labels.volatile}</p>` : ""}
11038
11043
  ${this.supportedStorage.includes("nonReplicated") && this.flavors?.nonReplicated?.[0] ? html`<p>${this.labels.nonReplPersistent}</p>` : ""}
11039
11044
  ${this.supportedStorage.includes("persistent") && this.flavors?.persistent?.[0] ? html`<p>${this.labels.persistentReplicated}</p>` : ""}
11040
11045
  </div>
11041
11046
  <div class="flex-1 flex flex-col gap-2">
11042
- <p class="font-semibold">${this.labels.selectedFlavor}</p>
11043
11047
  ${this.supportedStorage.includes("volatile") && this.flavors?.volatile?.[0] ? html`<p>
11044
11048
  <span class="text-(--axebow-primary)">${this.flavors?.volatile?.[0]}</span>
11045
11049
  </p>` : ""}