@ecodev/natural 66.0.15 → 66.0.17
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/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { WatchQueryFetchPolicy, FetchResult, ApolloLink } from '@apollo/client/c
|
|
|
13
13
|
import { DocumentNode, GraphQLFormattedError } from 'graphql';
|
|
14
14
|
import * as _angular_material_paginator from '@angular/material/paginator';
|
|
15
15
|
import { PageEvent } from '@angular/material/paginator';
|
|
16
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
16
|
+
import { MatTableDataSource, MatCellDef } from '@angular/material/table';
|
|
17
17
|
import { Sort } from '@angular/material/sort';
|
|
18
18
|
import { HttpLink, HttpBatchLink, Options } from 'apollo-angular/http';
|
|
19
19
|
import { ReadonlyDeep } from 'type-fest';
|
|
@@ -3278,7 +3278,7 @@ declare class NaturalIconDirective {
|
|
|
3278
3278
|
private readonly domSanitizer;
|
|
3279
3279
|
private readonly config;
|
|
3280
3280
|
private readonly matIconComponent;
|
|
3281
|
-
readonly naturalIcon: i0.
|
|
3281
|
+
readonly naturalIcon: i0.InputSignalWithTransform<string, string | null | undefined>;
|
|
3282
3282
|
readonly size: i0.InputSignal<number | null | undefined>;
|
|
3283
3283
|
protected readonly icon: i0.Signal<NaturalIconType>;
|
|
3284
3284
|
constructor();
|
|
@@ -4078,7 +4078,7 @@ declare class NaturalStampComponent {
|
|
|
4078
4078
|
declare class NaturalTableButtonComponent {
|
|
4079
4079
|
readonly queryParams: i0.InputSignal<Params>;
|
|
4080
4080
|
readonly queryParamsHandling: i0.InputSignal<QueryParamsHandling>;
|
|
4081
|
-
readonly label: i0.
|
|
4081
|
+
readonly label: i0.InputSignalWithTransform<string, string | number | null | undefined>;
|
|
4082
4082
|
readonly icon: i0.InputSignal<string | null | undefined>;
|
|
4083
4083
|
readonly href: i0.InputSignal<string | null | undefined>;
|
|
4084
4084
|
readonly navigate: i0.InputSignal<string | readonly any[] | UrlTree | null | undefined>;
|
|
@@ -4374,6 +4374,36 @@ declare class NaturalHttpPrefixDirective {
|
|
|
4374
4374
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalHttpPrefixDirective, "[naturalHttpPrefix]", never, { "naturalHttpPrefix": { "alias": "naturalHttpPrefix"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4375
4375
|
}
|
|
4376
4376
|
|
|
4377
|
+
/**
|
|
4378
|
+
* Exactly the same as the original `MatCellDef`, but with the additional `dataSource`
|
|
4379
|
+
* input to specify the type of the element.
|
|
4380
|
+
*
|
|
4381
|
+
* Usage:
|
|
4382
|
+
*
|
|
4383
|
+
* ```html
|
|
4384
|
+
* <table mat-table [dataSource]="dataSource">
|
|
4385
|
+
* <ng-container matColumnDef="name">
|
|
4386
|
+
* <th *matHeaderCellDef mat-header-cell>Name</th>
|
|
4387
|
+
* <td *matCellDef="let element; dataSource: dataSource" mat-cell>
|
|
4388
|
+
* {{ element.name }}
|
|
4389
|
+
* </td>
|
|
4390
|
+
* </ng-container>
|
|
4391
|
+
* </table>
|
|
4392
|
+
* ```
|
|
4393
|
+
*/
|
|
4394
|
+
declare class TypedMatCellDef<T> extends MatCellDef {
|
|
4395
|
+
/**
|
|
4396
|
+
* Should be the same value as the one used in `<table mat-table [dataSource]="dataSource">`
|
|
4397
|
+
*/
|
|
4398
|
+
readonly matCellDefDataSource: i0.InputSignal<T[] | Observable<T[]> | DataSource<T> | undefined>;
|
|
4399
|
+
static ngTemplateContextGuard<T>(dir: TypedMatCellDef<T>, ctx: any): ctx is {
|
|
4400
|
+
$implicit: T;
|
|
4401
|
+
index: number;
|
|
4402
|
+
};
|
|
4403
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TypedMatCellDef<any>, never>;
|
|
4404
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TypedMatCellDef<any>, "[matCellDef]", never, { "matCellDefDataSource": { "alias": "matCellDefDataSource"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4405
|
+
}
|
|
4406
|
+
|
|
4377
4407
|
/**
|
|
4378
4408
|
* Minimal, global providers for Natural to work
|
|
4379
4409
|
*/
|
|
@@ -4386,5 +4416,5 @@ declare const naturalProviders: ApplicationConfig['providers'];
|
|
|
4386
4416
|
*/
|
|
4387
4417
|
declare function graphqlQuerySigner(key: string): HttpInterceptorFn;
|
|
4388
4418
|
|
|
4389
|
-
export { AvatarService, ColorScheme, InvalidWithValueStateMatcher$1 as InvalidWithValueStateMatcher, LOCAL_STORAGE, NATURAL_DROPDOWN_DATA, NATURAL_ICONS_CONFIG, NATURAL_PERSISTENCE_VALIDATOR, NATURAL_SEO_CONFIG, NaturalAbstractDetail, NaturalAbstractEditableList, NaturalAbstractList, NaturalAbstractModelService, NaturalAbstractNavigableList, NaturalAbstractPanel, NaturalAlertService, NaturalAvatarComponent, NaturalBackgroundDensityDirective, NaturalCapitalizePipe, NaturalColorSchemerComponent, NaturalColumnsPickerComponent, NaturalCompactColorSchemerComponent, NaturalConfirmComponent, NaturalDataSource, NaturalDebounceService, NaturalDetailHeaderComponent, NaturalDialogTriggerComponent, NaturalDropdownRef, NaturalEllipsisPipe, NaturalEnumPipe, NaturalEnumService, NaturalErrorHandler, NaturalErrorMessagePipe, NaturalFileComponent, NaturalFileDropDirective, NaturalFileSelectDirective, NaturalFileService, NaturalFixedButtonComponent, NaturalFixedButtonDetailComponent, NaturalHierarchicSelectorComponent, NaturalHierarchicSelectorDialogComponent, NaturalHierarchicSelectorDialogService, NaturalHierarchicSelectorService, NaturalHttpPrefixDirective, NaturalIconDirective, NaturalLinkMutationService, NaturalLinkableTabDirective, NaturalLoggerConfigExtra, NaturalLoggerConfigUrl, NaturalMatomoService, NaturalMemoryStorage, NaturalPanelsComponent, NaturalPanelsService, NaturalPersistenceService, NaturalQueryVariablesManager, NaturalRelationsComponent, NaturalSearchComponent, NaturalSelectComponent, NaturalSelectEnumComponent, NaturalSelectHierarchicComponent, NaturalSeoService, NaturalSidenavComponent, NaturalSidenavContainerComponent, NaturalSidenavContentComponent, NaturalSidenavService, NaturalSidenavStackService, NaturalSrcDensityDirective, NaturalStampComponent, NaturalSwissParsingDateAdapter, NaturalTableButtonComponent, NaturalThemeChangerComponent, NaturalThemeService, NaturalTimeAgoPipe, NetworkActivityService, PanelsHooksConfig, SESSION_STORAGE, SortingOrder, TypeBooleanComponent, TypeDateComponent, TypeDateRangeComponent, TypeHierarchicSelectorComponent, TypeNaturalSelectComponent, TypeNumberComponent, TypeOptionsComponent, TypeSelectComponent, TypeTextComponent, activityInterceptor, available, cancellableTimeout, cloneDeepButSkipFile, collectErrors, commonImageMimeTypes, copyToClipboard, createHttpLink, debug, decimal, deepFreeze, deliverableEmail, ensureHttpPrefix, fallbackIfNoOpenedPanels, formatIsoDate, formatIsoDateTime, fromUrl, getForegroundColor, graphqlQuerySigner, greaterThan, hasFilesAndProcessDate, ifValid, integer, isFile, localStorageFactory, localStorageProvider, makePlural, memoryLocalStorageProvider, memorySessionStorageProvider, mergeOverrideArray, money, naturalPanelsUrlMatcher, naturalProviders, nfcCardHex, onHistoryEvent, possibleComparableOperators, possibleNullComparableOperators, provideErrorHandler, provideIcons, providePanels, provideSeo, provideThemes, relationsToIds, replaceObjectKeepingReference, replaceOperatorByField, replaceOperatorByName, rgbToHex, sessionStorageFactory, sessionStorageProvider, time, toGraphQLDoctrineFilter, toNavigationParameters, toUrl, unique, upperCaseFirstLetter, url, urlPattern, validTlds, validateAllFormControls, validateColumns, validatePagination, validateSorting, wrapLike, wrapPrefix, wrapSuffix };
|
|
4419
|
+
export { AvatarService, ColorScheme, InvalidWithValueStateMatcher$1 as InvalidWithValueStateMatcher, LOCAL_STORAGE, NATURAL_DROPDOWN_DATA, NATURAL_ICONS_CONFIG, NATURAL_PERSISTENCE_VALIDATOR, NATURAL_SEO_CONFIG, NaturalAbstractDetail, NaturalAbstractEditableList, NaturalAbstractList, NaturalAbstractModelService, NaturalAbstractNavigableList, NaturalAbstractPanel, NaturalAlertService, NaturalAvatarComponent, NaturalBackgroundDensityDirective, NaturalCapitalizePipe, NaturalColorSchemerComponent, NaturalColumnsPickerComponent, NaturalCompactColorSchemerComponent, NaturalConfirmComponent, NaturalDataSource, NaturalDebounceService, NaturalDetailHeaderComponent, NaturalDialogTriggerComponent, NaturalDropdownRef, NaturalEllipsisPipe, NaturalEnumPipe, NaturalEnumService, NaturalErrorHandler, NaturalErrorMessagePipe, NaturalFileComponent, NaturalFileDropDirective, NaturalFileSelectDirective, NaturalFileService, NaturalFixedButtonComponent, NaturalFixedButtonDetailComponent, NaturalHierarchicSelectorComponent, NaturalHierarchicSelectorDialogComponent, NaturalHierarchicSelectorDialogService, NaturalHierarchicSelectorService, NaturalHttpPrefixDirective, NaturalIconDirective, NaturalLinkMutationService, NaturalLinkableTabDirective, NaturalLoggerConfigExtra, NaturalLoggerConfigUrl, NaturalMatomoService, NaturalMemoryStorage, NaturalPanelsComponent, NaturalPanelsService, NaturalPersistenceService, NaturalQueryVariablesManager, NaturalRelationsComponent, NaturalSearchComponent, NaturalSelectComponent, NaturalSelectEnumComponent, NaturalSelectHierarchicComponent, NaturalSeoService, NaturalSidenavComponent, NaturalSidenavContainerComponent, NaturalSidenavContentComponent, NaturalSidenavService, NaturalSidenavStackService, NaturalSrcDensityDirective, NaturalStampComponent, NaturalSwissParsingDateAdapter, NaturalTableButtonComponent, NaturalThemeChangerComponent, NaturalThemeService, NaturalTimeAgoPipe, NetworkActivityService, PanelsHooksConfig, SESSION_STORAGE, SortingOrder, TypeBooleanComponent, TypeDateComponent, TypeDateRangeComponent, TypeHierarchicSelectorComponent, TypeNaturalSelectComponent, TypeNumberComponent, TypeOptionsComponent, TypeSelectComponent, TypeTextComponent, TypedMatCellDef, activityInterceptor, available, cancellableTimeout, cloneDeepButSkipFile, collectErrors, commonImageMimeTypes, copyToClipboard, createHttpLink, debug, decimal, deepFreeze, deliverableEmail, ensureHttpPrefix, fallbackIfNoOpenedPanels, formatIsoDate, formatIsoDateTime, fromUrl, getForegroundColor, graphqlQuerySigner, greaterThan, hasFilesAndProcessDate, ifValid, integer, isFile, localStorageFactory, localStorageProvider, makePlural, memoryLocalStorageProvider, memorySessionStorageProvider, mergeOverrideArray, money, naturalPanelsUrlMatcher, naturalProviders, nfcCardHex, onHistoryEvent, possibleComparableOperators, possibleNullComparableOperators, provideErrorHandler, provideIcons, providePanels, provideSeo, provideThemes, relationsToIds, replaceObjectKeepingReference, replaceOperatorByField, replaceOperatorByName, rgbToHex, sessionStorageFactory, sessionStorageProvider, time, toGraphQLDoctrineFilter, toNavigationParameters, toUrl, unique, upperCaseFirstLetter, url, urlPattern, validTlds, validateAllFormControls, validateColumns, validatePagination, validateSorting, wrapLike, wrapPrefix, wrapSuffix };
|
|
4390
4420
|
export type { AvailableColumn, Button, DropdownComponent, DropdownFacet, ExtractResolve, ExtractTall, ExtractTallOne, ExtractTcreate, ExtractTdelete, ExtractTone, ExtractTupdate, ExtractVall, ExtractVcreate, ExtractVdelete, ExtractVone, ExtractVupdate, Facet, FileModel, FileSelection, Filter, FilterGroupConditionField, FlagFacet, FormAsyncValidators, FormControls, FormValidators, HierarchicDialogConfig, HierarchicDialogResult, HierarchicFilterConfiguration$1 as HierarchicFilterConfiguration, HierarchicFiltersConfiguration$1 as HierarchicFiltersConfiguration, IEnum, InvalidFile, LinkableObject, Literal, NameOrFullName, NaturalConfirmData, NaturalDialogTriggerProvidedData, NaturalDialogTriggerRedirectionValues, NaturalDialogTriggerRoutingData, NaturalDropdownData, NaturalHierarchicConfiguration, NaturalIconConfig, NaturalIconsConfig, NaturalLoggerExtra, NaturalLoggerType, NaturalPalette, NaturalPanelConfig, NaturalPanelData, NaturalPanelResolves, NaturalPanelsBeforeOpenPanel, NaturalPanelsHooksConfig, NaturalPanelsRouteConfig, NaturalPanelsRouterRule, NaturalPanelsRoutesConfig, NaturalSearchFacets, NaturalSearchSelection, NaturalSearchSelections, NaturalSeo, NaturalSeoBasic, NaturalSeoCallback, NaturalSeoConfig, NaturalSeoResolve, NaturalSeoResolveData, NaturalStorage, NavigableItem, OrganizedModelSelection, PaginatedData, PaginationInput, PersistenceValidator, PossibleComparableOperator, PossibleComparableOperatorKeys, QueryVariables, ResolvedData, Sorting, SubButton, TypeBooleanConfiguration, TypeDateConfiguration, TypeDateRangeConfiguration, TypeHierarchicSelectorConfiguration, TypeNumberConfiguration, TypeOption, TypeOptionsConfiguration, TypeSelectConfiguration, TypeSelectItem, TypeSelectNaturalConfiguration, VariablesWithInput, WithId };
|
package/package.json
CHANGED
package/src/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.component.scss
CHANGED
|
@@ -51,7 +51,7 @@ mat-nested-tree-node {
|
|
|
51
51
|
|
|
52
52
|
mat-nested-tree-node {
|
|
53
53
|
display: block;
|
|
54
|
-
padding-left:
|
|
54
|
+
padding-left: 48px !important;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -60,7 +60,7 @@ mat-nested-tree-node {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.unexpandable {
|
|
63
|
-
padding-left:
|
|
63
|
+
padding-left: 48px;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.selection {
|