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

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;CAqQP"}
@@ -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,EAAQ,UAAU,EAAa,MAAM,KAAK,CAAC;AAKlD,qBACa,eAAgB,SAAQ,UAAU;IAC7C,MAAM,CAAC,MAAM,4BAAyC;IAE1B,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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cAAc,+DAA+D,CAAC;AAC9E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,+EAA+E,CAAC"}
package/dist/index.js CHANGED
@@ -2782,6 +2782,116 @@ __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 = [unsafeCSS(tailwind_default), axebowTheme];
2799
+ }
2800
+ _handleKeyDown(e) {
2801
+ const input = e.target;
2802
+ if (e.key === "," || e.key === "Enter") {
2803
+ e.preventDefault();
2804
+ this._commitCurrentInput(input.value);
2805
+ } else if (e.key === "Backspace" && input.value === "" && this.tags.length > 0) this.onTagsChange?.(this.tags.slice(0, -1));
2806
+ }
2807
+ _handleInputChange(e) {
2808
+ const input = e.target;
2809
+ const value = input.value;
2810
+ if (value.includes(",")) {
2811
+ const parts = value.split(",").map((v) => v.trim()).filter(Boolean);
2812
+ const last = parts.pop() ?? "";
2813
+ this.onTagsChange?.([...this.tags, ...parts.filter((p) => !this.tags.includes(p))]);
2814
+ this.onCurrentInputChange?.(last);
2815
+ input.value = last;
2816
+ } else this.onCurrentInputChange?.(value);
2817
+ }
2818
+ _commitCurrentInput(raw) {
2819
+ const value = raw.replace(/,/g, "").trim();
2820
+ if (value && !this.tags.includes(value)) this.onTagsChange?.([...this.tags, value]);
2821
+ this.onCurrentInputChange?.("");
2822
+ const input = this.shadowRoot?.querySelector(".tag-field");
2823
+ if (input) input.value = "";
2824
+ }
2825
+ _removeTag(tag) {
2826
+ this.onTagsChange?.(this.tags.filter((t) => t !== tag));
2827
+ }
2828
+ render() {
2829
+ return html`
2830
+ <div>
2831
+ <label class="flex items-center gap-1 text-base font-semibold text-black mb-1">
2832
+ ${this.required ? html`<span class="text-(--axebow-error)">*</span>` : ""}
2833
+ ${this.label}
2834
+ </label>
2835
+ ${this.description ? html`<p class="text-base text-black mb-1.5">${this.description}</p>` : ""}
2836
+ <div
2837
+ class="flex flex-wrap items-center gap-1.5 min-h-9 px-2 py-1.5
2838
+ border border-solid border-gray-300 rounded bg-white cursor-text
2839
+ focus-within:border-blue-500 focus-within:ring-2 focus-within:ring-blue-100
2840
+ transition-shadow"
2841
+ @click=${() => this.shadowRoot?.querySelector(".tag-field")?.focus()}
2842
+ >
2843
+ ${this.tags.map((tag) => html`
2844
+ <span
2845
+ class="group inline-flex items-center gap-1 pl-2 pr-1 py-0.5
2846
+ border border-solid border-gray-300 rounded text-base bg-gray-50 text-black
2847
+ max-w-44 transition-colors
2848
+ hover:border-red-300 hover:bg-red-50"
2849
+ title=${tag}
2850
+ >
2851
+ <span class="truncate">${tag}</span>
2852
+ <button
2853
+ class="inline-flex items-center justify-center w-3.5 h-3.5 shrink-0
2854
+ text-black
2855
+ bg-transparent border-none cursor-pointer p-0 leading-none
2856
+ transition-colors"
2857
+ @click=${(e) => {
2858
+ e.stopPropagation();
2859
+ this._removeTag(tag);
2860
+ }}
2861
+ aria-label="Remove ${tag}"
2862
+ >
2863
+ x
2864
+ </button>
2865
+ </span>
2866
+ `)}
2867
+
2868
+ <input
2869
+ class="tag-field flex-1 min-w-30 border-none outline-none bg-transparent
2870
+ text-base py-0.5 font-[inherit] text-inherit placeholder-gray-400"
2871
+ type="text"
2872
+ placeholder=${this.tags.length === 0 ? this.placeholder : ""}
2873
+ .value=${this.currentInput}
2874
+ @keydown=${(e) => this._handleKeyDown(e)}
2875
+ @input=${(e) => this._handleInputChange(e)}
2876
+ @blur=${(e) => this._commitCurrentInput(e.target.value)}
2877
+ maxlength=${this.maxlength}
2878
+ />
2879
+ </div>
2880
+ </div>
2881
+ `;
2882
+ }
2883
+ };
2884
+ __decorate([property({ type: String })], AxebowTagsInput.prototype, "label", void 0);
2885
+ __decorate([property({ type: String })], AxebowTagsInput.prototype, "description", void 0);
2886
+ __decorate([property({ type: Boolean })], AxebowTagsInput.prototype, "required", void 0);
2887
+ __decorate([property({ type: String })], AxebowTagsInput.prototype, "placeholder", void 0);
2888
+ __decorate([property({ type: Array })], AxebowTagsInput.prototype, "tags", void 0);
2889
+ __decorate([property({ type: String })], AxebowTagsInput.prototype, "currentInput", void 0);
2890
+ __decorate([property({ type: Number })], AxebowTagsInput.prototype, "maxlength", void 0);
2891
+ __decorate([property({ attribute: false })], AxebowTagsInput.prototype, "onTagsChange", void 0);
2892
+ __decorate([property({ attribute: false })], AxebowTagsInput.prototype, "onCurrentInputChange", void 0);
2893
+ AxebowTagsInput = __decorate([customElement("axebow-tags-input")], AxebowTagsInput);
2894
+ //#endregion
2785
2895
  //#region src/components/axebow-dialog/axebow-dialog.ts
2786
2896
  var AxebowDialog = class AxebowDialog extends LitElement {
2787
2897
  constructor(..._args) {
@@ -2988,34 +3098,6 @@ var AxebowCollaboratorsDialog = class AxebowCollaboratorsDialog extends LitEleme
2988
3098
  _initializeRole(email, currentRole) {
2989
3099
  if (!this.selectedRole[email]) this.onSelectRole?.(email, currentRole);
2990
3100
  }
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
3101
  _handleMenuClick(e, action) {
3020
3102
  e.stopPropagation();
3021
3103
  action();
@@ -3057,57 +3139,16 @@ var AxebowCollaboratorsDialog = class AxebowCollaboratorsDialog extends LitEleme
3057
3139
 
3058
3140
  <div class="flex flex-col flex-1 min-h-0 pl-11.75">
3059
3141
  <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>
3142
+ <axebow-tags-input
3143
+ label="${this.labels.userIdLabel}"
3144
+ description="${this.labels.userIdHelp}"
3145
+ required
3146
+ placeholder="${this.labels.emailPlaceholder}"
3147
+ .tags=${this.newEmails}
3148
+ .currentInput=${this.currentInput}
3149
+ .onTagsChange=${(tags) => this.onEmailsChange?.(tags)}
3150
+ .onCurrentInputChange=${(value) => this.onCurrentInputChange?.(value)}
3151
+ ></axebow-tags-input>
3111
3152
  <div class="flex gap-2 items-end">
3112
3153
  <axebow-input
3113
3154
  controlType="select"
@@ -12195,6 +12236,6 @@ __decorate([property({ type: String })], AxebowObservabilityContainer.prototype,
12195
12236
  __decorate([property({ type: String })], AxebowObservabilityContainer.prototype, "terminalIframeId", void 0);
12196
12237
  AxebowObservabilityContainer = __decorate([customElement("axebow-observability-container")], AxebowObservabilityContainer);
12197
12238
  //#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 };
12239
+ 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
12240
 
12200
12241
  //# sourceMappingURL=index.js.map