cat-documents-ng 1.0.0 → 1.0.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/angular.json +2 -2
- package/package.json +3 -1
- package/projects/cat-document-lib/ng-package.json +2 -3
- package/projects/cat-document-lib/src/assets/images/document.png +0 -0
- package/projects/cat-document-lib/src/lib/document/components/document-container/document-container.component.html +6 -1
- package/projects/cat-document-lib/src/lib/document/components/document-container/document-container.component.ts +79 -11
- package/projects/cat-document-lib/src/lib/document/components/document-list/document-list.component.html +35 -1
- package/projects/cat-document-lib/src/lib/document/components/document-list/document-list.component.scss +12 -0
- package/projects/cat-document-lib/src/lib/document/components/document-list/document-list.component.ts +63 -11
- package/projects/cat-document-lib/src/lib/document/components/document-list-item/document-list-item.component.html +33 -0
- package/projects/cat-document-lib/src/lib/document/components/document-list-item/document-list-item.component.scss +22 -0
- package/projects/cat-document-lib/src/lib/document/components/document-list-item/document-list-item.component.spec.ts +23 -0
- package/projects/cat-document-lib/src/lib/document/components/document-list-item/document-list-item.component.ts +40 -0
- package/projects/cat-document-lib/src/lib/document/components/document-upload/document-upload.component.html +56 -0
- package/projects/cat-document-lib/src/lib/document/components/document-upload/document-upload.component.scss +26 -0
- package/projects/cat-document-lib/src/lib/document/components/document-upload/document-upload.component.spec.ts +24 -0
- package/projects/cat-document-lib/src/lib/document/components/document-upload/document-upload.component.ts +175 -0
- package/projects/cat-document-lib/src/lib/document/components/document-viewer/document-viewer.component.html +244 -0
- package/projects/cat-document-lib/src/lib/document/components/document-viewer/document-viewer.component.scss +36 -0
- package/projects/cat-document-lib/src/lib/document/components/document-viewer/document-viewer.component.spec.ts +21 -0
- package/projects/cat-document-lib/src/lib/document/components/document-viewer/document-viewer.component.ts +125 -0
- package/projects/cat-document-lib/src/lib/document/document.module.ts +171 -8
- package/projects/cat-document-lib/src/lib/document/models/document.model.ts +39 -3
- package/projects/cat-document-lib/src/lib/document/services/file-format.service.spec.ts +16 -0
- package/projects/cat-document-lib/src/lib/document/services/file-format.service.ts +41 -0
- package/projects/cat-document-lib/src/lib/document/state/document.service.ts +83 -11
- package/projects/cat-document-lib/src/shared/constant/SHARED.ts +125 -0
- package/projects/cat-document-lib/src/shared/constant/URLS.ts +31 -0
- package/projects/cat-document-lib/src/shared/services/app-config.service.spec.ts +16 -0
- package/projects/cat-document-lib/src/shared/services/app-config.service.ts +73 -0
- package/src/app/app.module.ts +4 -3
- package/src/styles.scss +38 -4
package/src/styles.scss
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
/* You can add global styles to this file, and also import other style files */
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
4
|
-
@import
|
|
5
|
-
@import
|
|
2
|
+
@import "../node_modules/primeng/resources/themes/saga-blue/theme.css";
|
|
3
|
+
@import "../node_modules/primeng/resources/primeng.min.css";
|
|
4
|
+
@import "../node_modules/primeflex/primeflex.min.css";
|
|
5
|
+
@import "../node_modules/primeicons/primeicons.css";
|
|
6
|
+
|
|
7
|
+
.card {
|
|
8
|
+
border-radius: 8px;
|
|
9
|
+
background: #fff;
|
|
10
|
+
padding: 16px;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
margin-bottom: 16px;
|
|
13
|
+
|
|
14
|
+
.card-header {
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.card-subtitle {
|
|
22
|
+
color: #676b89;
|
|
23
|
+
font-size: 0.857rem;
|
|
24
|
+
font-weight: 500;
|
|
25
|
+
margin: -1rem 0 1rem 0;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-toast {
|
|
30
|
+
&.p-toast-top-right,
|
|
31
|
+
&.p-toast-top-left,
|
|
32
|
+
&.p-toast-top-center {
|
|
33
|
+
top: 70px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ng-hidden {
|
|
38
|
+
display: none !important;
|
|
39
|
+
}
|