@annalib/anna-core 3.6.0 → 4.0.0

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.
@@ -1,34 +1,32 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./anna-core-shared-lib/components/anna-no-data/anna-no-data.component";
3
3
  import * as i2 from "./anna-core-shared-lib/pipes/annaFilterSearchedText.pipe";
4
- import * as i3 from "./anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe";
5
- import * as i4 from "./anna-core-shared-lib/pipes/annaTypeOfData.pipe";
6
- import * as i5 from "./anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component";
7
- import * as i6 from "./anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component";
8
- import * as i7 from "./anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component";
9
- import * as i8 from "./anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
10
- import * as i9 from "./anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component";
11
- import * as i10 from "./anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive";
12
- import * as i11 from "./anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component";
13
- import * as i12 from "./anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component";
14
- import * as i13 from "./anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component";
15
- import * as i14 from "./anna-generic-table-lib/components/anna-sort/anna-sort.component";
16
- import * as i15 from "./anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive";
17
- import * as i16 from "./anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component";
18
- import * as i17 from "./anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component";
19
- import * as i18 from "./anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive";
20
- import * as i19 from "@angular/common";
21
- import * as i20 from "@ng-bootstrap/ng-bootstrap";
22
- import * as i21 from "@angular/forms";
23
- import * as i22 from "@angular/material/radio";
24
- import * as i23 from "@angular/material/button-toggle";
25
- import * as i24 from "@angular/material/table";
26
- import * as i25 from "@angular-slider/ngx-slider";
27
- import * as i26 from "ngx-skeleton-loader";
28
- import * as i27 from "@angular/cdk/scrolling";
29
- import * as i28 from "ng-circle-progress";
4
+ import * as i3 from "./anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component";
5
+ import * as i4 from "./anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component";
6
+ import * as i5 from "./anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component";
7
+ import * as i6 from "./anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
8
+ import * as i7 from "./anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component";
9
+ import * as i8 from "./anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive";
10
+ import * as i9 from "./anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component";
11
+ import * as i10 from "./anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component";
12
+ import * as i11 from "./anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component";
13
+ import * as i12 from "./anna-generic-table-lib/components/anna-sort/anna-sort.component";
14
+ import * as i13 from "./anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive";
15
+ import * as i14 from "./anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component";
16
+ import * as i15 from "./anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component";
17
+ import * as i16 from "./anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive";
18
+ import * as i17 from "@angular/common";
19
+ import * as i18 from "@ng-bootstrap/ng-bootstrap";
20
+ import * as i19 from "@angular/forms";
21
+ import * as i20 from "@angular/material/radio";
22
+ import * as i21 from "@angular/material/button-toggle";
23
+ import * as i22 from "@angular/material/table";
24
+ import * as i23 from "@angular-slider/ngx-slider";
25
+ import * as i24 from "ngx-skeleton-loader";
26
+ import * as i25 from "@angular/cdk/scrolling";
27
+ import * as i26 from "ng-circle-progress";
30
28
  export declare class AnnaCoreModule {
31
29
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i5.AnnaBuyerApprovalIconTemplateComponent, typeof i6.AnnaLiveIconTemplateComponent, typeof i7.AnnaNotifyIconTemplateComponent, typeof i8.AnnaPayForPerformanceIconTemplateComponent, typeof i9.AnnaRejectedIconTemplateComponent, typeof i10.showEllipsisTextOnHoverDirective, typeof i11.AnnaIconColumnComponent, typeof i12.AnnaWeekCalendarComponent, typeof i13.AnnaCalendarFilterComponent, typeof i14.AnnaSortComponent, typeof i15.AnnaVirtualTableDirective, typeof i16.AnnaNonEditableGenericTableComponent, typeof i17.AnnaTableVirtualScrollViewportComponent, typeof i18.AnnaFixedRowSizeTableVirtualScrollStrategyDirective], [typeof i19.CommonModule, typeof i20.NgbModule, typeof i21.FormsModule, typeof i22.MatRadioModule, typeof i23.MatButtonToggleModule, typeof i24.MatTableModule, typeof i25.NgxSliderModule, typeof i26.NgxSkeletonLoaderModule, typeof i27.ScrollingModule, typeof i28.NgCircleProgressModule], [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i5.AnnaBuyerApprovalIconTemplateComponent, typeof i6.AnnaLiveIconTemplateComponent, typeof i7.AnnaNotifyIconTemplateComponent, typeof i8.AnnaPayForPerformanceIconTemplateComponent, typeof i9.AnnaRejectedIconTemplateComponent, typeof i10.showEllipsisTextOnHoverDirective, typeof i11.AnnaIconColumnComponent, typeof i12.AnnaWeekCalendarComponent, typeof i13.AnnaCalendarFilterComponent, typeof i14.AnnaSortComponent, typeof i15.AnnaVirtualTableDirective, typeof i16.AnnaNonEditableGenericTableComponent, typeof i17.AnnaTableVirtualScrollViewportComponent, typeof i18.AnnaFixedRowSizeTableVirtualScrollStrategyDirective]>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.showEllipsisTextOnHoverDirective, typeof i9.AnnaIconColumnComponent, typeof i10.AnnaWeekCalendarComponent, typeof i11.AnnaCalendarFilterComponent, typeof i12.AnnaSortComponent, typeof i13.AnnaVirtualTableDirective, typeof i14.AnnaNonEditableGenericTableComponent, typeof i15.AnnaTableVirtualScrollViewportComponent, typeof i16.AnnaFixedRowSizeTableVirtualScrollStrategyDirective], [typeof i17.CommonModule, typeof i18.NgbModule, typeof i19.FormsModule, typeof i20.MatRadioModule, typeof i21.MatButtonToggleModule, typeof i22.MatTableModule, typeof i23.NgxSliderModule, typeof i24.NgxSkeletonLoaderModule, typeof i25.ScrollingModule, typeof i26.NgCircleProgressModule], [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.showEllipsisTextOnHoverDirective, typeof i9.AnnaIconColumnComponent, typeof i10.AnnaWeekCalendarComponent, typeof i11.AnnaCalendarFilterComponent, typeof i12.AnnaSortComponent, typeof i13.AnnaVirtualTableDirective, typeof i14.AnnaNonEditableGenericTableComponent, typeof i15.AnnaTableVirtualScrollViewportComponent, typeof i16.AnnaFixedRowSizeTableVirtualScrollStrategyDirective]>;
33
31
  static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreModule>;
34
32
  }
@@ -234,6 +234,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
234
234
  selectAllCheckbox(): void;
235
235
  searchForTheItem(str: string): void;
236
236
  boldString(str: string, find: string): string;
237
+ getIndicesOf(searchStr: string, str: string, caseSensitive: boolean): number[];
237
238
  removeBoldElementFromString(originalString: string): string;
238
239
  clearSearchedItem(): void;
239
240
  calendarDateChanged(event: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "3.6.0",
3
+ "version": "4.0.0",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "2.0.3",
6
6
  "@angular/common": "^13.2.0",
package/public-api.d.ts CHANGED
@@ -18,9 +18,6 @@ export * from "./lib/anna-core-shared-lib/models/anna-tooltip.model";
18
18
  export * from "./lib/anna-core-shared-lib/models/anna-sort.model";
19
19
  export * from "./lib/anna-core-shared-lib/constants/shared.constant";
20
20
  export * from "./lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe";
21
- export * from "./lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe";
22
- export * from "./lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe";
23
- export * from "./lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe";
24
21
  export * from "./lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive";
25
22
  export * from "./lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component";
26
23
  export * from "./lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component";
@@ -1,26 +0,0 @@
1
- import { Pipe } from "@angular/core";
2
- import { memoize } from "lodash-es";
3
- import * as i0 from "@angular/core";
4
- export class AnnaConvertZeroOrNullOrUndefinedPipe {
5
- constructor() {
6
- this.transformer = memoize(this.replace, (...args) => this.replace(args[0], args[1]));
7
- }
8
- transform(value, convertTo) {
9
- return this.transformer(value, convertTo);
10
- }
11
- replace(value, convertTo) {
12
- if (value === "undefined" || value === null || value === "" || Number(value) === 0) {
13
- return convertTo;
14
- }
15
- return value;
16
- }
17
- }
18
- AnnaConvertZeroOrNullOrUndefinedPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaConvertZeroOrNullOrUndefinedPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
19
- AnnaConvertZeroOrNullOrUndefinedPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaConvertZeroOrNullOrUndefinedPipe, name: "AnnaConvertZeroOrNullOrUndefined" });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaConvertZeroOrNullOrUndefinedPipe, decorators: [{
21
- type: Pipe,
22
- args: [{
23
- name: "AnnaConvertZeroOrNullOrUndefined",
24
- }]
25
- }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5uYUNvbnZlcnRaZXJvT3JOdWxsT3JVbmRlZmluZWQucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FubmEtY29yZS9zcmMvbGliL2FubmEtY29yZS1zaGFy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9tIFwiQGFuZ3VsYXIvY29yZVwiO1xyXG5pbXBvcnQgeyBtZW1vaXplIH0gZnJvbSBcImxvZGFzaC1lc1wiO1xyXG5cclxuQFBpcGUoe1xyXG4gICAgbmFtZTogXCJBbm5hQ29udmVydFplcm9Pck51bGxPclVuZGVmaW5lZFwiLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQW5uYUNvbnZlcnRaZXJvT3JOdWxsT3JVbmRlZmluZWRQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XHJcbiAgICB0cmFuc2Zvcm1lciA9IG1lbW9pemUodGhpcy5yZXBsYWNlLCAoLi4uYXJncykgPT4gdGhpcy5yZXBsYWNlKGFyZ3NbMF0sIGFyZ3NbMV0pKTtcclxuXHJcbiAgICB0cmFuc2Zvcm0odmFsdWU6YW55LCBjb252ZXJ0VG86YW55KTogbnVtYmVyIHwgc3RyaW5nIHtcclxuICAgICAgICByZXR1cm4gdGhpcy50cmFuc2Zvcm1lcih2YWx1ZSwgY29udmVydFRvKTtcclxuICAgIH1cclxuXHJcbiAgICByZXBsYWNlKHZhbHVlOmFueSwgY29udmVydFRvOmFueSk6IG51bWJlciB8IHN0cmluZyB7XHJcbiAgICAgICAgaWYgKHZhbHVlID09PSBcInVuZGVmaW5lZFwiIHx8IHZhbHVlID09PSBudWxsIHx8IHZhbHVlID09PSBcIlwiIHx8IE51bWJlcih2YWx1ZSkgPT09IDApIHtcclxuICAgICAgICAgICAgcmV0dXJuIGNvbnZlcnRUbztcclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIHZhbHVlO1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
@@ -1,25 +0,0 @@
1
- import { Pipe } from "@angular/core";
2
- import { memoize } from "lodash-es";
3
- import * as i0 from "@angular/core";
4
- export class AnnaReplaceCharPipe {
5
- constructor() {
6
- this.converter = memoize(this.replace, (...args) => this.replace(args[0], args[1], args[2]));
7
- }
8
- transform(value, charToBeReplaced, replaceBy) {
9
- if (value !== undefined || value != null) {
10
- return this.converter(value, charToBeReplaced, replaceBy);
11
- }
12
- }
13
- replace(value, from, to) {
14
- return value.replace(new RegExp(from, "g"), to);
15
- }
16
- }
17
- AnnaReplaceCharPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaReplaceCharPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
18
- AnnaReplaceCharPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaReplaceCharPipe, name: "annaReplaceChar" });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaReplaceCharPipe, decorators: [{
20
- type: Pipe,
21
- args: [{
22
- name: "annaReplaceChar",
23
- }]
24
- }] });
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5uYVJlcGxhY2VDaGFyLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbm5hLWNvcmUvc3JjL2xpYi9hbm5hLWNvcmUtc2hhcmVkLWxpYi9waXBlcy9hbm5hUmVwbGFjZUNoYXIucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sV0FBVyxDQUFDOztBQUtwQyxNQUFNLE9BQU8sbUJBQW1CO0lBSGhDO1FBSUksY0FBUyxHQUFHLE9BQU8sQ0FBQyxJQUFJLENBQUMsT0FBTyxFQUFFLENBQUMsR0FBRyxJQUFJLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLElBQUksQ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G5cclxuICAgIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nLCBjaGFyVG9CZVJlcGxhY2VkOiBzdHJpbmcsIHJlcGxhY2VCeTogc3RyaW5nKTogc3RyaW5nIHtcclxuICAgICAgICBpZiAodmFsdWUgIT09IHVuZGVmaW5lZCB8fCB2YWx1ZSAhPSBudWxsKSB7XHJcbiAgICAgICAgICAgIHJldHVybiB0aGlzLmNvbnZlcnRlcih2YWx1ZSwgY2hhclRvQmVSZXBsYWNlZCwgcmVwbGFjZUJ5KTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgcmVwbGFjZSh2YWx1ZTogc3RyaW5nLCBmcm9tOiBzdHJpbmcsIHRvOiBzdHJpbmcpOiBzdHJpbmcge1xyXG4gICAgICAgIHJldHVybiB2YWx1ZS5yZXBsYWNlKG5ldyBSZWdFeHAoZnJvbSwgXCJnXCIpLCB0byk7XHJcbiAgICB9XHJcbn1cclxuIl19
@@ -1,16 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class AnnaTypeofDataPipe {
4
- transform(value) {
5
- return typeof value;
6
- }
7
- }
8
- AnnaTypeofDataPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaTypeofDataPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
9
- AnnaTypeofDataPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaTypeofDataPipe, name: "AnnatypeofData" });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AnnaTypeofDataPipe, decorators: [{
11
- type: Pipe,
12
- args: [{
13
- name: 'AnnatypeofData'
14
- }]
15
- }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5uYVR5cGVPZkRhdGEucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FubmEtY29yZS9zcmMvbGliL2FubmEtY29yZS1zaGFyZWQtbGliL3BpcGVzL2FubmFUeXBlT2ZEYXRhLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLElBQUksRUFBZ0IsTUFBTSxlQUFlLENBQUM7O0FBS2xELE1BQU0sT0FBTyxrQkFBa0I7SUFFN0IsU0FBUyxDQUFDLEtBQVU7UUFDbEIsT0FBTyxPQUFPLEtBQUssQ0FBQztJQUN0QixDQUFDOzsrR0FKVSxrQkFBa0I7NkdBQWxCLGtCQUFrQjsyRkFBbEIsa0JBQWtCO2tCQUg5QixJQUFJO21CQUFDO29CQUNKLElBQUksRUFBRSxnQkFBZ0I7aUJBQ3ZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtQaXBlLCBQaXBlVHJhbnNmb3JtfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBQaXBlKHtcclxuICBuYW1lOiAnQW5uYXR5cGVvZkRhdGEnXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBbm5hVHlwZW9mRGF0YVBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcclxuXHJcbiAgdHJhbnNmb3JtKHZhbHVlOiBhbnkpOiBhbnkge1xyXG4gICAgcmV0dXJuIHR5cGVvZiB2YWx1ZTtcclxuICB9XHJcblxyXG59Il19
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class AnnaConvertZeroOrNullOrUndefinedPipe implements PipeTransform {
4
- transformer: ((value: any, convertTo: any) => number | string) & import("lodash").MemoizedFunction;
5
- transform(value: any, convertTo: any): number | string;
6
- replace(value: any, convertTo: any): number | string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AnnaConvertZeroOrNullOrUndefinedPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<AnnaConvertZeroOrNullOrUndefinedPipe, "AnnaConvertZeroOrNullOrUndefined">;
9
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class AnnaReplaceCharPipe implements PipeTransform {
4
- converter: ((value: string, from: string, to: string) => string) & import("lodash").MemoizedFunction;
5
- transform(value: string, charToBeReplaced: string, replaceBy: string): string;
6
- replace(value: string, from: string, to: string): string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AnnaReplaceCharPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<AnnaReplaceCharPipe, "annaReplaceChar">;
9
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AnnaTypeofDataPipe implements PipeTransform {
4
- transform(value: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AnnaTypeofDataPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<AnnaTypeofDataPipe, "AnnatypeofData">;
7
- }
@@ -1,188 +0,0 @@
1
- @mixin button-social-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
2
- padding: $padding-y $padding-x;
3
- font-size: $font-size;
4
- line-height: $line-height;
5
- border: 0;
6
- @include border-radius($border-radius);
7
-
8
- &::before {
9
- width: ($padding-y * 2) + ($font-size * $line-height);
10
- height: ($padding-y * 2) + ($font-size * $line-height);
11
- padding: $padding-y 0;
12
- font-size: $font-size;
13
- line-height: $line-height;
14
- @include border-radius($border-radius);
15
- }
16
-
17
- span {
18
- margin-left: ($padding-y * 2) + ($font-size * $line-height);
19
- }
20
-
21
- &.icon {
22
- width: ($padding-y * 2) + ($font-size * $line-height);
23
- height: ($padding-y * 2) + ($font-size * $line-height);
24
- }
25
- }
26
-
27
- @mixin avatar($width, $status-width) {
28
- position: relative;
29
- display: inline-block;
30
- width: $width;
31
-
32
- .img-avatar {
33
- width: $width;
34
- height: $width;
35
- }
36
-
37
- .avatar-status {
38
- position: absolute;
39
- right: 0;
40
- bottom: 0;
41
- display: block;
42
- width: $status-width;
43
- height: $status-width;
44
- border: 1px solid #fff;
45
- border-radius: 50em;
46
- }
47
- }
48
-
49
- @mixin borders($borders) {
50
- @each $border in $borders {
51
- $direction: nth($border, 1);
52
- @if $direction == "all" {
53
- $size: map-get(map-get($borders, $direction), size);
54
- $style: map-get(map-get($borders, $direction), style);
55
- $color: map-get(map-get($borders, $direction), color);
56
- border: $size $style $color;
57
- } @else if $direction == "top" {
58
- $size: map-get(map-get($borders, $direction), size);
59
- $style: map-get(map-get($borders, $direction), style);
60
- $color: map-get(map-get($borders, $direction), color);
61
- border-top: $size $style $color;
62
- } @else if $direction == "right" {
63
- $size: map-get(map-get($borders, $direction), size);
64
- $style: map-get(map-get($borders, $direction), style);
65
- $color: map-get(map-get($borders, $direction), color);
66
- border-right: $size $style $color;
67
- } @else if $direction == "bottom" {
68
- $size: map-get(map-get($borders, $direction), size);
69
- $style: map-get(map-get($borders, $direction), style);
70
- $color: map-get(map-get($borders, $direction), color);
71
- border-bottom: $size $style $color;
72
- } @else if $direction == "left" {
73
- $size: map-get(map-get($borders, $direction), size);
74
- $style: map-get(map-get($borders, $direction), style);
75
- $color: map-get(map-get($borders, $direction), color);
76
- border-left: $size $style $color;
77
- }
78
- }
79
- }
80
-
81
- @mixin sidebar-width($borders, $width) {
82
- $sidebar-width: $width;
83
-
84
- @each $border in $borders {
85
- $direction: nth($border, 1);
86
- @if $direction == "all" {
87
- $size: map-get(map-get($borders, $direction), size);
88
- $sidebar-width: ($sidebar-width - (2 * $size));
89
- } @else if $direction == "right" {
90
- $size: map-get(map-get($borders, $direction), size);
91
- $sidebar-width: $sidebar-width - $size;
92
- } @else if $direction == "left" {
93
- $size: map-get(map-get($borders, $direction), size);
94
- $sidebar-width: $sidebar-width - $size;
95
- }
96
- width: $sidebar-width;
97
- }
98
- }
99
-
100
- @mixin bg-variant($parent, $color) {
101
- #{"" + $parent} {
102
- @include border-radius(
103
- $card-border-radius-inner $card-border-radius-inner $card-border-radius-inner $card-border-radius-inner
104
- );
105
- color: #fff !important;
106
- background-color: $color !important;
107
- }
108
- a#{"" + $parent} {
109
- @include hover-focus {
110
- background-color: darken($color, 10%);
111
- }
112
- }
113
- }
114
-
115
- @mixin card-accent-variant($color) {
116
- border-top-width: 2px;
117
- border-top-color: $color;
118
- }
119
-
120
- @mixin tabs-style($color) {
121
- display: inline-block;
122
- margin-right: 20px;
123
- font-size: 16px;
124
- color: $color;
125
- }
126
-
127
- @mixin fit-content() {
128
- width: fit-content !important;
129
- width: -moz-max-content !important;
130
- }
131
-
132
- @mixin fit-content-height() {
133
- height: fit-content !important;
134
- height: -moz-max-content !important;
135
- }
136
-
137
- @mixin label($fontSize, $fontWeight, $fontStyle, $letterSpacing, $color) {
138
- font-family: Roboto;
139
- font-size: $fontSize;
140
- font-weight: normal;
141
- font-stretch: normal;
142
- font-style: $fontStyle;
143
- line-height: normal;
144
- letter-spacing: $letterSpacing;
145
- color: $color;
146
- }
147
-
148
- @mixin modal-btn($background-color) {
149
- width: 100%;
150
- background-color: $background-color;
151
- color: white;
152
- border-radius: initial;
153
- }
154
-
155
- @mixin OrderListingTableStyling {
156
- width: 100%;
157
- tr {
158
- border: 1px solid #d4d4d4;
159
- border-top: none;
160
- th {
161
- color: #4a4a4a;
162
- font-size: 11px;
163
- font-weight: 500;
164
- letter-spacing: 0.3px;
165
- vertical-align: middle;
166
- text-align: left;
167
- // position: sticky;
168
- // // z-index: 101 !important;
169
- // top: 0px;
170
- padding: unset;
171
- height: 30px;
172
- // line-height: 30px;
173
- border-top: 1px solid #d4d4d4;
174
- }
175
- &.header-row th {
176
- background-color: #ededed;
177
- }
178
- td {
179
- font-size: 12px;
180
- padding: 2px 0px 3px;
181
- vertical-align: middle;
182
- text-align: left;
183
- color: #000000;
184
- letter-spacing: 0px;
185
- }
186
- }
187
- }
188
-