@kumori/aurora-wui-components 0.0.195 → 0.0.196

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.
@@ -0,0 +1,29 @@
1
+ import { LitElement } from 'lit';
2
+ export interface UploadZoneLabels {
3
+ invalidZipStructure: string;
4
+ clickToSelectDifferent: string;
5
+ clickToUpload: string;
6
+ orDragAndDrop: string;
7
+ }
8
+ /**
9
+ * Purely presentational ZIP dropzone: a fixed-size box that reflects
10
+ * idle/dragging/error/selected states from props. Drag-hover is a pure UI
11
+ * mechanic kept as internal state; the actual chosen/dropped file is the
12
+ * only thing that bubbles out, via `onFileSelected`.
13
+ */
14
+ export declare class AxebowDragDropUploadFile extends LitElement {
15
+ fileName: string;
16
+ fileSizeLabel: string;
17
+ errorMessage: string;
18
+ labels: UploadZoneLabels;
19
+ onFileSelected?: (file: File | null) => void;
20
+ private _isDragging;
21
+ static styles: import('lit').CSSResult[];
22
+ private _triggerFileInput;
23
+ private _handleFileSelection;
24
+ private _handleDrop;
25
+ private _handleDragOver;
26
+ private _handleDragLeave;
27
+ render(): import('lit-html').TemplateResult<1>;
28
+ }
29
+ //# sourceMappingURL=axebow-drag-drop-upload-file.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-drag-drop-upload-file.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-drag-drop-upload-file/axebow-drag-drop-upload-file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,uDAAuD,CAAC;AAI/D,MAAM,WAAW,gBAAgB;IAC/B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;;;;GAKG;AACH,qBACa,wBAAyB,SAAQ,UAAU;IAC1B,QAAQ,SAAM;IACd,aAAa,SAAM;IACnB,YAAY,SAAM;IACd,MAAM,EAAG,gBAAgB,CAAC;IAC1B,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IAEpE,OAAO,CAAC,WAAW,CAAS;IAErC,MAAM,CAAC,MAAM,4BAQX;IAEF,OAAO,CAAC,iBAAiB,CAEvB;IAEF,OAAO,CAAC,oBAAoB,CAG1B;IAEF,OAAO,CAAC,WAAW,CAKjB;IAEF,OAAO,CAAC,eAAe,CAIrB;IAEF,OAAO,CAAC,gBAAgB,CAItB;IAEF,MAAM;CA2DP"}
@@ -0,0 +1,15 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * Purely presentational single-metric row: "label: current/limit". Sizing,
4
+ * text and numbers are all caller-supplied - this only lays them out and
5
+ * bolds the limit.
6
+ */
7
+ export declare class AxebowLimitsCounter extends LitElement {
8
+ label: string;
9
+ current: string;
10
+ limit: string;
11
+ unit: string;
12
+ static styles: import('lit').CSSResult[];
13
+ render(): import('lit-html').TemplateResult<1>;
14
+ }
15
+ //# sourceMappingURL=axebow-limits-counter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-limits-counter.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-limits-counter/axebow-limits-counter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAKvD;;;;GAIG;AACH,qBACa,mBAAoB,SAAQ,UAAU;IACrB,KAAK,SAAM;IACX,OAAO,SAAM;IACb,KAAK,SAAM;IACX,IAAI,SAAM;IAEtC,MAAM,CAAC,MAAM,4BAQX;IAEF,MAAM;CASP"}
@@ -0,0 +1,18 @@
1
+ import { LitElement } from 'lit';
2
+ export interface ResourceLimitItem {
3
+ label: string;
4
+ current: string;
5
+ limit: string;
6
+ unit?: string;
7
+ }
8
+ /**
9
+ * Purely presentational strip of resource-limit columns (e.g. vCPU /
10
+ * memory / storage), each an `axebow-limits-counter`, separated by "|".
11
+ * Data comes entirely from `items` - this only lays them out.
12
+ */
13
+ export declare class AxebowResourcesCounter extends LitElement {
14
+ items: ResourceLimitItem[];
15
+ static styles: import('lit').CSSResult[];
16
+ render(): import('lit-html').TemplateResult<1>;
17
+ }
18
+ //# sourceMappingURL=axebow-resources-counter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-resources-counter.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-resources-counter/axebow-resources-counter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,mDAAmD,CAAC;AAI3D,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,qBACa,sBAAuB,SAAQ,UAAU;IACzB,KAAK,EAAE,iBAAiB,EAAE,CAAM;IAE3D,MAAM,CAAC,MAAM,4BAQX;IAEF,MAAM;CAiBP"}
@@ -0,0 +1,48 @@
1
+ import { LitElement } from 'lit';
2
+ import { ResourceLimitItem } from '../axebow-resources-counter/axebow-resources-counter.js';
3
+ import { UploadZoneLabels } from '../axebow-drag-drop-upload-file/axebow-drag-drop-upload-file.js';
4
+ export interface RuntimeZipDialogLabels extends UploadZoneLabels {
5
+ title: string;
6
+ uploadDescriptionPrefix: string;
7
+ zipWarningStrong: string;
8
+ zipWarningEg: string;
9
+ zipWarningCannotValidate: string;
10
+ zipWarningFailing: string;
11
+ serviceName: string;
12
+ serviceNamePlaceholder: string;
13
+ serviceNameHelp: string;
14
+ dslDeployment: string;
15
+ deploy: string;
16
+ cancel: string;
17
+ }
18
+ /**
19
+ * Purely presentational ZIP-deploy dialog: composes the resources counter,
20
+ * warning banner, service-name input, DSL switch and dropzone. All data
21
+ * and copy come through props/labels, all actions are callback props -
22
+ * validation, file handling and the actual deploy call stay with the
23
+ * caller.
24
+ */
25
+ export declare class AxebowRuntimeZipDialog extends LitElement {
26
+ open: boolean;
27
+ labels: RuntimeZipDialogLabels;
28
+ tenantName: string;
29
+ accountName: string;
30
+ environmentName: string;
31
+ resourceLimits: ResourceLimitItem[];
32
+ serviceName: string;
33
+ serviceNameError: string;
34
+ onServiceNameInput?: (value: string) => void;
35
+ isDslZip: boolean;
36
+ onDslChange?: (checked: boolean) => void;
37
+ fileName: string;
38
+ fileSizeLabel: string;
39
+ fileError: string;
40
+ onFileSelected?: (file: File | null) => void;
41
+ isDeployEnabled: boolean;
42
+ isDeploying: boolean;
43
+ onDeploy?: () => void;
44
+ onClose?: () => void;
45
+ static styles: import('lit').CSSResult[];
46
+ render(): import('lit-html').TemplateResult<1>;
47
+ }
48
+ //# sourceMappingURL=axebow-runtime-zip-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-runtime-zip-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-runtime-zip-dialog/axebow-runtime-zip-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAEvD,OAAO,2DAA2D,CAAC;AACnE,OAAO,yDAAyD,CAAC;AACjE,OAAO,mCAAmC,CAAC;AAC3C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,yDAAyD,CAAC;AACjE,OAAO,iEAAiE,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AACjG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iEAAiE,CAAC;AAIxG,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB,EAAE,MAAM,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,wBAAwB,EAAE,MAAM,CAAC;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;GAMG;AACH,qBACa,sBAAuB,SAAQ,UAAU;IACR,IAAI,UAAS;IACzB,MAAM,EAAG,sBAAsB,CAAC;IAEpC,UAAU,SAAM;IAChB,WAAW,SAAM;IACjB,eAAe,SAAM;IACtB,cAAc,EAAE,iBAAiB,EAAE,CAAM;IAExC,WAAW,SAAM;IACjB,gBAAgB,SAAM;IAClB,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEhD,QAAQ,UAAS;IACd,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAE7C,QAAQ,SAAM;IACd,aAAa,SAAM;IACnB,SAAS,SAAM;IACX,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IAEhD,eAAe,UAAS;IACxB,WAAW,UAAS;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErD,MAAM,CAAC,MAAM,4BAkCX;IAEF,MAAM;CAsEP"}
package/dist/index.d.ts CHANGED
@@ -19,6 +19,10 @@ export * from './components/axebow-input/axebow-select-input.js';
19
19
  export * from './components/axebow-input/axebow-input.js';
20
20
  export * from './components/axebow-dialog/axebow-dialog.js';
21
21
  export * from './components/axebow-collaborators-dialog/axebow-collaborators-dialog.js';
22
+ export * from './components/axebow-limits-counter/axebow-limits-counter.js';
23
+ export * from './components/axebow-resources-counter/axebow-resources-counter.js';
24
+ export * from './components/axebow-drag-drop-upload-file/axebow-drag-drop-upload-file.js';
25
+ export * from './components/axebow-runtime-zip-dialog/axebow-runtime-zip-dialog.js';
22
26
  export * from './components/cards/card.models.js';
23
27
  export * from './components/axebow-more-actions/axebow-more-actions.js';
24
28
  export * from './components/cards/axebow-base-card.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,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;AAClF,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,mDAAmD,CAAC;AAClE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,kDAAkD,CAAC;AACjE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yEAAyE,CAAC;AACxF,cAAc,mCAAmC,CAAC;AAClD,cAAc,yDAAyD,CAAC;AACxE,cAAc,wCAAwC,CAAC;AACvD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oDAAoD,CAAC;AACnE,cAAc,0DAA0D,CAAC;AACzE,cAAc,iDAAiD,CAAC;AAChE,cAAc,mDAAmD,CAAC;AAClE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qDAAqD,CAAC;AACpE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sDAAsD,CAAC;AACrE,cAAc,sDAAsD,CAAC;AACrE,cAAc,wDAAwD,CAAC;AACvE,cAAc,sDAAsD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