@mintplayer/ng-bootstrap 13.1.11 → 13.1.13
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/esm2020/lib/components/context-menu/context-menu.directive.mjs +23 -9
- package/esm2020/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.mjs +3 -1
- package/esm2020/lib/components/file-upload/component/file-upload.component.mjs +85 -0
- package/esm2020/lib/components/file-upload/directive/file-upload-template.directive.mjs +18 -0
- package/esm2020/lib/components/file-upload/file-upload.mjs +2 -0
- package/esm2020/lib/components/file-upload/file-upload.module.mjs +43 -0
- package/esm2020/lib/components/file-upload/index.mjs +5 -0
- package/esm2020/lib/components/for/for.directive.mjs +32 -0
- package/esm2020/lib/components/for/for.module.mjs +26 -0
- package/esm2020/lib/components/for/index.mjs +3 -0
- package/esm2020/lib/components/index.mjs +3 -1
- package/esm2020/lib/pipes/format-bytes/format-bytes.module.mjs +26 -0
- package/esm2020/lib/pipes/format-bytes/format-bytes.pipe.mjs +23 -0
- package/esm2020/lib/pipes/index.mjs +1 -1
- package/fesm2015/mintplayer-ng-bootstrap.mjs +414 -176
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap.mjs +414 -176
- package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/lib/components/context-menu/context-menu.directive.d.ts +1 -0
- package/lib/components/file-upload/component/file-upload.component.d.ts +19 -0
- package/lib/components/file-upload/directive/file-upload-template.directive.d.ts +8 -0
- package/lib/components/file-upload/file-upload.d.ts +4 -0
- package/lib/components/file-upload/file-upload.module.d.ts +12 -0
- package/lib/components/file-upload/index.d.ts +4 -0
- package/lib/components/for/for.directive.d.ts +7 -0
- package/lib/components/for/for.module.d.ts +8 -0
- package/lib/components/for/index.d.ts +2 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/pipes/format-bytes/format-bytes.module.d.ts +8 -0
- package/lib/pipes/format-bytes/format-bytes.pipe.d.ts +7 -0
- package/package.json +1 -1
- package/src/assets/ic-upload-file.svg +7 -0
- package/src/styles/utilities/cursor.scss +14 -0
|
@@ -8,6 +8,7 @@ export declare class BsContextMenuDirective {
|
|
|
8
8
|
private element;
|
|
9
9
|
constructor(overlay: Overlay, templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef, element: ElementRef);
|
|
10
10
|
clickAnywhere(ev: MouseEvent): void;
|
|
11
|
+
private onBlur;
|
|
11
12
|
private close;
|
|
12
13
|
private checkAndCloseExisting;
|
|
13
14
|
private overlayRef;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { FileUpload } from '../file-upload';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsFileUploadComponent {
|
|
5
|
+
dropFilesCaption: string;
|
|
6
|
+
browseFilesCaption: string;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
isDraggingFile: boolean;
|
|
9
|
+
fileTemplate?: TemplateRef<FileUpload>;
|
|
10
|
+
files: FileUpload[];
|
|
11
|
+
filesDropped: EventEmitter<FileUpload[]>;
|
|
12
|
+
onChange(event: Event): void;
|
|
13
|
+
onDragOver(event: DragEvent): void;
|
|
14
|
+
onDragLeave(event: DragEvent): void;
|
|
15
|
+
onDrop(event: DragEvent): void;
|
|
16
|
+
private processDroppedFiles;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsFileUploadComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsFileUploadComponent, "bs-file-upload", never, { "dropFilesCaption": "dropFilesCaption"; "browseFilesCaption": "browseFilesCaption"; "placeholder": "placeholder"; "files": "files"; }, { "filesDropped": "filesDropped"; }, never, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { BsFileUploadComponent } from '../component/file-upload.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsFileUploadTemplateDirective {
|
|
5
|
+
constructor(fileUploadComponent: BsFileUploadComponent, templateRef: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsFileUploadTemplateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsFileUploadTemplateDirective, "[bsFileUploadTemplate]", never, {}, {}, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./component/file-upload.component";
|
|
3
|
+
import * as i2 from "./directive/file-upload-template.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../for/for.module";
|
|
6
|
+
import * as i5 from "../../pipes/format-bytes/format-bytes.module";
|
|
7
|
+
import * as i6 from "../progress-bar/progress-bar.module";
|
|
8
|
+
export declare class BsFileUploadModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsFileUploadModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsFileUploadModule, [typeof i1.BsFileUploadComponent, typeof i2.BsFileUploadTemplateDirective], [typeof i3.CommonModule, typeof i4.BsForModule, typeof i5.BsFormatBytesModule, typeof i6.BsProgressBarModule], [typeof i1.BsFileUploadComponent, typeof i2.BsFileUploadTemplateDirective]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsFileUploadModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BsForDirective {
|
|
3
|
+
bsFor: any;
|
|
4
|
+
onMouseClick(): void;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsForDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsForDirective, "[bsFor]", never, { "bsFor": "bsFor"; }, {}, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./for.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class BsForModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsForModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsForModule, [typeof i1.BsForDirective], [typeof i2.CommonModule], [typeof i1.BsForDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsForModule>;
|
|
8
|
+
}
|
|
@@ -7,6 +7,8 @@ export * from './context-menu';
|
|
|
7
7
|
export * from './datatable';
|
|
8
8
|
export * from './datepicker';
|
|
9
9
|
export * from './dropdown';
|
|
10
|
+
export * from './file-upload';
|
|
11
|
+
export * from './for';
|
|
10
12
|
export * from './list-group';
|
|
11
13
|
export * from './multiselect';
|
|
12
14
|
export * from './navbar';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./format-bytes.pipe";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class BsFormatBytesModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsFormatBytesModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsFormatBytesModule, [typeof i1.BsFormatBytesPipe], [typeof i2.CommonModule], [typeof i1.BsFormatBytesPipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsFormatBytesModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BsFormatBytesPipe implements PipeTransform {
|
|
4
|
+
transform(value: number, decimals?: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsFormatBytesPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BsFormatBytesPipe, "bsFormatBytes">;
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="63" height="64" viewBox="0 0 63 64">
|
|
2
|
+
<g fill="#3B454F" fill-rule="nonzero">
|
|
3
|
+
<path d="M42.656 15.135a1.953 1.953 0 0 1-1.391-.578L31.5 4.795l-9.765 9.762a1.97 1.97 0 1 1-2.785-2.785L30.106.616a1.97 1.97 0 0 1 2.785 0l11.157 11.156a1.97 1.97 0 0 1-1.392 3.363z"/>
|
|
4
|
+
<path d="M31.5 36.791a1.97 1.97 0 0 1-1.969-1.969V2.01a1.97 1.97 0 0 1 3.938 0v32.812a1.97 1.97 0 0 1-1.969 1.969z"/>
|
|
5
|
+
<path d="M55.781 63.041H7.22A7.225 7.225 0 0 1 0 55.822V41.385a4.599 4.599 0 0 1 4.594-4.594h7.234a4.567 4.567 0 0 1 4.402 3.276l2.814 9.382a.658.658 0 0 0 .628.467h23.656a.658.658 0 0 0 .628-.467l2.814-9.385a4.572 4.572 0 0 1 4.402-3.273h7.234A4.599 4.599 0 0 1 63 41.385v14.437a7.225 7.225 0 0 1-7.219 7.219zM4.594 40.729a.656.656 0 0 0-.657.656v14.437a3.286 3.286 0 0 0 3.282 3.282H55.78a3.286 3.286 0 0 0 3.282-3.282V41.385a.656.656 0 0 0-.657-.656h-7.234a.65.65 0 0 0-.628.467L47.73 50.58a4.628 4.628 0 0 1-4.402 3.274H19.672a4.567 4.567 0 0 1-4.402-3.276l-2.814-9.382a.65.65 0 0 0-.628-.467H4.594z"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@import "~bootstrap/scss/bootstrap-utilities.scss";
|
|
2
|
+
|
|
3
|
+
//Generate utilites for Cursor
|
|
4
|
+
$utilities: map-merge(
|
|
5
|
+
$utilities,
|
|
6
|
+
(
|
|
7
|
+
"cursor": (
|
|
8
|
+
property: cursor,
|
|
9
|
+
values: auto default pointer wait text move help not-allowed
|
|
10
|
+
),
|
|
11
|
+
)
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
@import "~bootstrap/scss/bootstrap.scss";
|