@alauda-fe/dynamic-plugin-shared 0.0.1-alpha.12 → 0.0.1-alpha.14
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.
- package/assets/images/overview-banner.svg +1 -0
- package/components/deleting-tag/component.d.ts +7 -0
- package/components/index.d.ts +6 -1
- package/components/list-display/component.d.ts +15 -0
- package/components/multi-search/action-input/component.d.ts +122 -0
- package/components/multi-search/form/component.d.ts +66 -0
- package/components/multi-search/index.d.ts +4 -0
- package/components/multi-search/multi-search-tags/component.d.ts +27 -0
- package/components/multi-search/types.d.ts +33 -0
- package/components/multi-search/utils.d.ts +24 -0
- package/components/mutable/directive.d.ts +83 -0
- package/components/mutable/element.d.ts +10 -0
- package/components/mutable/index.d.ts +8 -0
- package/components/mutable/mosaic/component.d.ts +32 -0
- package/components/mutable/mosaic/directive.d.ts +9 -0
- package/components/mutable/util.d.ts +18 -0
- package/components/overview-banner/component.d.ts +11 -0
- package/components/table/component.d.ts +88 -0
- package/components/table/constants.d.ts +3 -0
- package/components/table/helper.d.ts +2 -0
- package/components/table/helpers.directive.d.ts +21 -0
- package/components/table/index.d.ts +5 -0
- package/components/table/types.d.ts +71 -0
- package/components/table/util.service.d.ts +13 -0
- package/esm2022/components/deleting-tag/component.mjs +16 -0
- package/esm2022/components/index.mjs +7 -2
- package/esm2022/components/list-display/component.mjs +46 -0
- package/esm2022/components/multi-search/action-input/component.mjs +675 -0
- package/esm2022/components/multi-search/form/component.mjs +322 -0
- package/esm2022/components/multi-search/index.mjs +5 -0
- package/esm2022/components/multi-search/multi-search-tags/component.mjs +67 -0
- package/esm2022/components/multi-search/types.mjs +2 -0
- package/esm2022/components/multi-search/utils.mjs +46 -0
- package/esm2022/components/mutable/directive.mjs +351 -0
- package/esm2022/components/mutable/element.mjs +23 -0
- package/esm2022/components/mutable/index.mjs +15 -0
- package/esm2022/components/mutable/mosaic/component.mjs +76 -0
- package/esm2022/components/mutable/mosaic/directive.mjs +24 -0
- package/esm2022/components/mutable/util.mjs +16 -0
- package/esm2022/components/overview-banner/component.mjs +17 -0
- package/esm2022/components/table/component.mjs +321 -0
- package/esm2022/components/table/constants.mjs +4 -0
- package/esm2022/components/table/helper.mjs +16 -0
- package/esm2022/components/table/helpers.directive.mjs +19 -0
- package/esm2022/components/table/index.mjs +6 -0
- package/esm2022/components/table/types.mjs +2 -0
- package/esm2022/components/table/util.service.mjs +81 -0
- package/esm2022/form/base-form-container.mjs +2 -2
- package/esm2022/k8s-resource-list/footer/component.mjs +3 -3
- package/esm2022/page-deactivate/deactivate.directive.mjs +2 -2
- package/esm2022/page-deactivate/deactivate.guard.mjs +2 -3
- package/esm2022/page-deactivate/deactivate.service.mjs +4 -14
- package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs +2228 -222
- package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs.map +1 -1
- package/package.json +1 -1
- package/page-deactivate/deactivate.guard.d.ts +0 -2
- package/page-deactivate/deactivate.service.d.ts +1 -1
- package/styles/lib.scss +1 -1
- package/components/terminating-tag/component.d.ts +0 -7
- package/esm2022/components/terminating-tag/component.mjs +0 -16
package/package.json
CHANGED
|
@@ -2,8 +2,6 @@ import { Injector } from '@angular/core';
|
|
|
2
2
|
import { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot } from '@angular/router';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare const ESCAPE_DEACTIVATE_GUARD = "__ESCAPE_DEACTIVATE_GUARD__";
|
|
6
|
-
export declare const CURR_ESCAPE_DEACTIVATE_GUARD = "__CURR_ESCAPE_DEACTIVATE_GUARD__";
|
|
7
5
|
export declare class InterceptDeactivateGuard implements CanDeactivate<unknown> {
|
|
8
6
|
private readonly injector;
|
|
9
7
|
constructor(injector: Injector);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DialogService } from '@alauda/ui';
|
|
2
|
-
import { TranslateService } from '@alauda-fe/dynamic-plugin-sdk';
|
|
3
2
|
import { Location } from '@angular/common';
|
|
4
3
|
import { OnDestroy } from '@angular/core';
|
|
5
4
|
import { Router } from '@angular/router';
|
|
6
5
|
import { Subject } from 'rxjs';
|
|
6
|
+
import { TranslateService } from '@alauda-fe/dynamic-plugin-sdk';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class InterceptDeactivateService implements OnDestroy {
|
|
9
9
|
private readonly location;
|
package/styles/lib.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tw-mb-12{margin-bottom:12px}.tw-mb-4{margin-bottom:4px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-mr-4{margin-right:4px}.tw-mr-8{margin-right:8px}.tw-mt-0{margin-top:0}.tw-flex{display:flex}.tw-h-\[8px\]{height:8px}.tw-w-full{width:100%}.tw-flex-1{flex:1 1 0%}.tw-cursor-pointer{cursor:pointer}.tw-justify-end{justify-content:flex-end}.tw-overflow-hidden{overflow:hidden}.tw-text-ellipsis{text-overflow:ellipsis}.tw-text-center{text-align:center}.\!tw-text-s{font-size:var(--aui-font-size-s)!important}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-icon-m{font-size:var(--aui-icon-size-m)}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}
|
|
1
|
+
.tw-mb-12{margin-bottom:12px}.tw-mb-4{margin-bottom:4px}.tw-ml-6{margin-left:6px}.tw-ml-8{margin-left:8px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-mr-4{margin-right:4px}.tw-mr-8{margin-right:8px}.tw-mt-0{margin-top:0}.tw-flex{display:flex}.tw-h-\[22px\]{height:22px}.tw-h-\[8px\]{height:8px}.tw-w-full{width:100%}.tw-min-w-\[160px\]{min-width:160px}.tw-min-w-\[260px\]{min-width:260px}.tw-max-w-\[400px\]{max-width:400px}.tw-max-w-\[45\%\]{max-width:45%}.tw-flex-1{flex:1 1 0%}.tw-flex-shrink-0{flex-shrink:0}.tw-cursor-pointer{cursor:pointer}.tw-flex-col{flex-direction:column}.tw-items-center{align-items:center}.tw-justify-end{justify-content:flex-end}.tw-overflow-hidden{overflow:hidden}.tw-text-ellipsis{text-overflow:ellipsis}.tw-bg-p-6{background-color:rgb(var(--aui-color-p-6))}.tw-text-center{text-align:center}.\!tw-text-s{font-size:var(--aui-font-size-s)!important}.tw-text-m{font-size:var(--aui-font-size-m)}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-n-4{color:rgb(var(--aui-color-n-4))}.tw-text-p-2{color:rgb(var(--aui-color-p-2))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-icon-m{font-size:var(--aui-icon-size-m)}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { KubernetesResource } from '../../types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TerminatingTagComponent {
|
|
4
|
-
resource: KubernetesResource;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TerminatingTagComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TerminatingTagComponent, "acl-deleting-tag", never, { "resource": { "alias": "resource"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TagComponent } from '@alauda/ui';
|
|
2
|
-
import { TranslatePipe } from '@alauda-fe/dynamic-plugin-sdk';
|
|
3
|
-
import { NgIf } from '@angular/common';
|
|
4
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class TerminatingTagComponent {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: TerminatingTagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: TerminatingTagComponent, isStandalone: true, selector: "acl-deleting-tag", inputs: { resource: "resource" }, ngImport: i0, template: "<aui-tag\n *ngIf=\"resource?.metadata?.deletionTimestamp\"\n type=\"error\"\n size=\"mini\"\n [border]=\"true\"\n>\n {{ 'deleting' | translate }}\n</aui-tag>\n", styles: ["aui-tag{display:inline-block;margin-left:8px;vertical-align:2px}\n"], dependencies: [{ kind: "component", type: TagComponent, selector: "aui-tag", inputs: ["type", "size", "closeable", "border", "solid", "invalid", "round", "color", "allowClick"], outputs: ["close"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: TerminatingTagComponent, decorators: [{
|
|
11
|
-
type: Component,
|
|
12
|
-
args: [{ selector: 'acl-deleting-tag', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [TagComponent, NgIf, TranslatePipe], template: "<aui-tag\n *ngIf=\"resource?.metadata?.deletionTimestamp\"\n type=\"error\"\n size=\"mini\"\n [border]=\"true\"\n>\n {{ 'deleting' | translate }}\n</aui-tag>\n", styles: ["aui-tag{display:inline-block;margin-left:8px;vertical-align:2px}\n"] }]
|
|
13
|
-
}], propDecorators: { resource: [{
|
|
14
|
-
type: Input
|
|
15
|
-
}] } });
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9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