monkey-style-guide 21.2.13 → 21.2.15
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.
|
Binary file
|
package/package.json
CHANGED
|
@@ -343,7 +343,7 @@ declare class MonkeyAutocompleteComponent implements MonkeyFormFieldControl, Con
|
|
|
343
343
|
focused: boolean;
|
|
344
344
|
readonly type: string;
|
|
345
345
|
readonly stateChanges: Subject<void>;
|
|
346
|
-
protected _elementRef: ElementRef<
|
|
346
|
+
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
347
347
|
_onChange: any;
|
|
348
348
|
_onTouched: any;
|
|
349
349
|
get elementTarget(): any;
|
|
@@ -405,7 +405,7 @@ declare class MonkeyAutocompleteAddressComponent implements MonkeyFormFieldContr
|
|
|
405
405
|
focused: boolean;
|
|
406
406
|
readonly type: string;
|
|
407
407
|
readonly stateChanges: Subject<void>;
|
|
408
|
-
protected _elementRef: ElementRef<
|
|
408
|
+
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
409
409
|
_onChange: any;
|
|
410
410
|
_onTouched: any;
|
|
411
411
|
private readonly _addressService;
|
|
@@ -982,7 +982,7 @@ declare class MonkeyFilterBarComponent {
|
|
|
982
982
|
protected readonly addOptions: i0.Signal<MonkeyFilterBarOption[]>;
|
|
983
983
|
protected readonly canAddFilter: i0.Signal<boolean>;
|
|
984
984
|
protected readonly changeOptions: i0.Signal<MonkeyFilterBarOption[]>;
|
|
985
|
-
protected readonly triggerVariant: i0.Signal<"
|
|
985
|
+
protected readonly triggerVariant: i0.Signal<"icon" | "text">;
|
|
986
986
|
protected readonly triggerIcon: i0.Signal<"filter" | "add-plus">;
|
|
987
987
|
protected readonly triggerFlipId: i0.Signal<"trigger-text" | "trigger-icon">;
|
|
988
988
|
constructor();
|
|
@@ -1105,6 +1105,13 @@ declare class MonkeyFilterSegmentComponent {
|
|
|
1105
1105
|
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFilterSegmentComponent, "monkey-filter-segment", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonlySegment": { "alias": "readonlySegment"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "onOpenChange": "onOpenChange"; "onSegmentClick": "onSegmentClick"; }, never, ["*"], true, never>;
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
|
+
/** ************************
|
|
1109
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
1110
|
+
* This style guide was developed by Monkey Exchange Team
|
|
1111
|
+
* MIT Licence
|
|
1112
|
+
************************* */
|
|
1113
|
+
type MenuAlignment = 'start' | 'end';
|
|
1114
|
+
|
|
1108
1115
|
type MonkeyFilterTriggerVariant = 'text' | 'icon';
|
|
1109
1116
|
declare class MonkeyFilterTriggerComponent {
|
|
1110
1117
|
private readonly _hostEl;
|
|
@@ -1116,14 +1123,16 @@ declare class MonkeyFilterTriggerComponent {
|
|
|
1116
1123
|
readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
1117
1124
|
readonly immediateExit: i0.InputSignalWithTransform<boolean, unknown>;
|
|
1118
1125
|
readonly open: i0.InputSignalWithTransform<boolean, unknown>;
|
|
1126
|
+
readonly alignment: i0.InputSignal<MenuAlignment | null>;
|
|
1119
1127
|
readonly onOpenChange: i0.OutputEmitterRef<boolean>;
|
|
1120
1128
|
readonly ariaLabelAttr: i0.Signal<string | null>;
|
|
1129
|
+
readonly menuAlignment: i0.Signal<MenuAlignment>;
|
|
1121
1130
|
constructor();
|
|
1122
1131
|
toggle(): void;
|
|
1123
1132
|
onDocumentPointerdown(event: PointerEvent): void;
|
|
1124
1133
|
onEscape(): void;
|
|
1125
1134
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFilterTriggerComponent, never>;
|
|
1126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFilterTriggerComponent, "monkey-filter-trigger", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "immediateExit": { "alias": "immediateExit"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "onOpenChange": "onOpenChange"; }, never, ["*"], true, never>;
|
|
1135
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFilterTriggerComponent, "monkey-filter-trigger", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "immediateExit": { "alias": "immediateExit"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; }, { "onOpenChange": "onOpenChange"; }, never, ["*"], true, never>;
|
|
1127
1136
|
}
|
|
1128
1137
|
|
|
1129
1138
|
declare class MonkeyIconButtonComponent {
|
|
@@ -1153,7 +1162,7 @@ declare class MonkeyInputCurrencyDirective implements MonkeyFormFieldControl, On
|
|
|
1153
1162
|
private el;
|
|
1154
1163
|
private renderer;
|
|
1155
1164
|
private currencyPipe;
|
|
1156
|
-
protected _elementRef: ElementRef<
|
|
1165
|
+
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
1157
1166
|
protected _uid: string;
|
|
1158
1167
|
protected _id: string;
|
|
1159
1168
|
readonly stateChanges: Subject<void>;
|
|
@@ -1202,7 +1211,7 @@ declare class MonkeyInputCurrencyDirective implements MonkeyFormFieldControl, On
|
|
|
1202
1211
|
************************* */
|
|
1203
1212
|
|
|
1204
1213
|
declare class MonkeyInputDirective implements MonkeyFormFieldControl, OnChanges, OnDestroy {
|
|
1205
|
-
protected _elementRef: ElementRef<
|
|
1214
|
+
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
1206
1215
|
protected _uid: string;
|
|
1207
1216
|
protected _id: string;
|
|
1208
1217
|
readonly stateChanges: Subject<void>;
|
|
@@ -1316,7 +1325,7 @@ declare class MonkeyInputDateRangeComponent implements MonkeyFormFieldControl, C
|
|
|
1316
1325
|
focused: boolean;
|
|
1317
1326
|
readonly type: string;
|
|
1318
1327
|
readonly stateChanges: Subject<void>;
|
|
1319
|
-
protected _elementRef: ElementRef<
|
|
1328
|
+
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
1320
1329
|
_onChange: any;
|
|
1321
1330
|
_onTouched: any;
|
|
1322
1331
|
showPopOver: boolean;
|
|
@@ -1733,7 +1742,7 @@ declare class MonkeyRadioButtonComponent implements MonkeyFormFieldControl, Cont
|
|
|
1733
1742
|
private _destroyRef;
|
|
1734
1743
|
private readonly idGenerator;
|
|
1735
1744
|
ngControl: NgControl | null;
|
|
1736
|
-
protected _elementRef: ElementRef<
|
|
1745
|
+
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
1737
1746
|
focused: boolean;
|
|
1738
1747
|
_disabled: boolean;
|
|
1739
1748
|
readonly id: string;
|
|
@@ -1879,7 +1888,7 @@ declare class MonkeySelectComponent implements MonkeyFormFieldControl, ControlVa
|
|
|
1879
1888
|
private _destroyRef;
|
|
1880
1889
|
private readonly idGenerator;
|
|
1881
1890
|
ngControl: NgControl | null;
|
|
1882
|
-
protected _elementRef: ElementRef<
|
|
1891
|
+
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
1883
1892
|
readonly currency: boolean;
|
|
1884
1893
|
focused: boolean;
|
|
1885
1894
|
_disabled: boolean;
|
|
@@ -2218,7 +2227,7 @@ declare class MonkeyTableComponent<T> implements OnDestroy {
|
|
|
2218
2227
|
readonly rowSelectable: i0.InputSignal<((row: T) => boolean) | undefined>;
|
|
2219
2228
|
readonly ariaLabel: i0.InputSignal<string>;
|
|
2220
2229
|
readonly caption: i0.InputSignal<string>;
|
|
2221
|
-
readonly selectionMode: i0.InputSignal<"
|
|
2230
|
+
readonly selectionMode: i0.InputSignal<"multiple" | "none">;
|
|
2222
2231
|
readonly selected: i0.ModelSignal<ReadonlySet<string>>;
|
|
2223
2232
|
readonly maxSelected: i0.InputSignal<number>;
|
|
2224
2233
|
readonly sort: i0.InputSignal<SortState | null>;
|
|
@@ -2341,7 +2350,7 @@ declare class MonkeyTabLinkDirective implements OnInit {
|
|
|
2341
2350
|
private router;
|
|
2342
2351
|
disabled: boolean;
|
|
2343
2352
|
get isDisabled(): boolean;
|
|
2344
|
-
get tabIndex():
|
|
2353
|
+
get tabIndex(): 0 | -1;
|
|
2345
2354
|
private destroyRef;
|
|
2346
2355
|
private el;
|
|
2347
2356
|
constructor(router: Router);
|
|
@@ -2739,6 +2748,7 @@ declare class MonkeyEcxAddressService {
|
|
|
2739
2748
|
declare class MonkeyDictionaryService {
|
|
2740
2749
|
private _localeId;
|
|
2741
2750
|
private _destroyRef;
|
|
2751
|
+
private _lang$;
|
|
2742
2752
|
private _data$;
|
|
2743
2753
|
constructor();
|
|
2744
2754
|
private handleWrapperValues;
|
|
@@ -2774,7 +2784,8 @@ declare const MECX_I18N_WRAPPER: InjectionToken<BehaviorSubject<string>>;
|
|
|
2774
2784
|
declare const MECX_POPOVER_OPTIONS: InjectionToken<unknown>;
|
|
2775
2785
|
declare const MECX_COUNTRY_ISO_CODE: InjectionToken<string>;
|
|
2776
2786
|
declare const MECX_GOOGLE_API_KEY: InjectionToken<string>;
|
|
2787
|
+
declare const MECX_I18N_LANG: InjectionToken<BehaviorSubject<string>>;
|
|
2777
2788
|
declare function injectTokenWithWarning<T>(token: InjectionToken<T>, name?: string): T | null;
|
|
2778
2789
|
|
|
2779
|
-
export { MECX_COUNTRY_ISO_CODE, MECX_GOOGLE_API_KEY, MECX_I18N_WRAPPER, MECX_MODAL_DATA, MECX_MODAL_DEFAULT_CONFIG, MECX_POPOVER_OPTIONS, MonkeyAccordionComponent, MonkeyActionBarComponent, MonkeyAlertComponent, MonkeyAutocompleteAddressComponent, MonkeyAutocompleteComponent, MonkeyAvatarComponent, MonkeyBadgeComponent, MonkeyBadgeDirective, MonkeyBreadcrumbComponent, MonkeyButtonComponent, MonkeyCheckboxComponent, MonkeyComplexFilterBarComponent, MonkeyDateRangeComponent, MonkeyDictionaryService, MonkeyDisplayDirective, MonkeyDividerComponent, MonkeyDownloadButtonComponent, MonkeyEcxAddressService, MonkeyErrorDirective, MonkeyFilterBarComponent, MonkeyFilterBarService, MonkeyFilterChipComponent, MonkeyFilterMenuComponent, MonkeyFilterMenuItemComponent, MonkeyFilterSegmentComponent, MonkeyFilterTriggerComponent, MonkeyFormDirective, MonkeyFormFieldComponent, MonkeyFormFieldControl, MonkeyFormFieldModule, MonkeyHelperDirective, MonkeyIconButtonComponent, MonkeyInfoDirective, MonkeyInputCodeComponent, MonkeyInputCurrencyDirective, MonkeyInputDateRangeComponent, MonkeyInputDirective, MonkeyInputModule, MonkeyInputPhoneComponent, MonkeyInputUploadComponent, MonkeyLabelDirective, MonkeyModalActionsDirective, MonkeyModalComponent, MonkeyModalConfig, MonkeyModalContentDirective, MonkeyModalModule, MonkeyModalRef, MonkeyModalService, MonkeyModalSubtitleDirective, MonkeyModalTitleDirective, MonkeyOptionComponent, MonkeyPaginationActionComponent, MonkeyPaginationLabelComponent, MonkeyPaginationSizeComponent, MonkeyPassNumberComponent, MonkeyPassSecretNumberComponent, MonkeyPopoverContentComponent, MonkeyPopoverDirective, MonkeyPrefixDirective, MonkeyRadioButtonComponent, MonkeyScrollbarComponent, MonkeySecurityLevelComponent, MonkeySelectComponent, MonkeyStatusComponent, MonkeyStepComponent, MonkeyStepperComponent, MonkeyStepperModule, MonkeyStepperService, MonkeySuffixDirective, MonkeyTabComponent, MonkeyTabLinkDirective, MonkeyTableCellDirective, MonkeyTableColumnDirective, MonkeyTableComponent, MonkeyTableEmptyDirective, MonkeyTableHeaderCellDirective, MonkeyTableLoadingDirective, MonkeyTableRowDetailDirective, MonkeyTabsComponent, MonkeyTabsModule, MonkeyToastComponent, MonkeyToastRef, MonkeyToastService, MonkeyToggleComponent, MonkeyToggleLineButtonComponent, MonkeyToggleLineComponent, MonkeyTooltipComponent, MonkeyTooltipDirective, MonkeyUserProfileButtonComponent, MonkeyUserProfileComponent, addKeys, appliedFrom, ariaSortOf, arityOf, conditionsOf, getCurrencySymbol, indexAtOffset, injectTokenWithWarning, interpolate, isComplete, mergeOrder, offsetOfIndex, panelOf, removeKeys, sameColumnState, selectionState, sortByOrder, toPx, toggleKey, totalHeight, withCondition, withType };
|
|
2790
|
+
export { MECX_COUNTRY_ISO_CODE, MECX_GOOGLE_API_KEY, MECX_I18N_LANG, MECX_I18N_WRAPPER, MECX_MODAL_DATA, MECX_MODAL_DEFAULT_CONFIG, MECX_POPOVER_OPTIONS, MonkeyAccordionComponent, MonkeyActionBarComponent, MonkeyAlertComponent, MonkeyAutocompleteAddressComponent, MonkeyAutocompleteComponent, MonkeyAvatarComponent, MonkeyBadgeComponent, MonkeyBadgeDirective, MonkeyBreadcrumbComponent, MonkeyButtonComponent, MonkeyCheckboxComponent, MonkeyComplexFilterBarComponent, MonkeyDateRangeComponent, MonkeyDictionaryService, MonkeyDisplayDirective, MonkeyDividerComponent, MonkeyDownloadButtonComponent, MonkeyEcxAddressService, MonkeyErrorDirective, MonkeyFilterBarComponent, MonkeyFilterBarService, MonkeyFilterChipComponent, MonkeyFilterMenuComponent, MonkeyFilterMenuItemComponent, MonkeyFilterSegmentComponent, MonkeyFilterTriggerComponent, MonkeyFormDirective, MonkeyFormFieldComponent, MonkeyFormFieldControl, MonkeyFormFieldModule, MonkeyHelperDirective, MonkeyIconButtonComponent, MonkeyInfoDirective, MonkeyInputCodeComponent, MonkeyInputCurrencyDirective, MonkeyInputDateRangeComponent, MonkeyInputDirective, MonkeyInputModule, MonkeyInputPhoneComponent, MonkeyInputUploadComponent, MonkeyLabelDirective, MonkeyModalActionsDirective, MonkeyModalComponent, MonkeyModalConfig, MonkeyModalContentDirective, MonkeyModalModule, MonkeyModalRef, MonkeyModalService, MonkeyModalSubtitleDirective, MonkeyModalTitleDirective, MonkeyOptionComponent, MonkeyPaginationActionComponent, MonkeyPaginationLabelComponent, MonkeyPaginationSizeComponent, MonkeyPassNumberComponent, MonkeyPassSecretNumberComponent, MonkeyPopoverContentComponent, MonkeyPopoverDirective, MonkeyPrefixDirective, MonkeyRadioButtonComponent, MonkeyScrollbarComponent, MonkeySecurityLevelComponent, MonkeySelectComponent, MonkeyStatusComponent, MonkeyStepComponent, MonkeyStepperComponent, MonkeyStepperModule, MonkeyStepperService, MonkeySuffixDirective, MonkeyTabComponent, MonkeyTabLinkDirective, MonkeyTableCellDirective, MonkeyTableColumnDirective, MonkeyTableComponent, MonkeyTableEmptyDirective, MonkeyTableHeaderCellDirective, MonkeyTableLoadingDirective, MonkeyTableRowDetailDirective, MonkeyTabsComponent, MonkeyTabsModule, MonkeyToastComponent, MonkeyToastRef, MonkeyToastService, MonkeyToggleComponent, MonkeyToggleLineButtonComponent, MonkeyToggleLineComponent, MonkeyTooltipComponent, MonkeyTooltipDirective, MonkeyUserProfileButtonComponent, MonkeyUserProfileComponent, addKeys, appliedFrom, ariaSortOf, arityOf, conditionsOf, getCurrencySymbol, indexAtOffset, injectTokenWithWarning, interpolate, isComplete, mergeOrder, offsetOfIndex, panelOf, removeKeys, sameColumnState, selectionState, sortByOrder, toPx, toggleKey, totalHeight, withCondition, withType };
|
|
2780
2791
|
export type { ActiveFilter, AutocompleteSuggestion, AutocompleteSuggestionType, ColumnAlign, ColumnPinned, ComplexFilterCondition, ComplexFilterGroup, ComplexFilterOperator, ComplexFilterResult, FilterBarConfig, FilterBarState, FilterOption, FilterType, GoogleApiPlaces, GoogleApiPlacesAddressComponents, GoogleApiPlacesResponse, MonkeyAlertType, MonkeyAppliedFilter, MonkeyAutocompleteData, MonkeyAutocompleteResponse, MonkeyBreadcrumb, MonkeyButtonColor, MonkeyButtonType, MonkeyDownloadButtonChangeEvent, MonkeyFilterArity, MonkeyFilterBarConfig, MonkeyFilterBarOption, MonkeyFilterBarStatusOption, MonkeyFilterBarType, MonkeyFilterCondition, MonkeyFilterMenuItemProperty, MonkeyFilterOperand, MonkeyFilterOperator, MonkeyFilterPanel, MonkeyFilterRow, MonkeyFilterTriggerVariant, MonkeyInputUploadChangeEvent, MonkeyModalConfirmationConfig, MonkeyModalDefaultConfig, MonkeyPopoverDir, MonkeyPopoverOptions, MonkeyScrollbarOrientation, MonkeyScrollbarSize, MonkeySize, MonkeyTableCellContext, MonkeyTableColumnState, MonkeyTableScrollConfig, MonkeyTableSortKind, MonkeyToastPosition, MonkeyToastType, RowMetrics, SelectionState, SortDirection, SortState, StatusOption, ToastConfig };
|
|
Binary file
|