@annalib/anna-core 3.3.0 → 3.4.1
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/annalib-anna-core.d.ts +5 -0
- package/esm2020/annalib-anna-core.mjs +5 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +15 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +35 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +15 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +22 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +15 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +21 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +15 -0
- package/esm2020/lib/anna-core-shared-lib/constants/shared.constant.mjs +34 -0
- package/esm2020/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +27 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +2 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +2 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +3 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-sort.model.mjs +2 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +30 -0
- package/esm2020/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +26 -0
- package/esm2020/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +46 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +190 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +419 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +48 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +133 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-sort.service.mjs +147 -0
- package/esm2020/lib/anna-core.module.mjs +161 -0
- package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +100 -0
- package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +362 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +1689 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +67 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +357 -0
- package/esm2020/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.mjs +189 -0
- package/esm2020/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.mjs +2 -0
- package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +178 -0
- package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +2 -0
- package/esm2020/public-api.mjs +45 -0
- package/fesm2015/annalib-anna-core.mjs +4206 -0
- package/fesm2015/annalib-anna-core.mjs.map +1 -0
- package/fesm2020/annalib-anna-core.mjs +4203 -0
- package/fesm2020/annalib-anna-core.mjs.map +1 -0
- package/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.d.ts +8 -0
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +16 -0
- package/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.d.ts +8 -0
- package/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.d.ts +11 -0
- package/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.d.ts +8 -0
- package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +11 -0
- package/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.d.ts +8 -0
- package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +32 -0
- package/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts +9 -0
- package/lib/anna-core-shared-lib/models/anna-generic-data-type.model.d.ts +12 -0
- package/{src/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.ts → lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts} +9 -21
- package/{src/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.ts → lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts} +17 -27
- package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +6 -0
- package/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +25 -0
- package/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.d.ts +9 -0
- package/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.d.ts +9 -0
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +26 -0
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +73 -0
- package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +14 -0
- package/lib/anna-core-shared-lib/services/anna-global-config.service.d.ts +21 -0
- package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +16 -0
- package/lib/anna-core.module.d.ts +33 -0
- package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +34 -0
- package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +70 -0
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +268 -0
- package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +17 -0
- package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +141 -0
- package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.d.ts +89 -0
- package/{src/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.ts → lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.d.ts} +0 -0
- package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts +45 -0
- package/{src/lib/anna-generic-table-lib/directives/anna-virtual-table/index.ts → lib/anna-generic-table-lib/directives/anna-virtual-table/index.d.ts} +0 -0
- package/package.json +38 -18
- package/{src/public-api.ts → public-api.d.ts} +1 -28
- package/src/lib/anna-common-scss/_mixins.scss +172 -171
- package/.browserslistrc +0 -16
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -14
- package/src/lib/anna-common-scss/_application-spacing.scss +0 -6
- package/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.html +0 -22
- package/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.ts +0 -16
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.html +0 -33
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.ts +0 -28
- package/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.html +0 -20
- package/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.ts +0 -16
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.html +0 -3
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.scss +0 -17
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.spec.ts +0 -24
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.ts +0 -20
- package/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.html +0 -23
- package/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.ts +0 -16
- package/src/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.html +0 -15
- package/src/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.ts +0 -19
- package/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.html +0 -14
- package/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.ts +0 -16
- package/src/lib/anna-core-shared-lib/constants/shared.constant.ts +0 -34
- package/src/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.ts +0 -19
- package/src/lib/anna-core-shared-lib/models/anna-generic-data-type.model.ts +0 -15
- package/src/lib/anna-core-shared-lib/models/anna-sort.model.ts +0 -7
- package/src/lib/anna-core-shared-lib/models/anna-tooltip.model.ts +0 -44
- package/src/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.ts +0 -26
- package/src/lib/anna-core-shared-lib/services/anna-date-time-format.service.ts +0 -202
- package/src/lib/anna-core-shared-lib/services/anna-filter.service.ts +0 -507
- package/src/lib/anna-core-shared-lib/services/anna-generic-table.service.ts +0 -44
- package/src/lib/anna-core-shared-lib/services/anna-global-config.service.ts +0 -170
- package/src/lib/anna-core-shared-lib/services/anna-sort.service.ts +0 -179
- package/src/lib/anna-core.module.ts +0 -99
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.html +0 -46
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.scss +0 -153
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.spec.ts +0 -24
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.ts +0 -106
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.html +0 -129
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.scss +0 -275
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.spec.ts +0 -24
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.ts +0 -412
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.html +0 -920
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.scss +0 -596
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.spec.ts +0 -25
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.ts +0 -2012
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.html +0 -10
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.scss +0 -1
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.spec.ts +0 -24
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.ts +0 -70
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.html +0 -13
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.scss +0 -88
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.spec.ts +0 -25
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.ts +0 -460
- package/src/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.ts +0 -237
- package/src/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.ts +0 -204
- package/src/test.ts +0 -27
- package/tsconfig.lib.json +0 -19
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
package/package.json
CHANGED
|
@@ -1,18 +1,38 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@annalib/anna-core",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"peerDependencies": {
|
|
5
|
-
"@angular-slider/ngx-slider": "2.0.3",
|
|
6
|
-
"@angular/common": "^13.2.0",
|
|
7
|
-
"@angular/core": "^13.2.0",
|
|
8
|
-
"@angular/material": "^13.2.6",
|
|
9
|
-
"@ng-bootstrap/ng-bootstrap": "^9.0.1",
|
|
10
|
-
"lodash-es": "^4.17.21",
|
|
11
|
-
"moment": "^2.24.0",
|
|
12
|
-
"ngx-skeleton-loader": "^2.10.1",
|
|
13
|
-
"ng-circle-progress": "^1.6.0"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"tslib": "^2.3.0"
|
|
17
|
-
}
|
|
18
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@annalib/anna-core",
|
|
3
|
+
"version": "3.4.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular-slider/ngx-slider": "2.0.3",
|
|
6
|
+
"@angular/common": "^13.2.0",
|
|
7
|
+
"@angular/core": "^13.2.0",
|
|
8
|
+
"@angular/material": "^13.2.6",
|
|
9
|
+
"@ng-bootstrap/ng-bootstrap": "^9.0.1",
|
|
10
|
+
"lodash-es": "^4.17.21",
|
|
11
|
+
"moment": "^2.24.0",
|
|
12
|
+
"ngx-skeleton-loader": "^2.10.1",
|
|
13
|
+
"ng-circle-progress": "^1.6.0"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"tslib": "^2.3.0"
|
|
17
|
+
},
|
|
18
|
+
"module": "fesm2015/annalib-anna-core.mjs",
|
|
19
|
+
"es2020": "fesm2020/annalib-anna-core.mjs",
|
|
20
|
+
"esm2020": "esm2020/annalib-anna-core.mjs",
|
|
21
|
+
"fesm2020": "fesm2020/annalib-anna-core.mjs",
|
|
22
|
+
"fesm2015": "fesm2015/annalib-anna-core.mjs",
|
|
23
|
+
"typings": "annalib-anna-core.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
"./package.json": {
|
|
26
|
+
"default": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./annalib-anna-core.d.ts",
|
|
30
|
+
"esm2020": "./esm2020/annalib-anna-core.mjs",
|
|
31
|
+
"es2020": "./fesm2020/annalib-anna-core.mjs",
|
|
32
|
+
"es2015": "./fesm2015/annalib-anna-core.mjs",
|
|
33
|
+
"node": "./fesm2015/annalib-anna-core.mjs",
|
|
34
|
+
"default": "./fesm2020/annalib-anna-core.mjs"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"sideEffects": false
|
|
38
|
+
}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of anna-core
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
export * from "./lib/anna-core.module";
|
|
6
|
-
|
|
7
|
-
//ANNA-CORE
|
|
8
|
-
//components
|
|
9
2
|
export * from "./lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component";
|
|
10
3
|
export * from "./lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component";
|
|
11
4
|
export * from "./lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component";
|
|
@@ -13,44 +6,24 @@ export * from "./lib/anna-core-shared-lib/components/anna-notify-icon-template/a
|
|
|
13
6
|
export * from "./lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
|
|
14
7
|
export * from "./lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component";
|
|
15
8
|
export * from "./lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component";
|
|
16
|
-
|
|
17
|
-
//services
|
|
18
9
|
export * from "./lib/anna-core-shared-lib/services/anna-date-time-format.service";
|
|
19
10
|
export * from "./lib/anna-core-shared-lib/services/anna-global-config.service";
|
|
20
11
|
export * from "./lib/anna-core-shared-lib/services/anna-filter.service";
|
|
21
12
|
export * from "./lib/anna-core-shared-lib/services/anna-sort.service";
|
|
22
13
|
export * from "./lib/anna-core-shared-lib/services/anna-generic-table.service";
|
|
23
|
-
|
|
24
|
-
//models
|
|
25
14
|
export * from "./lib/anna-core-shared-lib/models/anna-generic-data-type.model";
|
|
26
15
|
export * from "./lib/anna-core-shared-lib/models/anna-global-dropdown-config.model";
|
|
27
16
|
export * from "./lib/anna-core-shared-lib/models/anna-non-editable-gt-models";
|
|
28
17
|
export * from "./lib/anna-core-shared-lib/models/anna-tooltip.model";
|
|
29
18
|
export * from "./lib/anna-core-shared-lib/models/anna-sort.model";
|
|
30
|
-
|
|
31
|
-
//constants
|
|
32
19
|
export * from "./lib/anna-core-shared-lib/constants/shared.constant";
|
|
33
|
-
|
|
34
|
-
//pipes
|
|
35
20
|
export * from "./lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe";
|
|
36
|
-
|
|
37
|
-
//directives
|
|
21
|
+
export * from "./lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe";
|
|
38
22
|
export * from "./lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive";
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
//ANNA-DROPDOWN LIB
|
|
42
23
|
export * from "./lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component";
|
|
43
24
|
export * from "./lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component";
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
//ANNA-GENERIC-TABLE-LIB
|
|
47
|
-
//Modules
|
|
48
|
-
|
|
49
|
-
//Components
|
|
50
25
|
export * from "./lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component";
|
|
51
26
|
export * from "./lib/anna-generic-table-lib/components/anna-sort/anna-sort.component";
|
|
52
27
|
export * from "./lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component";
|
|
53
|
-
|
|
54
|
-
//Directives
|
|
55
28
|
export * from "./lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy";
|
|
56
29
|
export * from "./lib/anna-generic-table-lib/directives/anna-virtual-table";
|
|
@@ -1,187 +1,188 @@
|
|
|
1
1
|
@mixin button-social-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
|
|
2
|
-
|
|
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;
|
|
2
|
+
padding: $padding-y $padding-x;
|
|
12
3
|
font-size: $font-size;
|
|
13
4
|
line-height: $line-height;
|
|
5
|
+
border: 0;
|
|
14
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
|
+
}
|
|
15
25
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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 {
|
|
26
|
+
|
|
27
|
+
@mixin avatar($width, $status-width) {
|
|
28
|
+
position: relative;
|
|
29
|
+
display: inline-block;
|
|
33
30
|
width: $width;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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;
|
|
31
|
+
|
|
32
|
+
.img-avatar {
|
|
33
|
+
width: $width;
|
|
34
|
+
height: $width;
|
|
77
35
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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;
|
|
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;
|
|
95
46
|
}
|
|
96
|
-
width: $sidebar-width;
|
|
97
47
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
@
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
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
|
+
}
|
|
107
79
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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;
|
|
111
97
|
}
|
|
112
98
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
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;
|
|
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;
|
|
174
107
|
}
|
|
175
|
-
|
|
176
|
-
|
|
108
|
+
a#{"" + $parent} {
|
|
109
|
+
@include hover-focus {
|
|
110
|
+
background-color: darken($color, 10%);
|
|
111
|
+
}
|
|
177
112
|
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
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
|
+
}
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
|
-
|
|
188
|
+
|
package/.browserslistrc
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
|
|
2
|
-
# For additional information regarding the format and rule options, please see:
|
|
3
|
-
# https://github.com/browserslist/browserslist#queries
|
|
4
|
-
|
|
5
|
-
# For the full list of supported browsers by the Angular framework, please see:
|
|
6
|
-
# https://angular.io/guide/browser-support
|
|
7
|
-
|
|
8
|
-
# You can see what browsers were selected by your queries by running:
|
|
9
|
-
# npx browserslist
|
|
10
|
-
|
|
11
|
-
last 1 Chrome version
|
|
12
|
-
last 1 Firefox version
|
|
13
|
-
last 2 Edge major versions
|
|
14
|
-
last 2 Safari major versions
|
|
15
|
-
last 2 iOS major versions
|
|
16
|
-
Firefox ESR
|
package/karma.conf.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// Karma configuration file, see link for more information
|
|
2
|
-
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
-
|
|
4
|
-
module.exports = function (config) {
|
|
5
|
-
config.set({
|
|
6
|
-
basePath: '',
|
|
7
|
-
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
-
plugins: [
|
|
9
|
-
require('karma-jasmine'),
|
|
10
|
-
require('karma-chrome-launcher'),
|
|
11
|
-
require('karma-jasmine-html-reporter'),
|
|
12
|
-
require('karma-coverage'),
|
|
13
|
-
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
-
],
|
|
15
|
-
client: {
|
|
16
|
-
jasmine: {
|
|
17
|
-
// you can add configuration options for Jasmine here
|
|
18
|
-
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
19
|
-
// for example, you can disable the random execution with `random: false`
|
|
20
|
-
// or set a specific seed with `seed: 4321`
|
|
21
|
-
},
|
|
22
|
-
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
23
|
-
},
|
|
24
|
-
jasmineHtmlReporter: {
|
|
25
|
-
suppressAll: true // removes the duplicated traces
|
|
26
|
-
},
|
|
27
|
-
coverageReporter: {
|
|
28
|
-
dir: require('path').join(__dirname, '../../coverage/anna-core'),
|
|
29
|
-
subdir: '.',
|
|
30
|
-
reporters: [
|
|
31
|
-
{ type: 'html' },
|
|
32
|
-
{ type: 'text-summary' }
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
reporters: ['progress', 'kjhtml'],
|
|
36
|
-
port: 9876,
|
|
37
|
-
colors: true,
|
|
38
|
-
logLevel: config.LOG_INFO,
|
|
39
|
-
autoWatch: true,
|
|
40
|
-
browsers: ['Chrome'],
|
|
41
|
-
singleRun: false,
|
|
42
|
-
restartOnFileChange: true
|
|
43
|
-
});
|
|
44
|
-
};
|
package/ng-package.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
|
3
|
-
"dest": "../../dist/anna-core",
|
|
4
|
-
"lib": {
|
|
5
|
-
"entryFile": "src/public-api.ts",
|
|
6
|
-
"styleIncludePaths": [
|
|
7
|
-
"src/lib/anna-common-scss"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"assets": [
|
|
11
|
-
"src/lib/anna-common-scss",
|
|
12
|
-
"src/lib/anna-assets"
|
|
13
|
-
]
|
|
14
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<ng-container [ngTemplateOutlet]="buyerApprovalIcon"></ng-container>
|
|
2
|
-
|
|
3
|
-
<ng-template #buyerApprovalIcon>
|
|
4
|
-
<svg width="15px" height="15px" viewBox="0 0 20 20">
|
|
5
|
-
<g id="Awaiting-Buyer-Approval-icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
6
|
-
<g id="time-left" transform="translate(3.000000, 2.000000)" fill="#4A4A4A" fill-rule="nonzero">
|
|
7
|
-
<path
|
|
8
|
-
d="M6.23157622,14.1696467 C5.70535057,14.0721422 5.2005579,13.9061054 4.72188769,13.6745242 C4.71622258,13.6714711 4.71115545,13.6679958 4.70520709,13.6652025 C4.59240848,13.6104091 4.47979871,13.551718 4.37065094,13.4903961 C4.37027327,13.4899414 4.36958087,13.4896491 4.36898288,13.4893893 C4.16872129,13.37558 3.97327504,13.2496557 3.78339947,13.1117139 C1.01467199,11.0989392 0.348958764,7.13679055 2.29945571,4.27950803 C2.72358352,3.65842885 3.23684237,3.14027823 3.80904983,2.72960334 C3.81609974,2.72453649 3.82314965,2.71950212 3.83013662,2.71440279 C5.84650619,1.28061347 8.58442178,1.183986 10.7254867,2.65733574 L10.2656372,3.34301728 C10.1377946,3.53386873 10.2164452,3.67294733 10.4402485,3.65216024 L12.4377343,3.46760989 C12.6618209,3.4468228 12.7958322,3.24677957 12.7355617,3.0234483 L12.1991703,1.02899228 C12.1391202,0.805401178 11.9853754,0.778637804 11.8574069,0.969456765 L11.3964873,1.6567623 C9.82523796,0.568265989 7.94067659,0.153206329 6.0701521,0.487943386 C5.88175576,0.521592483 5.69600314,0.562776899 5.51279981,0.610717118 C5.51138354,0.610976957 5.51025052,0.611139356 5.50911749,0.611399194 C5.50203611,0.613185585 5.4948603,0.615556612 5.48796775,0.617537881 C3.8749854,1.04500483 2.46767797,2.01585923 1.46347449,3.40105873 C1.4550083,3.41141979 1.44629033,3.4215535 1.43829623,3.432824 C1.40490356,3.47923766 1.37176268,3.52672316 1.33931419,3.57420867 C1.28625101,3.65203032 1.23394317,3.73180077 1.18390138,3.81157121 C1.17763828,3.82118524 1.17285441,3.83096167 1.16737814,3.84067314 C0.338698623,5.1658824 -0.0610062726,6.69795566 0.00754154337,8.25770173 C0.00769890751,8.26283354 0.00741565207,8.26799784 0.00754154337,8.27325957 C0.0141823097,8.42562242 0.0258902012,8.58009646 0.0417839785,8.73216699 C0.0426337448,8.7419759 0.0447424242,8.75126512 0.0463475384,8.76107403 C0.0627763537,8.91398904 0.0833910551,9.06726132 0.109230246,9.22050113 C0.371839509,10.7840149 1.08652445,12.1909434 2.15745032,13.2856758 C2.15993667,13.2882417 2.16251744,13.291035 2.16503527,13.2936983 C2.16591651,13.2947052 2.16689216,13.2952249 2.16774193,13.2961668 C2.45546651,13.5890373 2.7684323,13.8599191 3.10541185,14.1048494 C3.98728044,14.7461311 4.9692641,15.1700252 6.02385557,15.3653264 C6.3438398,15.424667 6.64950389,15.2048436 6.70691032,14.8747836 C6.76428528,14.5444963 6.55146603,14.2287924 6.23157622,14.1696467 Z"
|
|
9
|
-
id="Path"
|
|
10
|
-
></path>
|
|
11
|
-
<path
|
|
12
|
-
d="M9.22237925,14.6588011 C9.29073073,14.9263505 9.1292489,15.198652 8.86169949,15.2670034 C8.51639563,15.355219 8.1641424,15.4188128 7.8069689,15.4570516 C7.53239558,15.4864472 7.28598003,15.2876915 7.25658436,15.0131182 C7.22718869,14.7385449 7.42594445,14.4921293 7.70051776,14.4627336 C8.01004537,14.4295958 8.31515603,14.3745129 8.61417689,14.2981213 C8.8817263,14.2297698 9.15402777,14.3912517 9.22237925,14.6588011 Z M12.5552524,12.2886551 C12.7611952,12.4726175 12.7790139,12.7886982 12.5950515,12.994641 C12.3569806,13.2611574 12.1001968,13.5104915 11.8267859,13.7406023 C11.6155121,13.9184167 11.3000937,13.8912925 11.1222793,13.6800187 C10.9444648,13.4687448 10.9715891,13.1533264 11.1828629,12.975512 C11.4200152,12.7759175 11.6427598,12.5596351 11.8492666,12.3284542 C12.033229,12.1225114 12.3493096,12.1046927 12.5552524,12.2886551 Z M13.9945063,8.57622811 C14.2674538,8.61811209 14.4547678,8.87333344 14.4128838,9.14628095 C14.3584322,9.50112883 14.2787427,9.85020038 14.1746496,10.1914009 C14.0940709,10.4555252 13.8146338,10.6043183 13.5505094,10.5237395 C13.2863851,10.4431608 13.137592,10.1637237 13.2181708,9.89959931 C13.3082912,9.6041989 13.3772907,9.30195366 13.4244534,8.99460564 C13.4663374,8.72165813 13.7215588,8.53434413 13.9945063,8.57622811 Z M13.8741743,4.99628976 C14.0173723,5.32357494 14.1370467,5.66111195 14.2320931,6.00667963 C14.305325,6.27293459 14.1488489,6.54814305 13.8825939,6.62137492 C13.6163389,6.6946068 13.3411305,6.53813067 13.2678986,6.27187571 C13.1856167,5.97271686 13.0820133,5.68050756 12.958028,5.39713383 C12.847338,5.14414702 12.9626923,4.84932868 13.2156791,4.73863865 C13.4686659,4.62794862 13.7634843,4.74330295 13.8741743,4.99628976 Z"
|
|
13
|
-
id="Combined-Shape"
|
|
14
|
-
></path>
|
|
15
|
-
<path
|
|
16
|
-
d="M6.49684035,4 C6.22234237,4 6,4.21290493 6,4.47514225 L6,9.20888548 L10.5252942,11.4469308 C10.5981282,11.4830116 10.6761155,11.5 10.7528554,11.5 C10.9325937,11.5 11.106194,11.4063595 11.1944548,11.2429754 C11.3203307,11.0097848 11.2250786,10.7233052 10.9813357,10.6028789 L6.9931227,8.63027395 L6.9931227,4.47514225 C6.99308988,4.21290493 6.77101009,4 6.49684035,4 Z"
|
|
17
|
-
id="Path"
|
|
18
|
-
></path>
|
|
19
|
-
</g>
|
|
20
|
-
</g>
|
|
21
|
-
</svg>
|
|
22
|
-
</ng-template>
|
|
File without changes
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
import { AnnaBuyerApprovalIconTemplateComponent } from './anna-buyer-approval-icon-template.component';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
describe('AnnaBuyerApprovalIconTemplateComponent', () => {
|
|
6
|
-
let component: AnnaBuyerApprovalIconTemplateComponent;
|
|
7
|
-
let fixture: ComponentFixture<AnnaBuyerApprovalIconTemplateComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AnnaBuyerApprovalIconTemplateComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
beforeEach(() => {
|
|
17
|
-
fixture = TestBed.createComponent(AnnaBuyerApprovalIconTemplateComponent);
|
|
18
|
-
component = fixture.componentInstance;
|
|
19
|
-
fixture.detectChanges();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
it('should create', () => {
|
|
23
|
-
expect(component).toBeTruthy();
|
|
24
|
-
});
|
|
25
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'anna-buyer-approval-icon-template',
|
|
5
|
-
templateUrl: './anna-buyer-approval-icon-template.component.html',
|
|
6
|
-
styleUrls: ['./anna-buyer-approval-icon-template.component.scss'],
|
|
7
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
8
|
-
})
|
|
9
|
-
export class AnnaBuyerApprovalIconTemplateComponent implements OnInit {
|
|
10
|
-
|
|
11
|
-
constructor() { }
|
|
12
|
-
|
|
13
|
-
ngOnInit(): void {
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
}
|
package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.html
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<ng-container *ngIf="componentName == 'ORDER_LISTING_INFLIGHT'">
|
|
2
|
-
<span
|
|
3
|
-
*ngIf="dataObject.payForPerformance && dataObject.orderCategory == 'TV Revenue' && objectKey == 'payForPerformance'"
|
|
4
|
-
class="cursor-not-allowed"
|
|
5
|
-
(click)="$event.stopPropagation()"
|
|
6
|
-
>
|
|
7
|
-
<anna-pay-for-performance-icon-template
|
|
8
|
-
[color]="PfpIconActiveColor"
|
|
9
|
-
[width]="'15px'"
|
|
10
|
-
[height]="'15px'"
|
|
11
|
-
>
|
|
12
|
-
</anna-pay-for-performance-icon-template>
|
|
13
|
-
</span>
|
|
14
|
-
<span
|
|
15
|
-
*ngIf="dataObject.orderStatus == 'UPCOMING' && dataObject.orderCategory == 'TV Revenue' && !dataObject.payForPerformance && objectKey == 'payForPerformance'"
|
|
16
|
-
(click)="svgIconClicked(dataObject,'payForPerformance')"
|
|
17
|
-
>
|
|
18
|
-
<anna-pay-for-performance-icon-template
|
|
19
|
-
[color]="PfpIconDisableColor"
|
|
20
|
-
[width]="'15px'"
|
|
21
|
-
[height]="'15px'"
|
|
22
|
-
>
|
|
23
|
-
</anna-pay-for-performance-icon-template>
|
|
24
|
-
</span>
|
|
25
|
-
|
|
26
|
-
<anna-live-icon-template *ngIf="dataObject.orderStatus == 'LIVE' && objectKey == 'orderStatus' "></anna-live-icon-template>
|
|
27
|
-
</ng-container>
|
|
28
|
-
|
|
29
|
-
<ng-container *ngIf="objectKey == 'bizRuleStatus'">
|
|
30
|
-
<anna-rejected-icon-template *ngIf="dataObject.bizRuleStatus == 'REJECTED'"></anna-rejected-icon-template>
|
|
31
|
-
<anna-notify-icon-template *ngIf="dataObject.bizRuleStatus == 'NOTIFY'"></anna-notify-icon-template>
|
|
32
|
-
<anna-buyer-approval-icon-template *ngIf="dataObject.bizRuleStatus == 'AWAITING_APPROVAL'"></anna-buyer-approval-icon-template>
|
|
33
|
-
</ng-container>
|
package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.scss
DELETED
|
File without changes
|