boruto-xrmui 1.0.13 → 1.0.14
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/fesm2022/boruto-xrmui.mjs +126 -145
- package/fesm2022/boruto-xrmui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/boruto-xrmui.d.ts +34 -27
package/package.json
CHANGED
package/types/boruto-xrmui.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ElementRef, AfterViewInit, OnInit, OnDestroy, AfterContentInit, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
4
|
+
import { NativeDateAdapter } from '@angular/material/core';
|
|
5
|
+
import { MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
4
6
|
|
|
5
7
|
declare class KoButtonGroupComponent {
|
|
6
8
|
constructor();
|
|
@@ -287,6 +289,12 @@ interface ISearchService {
|
|
|
287
289
|
search(v: string): Promise<ISelectable[]>;
|
|
288
290
|
}
|
|
289
291
|
|
|
292
|
+
declare class DKCustomDateAdapter extends NativeDateAdapter {
|
|
293
|
+
format(date: Date | null, displayFormat: Object): string;
|
|
294
|
+
parse(value: any): Date | null;
|
|
295
|
+
private pad;
|
|
296
|
+
}
|
|
297
|
+
|
|
290
298
|
interface IGroupedSelectable {
|
|
291
299
|
group?: string;
|
|
292
300
|
items: ISelectable[];
|
|
@@ -402,31 +410,29 @@ declare const NAVIGATIONKEYS: string[];
|
|
|
402
410
|
declare const NUMBERS: string[];
|
|
403
411
|
declare const DECIMALS: string[];
|
|
404
412
|
declare const CTRL_KEYS: string[];
|
|
405
|
-
declare class XrmuiInput
|
|
413
|
+
declare class XrmuiInput {
|
|
406
414
|
searchElement?: ElementRef;
|
|
407
415
|
textareaElement?: ElementRef;
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
disabled: boolean
|
|
414
|
-
showlock: boolean
|
|
415
|
-
required: boolean
|
|
416
|
-
type:
|
|
417
|
-
setfocus: boolean
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
decimalsUsed: EventEmitter<number>;
|
|
429
|
-
onEnter: EventEmitter<number>;
|
|
416
|
+
datefieldElement?: ElementRef;
|
|
417
|
+
label: _angular_core.InputSignal<string>;
|
|
418
|
+
shortLabel: _angular_core.InputSignal<boolean>;
|
|
419
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
420
|
+
value: _angular_core.ModelSignal<string | number | Date | null>;
|
|
421
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
422
|
+
showlock: _angular_core.InputSignal<boolean>;
|
|
423
|
+
required: _angular_core.InputSignal<boolean>;
|
|
424
|
+
type: _angular_core.InputSignal<"number" | "text" | "password">;
|
|
425
|
+
setfocus: _angular_core.ModelSignal<boolean>;
|
|
426
|
+
autocomplete: _angular_core.InputSignal<ISearchService | null>;
|
|
427
|
+
selected: _angular_core.ModelSignal<ISelectable | undefined>;
|
|
428
|
+
onselect: _angular_core.OutputEmitterRef<ISelectable | undefined>;
|
|
429
|
+
error: _angular_core.InputSignal<boolean>;
|
|
430
|
+
validate: _angular_core.ModelSignal<"number" | "decimal" | "date" | null>;
|
|
431
|
+
onfocusEvent: _angular_core.OutputEmitterRef<void>;
|
|
432
|
+
onblurEvent: _angular_core.OutputEmitterRef<void>;
|
|
433
|
+
click: _angular_core.OutputEmitterRef<void>;
|
|
434
|
+
decimalsUsed: _angular_core.OutputEmitterRef<number>;
|
|
435
|
+
onEnter: _angular_core.OutputEmitterRef<void>;
|
|
430
436
|
numberoflines: _angular_core.InputSignal<number>;
|
|
431
437
|
maxlength: _angular_core.InputSignal<number | null>;
|
|
432
438
|
hasfocus: _angular_core.WritableSignal<boolean>;
|
|
@@ -438,9 +444,10 @@ declare class XrmuiInput implements OnChanges {
|
|
|
438
444
|
searchnumber: number;
|
|
439
445
|
current?: ISelectable;
|
|
440
446
|
currentindex: number;
|
|
441
|
-
shadowValue: string
|
|
447
|
+
shadowValue: _angular_core.WritableSignal<string>;
|
|
448
|
+
shadowDate: _angular_core.WritableSignal<Date | null>;
|
|
442
449
|
constructor();
|
|
443
|
-
|
|
450
|
+
pickDate(d: MatDatepickerInputEvent<any, any>): void;
|
|
444
451
|
formatNumber(n: number): string;
|
|
445
452
|
onValueChanged(): void;
|
|
446
453
|
onFocus(): void;
|
|
@@ -457,7 +464,7 @@ declare class XrmuiInput implements OnChanges {
|
|
|
457
464
|
private searchbyname;
|
|
458
465
|
private dosearchbyname;
|
|
459
466
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XrmuiInput, never>;
|
|
460
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XrmuiInput, "xrmui-input", never, { "label": { "alias": "label"; "required": false; }; "shortLabel": { "alias": "short-label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showlock": { "alias": "showlock"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "setfocus": { "alias": "setfocus"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "error": { "alias": "error"; "required": false;
|
|
467
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XrmuiInput, "xrmui-input", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "shortLabel": { "alias": "short-label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "showlock": { "alias": "showlock"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "setfocus": { "alias": "setfocus"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "validate": { "alias": "validate"; "required": false; "isSignal": true; }; "numberoflines": { "alias": "numberoflines"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "setfocus": "setfocusChange"; "selected": "selectedChange"; "onselect": "onselect"; "validate": "validateChange"; "onfocusEvent": "focus"; "onblurEvent": "blur"; "click": "click"; "decimalsUsed": "decimalsUsed"; "onEnter": "onEnter"; }, never, never, true, never>;
|
|
461
468
|
}
|
|
462
469
|
|
|
463
470
|
declare class XrmuiRibbon {
|
|
@@ -501,5 +508,5 @@ declare class BorutoXrmUIModule {
|
|
|
501
508
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<BorutoXrmUIModule>;
|
|
502
509
|
}
|
|
503
510
|
|
|
504
|
-
export { BorutoXrmUIModule, CTRL_KEYS, DECIMALS, KiponUiModule, KoAlertComponent, KoButtonGroupComponent, KoDecimalDirective, KoDivider, KoExpansionPanelComponent, KoFocusDirective, KoHeaderComponent, KoHorizontalScrollComponent, KoHorizontalSplitComponent, KoLeftMenuComponent, KoMainComponent, KoNavigationByCssClass, KoNavigationByImageUrl, KoOverDirective, KoTablePanelComponent, KoTitlePanelComponent, KoTopMenuComponent, KoVerticalScrollComponent, KoVerticalSplitComponent, KoViewComponent, KoWriteDirective, NAVIGATIONKEYS, NUMBERS, XrmuiButton, XrmuiIcon, XrmuiInfo, XrmuiInput, XrmuiLayout, XrmuiPanel, XrmuiRibbon, XrmuiSpinner };
|
|
511
|
+
export { BorutoXrmUIModule, CTRL_KEYS, DECIMALS, DKCustomDateAdapter, KiponUiModule, KoAlertComponent, KoButtonGroupComponent, KoDecimalDirective, KoDivider, KoExpansionPanelComponent, KoFocusDirective, KoHeaderComponent, KoHorizontalScrollComponent, KoHorizontalSplitComponent, KoLeftMenuComponent, KoMainComponent, KoNavigationByCssClass, KoNavigationByImageUrl, KoOverDirective, KoTablePanelComponent, KoTitlePanelComponent, KoTopMenuComponent, KoVerticalScrollComponent, KoVerticalSplitComponent, KoViewComponent, KoWriteDirective, NAVIGATIONKEYS, NUMBERS, XrmuiButton, XrmuiIcon, XrmuiInfo, XrmuiInput, XrmuiLayout, XrmuiPanel, XrmuiRibbon, XrmuiSpinner };
|
|
505
512
|
export type { IGroupedSelectable, IMenu, ISearchService, ISelectable, ISelectableService, KoNavigation, OptionSetValue, OptionValue };
|