@dev-tcloud/tcloud-ui 2.2.0 → 2.2.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/datepicker/js/_info.txt +4 -0
- package/datepicker/js/datepicker-full.min.js +1 -1
- package/datepicker/js/v1.7.0-datepicker-full.min.js +1 -0
- package/esm2022/lib/_modules/tcloud-ui-datepicker/tcloud-ui-datepicker.component.mjs +139 -18
- package/esm2022/lib/_modules/tcloud-ui-datepicker-time/tcloud-ui-datepicker-time.component.mjs +1 -1
- package/esm2022/lib/_modules/tcloud-ui-filters/tcloud-ui-filters.component.mjs +1 -1
- package/esm2022/lib/_modules/tcloud-ui-scroll-box/tcloud-ui-scroll-box.component.mjs +29 -4
- package/fesm2022/dev-tcloud-tcloud-ui.mjs +167 -22
- package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/_modules/tcloud-ui-datepicker/tcloud-ui-datepicker.component.d.ts +18 -6
- package/lib/_modules/tcloud-ui-scroll-box/tcloud-ui-scroll-box.component.d.ts +4 -1
- package/package.json +1 -1
- package/scss/tcloud/custom/buttons.scss +5 -6
- package/scss/tcloud/custom/forms.scss +2 -2
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { OnInit, ElementRef, EventEmitter
|
|
1
|
+
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { DateBRPipe } from '../../_pipes';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TCloudUiDatepickerComponent implements OnInit {
|
|
5
5
|
private _DateBRPipe;
|
|
6
|
-
private _changeDetectorRef;
|
|
7
6
|
multiple: boolean;
|
|
8
7
|
maxNumberOfDates: number;
|
|
9
8
|
daysOfWeekDisabled: number[];
|
|
@@ -13,26 +12,39 @@ export declare class TCloudUiDatepickerComponent implements OnInit {
|
|
|
13
12
|
modeInput: boolean;
|
|
14
13
|
useBorder: boolean;
|
|
15
14
|
childInputDateTime: boolean;
|
|
15
|
+
startViewInMinDate: boolean;
|
|
16
|
+
startViewInMaxDate: boolean;
|
|
17
|
+
disabled: boolean;
|
|
16
18
|
onChange: EventEmitter<any>;
|
|
17
|
-
|
|
19
|
+
default_innerValue: any | undefined;
|
|
20
|
+
default_innerValue_convertida: any | undefined;
|
|
21
|
+
default_qtd_innerValue: number;
|
|
22
|
+
date_changed: any | undefined;
|
|
18
23
|
set ngModel(v: any);
|
|
19
24
|
ngModelChange: EventEmitter<any>;
|
|
25
|
+
onCheckDate: EventEmitter<any>;
|
|
20
26
|
input_datepicker: ElementRef<HTMLElement> | undefined;
|
|
21
27
|
private datepicker;
|
|
22
28
|
code: string;
|
|
23
|
-
constructor(_DateBRPipe: DateBRPipe
|
|
29
|
+
constructor(_DateBRPipe: DateBRPipe);
|
|
24
30
|
ID: string;
|
|
25
31
|
ngOnInit(): void;
|
|
26
32
|
generateID(): string;
|
|
27
33
|
toSetMask(v: string): string;
|
|
34
|
+
parseDateLocal(dateString: any, _split?: string): Date;
|
|
35
|
+
formatDateLocal(date: any): string;
|
|
28
36
|
get_options(): any;
|
|
29
37
|
clearDate(): void;
|
|
30
38
|
start_datepicker(): void;
|
|
31
|
-
toSetDate(): void;
|
|
32
39
|
toSetDefaultDate(date: string | string[]): void;
|
|
40
|
+
convertDates(arrayDeDatas: any[]): Date[];
|
|
41
|
+
sortDatesDescending(arrayDeDatas: any[]): any[];
|
|
42
|
+
sortDatesAscending(arrayDeDatas: any[]): any[];
|
|
33
43
|
toSelectedDate(detail: any): void;
|
|
34
44
|
format_date(timeStamp: number): string;
|
|
35
45
|
toClickIn(id: string): void;
|
|
46
|
+
findDifferences(array1: any, array2: any): any[];
|
|
47
|
+
formatArrayDates(array_dates: any): string[];
|
|
36
48
|
innerValue: any | undefined;
|
|
37
49
|
private onTouchedCallback;
|
|
38
50
|
private onChangeCallback;
|
|
@@ -43,5 +55,5 @@ export declare class TCloudUiDatepickerComponent implements OnInit {
|
|
|
43
55
|
registerOnChange(fn: any): void;
|
|
44
56
|
registerOnTouched(fn: any): void;
|
|
45
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiDatepickerComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiDatepickerComponent, "tcloud-ui-datepicker", never, { "multiple": { "alias": "multiple"; "required": false; }; "maxNumberOfDates": { "alias": "maxNumberOfDates"; "required": false; }; "daysOfWeekDisabled": { "alias": "daysOfWeekDisabled"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "datesDisabled": { "alias": "datesDisabled"; "required": false; }; "modeInput": { "alias": "modeInput"; "required": false; }; "useBorder": { "alias": "useBorder"; "required": false; }; "childInputDateTime": { "alias": "childInputDateTime"; "required": false; }; "ngModel": { "alias": "ngModel"; "required": false; }; "code": { "alias": "code"; "required": false; }; }, { "onChange": "onChange"; "ngModelChange": "ngModelChange"; }, never, never, false, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiDatepickerComponent, "tcloud-ui-datepicker", never, { "multiple": { "alias": "multiple"; "required": false; }; "maxNumberOfDates": { "alias": "maxNumberOfDates"; "required": false; }; "daysOfWeekDisabled": { "alias": "daysOfWeekDisabled"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "datesDisabled": { "alias": "datesDisabled"; "required": false; }; "modeInput": { "alias": "modeInput"; "required": false; }; "useBorder": { "alias": "useBorder"; "required": false; }; "childInputDateTime": { "alias": "childInputDateTime"; "required": false; }; "startViewInMinDate": { "alias": "startViewInMinDate"; "required": false; }; "startViewInMaxDate": { "alias": "startViewInMaxDate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ngModel": { "alias": "ngModel"; "required": false; }; "code": { "alias": "code"; "required": false; }; }, { "onChange": "onChange"; "ngModelChange": "ngModelChange"; "onCheckDate": "onCheckDate"; }, never, never, false, never>;
|
|
47
59
|
}
|
|
@@ -2,9 +2,12 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TCloudUiScrollBoxComponent implements OnInit {
|
|
4
4
|
border: boolean;
|
|
5
|
-
maxHeight:
|
|
5
|
+
maxHeight: any | string;
|
|
6
|
+
unidade: string;
|
|
7
|
+
style_height: any | undefined;
|
|
6
8
|
constructor();
|
|
7
9
|
ngOnInit(): void;
|
|
10
|
+
retirarNumeros(str: string): string;
|
|
8
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiScrollBoxComponent, never>;
|
|
9
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiScrollBoxComponent, "tcloud-ui-scroll-box", never, { "border": { "alias": "border"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
10
13
|
}
|
package/package.json
CHANGED
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
font-size: 12px;
|
|
133
133
|
font-weight: normal;
|
|
134
134
|
border-radius: 30px;
|
|
135
|
-
padding: 10px 25px!important;
|
|
135
|
+
padding: 10px 25px !important;
|
|
136
136
|
cursor: pointer;
|
|
137
137
|
display: inline-flex;
|
|
138
138
|
align-items: center;
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
.btn-new-grey.active,
|
|
170
170
|
.btn-new-grey.opened,
|
|
171
171
|
.btn-new-grey:hover {
|
|
172
|
-
background: var(--tc-primary)!important;
|
|
172
|
+
background: var(--tc-primary) !important;
|
|
173
173
|
color: var(--white) !important;
|
|
174
174
|
}
|
|
175
175
|
|
|
@@ -181,23 +181,22 @@
|
|
|
181
181
|
margin: 0 0 0 10px;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
.tc-btn-primary,
|
|
185
184
|
.btn-green-validate {
|
|
186
185
|
display: inline-flex;
|
|
187
186
|
align-items: center;
|
|
188
|
-
background: var(--tc-primary)!important;
|
|
187
|
+
background: var(--tc-primary) !important;
|
|
189
188
|
color: var(--white) !important;
|
|
190
189
|
font-size: 12px;
|
|
191
190
|
font-weight: normal;
|
|
192
191
|
border-radius: 30px;
|
|
193
192
|
padding: 10px 20px;
|
|
194
193
|
cursor: pointer;
|
|
195
|
-
border: none!important;
|
|
194
|
+
border: none !important;
|
|
196
195
|
transition: all 0.25s;
|
|
197
196
|
}
|
|
198
197
|
|
|
199
198
|
.tc-btn-primary.full {
|
|
200
|
-
width: 100
|
|
199
|
+
width: 100% !important;
|
|
201
200
|
}
|
|
202
201
|
|
|
203
202
|
.tc-btn-primary.full.txt-center,
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
color: #212529;
|
|
16
16
|
background-color: #fff;
|
|
17
17
|
background-clip: padding-box;
|
|
18
|
-
border: 1px solid var(--tc-gray-300)
|
|
18
|
+
border: 1px solid var(--tc-gray-300);
|
|
19
19
|
-webkit-appearance: none;
|
|
20
20
|
-moz-appearance: none;
|
|
21
21
|
appearance: none;
|
|
@@ -52,7 +52,7 @@ select.tc-form-control{
|
|
|
52
52
|
background-position: right .75rem center;
|
|
53
53
|
background-size: 16px 12px;
|
|
54
54
|
|
|
55
|
-
border: 1px solid
|
|
55
|
+
border: 1px solid var(--tc-gray-300);
|
|
56
56
|
border-radius: 3px;
|
|
57
57
|
color: var(--cinza);
|
|
58
58
|
font-family: "Open Sans";
|