keevo-components 2.0.245 → 2.0.247
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/esm2022/lib/api/components/button/button.model.mjs +2 -0
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +2 -2
- package/esm2022/lib/components/kv-button/kv-button.component.mjs +3 -3
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +2 -2
- package/esm2022/lib/components/kv-card-selection/kv-card-selection.component.mjs +2 -2
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +2 -2
- package/esm2022/lib/components/kv-icon/kv-icon.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.mjs +2 -2
- package/esm2022/lib/components/kv-instruction-page/components/cards-instruction/kv-cards-instruction.component.mjs +15 -0
- package/esm2022/lib/components/kv-instruction-page/kv-instruction-page.component.mjs +29 -0
- package/esm2022/lib/components/kv-kanban/kv-kanban-models.model.mjs +1 -1
- package/esm2022/lib/components/kv-kanban/kv-kanban.component.mjs +9 -3
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +2 -2
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +2 -2
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +2 -2
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +2 -2
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +2 -2
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +2 -2
- package/esm2022/lib/components/kv-table-draggable/kv-table-draggable.component.mjs +35 -35
- package/esm2022/lib/components/kv-table-viewer/kv-table-viewer.component.mjs +3 -3
- package/esm2022/lib/components/kv-timeline/kv-timeline.component.mjs +3 -3
- package/esm2022/lib/components/kv-tree-environment/components/kv-tree-environment/kv-tree-environment.component.mjs +3 -3
- package/esm2022/lib/components/kv-tree-environment/components/no-arvore/no-arvore.component.mjs +3 -3
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +2 -2
- package/esm2022/lib/components/kv-widget-card/kv-widget-card.component.mjs +3 -3
- package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +2 -2
- package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +2 -2
- package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +2 -2
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/keevo-components.mjs +152 -114
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/{src/lib/components/keevo-components-styles.scss → keevo-components-styles.scss} +4 -13
- package/lib/api/components/button/button.model.d.ts +16 -0
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
- package/lib/components/kv-icon/kv-icon.component.d.ts +1 -1
- package/lib/components/kv-instruction-page/components/cards-instruction/kv-cards-instruction.component.d.ts +15 -0
- package/lib/components/kv-instruction-page/kv-instruction-page.component.d.ts +20 -0
- package/lib/components/kv-kanban/kv-kanban-models.model.d.ts +5 -2
- package/lib/components/kv-kanban/kv-kanban.component.d.ts +1 -0
- package/lib/components/kv-tag/kv-tag.component.d.ts +1 -1
- package/lib/components/kv-widget-card/kv-widget-card.component.d.ts +2 -2
- package/package.json +2 -1
- package/public-api.d.ts +3 -0
- package/src/lib/components/kv-table/kv-table.component.scss +24 -24
|
@@ -197,30 +197,21 @@ $font-family-keevo: "Inter", "Inter var", sans-serif;
|
|
|
197
197
|
min-width: 320px;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
::ng-deep
|
|
200
|
+
::ng-deep * {
|
|
201
201
|
&::-webkit-scrollbar {
|
|
202
|
-
width:
|
|
203
|
-
|
|
204
|
-
&:hover {
|
|
205
|
-
background-color: rgba(222, 222, 222, 0.75);
|
|
206
|
-
}
|
|
202
|
+
width: 5px;
|
|
207
203
|
}
|
|
208
204
|
|
|
209
205
|
&::-webkit-scrollbar-thumb {
|
|
210
|
-
border-radius: 4px;
|
|
211
|
-
background-color: transparent;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
&:hover::-webkit-scrollbar-thumb {
|
|
215
|
-
border-left: 2px solid white;
|
|
216
206
|
background-color: rgba(0, 0, 0, 0.5);
|
|
217
207
|
}
|
|
218
208
|
|
|
219
209
|
&::-webkit-scrollbar-track {
|
|
220
|
-
border-left: 2px solid white;
|
|
221
210
|
background-color: rgba(222, 222, 222, 0.75);
|
|
222
211
|
}
|
|
212
|
+
}
|
|
223
213
|
|
|
214
|
+
::ng-deep .p-dialog-content {
|
|
224
215
|
overflow-x: hidden;
|
|
225
216
|
}
|
|
226
217
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface ButtonModel {
|
|
2
|
+
index?: number;
|
|
3
|
+
fullWidth?: boolean;
|
|
4
|
+
type?: 'outline' | 'text';
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
severity?: 'primary' | 'secondary' | 'tertiary' | 'danger';
|
|
7
|
+
size?: 'small' | 'normal' | 'large';
|
|
8
|
+
icon?: string;
|
|
9
|
+
iconPosition?: 'left' | 'right';
|
|
10
|
+
label?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
command?: (event?: any) => void;
|
|
13
|
+
items?: any[];
|
|
14
|
+
popup?: boolean;
|
|
15
|
+
popupIcon?: boolean;
|
|
16
|
+
}
|
|
@@ -8,7 +8,7 @@ export declare class KvButtonPopupComponent extends BaseComponentButton {
|
|
|
8
8
|
items: MenuItem[];
|
|
9
9
|
classBtn: string;
|
|
10
10
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
11
|
-
type: import("@angular/core").InputSignal<"text" | "
|
|
11
|
+
type: import("@angular/core").InputSignal<"text" | "outline" | "normal">;
|
|
12
12
|
icon: string;
|
|
13
13
|
constructor();
|
|
14
14
|
handleShow(): void;
|
|
@@ -16,7 +16,7 @@ import * as i0 from "@angular/core";
|
|
|
16
16
|
export declare class KvIconComponent {
|
|
17
17
|
icon: import("@angular/core").InputSignal<string>;
|
|
18
18
|
shape: import("@angular/core").InputSignal<"circle" | "square" | "hexagon">;
|
|
19
|
-
severity: import("@angular/core").InputSignal<"
|
|
19
|
+
severity: import("@angular/core").InputSignal<"danger" | "info" | "success" | "warning" | "system" | "contrast">;
|
|
20
20
|
size: import("@angular/core").InputSignal<"small" | "large" | "medium">;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvIconComponent, never>;
|
|
22
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvIconComponent, "kv-icon", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "shape": { "alias": "shape"; "required": true; "isSignal": true; }; "severity": { "alias": "severity"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class KvCardsInstructionComponent {
|
|
3
|
+
whiteCard: import("@angular/core").InputSignal<{
|
|
4
|
+
title: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
height: number;
|
|
7
|
+
} | undefined>;
|
|
8
|
+
blackCard: import("@angular/core").InputSignal<{
|
|
9
|
+
title: string;
|
|
10
|
+
icon: string;
|
|
11
|
+
height: number;
|
|
12
|
+
} | undefined>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvCardsInstructionComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvCardsInstructionComponent, "kv-cards-instruction", never, { "whiteCard": { "alias": "whiteCard"; "required": false; "isSignal": true; }; "blackCard": { "alias": "blackCard"; "required": false; "isSignal": true; }; }, {}, never, ["[white-card-content]", "[black-card-content]"], true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ButtonModel } from '../../api/components/button/button.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KvInstructionPageComponent {
|
|
4
|
+
actions: import("@angular/core").InputSignal<ButtonModel[]>;
|
|
5
|
+
camposObrigatorios: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
whiteCard: import("@angular/core").InputSignal<{
|
|
7
|
+
title: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
height: number;
|
|
10
|
+
} | undefined>;
|
|
11
|
+
blackCard: import("@angular/core").InputSignal<{
|
|
12
|
+
title: string;
|
|
13
|
+
icon: string;
|
|
14
|
+
height: number;
|
|
15
|
+
} | undefined>;
|
|
16
|
+
sizeContent: import("@angular/core").Signal<"w-full" | "w-8">;
|
|
17
|
+
verIntrucoes: boolean;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvInstructionPageComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvInstructionPageComponent, "kv-instruction-page", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "camposObrigatorios": { "alias": "camposObrigatorios"; "required": false; "isSignal": true; }; "whiteCard": { "alias": "whiteCard"; "required": false; "isSignal": true; }; "blackCard": { "alias": "blackCard"; "required": false; "isSignal": true; }; }, {}, never, ["[main-content]", "[white-card-content]", "[black-card-content]", "[white-card-content]", "[black-card-content]"], true, never>;
|
|
20
|
+
}
|
|
@@ -6,10 +6,13 @@ export interface KanbanAction {
|
|
|
6
6
|
export interface KanbanCard {
|
|
7
7
|
id?: number | string;
|
|
8
8
|
titulo: string;
|
|
9
|
-
status?:
|
|
9
|
+
status?: CardStatus[];
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
12
|
+
export interface CardStatus {
|
|
13
|
+
label: string;
|
|
10
14
|
statusColor?: string;
|
|
11
15
|
statusLabelColor?: string;
|
|
12
|
-
[key: string]: any;
|
|
13
16
|
}
|
|
14
17
|
export interface KanbanColumnConfig {
|
|
15
18
|
id: number;
|
|
@@ -30,6 +30,7 @@ export declare class KvKanbanComponent {
|
|
|
30
30
|
getColumnTotalItems(columnId: number): number;
|
|
31
31
|
getActionsForCard(card: KanbanCard): MenuItem[];
|
|
32
32
|
getColumnFlex(): string;
|
|
33
|
+
getStatusTooltip(status: any[]): string;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvKanbanComponent, never>;
|
|
34
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvKanbanComponent, "kv-kanban", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "columnConfigs": { "alias": "columnConfigs"; "required": false; "isSignal": true; }; "columnLists": { "alias": "columnLists"; "required": false; "isSignal": true; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; "isSignal": true; }; "showColumnsCounter": { "alias": "showColumnsCounter"; "required": false; "isSignal": true; }; "enableDrag": { "alias": "enableDrag"; "required": false; "isSignal": true; }; }, { "onCardMoved": "onCardMoved"; "onActionClicked": "onActionClicked"; "onLoadMoreCards": "onLoadMoreCards"; "onSelectedCard": "onSelectedCard"; }, never, never, true, never>;
|
|
35
36
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class KvTagComponent {
|
|
3
|
-
severity: import("@angular/core").InputSignal<"
|
|
3
|
+
severity: import("@angular/core").InputSignal<"danger" | "info" | "success" | "warn" | "system" | "contrast">;
|
|
4
4
|
border: import("@angular/core").InputSignal<boolean>;
|
|
5
5
|
color: import("@angular/core").InputSignal<string | null>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTagComponent, never>;
|
|
@@ -19,7 +19,7 @@ export declare class KvWidgetCardComponent {
|
|
|
19
19
|
* Define a cor do ícone do card.
|
|
20
20
|
* @required
|
|
21
21
|
*/
|
|
22
|
-
iconSeverity: import("@angular/core").InputSignal<"
|
|
22
|
+
iconSeverity: import("@angular/core").InputSignal<"danger" | "info" | "success" | "warning" | "system" | "contrast">;
|
|
23
23
|
/**
|
|
24
24
|
* Título do card.
|
|
25
25
|
* @required
|
|
@@ -39,7 +39,7 @@ export declare class KvWidgetCardComponent {
|
|
|
39
39
|
* Define o background-color do card.
|
|
40
40
|
* @default true
|
|
41
41
|
*/
|
|
42
|
-
severity: import("@angular/core").InputSignal<"
|
|
42
|
+
severity: import("@angular/core").InputSignal<"danger" | "success" | "warning" | "system" | undefined>;
|
|
43
43
|
/**
|
|
44
44
|
* Valor do indicador principal do card.
|
|
45
45
|
* @default
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keevo-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.247",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^17.3.8",
|
|
6
6
|
"@angular/core": "^17.3.8",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"description": "Componentes utilizados no frontend dos sistemas da Keevo Software.",
|
|
29
29
|
"exports": {
|
|
30
30
|
"./webpack/mfe-shared.js": "./webpack/mfe-shared.js",
|
|
31
|
+
"./keevo-components-styles.scss": "./keevo-components-styles.scss",
|
|
31
32
|
"./package.json": {
|
|
32
33
|
"default": "./package.json"
|
|
33
34
|
},
|
package/public-api.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export * from './lib/components/kv-buttons/kv-button-success/kv-button-success.c
|
|
|
71
71
|
export * from './lib/components/kv-buttons/kv-button.module';
|
|
72
72
|
export * from './lib/components/kv-button/kv-button.component';
|
|
73
73
|
export * from './lib/components/kv-button/kv-button.module';
|
|
74
|
+
export * from './lib/api/components/button/button.model';
|
|
74
75
|
/**
|
|
75
76
|
* Inputs
|
|
76
77
|
*/
|
|
@@ -329,3 +330,5 @@ export * from './lib/components/kv-tree-environment/models/no-arvore.model';
|
|
|
329
330
|
*/
|
|
330
331
|
export * from './lib/components/kv-kanban/kv-kanban.component';
|
|
331
332
|
export * from './lib/components/kv-kanban/kv-kanban-models.model';
|
|
333
|
+
export * from './lib/components/kv-instruction-page/kv-instruction-page.component';
|
|
334
|
+
export * from './lib/components/kv-instruction-page/components/cards-instruction/kv-cards-instruction.component';
|
|
@@ -10,30 +10,30 @@
|
|
|
10
10
|
z-index: 1299;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
::ng-deep .p-datatable > .p-datatable-wrapper {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
13
|
+
// ::ng-deep .p-datatable > .p-datatable-wrapper {
|
|
14
|
+
// &::-webkit-scrollbar {
|
|
15
|
+
// width: 6px;
|
|
16
|
+
|
|
17
|
+
// &:hover {
|
|
18
|
+
// background-color: rgba(222, 222, 222, 0.75);
|
|
19
|
+
// }
|
|
20
|
+
// }
|
|
21
|
+
|
|
22
|
+
// &::-webkit-scrollbar-thumb {
|
|
23
|
+
// border-radius: 4px;
|
|
24
|
+
// background-color: transparent;
|
|
25
|
+
// }
|
|
26
|
+
|
|
27
|
+
// &:hover::-webkit-scrollbar-thumb {
|
|
28
|
+
// border-left: 2px solid white;
|
|
29
|
+
// background-color: rgba(0, 0, 0, 0.5);
|
|
30
|
+
// }
|
|
31
|
+
|
|
32
|
+
// &::-webkit-scrollbar-track {
|
|
33
|
+
// border-left: 2px solid white;
|
|
34
|
+
// background-color: rgba(222, 222, 222, 0.75);
|
|
35
|
+
// }
|
|
36
|
+
// }
|
|
37
37
|
|
|
38
38
|
.tag {
|
|
39
39
|
width: 5px;
|