ng-zenduit 1.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.
- package/README.md +24 -0
- package/esm2020/lib/breadcrumbs/zendu-breadcrumbs.component.mjs +37 -0
- package/esm2020/lib/card-block/zendu-card-block.component.mjs +21 -0
- package/esm2020/lib/checkbox/zendu-checkbox.component.mjs +44 -0
- package/esm2020/lib/colorpicker/zendu-colorpicker.component.mjs +106 -0
- package/esm2020/lib/column-configuration/columnState.mjs +2 -0
- package/esm2020/lib/column-configuration/zendu-column-configuration.component.mjs +118 -0
- package/esm2020/lib/datepicker/date-picker-day.mjs +2 -0
- package/esm2020/lib/datepicker/date-picker-hint.mjs +2 -0
- package/esm2020/lib/datepicker/datepicker.mjs +9 -0
- package/esm2020/lib/datepicker/zendu-datepicker.component.mjs +434 -0
- package/esm2020/lib/doc-scanner/zendu-doc-scanner.component.mjs +628 -0
- package/esm2020/lib/file-upload/zendu-file-upload.component.mjs +107 -0
- package/esm2020/lib/filter/dateRange.mjs +2 -0
- package/esm2020/lib/filter/filtersConfig.mjs +2 -0
- package/esm2020/lib/filter/numberRange.mjs +2 -0
- package/esm2020/lib/filter/zendu-filter.component.mjs +461 -0
- package/esm2020/lib/icon/zendu-icon.component.mjs +24 -0
- package/esm2020/lib/local.lock.mjs +33 -0
- package/esm2020/lib/location-search/location.address.mjs +2 -0
- package/esm2020/lib/location-search/zendu-location-search.component.mjs +129 -0
- package/esm2020/lib/map/map.types.mjs +2 -0
- package/esm2020/lib/map/zendu-map.component.mjs +129 -0
- package/esm2020/lib/map-preview/zendu-map-preview.component.mjs +30 -0
- package/esm2020/lib/ng-zenduit.module.mjs +158 -0
- package/esm2020/lib/pagination-bar/pageItem.mjs +2 -0
- package/esm2020/lib/pagination-bar/zendu-pagination-bar.component.mjs +71 -0
- package/esm2020/lib/phone-input/zendu-phone-input.component.mjs +141 -0
- package/esm2020/lib/progress/zendu-progress.component.mjs +29 -0
- package/esm2020/lib/radio-button/radio-button.component.mjs +48 -0
- package/esm2020/lib/search-box/zendu-search-box.component.mjs +124 -0
- package/esm2020/lib/select/templates/zendu-select-option.directive.mjs +16 -0
- package/esm2020/lib/select/templates/zendu-select-value.directive.mjs +16 -0
- package/esm2020/lib/select/zendu-select.component.mjs +303 -0
- package/esm2020/lib/services/geoconding.service.mjs +61 -0
- package/esm2020/lib/services/map.service.mjs +181 -0
- package/esm2020/lib/services/opencv.service.mjs +109 -0
- package/esm2020/lib/services/zendu-notify.service.mjs +92 -0
- package/esm2020/lib/sort-header/zendu-sort-header.component.mjs +36 -0
- package/esm2020/lib/spinner/zendu-spinner.component.mjs +11 -0
- package/esm2020/lib/toggle/zendu-toggle.component.mjs +32 -0
- package/esm2020/lib/toggle-slide/zendu-toggle-slide.component.mjs +27 -0
- package/esm2020/lib/util.mjs +93 -0
- package/esm2020/ng-zenduit.mjs +5 -0
- package/esm2020/public-api.mjs +42 -0
- package/fesm2015/ng-zenduit.mjs +3768 -0
- package/fesm2015/ng-zenduit.mjs.map +1 -0
- package/fesm2020/ng-zenduit.mjs +3735 -0
- package/fesm2020/ng-zenduit.mjs.map +1 -0
- package/icons/arrow-down-small.svg +3 -0
- package/icons/arrow-up-small.svg +3 -0
- package/icons/calendar.svg +6 -0
- package/icons/cross.svg +3 -0
- package/icons/date.svg +3 -0
- package/icons/expand.svg +3 -0
- package/icons/filter.svg +3 -0
- package/icons/play.svg +10 -0
- package/icons/redo.svg +3 -0
- package/icons/rotate.svg +3 -0
- package/icons/time.svg +4 -0
- package/icons/undo.svg +3 -0
- package/index.d.ts +5 -0
- package/lib/breadcrumbs/zendu-breadcrumbs.component.d.ts +22 -0
- package/lib/card-block/zendu-card-block.component.d.ts +9 -0
- package/lib/checkbox/zendu-checkbox.component.d.ts +17 -0
- package/lib/colorpicker/zendu-colorpicker.component.d.ts +28 -0
- package/lib/column-configuration/columnState.d.ts +7 -0
- package/lib/column-configuration/zendu-column-configuration.component.d.ts +43 -0
- package/lib/datepicker/date-picker-day.d.ts +8 -0
- package/lib/datepicker/date-picker-hint.d.ts +5 -0
- package/lib/datepicker/datepicker.d.ts +7 -0
- package/lib/datepicker/zendu-datepicker.component.d.ts +94 -0
- package/lib/doc-scanner/zendu-doc-scanner.component.d.ts +82 -0
- package/lib/file-upload/zendu-file-upload.component.d.ts +28 -0
- package/lib/filter/dateRange.d.ts +4 -0
- package/lib/filter/filtersConfig.d.ts +88 -0
- package/lib/filter/numberRange.d.ts +4 -0
- package/lib/filter/zendu-filter.component.d.ts +59 -0
- package/lib/icon/zendu-icon.component.d.ts +10 -0
- package/lib/local.lock.d.ts +8 -0
- package/lib/location-search/location.address.d.ts +12 -0
- package/lib/location-search/zendu-location-search.component.d.ts +32 -0
- package/lib/map/map.types.d.ts +33 -0
- package/lib/map/zendu-map.component.d.ts +23 -0
- package/lib/map-preview/zendu-map-preview.component.d.ts +11 -0
- package/lib/ng-zenduit.module.d.ts +34 -0
- package/lib/pagination-bar/pageItem.d.ts +4 -0
- package/lib/pagination-bar/zendu-pagination-bar.component.d.ts +25 -0
- package/lib/phone-input/zendu-phone-input.component.d.ts +39 -0
- package/lib/progress/zendu-progress.component.d.ts +14 -0
- package/lib/radio-button/radio-button.component.d.ts +18 -0
- package/lib/search-box/zendu-search-box.component.d.ts +26 -0
- package/lib/select/templates/zendu-select-option.directive.d.ts +8 -0
- package/lib/select/templates/zendu-select-value.directive.d.ts +8 -0
- package/lib/select/zendu-select.component.d.ts +107 -0
- package/lib/services/geoconding.service.d.ts +23 -0
- package/lib/services/map.service.d.ts +22 -0
- package/lib/services/opencv.service.d.ts +46 -0
- package/lib/services/zendu-notify.service.d.ts +10 -0
- package/lib/sort-header/zendu-sort-header.component.d.ts +10 -0
- package/lib/spinner/zendu-spinner.component.d.ts +5 -0
- package/lib/toggle/zendu-toggle.component.d.ts +14 -0
- package/lib/toggle-slide/zendu-toggle-slide.component.d.ts +13 -0
- package/lib/util.d.ts +11 -0
- package/package.json +36 -0
- package/public-api.d.ts +38 -0
- package/styles/action-menu.scss +127 -0
- package/styles/all.scss +11 -0
- package/styles/button.scss +188 -0
- package/styles/colors.scss +125 -0
- package/styles/common-form.scss +159 -0
- package/styles/extenal.scss +2 -0
- package/styles/ghost.scss +38 -0
- package/styles/global-restyle.scss +25 -0
- package/styles/page-layout.scss +82 -0
- package/styles/snackbar.scss +91 -0
- package/styles/table.scss +107 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
.header-wrapper {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
min-height: 40px;
|
|
6
|
+
gap: 16px;
|
|
7
|
+
|
|
8
|
+
.header-group {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
gap: 16px;
|
|
12
|
+
|
|
13
|
+
h3 {
|
|
14
|
+
font-size: 20px;
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
color: #4f4f4f;
|
|
17
|
+
margin: 0px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.back-wrapper {
|
|
21
|
+
color: #828282;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
font-size: 16px;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.page-title {
|
|
30
|
+
font-size: 24px;
|
|
31
|
+
color: #060c1b;
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 700;
|
|
34
|
+
line-height: 140%;
|
|
35
|
+
margin: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.tab-header-wrapper {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: row;
|
|
43
|
+
flex-wrap: wrap;
|
|
44
|
+
align-items: center;
|
|
45
|
+
border-bottom: 1px solid #ececed;
|
|
46
|
+
margin-bottom: 16px;
|
|
47
|
+
|
|
48
|
+
.tab-header {
|
|
49
|
+
border-bottom: 3px solid transparent;
|
|
50
|
+
text-align: center;
|
|
51
|
+
padding: 0 16px 13px;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
|
|
54
|
+
font-style: normal;
|
|
55
|
+
font-weight: 400;
|
|
56
|
+
font-size: 18px;
|
|
57
|
+
line-height: 130%;
|
|
58
|
+
color: #657281;
|
|
59
|
+
|
|
60
|
+
&.tab-header-active {
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
color: $color-primary;
|
|
63
|
+
border-bottom: 3px solid $color-primary;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.toolbar-wrapper {
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: space-between;
|
|
71
|
+
margin-bottom: 16px;
|
|
72
|
+
|
|
73
|
+
.tools-container {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
gap: 8px;
|
|
77
|
+
|
|
78
|
+
.search-wrapper {
|
|
79
|
+
width: 280px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
The MIT License (MIT)
|
|
3
|
+
Original here: https://github.com/polonel/SnackBar/blob/master/LICENSE
|
|
4
|
+
**/
|
|
5
|
+
|
|
6
|
+
.snackbar-container {
|
|
7
|
+
transition: all 0.5s ease;
|
|
8
|
+
transition-property: top, right, bottom, left, opacity;
|
|
9
|
+
font-family: Roboto, sans-serif;
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
min-height: 14px;
|
|
12
|
+
background-color: #070b0e;
|
|
13
|
+
position: fixed;
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
align-items: center;
|
|
17
|
+
color: #fff;
|
|
18
|
+
line-height: 22px;
|
|
19
|
+
padding: 18px 24px;
|
|
20
|
+
bottom: -100px;
|
|
21
|
+
top: -100px;
|
|
22
|
+
opacity: 0;
|
|
23
|
+
z-index: 9999;
|
|
24
|
+
}
|
|
25
|
+
.snackbar-container .action {
|
|
26
|
+
background: inherit;
|
|
27
|
+
display: inline-block;
|
|
28
|
+
border: none;
|
|
29
|
+
font-size: inherit;
|
|
30
|
+
text-transform: uppercase;
|
|
31
|
+
color: #4caf50;
|
|
32
|
+
margin: 0 0 0 24px;
|
|
33
|
+
padding: 0;
|
|
34
|
+
min-width: min-content;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
|
37
|
+
@media (min-width: 640px) {
|
|
38
|
+
.snackbar-container {
|
|
39
|
+
min-width: 288px;
|
|
40
|
+
max-width: 568px;
|
|
41
|
+
display: inline-flex;
|
|
42
|
+
border-radius: 2px;
|
|
43
|
+
margin: 24px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
@media (max-width: 640px) {
|
|
47
|
+
.snackbar-container {
|
|
48
|
+
left: 0;
|
|
49
|
+
right: 0;
|
|
50
|
+
width: 100%;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.snackbar-pos.bottom-center {
|
|
54
|
+
top: auto !important;
|
|
55
|
+
bottom: 0;
|
|
56
|
+
left: 50%;
|
|
57
|
+
transform: translate(-50%, 0);
|
|
58
|
+
}
|
|
59
|
+
.snackbar-pos.bottom-left {
|
|
60
|
+
top: auto !important;
|
|
61
|
+
bottom: 0;
|
|
62
|
+
left: 0;
|
|
63
|
+
}
|
|
64
|
+
.snackbar-pos.bottom-right {
|
|
65
|
+
top: auto !important;
|
|
66
|
+
bottom: 0;
|
|
67
|
+
right: 0;
|
|
68
|
+
}
|
|
69
|
+
.snackbar-pos.top-left {
|
|
70
|
+
bottom: auto !important;
|
|
71
|
+
top: 0;
|
|
72
|
+
left: 0;
|
|
73
|
+
}
|
|
74
|
+
.snackbar-pos.top-center {
|
|
75
|
+
bottom: auto !important;
|
|
76
|
+
top: 0;
|
|
77
|
+
left: 50%;
|
|
78
|
+
transform: translate(-50%, 0);
|
|
79
|
+
}
|
|
80
|
+
.snackbar-pos.top-right {
|
|
81
|
+
bottom: auto !important;
|
|
82
|
+
top: 0;
|
|
83
|
+
right: 0;
|
|
84
|
+
}
|
|
85
|
+
@media (max-width: 640px) {
|
|
86
|
+
.snackbar-pos.bottom-center,
|
|
87
|
+
.snackbar-pos.top-center {
|
|
88
|
+
left: 0;
|
|
89
|
+
transform: none;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
table {
|
|
2
|
+
border-spacing: 0;
|
|
3
|
+
border-collapse: collapse;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.table-wrapper {
|
|
7
|
+
overflow: auto;
|
|
8
|
+
// add the padding for shadow on hover
|
|
9
|
+
padding-bottom: 10px;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
|
|
12
|
+
&.with-pagination {
|
|
13
|
+
margin-bottom: 16px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.table-ui {
|
|
17
|
+
border-collapse: collapse;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
text-align: left;
|
|
20
|
+
width: 100%;
|
|
21
|
+
|
|
22
|
+
thead {
|
|
23
|
+
th {
|
|
24
|
+
padding: 10px 16px;
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
font-size: 14px;
|
|
27
|
+
line-height: 130%;
|
|
28
|
+
background: $color-blue-tint-1;
|
|
29
|
+
color: $color-primary;
|
|
30
|
+
height: unset;
|
|
31
|
+
|
|
32
|
+
.sort-header {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: row;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: 8px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
tbody {
|
|
43
|
+
tr {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
z-index: 0;
|
|
46
|
+
position: relative;
|
|
47
|
+
|
|
48
|
+
&:hover {
|
|
49
|
+
z-index: 1;
|
|
50
|
+
box-shadow: 0 4px 10px rgba(6, 12, 27, 0.15);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.with-action {
|
|
54
|
+
|
|
55
|
+
td:last-of-type {
|
|
56
|
+
padding-right: 36px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:hover {
|
|
60
|
+
td:last-of-type {
|
|
61
|
+
&::after {
|
|
62
|
+
font-family: 'Material Icons';
|
|
63
|
+
content: "keyboard_arrow_right";
|
|
64
|
+
line-height: 20px;
|
|
65
|
+
font-size: 14px;
|
|
66
|
+
font-weight: 600;
|
|
67
|
+
color: $color-grey-shade-2;
|
|
68
|
+
position: absolute;
|
|
69
|
+
width: 20px;
|
|
70
|
+
height: 20px;
|
|
71
|
+
right: 8px;
|
|
72
|
+
top: 50%;
|
|
73
|
+
transform: translateY(-50%);
|
|
74
|
+
border-radius: 10px;
|
|
75
|
+
background: $color-white-tint-1;
|
|
76
|
+
text-align: center;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
td {
|
|
83
|
+
padding: 8px 16px;
|
|
84
|
+
font-weight: 400;
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
line-height: 130%;
|
|
87
|
+
background: $color-white-primary;
|
|
88
|
+
color: $color-grey-shade-2;
|
|
89
|
+
height: unset;
|
|
90
|
+
box-shadow: inset 0px -1px 0px $color-white-tint-2;
|
|
91
|
+
|
|
92
|
+
.additional-groups {
|
|
93
|
+
color: $color-primary;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&.sticky-header {
|
|
100
|
+
thead th {
|
|
101
|
+
position: sticky;
|
|
102
|
+
z-index: 1;
|
|
103
|
+
top: 0;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|