@cccteam/ccc-lib 0.0.19 → 0.0.20
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/cccteam-ccc-lib-ccc-resource.mjs.map +1 -1
- package/package.json +1 -5
- package/types/cccteam-ccc-lib-ccc-resource.d.ts +3 -14
- package/fesm2022/cccteam-ccc-lib-internal-types.mjs +0 -6
- package/fesm2022/cccteam-ccc-lib-internal-types.mjs.map +0 -1
- package/types/cccteam-ccc-lib-internal-types.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cccteam/ccc-lib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git://github.com/cccteam/ccc-lib.git"
|
|
@@ -61,10 +61,6 @@
|
|
|
61
61
|
"types": "./types/cccteam-ccc-lib-forms.d.ts",
|
|
62
62
|
"default": "./fesm2022/cccteam-ccc-lib-forms.mjs"
|
|
63
63
|
},
|
|
64
|
-
"./internal-types": {
|
|
65
|
-
"types": "./types/cccteam-ccc-lib-internal-types.d.ts",
|
|
66
|
-
"default": "./fesm2022/cccteam-ccc-lib-internal-types.mjs"
|
|
67
|
-
},
|
|
68
64
|
"./types": {
|
|
69
65
|
"types": "./types/cccteam-ccc-lib-types.d.ts",
|
|
70
66
|
"default": "./fesm2022/cccteam-ccc-lib-types.mjs"
|
|
@@ -12,7 +12,7 @@ import { Location } from '@angular/common';
|
|
|
12
12
|
import { MatExpansionPanel } from '@angular/material/expansion';
|
|
13
13
|
import { CamelCaseToTitlePipe } from '@cccteam/ccc-lib/ccc-camel-case-to-title';
|
|
14
14
|
|
|
15
|
-
type ActionButtonContext
|
|
15
|
+
type ActionButtonContext = {
|
|
16
16
|
actionType: 'create' | 'edit' | 'delete';
|
|
17
17
|
meta: ResourceMeta;
|
|
18
18
|
resourceData: RecordData;
|
|
@@ -23,7 +23,7 @@ type ActionButtonContext$1 = {
|
|
|
23
23
|
shouldRender: (data: RecordData) => boolean;
|
|
24
24
|
};
|
|
25
25
|
declare class ActionAccessControlWrapperComponent {
|
|
26
|
-
actionContext: _angular_core.InputSignal<ActionButtonContext
|
|
26
|
+
actionContext: _angular_core.InputSignal<ActionButtonContext | undefined>;
|
|
27
27
|
showAction: _angular_core.Signal<boolean>;
|
|
28
28
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ActionAccessControlWrapperComponent, never>;
|
|
29
29
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ActionAccessControlWrapperComponent, "action-access-control-wrapper", never, { "actionContext": { "alias": "actionContext"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -365,17 +365,6 @@ declare class PaddingElementComponent implements OnInit {
|
|
|
365
365
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaddingElementComponent, "ccc-padding-element", never, { "paddingElement": { "alias": "paddingElement"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
-
type ActionButtonContext = {
|
|
369
|
-
actionType: 'create' | 'edit' | 'delete';
|
|
370
|
-
meta: ResourceMeta;
|
|
371
|
-
resourceData: RecordData;
|
|
372
|
-
shouldRender: (data: RecordData) => boolean;
|
|
373
|
-
} | {
|
|
374
|
-
actionType: 'rpc';
|
|
375
|
-
resourceData: RecordData;
|
|
376
|
-
shouldRender: (data: RecordData) => boolean;
|
|
377
|
-
};
|
|
378
|
-
|
|
379
368
|
declare class ResourceArrayViewComponent implements OnInit {
|
|
380
369
|
resourceMeta: (resource: _cccteam_ccc_lib_types.Resource) => _cccteam_ccc_lib_types.ResourceMeta;
|
|
381
370
|
store: ResourceStore;
|
|
@@ -671,4 +660,4 @@ declare class ResourceViewComponent implements OnInit {
|
|
|
671
660
|
}
|
|
672
661
|
|
|
673
662
|
export { ActionAccessControlWrapperComponent, BaseInputComponent, BaseRPCModalComponent, CompoundResourceComponent, DeleteResourceConfirmationModalComponent, EmptyReadonlyFieldComponent, FormStateService, LeavePageConfirmationModalComponent, PaddingElementComponent, ResourceArrayViewComponent, ResourceCreateComponent, ResourceFieldComponent, ResourceLayoutComponent, ResourceListComponent, ResourceListCreateComponent, ResourceResolverComponent, ResourceStore, ResourceViewComponent, RpcButtonComponent, ValueFormatters, applyFormatting, canDeactivateGuard, civildateCoercion, concatFunctions, createFormGroup, extractFieldNames, flattenElements, formatDateString, generatedNavGroups, generatedNavItems, hyphenConcat, hyphenConcatWithoutResource, hyphenSpaceConcat, hyphenSpaceConcatWithoutResource, isUUID, maxConfigElementRecursionDepth, maxLayoutNestingDepth, metadataTypeCoercion, noSpaceConcatWithoutResource, resourceRoutes, resourceValidators, simpleSlashDateFormatter, spaceConcat, spaceConcatWithoutResource, spaceHyphenConcat, spaceHyphenConcatWithoutResource };
|
|
674
|
-
export type { ActionButtonContext
|
|
663
|
+
export type { ActionButtonContext, CanComponentDeactivate, CanDeactivateType, CreateOperation, DeleteOperation, FormatterFn, Link, Operation, PatchOperation, PristineData, ResourceMap, UpdateOperation };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cccteam-ccc-lib-internal-types.mjs","sources":["../../../projects/ccc-lib/internal-types/cccteam-ccc-lib-internal-types.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;AAEG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@cccteam/ccc-lib/types';
|