keevo-components 2.0.240 → 2.0.242
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/components/kv-content-viewer/kv-content-viewer.component.mjs +8 -2
- package/esm2022/lib/components/kv-icon/kv-icon.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +38 -1
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.mjs +11 -25
- package/esm2022/lib/components/kv-kanban/kv-kanban.component.mjs +1 -1
- package/esm2022/lib/components/kv-table-draggable/kv-table-draggable.component.mjs +35 -35
- 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-widget-card/kv-widget-card.component.mjs +3 -3
- package/fesm2022/keevo-components.mjs +96 -67
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
- package/lib/components/kv-content-viewer/kv-content-viewer.component.d.ts +2 -1
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +5 -0
- package/lib/components/kv-table/kv-table.component.d.ts +1 -1
- package/lib/components/kv-table-draggable/kv-table-draggable.component.d.ts +1 -1
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
- package/lib/components/kv-table-viewer/kv-table-viewer.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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<"
|
|
11
|
+
type: import("@angular/core").InputSignal<"normal" | "text" | "outline">;
|
|
12
12
|
icon: string;
|
|
13
13
|
constructor();
|
|
14
14
|
handleShow(): void;
|
|
@@ -14,6 +14,7 @@ export declare class KvContentViewerComponent {
|
|
|
14
14
|
idarquivo: import("@angular/core").WritableSignal<number | undefined>;
|
|
15
15
|
ekpContent: InputSignal<SafeHtml | undefined>;
|
|
16
16
|
showTotalRecords: InputSignal<boolean>;
|
|
17
|
+
selectedFirst: InputSignal<boolean>;
|
|
17
18
|
totalItensCarregado: import("@angular/core").Signal<number>;
|
|
18
19
|
empresaSelecionada: any;
|
|
19
20
|
idtipodocumento: number[];
|
|
@@ -53,5 +54,5 @@ export declare class KvContentViewerComponent {
|
|
|
53
54
|
ngOnInit(): void;
|
|
54
55
|
scrollHandler($event: Event): void;
|
|
55
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvContentViewerComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvContentViewerComponent, "kv-content-viewer", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "arquivo": { "alias": "arquivo"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "blob": { "alias": "blob"; "required": false; "isSignal": true; }; "ekpContent": { "alias": "ekpContent"; "required": false; "isSignal": true; }; "showTotalRecords": { "alias": "showTotalRecords"; "required": false; "isSignal": true; }; "extencaoDocumento": { "alias": "extencaoDocumento"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "visualizadorDocumentos": { "alias": "visualizadorDocumentos"; "required": false; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "noDocumentSelectedTemplate": { "alias": "noDocumentSelectedTemplate"; "required": false; }; "noDocumentListTemplate": { "alias": "noDocumentListTemplate"; "required": false; }; "buttonTemplate": { "alias": "buttonTemplate"; "required": false; }; "listBottomTemplate": { "alias": "listBottomTemplate"; "required": false; }; "indvisualizado": { "alias": "indvisualizado"; "required": false; }; "btnTelaCheia": { "alias": "btnTelaCheia"; "required": false; }; "isLoadingSkeleton": { "alias": "isLoadingSkeleton"; "required": false; }; "borderCardNaoVisualizado": { "alias": "borderCardNaoVisualizado"; "required": false; }; "contentForm": { "alias": "contentForm"; "required": false; }; }, { "onScrollHandler": "onScrollHandler"; "onSelectFile": "onSelectFile"; "onSave": "onSave"; "onCancel": "onCancel"; }, never, never, false, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvContentViewerComponent, "kv-content-viewer", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "arquivo": { "alias": "arquivo"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "blob": { "alias": "blob"; "required": false; "isSignal": true; }; "ekpContent": { "alias": "ekpContent"; "required": false; "isSignal": true; }; "showTotalRecords": { "alias": "showTotalRecords"; "required": false; "isSignal": true; }; "selectedFirst": { "alias": "selectedFirst"; "required": false; "isSignal": true; }; "extencaoDocumento": { "alias": "extencaoDocumento"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "visualizadorDocumentos": { "alias": "visualizadorDocumentos"; "required": false; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "noDocumentSelectedTemplate": { "alias": "noDocumentSelectedTemplate"; "required": false; }; "noDocumentListTemplate": { "alias": "noDocumentListTemplate"; "required": false; }; "buttonTemplate": { "alias": "buttonTemplate"; "required": false; }; "listBottomTemplate": { "alias": "listBottomTemplate"; "required": false; }; "indvisualizado": { "alias": "indvisualizado"; "required": false; }; "btnTelaCheia": { "alias": "btnTelaCheia"; "required": false; }; "isLoadingSkeleton": { "alias": "isLoadingSkeleton"; "required": false; }; "borderCardNaoVisualizado": { "alias": "borderCardNaoVisualizado"; "required": false; }; "contentForm": { "alias": "contentForm"; "required": false; }; }, { "onScrollHandler": "onScrollHandler"; "onSelectFile": "onSelectFile"; "onSave": "onSave"; "onCancel": "onCancel"; }, never, never, false, never>;
|
|
57
58
|
}
|
|
@@ -110,6 +110,11 @@ export declare class KvEditorComponent extends BaseComponentInput<string> implem
|
|
|
110
110
|
private processarBotoesCustomizados;
|
|
111
111
|
private escapeRegex;
|
|
112
112
|
get getPreviewContent(): SafeHtml;
|
|
113
|
+
/**
|
|
114
|
+
* Método para lidar com inserção de '#' em linha vazia
|
|
115
|
+
* Insere temporariamente um caractere invisível para forçar o overlay aparecer
|
|
116
|
+
*/
|
|
117
|
+
private handleHashInsertion;
|
|
113
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvEditorComponent, never>;
|
|
114
119
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvEditorComponent, "kv-editor", never, { "canvaHeigth": { "alias": "canvaHeigth"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "enablePreviewMode": { "alias": "enablePreviewMode"; "required": false; "isSignal": true; }; "showVariableValuesInPreview": { "alias": "showVariableValuesInPreview"; "required": false; "isSignal": true; }; "showVariableValueFirst": { "alias": "showVariableValueFirst"; "required": false; "isSignal": true; }; "relatorios": { "alias": "relatorios"; "required": false; "isSignal": true; }; "idRelatorioInitial": { "alias": "idRelatorioInitial"; "required": false; "isSignal": true; }; "printButton": { "alias": "printButton"; "required": false; "isSignal": true; }; "labelEmptyDropdown": { "alias": "labelEmptyDropdown"; "required": false; "isSignal": true; }; "instrucoesTemplate": { "alias": "instrucoesTemplate"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabledEditor": { "alias": "disabledEditor"; "required": false; "isSignal": true; }; "showHeaderButtons": { "alias": "showHeaderButtons"; "required": false; "isSignal": true; }; "showAlphaCrmButtons": { "alias": "showAlphaCrmButtons"; "required": false; "isSignal": true; }; "enableButtonInsert": { "alias": "enableButtonInsert"; "required": false; "isSignal": true; }; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; "outputRaw": "outputRaw"; "outputHtml": "outputHtml"; "previewHtmlOutput": "previewHtmlOutput"; "onCustomButtonClick": "onCustomButtonClick"; "idRelatorioInitial": "idRelatorioInitialChange"; }, never, never, false, never>;
|
|
115
120
|
}
|
|
@@ -144,7 +144,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
144
144
|
onClickEvent(event: any): void;
|
|
145
145
|
styleSetter(style: string, data: string): void;
|
|
146
146
|
checkMenuFiltro(col: TableConfigColumn): void;
|
|
147
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
147
|
+
sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
|
|
148
148
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
149
149
|
checkHideColumns(): void;
|
|
150
150
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -139,7 +139,7 @@ export declare class KvTableDraggableComponent implements OnInit, DoCheck, After
|
|
|
139
139
|
onClickEvent(event: any): void;
|
|
140
140
|
styleSetter(style: string, data: string): void;
|
|
141
141
|
checkMenuFiltro(col: TableConfigColumn): void;
|
|
142
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
142
|
+
sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
|
|
143
143
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
144
144
|
checkHideColumns(): void;
|
|
145
145
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -68,7 +68,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
68
68
|
onGlobalFilter(table: Table, event: Event): void;
|
|
69
69
|
executeCollapsed(): void;
|
|
70
70
|
checkMenuFiltro(col: any): void;
|
|
71
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
71
|
+
sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
|
|
72
72
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
73
73
|
dinamicColumnSet(e: any, col: any): void;
|
|
74
74
|
addColumn(field: string): void;
|
|
@@ -32,7 +32,7 @@ export declare class KvTableViewerComponent implements OnDestroy {
|
|
|
32
32
|
elementRef: ElementRef<any>;
|
|
33
33
|
renderer: Renderer2;
|
|
34
34
|
columns: import("@angular/core").InputSignal<ColumnTableViewer[]>;
|
|
35
|
-
actionsRow: import("@angular/core").InputSignal<[] |
|
|
35
|
+
actionsRow: import("@angular/core").InputSignal<MenuItem[] | []>;
|
|
36
36
|
actionsHeader: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
37
37
|
actionsLote: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
38
38
|
data: import("@angular/core").InputSignal<any[]>;
|