@kumori/aurora-wui-components 0.0.268-dev4123.4 → 0.0.268-dev4123.6

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.
@@ -55,10 +55,6 @@ export declare class AxebowCollaboratorsDialog extends LitElement {
55
55
  private get _hasPendingRoleChanges();
56
56
  private _roleLabel;
57
57
  private _initializeRole;
58
- private _handleTagInputKeyDown;
59
- private _handleTagInputChange;
60
- private _commitCurrentInput;
61
- private _removeEmail;
62
58
  private _handleMenuClick;
63
59
  render(): import('lit-html').TemplateResult<1>;
64
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-collaborators-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-collaborators-dialog/axebow-collaborators-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,2DAA2D,CAAC;AACnE,OAAO,6DAA6D,CAAC;AACrE,OAAO,+DAA+D,CAAC;AACvE,OAAO,uDAAuD,CAAC;AAC/D,OAAO,iEAAiE,CAAC;AACzE,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAIzD,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC;AAE5C,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,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,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,oBAAoB,CAAC,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,CAAC;IACtD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAC6H;IAEhK,MAAM,CAAC,MAAM,4BAuDX;IAEF,OAAO,KAAK,YAAY,GAEvB;IAED,OAAO,KAAK,sBAAsB,GAEjC;IAED,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,sBAAsB;IAU9B,OAAO,CAAC,qBAAqB;IAiB7B,OAAO,CAAC,mBAAmB;IAU3B,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,gBAAgB;IAKxB,MAAM;CAgTP"}
1
+ {"version":3,"file":"axebow-collaborators-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-collaborators-dialog/axebow-collaborators-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,2DAA2D,CAAC;AACnE,OAAO,6DAA6D,CAAC;AACrE,OAAO,+DAA+D,CAAC;AACvE,OAAO,uDAAuD,CAAC;AAC/D,OAAO,iEAAiE,CAAC;AACzE,OAAO,+BAA+B,CAAC;AACvC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAIzD,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC;AAE5C,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,yBAAyB;IACx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CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAE9B,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,oBAAoB,CAAC,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,CAAC;IACtD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAC6H;IAEhK,MAAM,CAAC,MAAM,4BAuDX;IAEF,OAAO,KAAK,YAAY,GAEvB;IAED,OAAO,KAAK,sBAAsB,GAEjC;IAED,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,gBAAgB;IAKxB,MAAM;CAsQP"}
@@ -0,0 +1,24 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class AxebowTagsInput extends LitElement {
3
+ static styles: import('lit').CSSResult[];
4
+ label: string;
5
+ description: string;
6
+ required: boolean;
7
+ placeholder: string;
8
+ tags: string[];
9
+ currentInput: string;
10
+ maxlength: number;
11
+ onTagsChange?: (tags: string[]) => void;
12
+ onCurrentInputChange?: (value: string) => void;
13
+ private _handleKeyDown;
14
+ private _handleInputChange;
15
+ private _commitCurrentInput;
16
+ private _removeTag;
17
+ render(): import('lit-html').TemplateResult<1>;
18
+ }
19
+ declare global {
20
+ interface HTMLElementTagNameMap {
21
+ 'axebow-tags-input': AxebowTagsInput;
22
+ }
23
+ }
24
+ //# sourceMappingURL=axebow-tags-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-tags-input.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-tags-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAKvD,qBACa,eAAgB,SAAQ,UAAU;IAC7C,MAAM,CAAC,MAAM,4BAQX;IAE0B,KAAK,SAAM;IACX,WAAW,SAAM;IAChB,QAAQ,UAAS;IAClB,WAAW,SAAM;IAClB,IAAI,EAAE,MAAM,EAAE,CAAM;IACnB,YAAY,SAAM;IAClB,SAAS,SAAO;IACZ,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACxC,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAE/E,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,kBAAkB;IAiB1B,OAAO,CAAC,mBAAmB;IAU3B,OAAO,CAAC,UAAU;IAIlB,MAAM;CAyDP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,eAAe,CAAC;KACtC;CACF"}
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export * from './components/axebow-input/axebow-providers-input.js';
20
20
  export * from './components/axebow-input/axebow-select-input.js';
21
21
  export * from './components/axebow-input/axebow-select-input-with-divider.js';
22
22
  export * from './components/axebow-input/axebow-plan-select-field.js';
23
+ export * from './components/axebow-input/axebow-tags-input.js';
23
24
  export * from './components/axebow-input/axebow-input.js';
24
25
  export * from './components/axebow-dialog/axebow-dialog.js';
25
26
  export * from './components/axebow-collaborators-dialog/axebow-collaborators-dialog.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,yCAAyC,CAAC;AACxD,cAAc,qDAAqD,CAAC;AACpE,cAAc,qEAAqE,CAAC;AACpF,cAAc,6CAA6C,CAAC;AAC5D,YAAY,EAAE,WAAW,EAAE,MAAM,0DAA0D,CAAC;AAC5F,YAAY,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AAC1H,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mEAAmE,CAAC;A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Ac,+DAA+D,CAAC;AAC9E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,+EAA+E,CAAC"}
package/dist/index.js CHANGED
@@ -2782,6 +2782,124 @@ __decorate([property({ attribute: false })], AxebowPlanSelectField.prototype, "o
2782
2782
  __decorate([property({ attribute: false })], AxebowPlanSelectField.prototype, "onCreatePlan", void 0);
2783
2783
  AxebowPlanSelectField = __decorate([customElement("axebow-plan-select-field")], AxebowPlanSelectField);
2784
2784
  //#endregion
2785
+ //#region src/components/axebow-input/axebow-tags-input.ts
2786
+ var AxebowTagsInput = class AxebowTagsInput extends LitElement {
2787
+ constructor(..._args) {
2788
+ super(..._args);
2789
+ this.label = "";
2790
+ this.description = "";
2791
+ this.required = false;
2792
+ this.placeholder = "";
2793
+ this.tags = [];
2794
+ this.currentInput = "";
2795
+ this.maxlength = 254;
2796
+ }
2797
+ static {
2798
+ this.styles = [
2799
+ unsafeCSS(tailwind_default),
2800
+ axebowTheme,
2801
+ css`
2802
+ :host {
2803
+ display: block;
2804
+ }
2805
+ `
2806
+ ];
2807
+ }
2808
+ _handleKeyDown(e) {
2809
+ const input = e.target;
2810
+ if (e.key === "," || e.key === "Enter") {
2811
+ e.preventDefault();
2812
+ this._commitCurrentInput(input.value);
2813
+ } else if (e.key === "Backspace" && input.value === "" && this.tags.length > 0) this.onTagsChange?.(this.tags.slice(0, -1));
2814
+ }
2815
+ _handleInputChange(e) {
2816
+ const input = e.target;
2817
+ const value = input.value;
2818
+ if (value.includes(",")) {
2819
+ const parts = value.split(",").map((v) => v.trim()).filter(Boolean);
2820
+ const last = parts.pop() ?? "";
2821
+ this.onTagsChange?.([...this.tags, ...parts.filter((p) => !this.tags.includes(p))]);
2822
+ this.onCurrentInputChange?.(last);
2823
+ input.value = last;
2824
+ } else this.onCurrentInputChange?.(value);
2825
+ }
2826
+ _commitCurrentInput(raw) {
2827
+ const value = raw.replace(/,/g, "").trim();
2828
+ if (value && !this.tags.includes(value)) this.onTagsChange?.([...this.tags, value]);
2829
+ this.onCurrentInputChange?.("");
2830
+ const input = this.shadowRoot?.querySelector(".tag-field");
2831
+ if (input) input.value = "";
2832
+ }
2833
+ _removeTag(tag) {
2834
+ this.onTagsChange?.(this.tags.filter((t) => t !== tag));
2835
+ }
2836
+ render() {
2837
+ return html`
2838
+ <div>
2839
+ <label class="flex items-center gap-1 text-base font-semibold text-black mb-1">
2840
+ ${this.required ? html`<span class="text-(--axebow-error)">*</span>` : ""}
2841
+ ${this.label}
2842
+ </label>
2843
+ ${this.description ? html`<p class="text-base text-black mb-1.5">${this.description}</p>` : ""}
2844
+ <div
2845
+ class="flex flex-wrap items-center gap-1.5 min-h-9 px-2 py-1.5
2846
+ border border-solid border-gray-300 rounded bg-white cursor-text
2847
+ focus-within:border-blue-500 focus-within:ring-2 focus-within:ring-blue-100
2848
+ transition-shadow"
2849
+ @click=${() => this.shadowRoot?.querySelector(".tag-field")?.focus()}
2850
+ >
2851
+ ${this.tags.map((tag) => html`
2852
+ <span
2853
+ class="group inline-flex items-center gap-1 pl-2 pr-1 py-0.5
2854
+ border border-solid border-gray-300 rounded text-base bg-gray-50 text-black
2855
+ max-w-44 transition-colors
2856
+ hover:border-red-300 hover:bg-red-50"
2857
+ title=${tag}
2858
+ >
2859
+ <span class="truncate">${tag}</span>
2860
+ <button
2861
+ class="inline-flex items-center justify-center w-3.5 h-3.5 shrink-0
2862
+ text-black
2863
+ bg-transparent border-none cursor-pointer p-0 leading-none
2864
+ transition-colors"
2865
+ @click=${(e) => {
2866
+ e.stopPropagation();
2867
+ this._removeTag(tag);
2868
+ }}
2869
+ aria-label="Remove ${tag}"
2870
+ >
2871
+ x
2872
+ </button>
2873
+ </span>
2874
+ `)}
2875
+
2876
+ <input
2877
+ class="tag-field flex-1 min-w-30 border-none outline-none bg-transparent
2878
+ text-base py-0.5 font-[inherit] text-inherit placeholder-gray-400"
2879
+ type="text"
2880
+ placeholder=${this.tags.length === 0 ? this.placeholder : ""}
2881
+ .value=${this.currentInput}
2882
+ @keydown=${(e) => this._handleKeyDown(e)}
2883
+ @input=${(e) => this._handleInputChange(e)}
2884
+ @blur=${(e) => this._commitCurrentInput(e.target.value)}
2885
+ maxlength=${this.maxlength}
2886
+ />
2887
+ </div>
2888
+ </div>
2889
+ `;
2890
+ }
2891
+ };
2892
+ __decorate([property({ type: String })], AxebowTagsInput.prototype, "label", void 0);
2893
+ __decorate([property({ type: String })], AxebowTagsInput.prototype, "description", void 0);
2894
+ __decorate([property({ type: Boolean })], AxebowTagsInput.prototype, "required", void 0);
2895
+ __decorate([property({ type: String })], AxebowTagsInput.prototype, "placeholder", void 0);
2896
+ __decorate([property({ type: Array })], AxebowTagsInput.prototype, "tags", void 0);
2897
+ __decorate([property({ type: String })], AxebowTagsInput.prototype, "currentInput", void 0);
2898
+ __decorate([property({ type: Number })], AxebowTagsInput.prototype, "maxlength", void 0);
2899
+ __decorate([property({ attribute: false })], AxebowTagsInput.prototype, "onTagsChange", void 0);
2900
+ __decorate([property({ attribute: false })], AxebowTagsInput.prototype, "onCurrentInputChange", void 0);
2901
+ AxebowTagsInput = __decorate([customElement("axebow-tags-input")], AxebowTagsInput);
2902
+ //#endregion
2785
2903
  //#region src/components/axebow-dialog/axebow-dialog.ts
2786
2904
  var AxebowDialog = class AxebowDialog extends LitElement {
2787
2905
  constructor(..._args) {
@@ -2988,34 +3106,6 @@ var AxebowCollaboratorsDialog = class AxebowCollaboratorsDialog extends LitEleme
2988
3106
  _initializeRole(email, currentRole) {
2989
3107
  if (!this.selectedRole[email]) this.onSelectRole?.(email, currentRole);
2990
3108
  }
2991
- _handleTagInputKeyDown(e) {
2992
- const input = e.target;
2993
- if (e.key === "," || e.key === "Enter") {
2994
- e.preventDefault();
2995
- this._commitCurrentInput(input.value);
2996
- } else if (e.key === "Backspace" && input.value === "" && this.newEmails.length > 0) this.onEmailsChange?.(this.newEmails.slice(0, -1));
2997
- }
2998
- _handleTagInputChange(e) {
2999
- const input = e.target;
3000
- const value = input.value;
3001
- if (value.includes(",")) {
3002
- const parts = value.split(",").map((v) => v.trim()).filter(Boolean);
3003
- const last = parts.pop() ?? "";
3004
- this.onEmailsChange?.([...this.newEmails, ...parts.filter((p) => !this.newEmails.includes(p))]);
3005
- this.onCurrentInputChange?.(last);
3006
- input.value = last;
3007
- } else this.onCurrentInputChange?.(value);
3008
- }
3009
- _commitCurrentInput(raw) {
3010
- const value = raw.replace(/,/g, "").trim();
3011
- if (value && !this.newEmails.includes(value)) this.onEmailsChange?.([...this.newEmails, value]);
3012
- this.onCurrentInputChange?.("");
3013
- const input = this.shadowRoot?.querySelector(".tag-field");
3014
- if (input) input.value = "";
3015
- }
3016
- _removeEmail(email) {
3017
- this.onEmailsChange?.(this.newEmails.filter((e) => e !== email));
3018
- }
3019
3109
  _handleMenuClick(e, action) {
3020
3110
  e.stopPropagation();
3021
3111
  action();
@@ -3057,57 +3147,17 @@ var AxebowCollaboratorsDialog = class AxebowCollaboratorsDialog extends LitEleme
3057
3147
 
3058
3148
  <div class="flex flex-col flex-1 min-h-0 pl-11.75">
3059
3149
  <div class="space-y-3 shrink-0">
3060
- <div>
3061
- <label class="flex items-center gap-1 text-base font-medium text-black mb-1">
3062
- <span class="text-black">*</span>
3063
- ${this.labels.userIdLabel}
3064
- </label>
3065
- <p class="text-base text-black mb-1.5">${this.labels.userIdHelp}</p>
3066
- <div
3067
- class="flex flex-wrap items-center gap-1.5 min-h-9 px-2 py-1.5
3068
- border border-solid border-gray-300 rounded bg-white cursor-text
3069
- focus-within:border-blue-500 focus-within:ring-2 focus-within:ring-blue-100
3070
- transition-shadow"
3071
- @click=${() => this.shadowRoot?.querySelector(".tag-field")?.focus()}
3072
- >
3073
- ${this.newEmails.map((email) => html`
3074
- <span
3075
- class="group inline-flex items-center gap-1 pl-2 pr-1 py-0.5
3076
- border border-solid border-gray-300 rounded text-base bg-gray-50 text-black
3077
- max-w-44 transition-colors
3078
- hover:border-red-300 hover:bg-red-50"
3079
- title=${email}
3080
- >
3081
- <span class="truncate">${email}</span>
3082
- <button
3083
- class="inline-flex items-center justify-center w-3.5 h-3.5 shrink-0
3084
- text-black
3085
- bg-transparent border-none cursor-pointer p-0 leading-none
3086
- transition-colors"
3087
- @click=${(e) => {
3088
- e.stopPropagation();
3089
- this._removeEmail(email);
3090
- }}
3091
- aria-label="Remove ${email}"
3092
- >
3093
- x
3094
- </button>
3095
- </span>
3096
- `)}
3097
-
3098
- <input
3099
- class="tag-field flex-1 min-w-30 border-none outline-none bg-transparent
3100
- text-base py-0.5 font-[inherit] text-inherit placeholder-gray-400"
3101
- type="text"
3102
- placeholder=${this.newEmails.length === 0 ? this.labels.emailPlaceholder : ""}
3103
- .value=${this.currentInput}
3104
- @keydown=${(e) => this._handleTagInputKeyDown(e)}
3105
- @input=${(e) => this._handleTagInputChange(e)}
3106
- @blur=${(e) => this._commitCurrentInput(e.target.value)}
3107
- maxlength="254"
3108
- />
3109
- </div>
3110
- </div>
3150
+ <axebow-tags-input
3151
+ class="mb-4"
3152
+ label="${this.labels.userIdLabel}"
3153
+ description="${this.labels.userIdHelp}"
3154
+ required
3155
+ placeholder="${this.labels.emailPlaceholder}"
3156
+ .tags=${this.newEmails}
3157
+ .currentInput=${this.currentInput}
3158
+ .onTagsChange=${(tags) => this.onEmailsChange?.(tags)}
3159
+ .onCurrentInputChange=${(value) => this.onCurrentInputChange?.(value)}
3160
+ ></axebow-tags-input>
3111
3161
  <div class="flex gap-2 items-end">
3112
3162
  <axebow-input
3113
3163
  controlType="select"
@@ -12195,6 +12245,6 @@ __decorate([property({ type: String })], AxebowObservabilityContainer.prototype,
12195
12245
  __decorate([property({ type: String })], AxebowObservabilityContainer.prototype, "terminalIframeId", void 0);
12196
12246
  AxebowObservabilityContainer = __decorate([customElement("axebow-observability-container")], AxebowObservabilityContainer);
12197
12247
  //#endregion
12198
- export { AxebowActionsFooter, AxebowAdjustmentResourcesCounter, AxebowAlert, AxebowBanner, AxebowBaseCard, AxebowBoxSection, AxebowBreadcrumbHeader, AxebowButton, AxebowCardActionBanner, AxebowCardAttentionBanner, AxebowCardCloudLogo, AxebowCardFilter, AxebowCardFilterItem, AxebowCardFooter, AxebowCardHeader, AxebowCardResourceRow, AxebowCardResourceTable, AxebowCardSpecialLink, AxebowCardStatItem, AxebowCardStatsRow, AxebowCardStatus, AxebowCardTableHeader, AxebowCardVersionSelector, AxebowCarouselInput, AxebowCarouselSelectorItem, AxebowCarouselSelectorTenant, AxebowChannelConfigPanel, AxebowCheckboxInput, AxebowCollaboratorsDialog, AxebowCopyBox, AxebowDeployCard, AxebowDeploySummary, AxebowDialog, AxebowDragDropUploadFile, AxebowDraggableService, AxebowExpandableCard, AxebowExpandableHeader, AxebowFilterBar, AxebowFooter, AxebowFormPanelField, AxebowGettingStartedCard, AxebowHeader, AxebowHelpBubble, AxebowIcon, AxebowInfrastructureCard, AxebowInput, AxebowInputBase, AxebowInstancesTable, AxebowLimitsCounter, AxebowManageHyperlinks, AxebowMarketplaceCard, AxebowModalsConfirmation, AxebowMoreActions, AxebowNumberCard, AxebowNumbersSection, AxebowNumericInput, AxebowObservabilityContainer, AxebowPill, AxebowPlanSelectField, AxebowProgressBar, AxebowProvidersInput, AxebowQuickTipButton, AxebowQuickTipSection, AxebowRefreshPeriodPanel, AxebowResourceBar, AxebowResourceBoxForm, AxebowResourceCard, AxebowResourceLimitInput, AxebowResourceLimitsPanel, AxebowResourcesCounter, AxebowRoleCard, AxebowRoleContainerDropdown, AxebowRoleTooltip, AxebowRuntimeZipDialog, AxebowSearch, AxebowSearchBarFilters, AxebowSelectInput, AxebowSelectInputWithDivider, AxebowSelectorSlider, AxebowServiceDetailHeader, AxebowServicesPanel, AxebowSidebar, AxebowStatus, AxebowStepHeader, AxebowSummaryCard, AxebowSummaryFlavors, AxebowSummaryKeyValue, AxebowSummaryLimits, AxebowSummaryStep, AxebowSummaryStepHeader, AxebowSwitch, AxebowSwitchInput, AxebowTabSelector, AxebowTabsSubmenu, AxebowTenantCard, AxebowTenantResourceTable, AxebowTenantsTable, AxebowTextInput, AxebowTimeRangePanel, AxebowTooltip, AxebowUndeployCard, AxebowUnderlineTabSelector, AxebowUsageTooltip, CustomHomePageBody, DEFAULT_ADD_DIALOG_LABELS, DeployModalComponent, DeployModalFooter, DeployModalHeader, DeployPageBody, STATUS_COLORS, TableChart, axebowTheme, buildAddButton, buildExternalNodeContent, buildMainNodeContent, createElement, createIcon };
12248
+ export { AxebowActionsFooter, AxebowAdjustmentResourcesCounter, AxebowAlert, AxebowBanner, AxebowBaseCard, AxebowBoxSection, AxebowBreadcrumbHeader, AxebowButton, AxebowCardActionBanner, AxebowCardAttentionBanner, AxebowCardCloudLogo, AxebowCardFilter, AxebowCardFilterItem, AxebowCardFooter, AxebowCardHeader, AxebowCardResourceRow, AxebowCardResourceTable, AxebowCardSpecialLink, AxebowCardStatItem, AxebowCardStatsRow, AxebowCardStatus, AxebowCardTableHeader, AxebowCardVersionSelector, AxebowCarouselInput, AxebowCarouselSelectorItem, AxebowCarouselSelectorTenant, AxebowChannelConfigPanel, AxebowCheckboxInput, AxebowCollaboratorsDialog, AxebowCopyBox, AxebowDeployCard, AxebowDeploySummary, AxebowDialog, AxebowDragDropUploadFile, AxebowDraggableService, AxebowExpandableCard, AxebowExpandableHeader, AxebowFilterBar, AxebowFooter, AxebowFormPanelField, AxebowGettingStartedCard, AxebowHeader, AxebowHelpBubble, AxebowIcon, AxebowInfrastructureCard, AxebowInput, AxebowInputBase, AxebowInstancesTable, AxebowLimitsCounter, AxebowManageHyperlinks, AxebowMarketplaceCard, AxebowModalsConfirmation, AxebowMoreActions, AxebowNumberCard, AxebowNumbersSection, AxebowNumericInput, AxebowObservabilityContainer, AxebowPill, AxebowPlanSelectField, AxebowProgressBar, AxebowProvidersInput, AxebowQuickTipButton, AxebowQuickTipSection, AxebowRefreshPeriodPanel, AxebowResourceBar, AxebowResourceBoxForm, AxebowResourceCard, AxebowResourceLimitInput, AxebowResourceLimitsPanel, AxebowResourcesCounter, AxebowRoleCard, AxebowRoleContainerDropdown, AxebowRoleTooltip, AxebowRuntimeZipDialog, AxebowSearch, AxebowSearchBarFilters, AxebowSelectInput, AxebowSelectInputWithDivider, AxebowSelectorSlider, AxebowServiceDetailHeader, AxebowServicesPanel, AxebowSidebar, AxebowStatus, AxebowStepHeader, AxebowSummaryCard, AxebowSummaryFlavors, AxebowSummaryKeyValue, AxebowSummaryLimits, AxebowSummaryStep, AxebowSummaryStepHeader, AxebowSwitch, AxebowSwitchInput, AxebowTabSelector, AxebowTabsSubmenu, AxebowTagsInput, AxebowTenantCard, AxebowTenantResourceTable, AxebowTenantsTable, AxebowTextInput, AxebowTimeRangePanel, AxebowTooltip, AxebowUndeployCard, AxebowUnderlineTabSelector, AxebowUsageTooltip, CustomHomePageBody, DEFAULT_ADD_DIALOG_LABELS, DeployModalComponent, DeployModalFooter, DeployModalHeader, DeployPageBody, STATUS_COLORS, TableChart, axebowTheme, buildAddButton, buildExternalNodeContent, buildMainNodeContent, createElement, createIcon };
12199
12249
 
12200
12250
  //# sourceMappingURL=index.js.map