Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cruddle

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cruddle - npm Package Compare versions

Comparing version 0.10.0 to 1.0.0-alpha.2

dist/base.d.ts

12

CHANGELOG.md

@@ -0,1 +1,13 @@

# 1.0.0-alpha.2
* Upgrade to ModelSafe `0.7.1`
* Fix props observable being empty on base state
# 1.0.0-alpha1
* Rework library completely - removing components in favour of service/injectable based architecture
* Screens are now composed of:
* A describer, which takes a ModelSafe model and automatically describes how a CRUDL screen should look
* A state, which is initialized by a describer and is used to control the actual functionality of a CRUDL screen
# 0.10.0

@@ -2,0 +14,0 @@

8

dist/components/list.d.ts

@@ -77,10 +77,2 @@ import { OnInit, EventEmitter } from '@angular/core';

/**
* Sets the number of items to display per page.
* This will do nothing if paging information has not been provided.
*
* @param itemsPerPage The number of items to display on a page. Must be at least 1.
* @param refresh Whether or not to refresh the list after. Defaults to true.
*/
setItemsPerPage(itemsPerPage: number, refresh?: boolean): void;
/**
* Set the current view mode of the list.

@@ -87,0 +79,0 @@ *

@@ -185,19 +185,2 @@ "use strict";

/**
* Sets the number of items to display per page.
* This will do nothing if paging information has not been provided.
*
* @param itemsPerPage The number of items to display on a page. Must be at least 1.
* @param refresh Whether or not to refresh the list after. Defaults to true.
*/
ListComponent.prototype.setItemsPerPage = function (itemsPerPage, refresh) {
if (refresh === void 0) { refresh = true; }
if (this.hasPaging()) {
var paging = this.state.paging;
paging.itemsPerPage = Math.max(itemsPerPage, 1);
}
if (refresh) {
this.refresh();
}
};
/**
* Set the current view mode of the list.

@@ -204,0 +187,0 @@ *

2

dist/components/list.metadata.json

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"ListComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./base","name":"BaseComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"cruddle-list","template":"\n <div class=\"cruddle-list\">\n <ng-content></ng-content>\n </div>\n "}]}],"members":{"def":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"state":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"error":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"ngOnInit":[{"__symbolic":"method"}],"clearSorting":[{"__symbolic":"method"}],"clearFiltering":[{"__symbolic":"method"}],"sort":[{"__symbolic":"method"}],"addFilter":[{"__symbolic":"method"}],"removeFilter":[{"__symbolic":"method"}],"hasPaging":[{"__symbolic":"method"}],"setPage":[{"__symbolic":"method"}],"setItemsPerPage":[{"__symbolic":"method"}],"setMode":[{"__symbolic":"method"}],"firstPage":[{"__symbolic":"method"}],"lastPage":[{"__symbolic":"method"}],"nextPage":[{"__symbolic":"method"}],"previousPage":[{"__symbolic":"method"}],"refresh":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ListComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./base","name":"BaseComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"cruddle-list","template":"\n <div class=\"cruddle-list\">\n <ng-content></ng-content>\n </div>\n "}]}],"members":{"def":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"state":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"error":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"ngOnInit":[{"__symbolic":"method"}],"clearSorting":[{"__symbolic":"method"}],"clearFiltering":[{"__symbolic":"method"}],"sort":[{"__symbolic":"method"}],"addFilter":[{"__symbolic":"method"}],"removeFilter":[{"__symbolic":"method"}],"hasPaging":[{"__symbolic":"method"}],"setPage":[{"__symbolic":"method"}],"setItemsPerPage":[{"__symbolic":"method"}],"setMode":[{"__symbolic":"method"}],"firstPage":[{"__symbolic":"method"}],"lastPage":[{"__symbolic":"method"}],"nextPage":[{"__symbolic":"method"}],"previousPage":[{"__symbolic":"method"}],"refresh":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"ListComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./base","name":"BaseComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"cruddle-list","template":"\n <div class=\"cruddle-list\">\n <ng-content></ng-content>\n </div>\n "}]}],"members":{"def":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"state":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"error":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"ngOnInit":[{"__symbolic":"method"}],"clearSorting":[{"__symbolic":"method"}],"clearFiltering":[{"__symbolic":"method"}],"sort":[{"__symbolic":"method"}],"addFilter":[{"__symbolic":"method"}],"removeFilter":[{"__symbolic":"method"}],"hasPaging":[{"__symbolic":"method"}],"setPage":[{"__symbolic":"method"}],"setMode":[{"__symbolic":"method"}],"firstPage":[{"__symbolic":"method"}],"lastPage":[{"__symbolic":"method"}],"nextPage":[{"__symbolic":"method"}],"previousPage":[{"__symbolic":"method"}],"refresh":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ListComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./base","name":"BaseComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"cruddle-list","template":"\n <div class=\"cruddle-list\">\n <ng-content></ng-content>\n </div>\n "}]}],"members":{"def":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"state":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"error":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"ngOnInit":[{"__symbolic":"method"}],"clearSorting":[{"__symbolic":"method"}],"clearFiltering":[{"__symbolic":"method"}],"sort":[{"__symbolic":"method"}],"addFilter":[{"__symbolic":"method"}],"removeFilter":[{"__symbolic":"method"}],"hasPaging":[{"__symbolic":"method"}],"setPage":[{"__symbolic":"method"}],"setMode":[{"__symbolic":"method"}],"firstPage":[{"__symbolic":"method"}],"lastPage":[{"__symbolic":"method"}],"nextPage":[{"__symbolic":"method"}],"previousPage":[{"__symbolic":"method"}],"refresh":[{"__symbolic":"method"}]}}}}]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=base.js.map

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"FormErrors":{"__symbolic":"interface"},"FormError":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Error"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"FormState":{"__symbolic":"interface"},"FormDefinition":{"__symbolic":"interface"}}},{"__symbolic":"module","version":1,"metadata":{"FormErrors":{"__symbolic":"interface"},"FormError":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Error"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"FormState":{"__symbolic":"interface"},"FormDefinition":{"__symbolic":"interface"}}}]
[{"__symbolic":"module","version":3,"metadata":{"FormError":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Error"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":27,"character":40,"context":{"typeName":"FormErrors"}}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"FormError":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Error"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":27,"character":40,"context":{"typeName":"FormErrors"}}]}]}}}}]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/** The order that a property can be sorted by. */

@@ -3,0 +4,0 @@ var SortOrder;

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"SortOrder":{"ASC":0,"DESC":1},"ASC":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"SortOrder"},"member":"ASC"},"DESC":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"SortOrder"},"member":"DESC"},"ListMode":{"__symbolic":"interface"},"SortState":{"__symbolic":"interface"},"FilterState":{"__symbolic":"interface"},"PagingState":{"__symbolic":"interface"},"ListState":{"__symbolic":"interface"},"ListDefinition":{"__symbolic":"interface"}}},{"__symbolic":"module","version":1,"metadata":{"SortOrder":{"ASC":0,"DESC":1},"ASC":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"SortOrder"},"member":"ASC"},"DESC":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"SortOrder"},"member":"DESC"},"ListMode":{"__symbolic":"interface"},"SortState":{"__symbolic":"interface"},"FilterState":{"__symbolic":"interface"},"PagingState":{"__symbolic":"interface"},"ListState":{"__symbolic":"interface"},"ListDefinition":{"__symbolic":"interface"}}}]
[{"__symbolic":"module","version":3,"metadata":{"SortOrder":{"ASC":0,"DESC":1},"ASC":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"SortOrder"},"member":"ASC"},"DESC":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"SortOrder"},"member":"DESC"}}},{"__symbolic":"module","version":1,"metadata":{"SortOrder":{"ASC":0,"DESC":1},"ASC":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"SortOrder"},"member":"ASC"},"DESC":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"SortOrder"},"member":"DESC"}}}]

@@ -10,2 +10,3 @@ "use strict";

};
Object.defineProperty(exports, "__esModule", { value: true });
var _ = require("lodash");

@@ -12,0 +13,0 @@ var inflection_1 = require("inflection");

@@ -1,5 +0,7 @@

export * from './components';
export * from './definitions';
export * from './helpers';
export * from './base';
export * from './delete';
export * from './form';
export * from './list';
export * from './read';
export * from './metadata';
export * from './module';

@@ -5,7 +5,9 @@ "use strict";

}
__export(require("./components"));
__export(require("./definitions"));
__export(require("./helpers"));
__export(require("./base"));
__export(require("./delete"));
__export(require("./form"));
__export(require("./list"));
__export(require("./read"));
__export(require("./metadata"));
__export(require("./module"));
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./components"},{"from":"./definitions"},{"from":"./helpers"},{"from":"./metadata"},{"from":"./module"}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./components"},{"from":"./definitions"},{"from":"./helpers"},{"from":"./metadata"},{"from":"./module"}]}]
[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./base"},{"from":"./delete"},{"from":"./form"},{"from":"./list"},{"from":"./read"},{"from":"./metadata"},{"from":"./module"}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./base"},{"from":"./delete"},{"from":"./form"},{"from":"./list"},{"from":"./read"},{"from":"./metadata"},{"from":"./module"}]}]
import 'reflect-metadata';
import { PropertyDefinition, AttributeDefinition, AssociationDefinition } from './definitions/base';
import { PropertyDescription, AttributeDescription, AssociationDescription } from './base';
/** The meta key for a model's property options. */

@@ -12,3 +12,3 @@ export declare const MODEL_PROP_OPTIONS_META_KEY = "cruddle:propOptions";

*/
export declare function definePropertyOptions(ctor: Object, key: string | symbol, options: Partial<PropertyDefinition>): void;
export declare function definePropertyOptions(ctor: object, key: string | symbol, options: Partial<PropertyDescription>): void;
/**

@@ -21,3 +21,3 @@ * Get the property options for a model constructor.

*/
export declare function getPropertyOptions(ctor: Function, key: string | symbol): PropertyDefinition;
export declare function getPropertyOptions(ctor: Function, key: string | symbol): PropertyDescription;
/**

@@ -30,3 +30,3 @@ * Define any attribute options on the model constructor.

*/
export declare function defineAttributeOptions(ctor: Object, key: string | symbol, options: Partial<AttributeDefinition>): void;
export declare function defineAttributeOptions(ctor: object, key: string | symbol, options: Partial<AttributeDescription>): void;
/**

@@ -39,3 +39,3 @@ * Get the attribute options for a model constructor.

*/
export declare function getAttributeOptions(ctor: Function, key: string | symbol): AttributeDefinition;
export declare function getAttributeOptions(ctor: Function, key: string | symbol): AttributeDescription;
/**

@@ -48,3 +48,3 @@ * Define any association options on the model constructor.

*/
export declare function defineAssociationOptions(ctor: Object, key: string | symbol, options: Partial<AssociationDefinition>): void;
export declare function defineAssociationOptions(ctor: object, key: string | symbol, options: Partial<AssociationDescription>): void;
/**

@@ -57,3 +57,3 @@ * Get the attribute options for a model constructor.

*/
export declare function getAssociationOptions(ctor: Function, key: string | symbol): AssociationDefinition;
export declare function getAssociationOptions(ctor: Function, key: string | symbol): AssociationDescription;
/**

@@ -67,3 +67,3 @@ * A decorator for overriding attribute definition options.

*/
export declare function attr(value: Partial<AttributeDefinition>): (ctor: Object, key: string | symbol) => void;
export declare function attr(value: Partial<AttributeDescription>): (ctor: Object, key: string | symbol) => void;
/**

@@ -77,3 +77,3 @@ * A decorator for overriding association definition options.

*/
export declare function assoc(value: Partial<AssociationDefinition>): (ctor: Object, key: string | symbol) => void;
export declare function assoc(value: Partial<AssociationDescription>): (ctor: Object, key: string | symbol) => void;
/**

@@ -80,0 +80,0 @@ * A decorator for attribute labels.

@@ -10,2 +10,3 @@ "use strict";

};
/* tslint:disable:ban-types */
require("reflect-metadata");

@@ -12,0 +13,0 @@ /** The meta key for a model's property options. */

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"MODEL_PROP_OPTIONS_META_KEY":"cruddle:propOptions","definePropertyOptions":{"__symbolic":"function"},"getPropertyOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"visible":true,"label":{"__symbolic":"reference","name":"key"}}},"defineAttributeOptions":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":47,"character":42}},"getAttributeOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":58,"character":9}},"defineAssociationOptions":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":69,"character":42}},"getAssociationOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":80,"character":9}},"attr":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":92,"character":9}},"assoc":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":104,"character":9}},"label":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":116,"character":9}},"sortable":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":126,"character":9}},"filterable":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":136,"character":9}},"visible":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":146,"character":9}}}},{"__symbolic":"module","version":1,"metadata":{"MODEL_PROP_OPTIONS_META_KEY":"cruddle:propOptions","definePropertyOptions":{"__symbolic":"function"},"getPropertyOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"visible":true,"label":{"__symbolic":"reference","name":"key"}}},"defineAttributeOptions":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":47,"character":42}},"getAttributeOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":58,"character":9}},"defineAssociationOptions":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":69,"character":42}},"getAssociationOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":80,"character":9}},"attr":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":92,"character":9}},"assoc":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":104,"character":9}},"label":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":116,"character":9}},"sortable":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":126,"character":9}},"filterable":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":136,"character":9}},"visible":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":146,"character":9}}}}]
[{"__symbolic":"module","version":3,"metadata":{"MODEL_PROP_OPTIONS_META_KEY":"cruddle:propOptions","definePropertyOptions":{"__symbolic":"function"},"getPropertyOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"visible":true,"label":{"__symbolic":"reference","name":"key"}}},"defineAttributeOptions":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":48,"character":42}},"getAttributeOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":59,"character":9}},"defineAssociationOptions":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":70,"character":42}},"getAssociationOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":81,"character":9}},"attr":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":93,"character":9}},"assoc":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":105,"character":9}},"label":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":117,"character":9}},"sortable":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":127,"character":9}},"filterable":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":137,"character":9}},"visible":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":147,"character":9}}}},{"__symbolic":"module","version":1,"metadata":{"MODEL_PROP_OPTIONS_META_KEY":"cruddle:propOptions","definePropertyOptions":{"__symbolic":"function"},"getPropertyOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"visible":true,"label":{"__symbolic":"reference","name":"key"}}},"defineAttributeOptions":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":48,"character":42}},"getAttributeOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":59,"character":9}},"defineAssociationOptions":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":70,"character":42}},"getAssociationOptions":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":81,"character":9}},"attr":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":93,"character":9}},"assoc":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":105,"character":9}},"label":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":117,"character":9}},"sortable":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":127,"character":9}},"filterable":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":137,"character":9}},"visible":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":147,"character":9}}}}]
"use strict";
var core_1 = require("@angular/core");
var common_1 = require("@angular/common");
var delete_1 = require("./components/delete");
var form_1 = require("./components/form");
var list_1 = require("./components/list");
var read_1 = require("./components/read");
var form_1 = require("./form");
var read_1 = require("./read");
var delete_1 = require("./delete");
var list_1 = require("./list");
/**

@@ -21,13 +21,7 @@ * The module containing all of the Cruddle components.

imports: [common_1.CommonModule],
declarations: [
delete_1.DeleteComponent,
form_1.FormComponent,
list_1.ListComponent,
read_1.ReadComponent
],
exports: [
delete_1.DeleteComponent,
form_1.FormComponent,
list_1.ListComponent,
read_1.ReadComponent
providers: [
form_1.AutoFormDescriber,
read_1.AutoReadDescriber,
delete_1.AutoDeleteDescriber,
list_1.AutoListDescriber
]

@@ -34,0 +28,0 @@ },] },

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"CruddleModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","module":"./components/delete","name":"DeleteComponent"},{"__symbolic":"reference","module":"./components/form","name":"FormComponent"},{"__symbolic":"reference","module":"./components/list","name":"ListComponent"},{"__symbolic":"reference","module":"./components/read","name":"ReadComponent"}],"exports":[{"__symbolic":"reference","module":"./components/delete","name":"DeleteComponent"},{"__symbolic":"reference","module":"./components/form","name":"FormComponent"},{"__symbolic":"reference","module":"./components/list","name":"ListComponent"},{"__symbolic":"reference","module":"./components/read","name":"ReadComponent"}]}]}]}}},{"__symbolic":"module","version":1,"metadata":{"CruddleModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","module":"./components/delete","name":"DeleteComponent"},{"__symbolic":"reference","module":"./components/form","name":"FormComponent"},{"__symbolic":"reference","module":"./components/list","name":"ListComponent"},{"__symbolic":"reference","module":"./components/read","name":"ReadComponent"}],"exports":[{"__symbolic":"reference","module":"./components/delete","name":"DeleteComponent"},{"__symbolic":"reference","module":"./components/form","name":"FormComponent"},{"__symbolic":"reference","module":"./components/list","name":"ListComponent"},{"__symbolic":"reference","module":"./components/read","name":"ReadComponent"}]}]}]}}}]
[{"__symbolic":"module","version":3,"metadata":{"CruddleModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"providers":[{"__symbolic":"reference","module":"./form","name":"AutoFormDescriber"},{"__symbolic":"reference","module":"./read","name":"AutoReadDescriber"},{"__symbolic":"reference","module":"./delete","name":"AutoDeleteDescriber"},{"__symbolic":"reference","module":"./list","name":"AutoListDescriber"}]}]}]}}},{"__symbolic":"module","version":1,"metadata":{"CruddleModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"providers":[{"__symbolic":"reference","module":"./form","name":"AutoFormDescriber"},{"__symbolic":"reference","module":"./read","name":"AutoReadDescriber"},{"__symbolic":"reference","module":"./delete","name":"AutoDeleteDescriber"},{"__symbolic":"reference","module":"./list","name":"AutoListDescriber"}]}]}]}}}]
{
"name": "cruddle",
"version": "0.10.0",
"version": "1.0.0-alpha.2",
"main": "dist/index.js",

@@ -24,5 +24,7 @@ "bugs": "https://github.com/creativecuriositystudio/cruddle/issues",

"prepush": "npm run lint",
"prepublish": "ngc",
"prepublish": "npm run build",
"publish": "npm run docs:deploy",
"build": "ngc",
"docs": "compodoc -d docs -p tsconfig.json",
"docs:deploy": "npm run docs && gh-pages -d docs",
"test": "mocha --opts mocha.opts",

@@ -36,3 +38,3 @@ "test:auto": "mocha --opts mocha.opts --watch",

"@angular/core": "^4.0.0",
"modelsafe": ">= 0.6.0"
"modelsafe": ">=0.7.1 <0.8.0"
},

@@ -53,11 +55,12 @@ "devDependencies": {

"compodoc": "0.0.41",
"gh-pages": "^0.12.0",
"husky": "^0.13.2",
"mocha": "^3.2.0",
"modelsafe": ">= 0.6.0",
"modelsafe": ">=0.7.1 <0.8.0",
"reflect-metadata": "^0.1.8",
"rxjs": "^5.0.0",
"ts-node": "^2.1.0",
"tslint": "^4.3.0",
"tslint-config-ccs": "^0.3.2",
"typescript": "^2.1.0",
"tslint": "^5.0.0",
"tslint-config-ccs": "^0.5.0",
"typescript": "^2.2.0",
"zone.js": "^0.8.4"

@@ -64,0 +67,0 @@ },

@@ -9,14 +9,8 @@ # Cruddle

automatically provided by ModelSafe, so the actual work you need to do develop Angular components
for CRUDL screens is minimal. CRUDL provides all of the functionality and information required for CRUDL screens -
you just need write the HTML structure of your CRUDL components using the base Cruddle components.
for CRUDL screens is minimal. Cruddle provides all of the functionality to describe how a screen
should look and perform from a ModelSafe model, and you just need to turn that stateful information
into Angular templates.
The Cruddle library is made up of the following base components:
For a general run down of how the library works, see the usage section below.
* `FormComponent`: A component to be used on a create or update screen.
* `ReadComponent`: A component to be used on a view/read screen.
* `DeleteComponent`: A component to be used on a delete screen.
* `ListComponent`: A component to be used on a list screen.
For explanation of how to use these components, see below.
## Installation

@@ -32,16 +26,18 @@

Cruddle aims to separate the definition of each CRUDL screen
from the actual structure. This means that you define
the filters, sorting, permissions, contextual actions, fields, etc.
separate to the HTML structure in Cruddle definitions
and then your component's template turns this into an appropiate HTML structure.
Cruddle separates the concept of a screen into three components:
There are four types of definitions in Cruddle and they correspond directly
to the available components:
* The description of a screen, which might describe the columns to show in a list, what buttons
to show on the screen and so on. Basically a literal description of how the UI might function.
* The user interface (UI) which takes the description of a screen and renders it using
HTML and then creates visual elements that can change the screen state.
* The state of a screen, which the UI interacts with in order to keep track of certain
functionality related to the screen. For example, the state of a list might contain
pagination information
* `FormDefinition`: Defines the functionality of a create/update screen.
* `ReadDefinition`: Defines the functionality of a view/read screen.
* `DeleteDefinition`: Defines the functionality of a delete screen.
* `ListDefinition`: Defines the functionality of a list screen.
In a sense, the UI can be thought of as visual glue between a screen describer (produces
screen descriptions) and a screen state.
Each different CRUDL action has its own respective describer and state types.
These can be used to write the base components/user interfaces for each CRUDL action.
### Create & Update

@@ -51,26 +47,30 @@

act the same or extremely similar when it comes to UI. To encourage writing minimal code,
Cruddle's create and update component are merged into the one
component `FormComponent`. You can still have two separate
components that both use the `FormComponent` if you need functionality
specific to the create or update screen.
Cruddle's create and update functionality are described by the single `FormDescriber` class.
In order to generate a `FormState`, you should extend the `FormDescriber` with a model-specific
version.
The selector for the form component is `<cruddle-form/>`.
The form component takes a `FormDefinition`, which describes
how the form component actually functions.
If you have no custom functionality, you can use the `AutoFormDescriber` provider
included in `CruddleModule` to generate default form describers for models. You will still
need to provide the `save` function to use for saving the form data.
### Read
The selector for the read component is `<cruddle-read/>`.
The read component takes a `ReadDefinition`, which describes
how the form component actually functions.
In order to generate a `ReadState`, you should extend the `ReadDescriber` with a model-specific
version.
If you have no custom functionality, you can use the `AutoReadDescriber` provider
included in `CruddleModule` to generate default read describers for models.
### Delete
The selector for the delete component is `<cruddle-delete/>`.
The delete component takes a `DeleteDefinition`, which describes
how the form component actually functions.
In order to generate a `DeleteState`, you should extend the `DeleteDescriber` with a model-specific
version.
If you have no custom functionality, you can use the `AutoDeleteDescriber` provider
included in `CruddleModule` to generate default delete describers for models. You will
still need to provide the `delete` function to use for deleting the model data.
Note that some applications may have the delete screen as a popup
on the list screen rather than a separate screen. If that's the case,
then the delete component can just be ignored and a global action can be
then the delete component can just be ignored and a delete action can be
added to the list component.

@@ -80,6 +80,9 @@

The selector for the list component is `<cruddle-delete/>`.
The delete component takes a `DeleteDefinition`, which describes
how the form component actually functions.
In order to generate a `ListState`, you should extend the `ListDescriber` with a model-specific
version.
If you have no custom functionality, you can use the `AutoListDescriber` provider
included in `CruddleModule` to generate default delete describers for models. You will
still need to provide the `refresh` function to use for refreshing the list screen.
## Documentatation

@@ -86,0 +89,0 @@

@@ -1,1 +0,1 @@

{"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbol":1,"members":[]}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbol":3,"members":[]}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbol":5,"members":[]}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbol":7,"members":[]}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbol":9,"members":[]}},{"symbol":{"__symbol":10,"members":[]},"metadata":{"__symbol":11,"members":[]}},{"symbol":{"__symbol":12,"members":[]},"metadata":{"__symbol":13,"members":[]}},{"symbol":{"__symbol":14,"members":[]},"metadata":{"__symbol":15,"members":[]}},{"symbol":{"__symbol":16,"members":[]},"metadata":{"__symbol":17,"members":[]}},{"symbol":{"__symbol":18,"members":[]},"metadata":{"__symbol":19,"members":[]}},{"symbol":{"__symbol":20,"members":[]},"metadata":{"__symbol":21,"members":[]}},{"symbol":{"__symbol":22,"members":[]},"metadata":{"__symbol":23,"members":[]}},{"symbol":{"__symbol":24,"members":[]},"metadata":{"__symbol":25,"members":[]}},{"symbol":{"__symbol":26,"members":[]},"metadata":{"__symbol":27,"members":[]}},{"symbol":{"__symbol":28,"members":[]},"metadata":{"__symbol":29,"members":[]}},{"symbol":{"__symbol":30,"members":[]},"metadata":{"__symbol":31,"members":[]}},{"symbol":{"__symbol":32,"members":[]},"metadata":{"__symbol":33,"members":[]}},{"symbol":{"__symbol":34,"members":[]},"metadata":{"__symbol":35,"members":[]}},{"symbol":{"__symbol":36,"members":[]},"metadata":{"__symbol":37,"members":[]}},{"symbol":{"__symbol":38,"members":[]},"metadata":{"__symbol":39,"members":[]}},{"symbol":{"__symbol":40,"members":[]},"metadata":{"__symbol":41,"members":[]}},{"symbol":{"__symbol":42,"members":[]},"metadata":{"__symbol":43,"members":[]}},{"symbol":{"__symbol":44,"members":[]},"metadata":{"__symbol":45,"members":[]}},{"symbol":{"__symbol":46,"members":[]},"metadata":{"__symbol":47,"members":[]}},{"symbol":{"__symbol":48,"members":[]},"metadata":{"__symbol":49,"members":[]}},{"symbol":{"__symbol":50,"members":[]},"metadata":{"__symbol":51,"members":[]}},{"symbol":{"__symbol":52,"members":[]},"metadata":{"__symbol":53,"members":[]}},{"symbol":{"__symbol":54,"members":[]},"metadata":{"__symbol":55,"members":[]}},{"symbol":{"__symbol":56,"members":[]},"metadata":{"__symbol":57,"members":[]}},{"symbol":{"__symbol":58,"members":[]},"metadata":{"__symbol":59,"members":[]}},{"symbol":{"__symbol":60,"members":[]},"metadata":{"__symbol":61,"members":[]}},{"symbol":{"__symbol":62,"members":[]},"metadata":{"__symbol":63,"members":[]}},{"symbol":{"__symbol":64,"members":[]},"metadata":{"__symbol":65,"members":[]}},{"symbol":{"__symbol":66,"members":[]},"metadata":{"__symbol":67,"members":[]}},{"symbol":{"__symbol":68,"members":[]},"metadata":{"__symbol":69,"members":[]}},{"symbol":{"__symbol":70,"members":[]},"metadata":{"__symbol":71,"members":[]}},{"symbol":{"__symbol":72,"members":[]},"metadata":{"__symbol":73,"members":[]}},{"symbol":{"__symbol":74,"members":[]},"metadata":{"__symbol":75,"members":[]}},{"symbol":{"__symbol":76,"members":[]},"metadata":{"__symbol":77,"members":[]}},{"symbol":{"__symbol":78,"members":[]},"metadata":{"__symbol":79,"members":[]}},{"symbol":{"__symbol":80,"members":[]},"metadata":{"__symbol":81,"members":[]}},{"symbol":{"__symbol":82,"members":[]},"metadata":{"__symbol":83,"members":[]}},{"symbol":{"__symbol":84,"members":[]},"metadata":{"__symbol":85,"members":[]}}],"symbols":[{"__symbol":0,"name":"BaseComponent","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":1,"name":"BaseComponent","filePath":"/home/zack/dev/cruddle/src/components/index.d.ts"},{"__symbol":2,"name":"DeleteComponent","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":3,"name":"DeleteComponent","filePath":"/home/zack/dev/cruddle/src/components/index.d.ts"},{"__symbol":4,"name":"FormComponent","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":5,"name":"FormComponent","filePath":"/home/zack/dev/cruddle/src/components/index.d.ts"},{"__symbol":6,"name":"ListComponent","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":7,"name":"ListComponent","filePath":"/home/zack/dev/cruddle/src/components/index.d.ts"},{"__symbol":8,"name":"ReadComponent","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":9,"name":"ReadComponent","filePath":"/home/zack/dev/cruddle/src/components/index.d.ts"},{"__symbol":10,"name":"PropertyValueDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":11,"name":"PropertyValueDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":12,"name":"PropertyDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":13,"name":"PropertyDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":14,"name":"AttributeDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":15,"name":"AttributeDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":16,"name":"AssociationDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":17,"name":"AssociationDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":18,"name":"ActionDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":19,"name":"ActionDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":20,"name":"GlobalActionDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":21,"name":"GlobalActionDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":22,"name":"ContextualActionDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":23,"name":"ContextualActionDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":24,"name":"BaseDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":25,"name":"BaseDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":26,"name":"DeleteDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":27,"name":"DeleteDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":28,"name":"FormErrors","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":29,"name":"FormErrors","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":30,"name":"FormError","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":31,"name":"FormError","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":32,"name":"FormState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":33,"name":"FormState","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":34,"name":"FormDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":35,"name":"FormDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":36,"name":"SortOrder","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":37,"name":"SortOrder","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":38,"name":"ASC","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":39,"name":"ASC","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":40,"name":"DESC","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":41,"name":"DESC","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":42,"name":"ListMode","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":43,"name":"ListMode","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":44,"name":"SortState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":45,"name":"SortState","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":46,"name":"FilterState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":47,"name":"FilterState","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":48,"name":"PagingState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":49,"name":"PagingState","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":50,"name":"ListState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":51,"name":"ListState","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":52,"name":"ListDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":53,"name":"ListDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":54,"name":"ReadDefinition","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":55,"name":"ReadDefinition","filePath":"/home/zack/dev/cruddle/src/definitions/index.d.ts"},{"__symbol":56,"name":"Definitions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":57,"name":"Definitions","filePath":"/home/zack/dev/cruddle/src/helpers.d.ts"},{"__symbol":58,"name":"MODEL_PROP_OPTIONS_META_KEY","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":59,"name":"MODEL_PROP_OPTIONS_META_KEY","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":60,"name":"definePropertyOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":61,"name":"definePropertyOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":62,"name":"getPropertyOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":63,"name":"getPropertyOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":64,"name":"defineAttributeOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":65,"name":"defineAttributeOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":66,"name":"getAttributeOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":67,"name":"getAttributeOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":68,"name":"defineAssociationOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":69,"name":"defineAssociationOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":70,"name":"getAssociationOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":71,"name":"getAssociationOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":72,"name":"attr","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":73,"name":"attr","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":74,"name":"assoc","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":75,"name":"assoc","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":76,"name":"label","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":77,"name":"label","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":78,"name":"sortable","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":79,"name":"sortable","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":80,"name":"filterable","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":81,"name":"filterable","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":82,"name":"visible","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":83,"name":"visible","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":84,"name":"CruddleModule","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":85,"name":"CruddleModule","filePath":"/home/zack/dev/cruddle/src/module.d.ts"}]}
{"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbol":1,"members":[]}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbol":3,"members":[]}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbol":5,"members":[]}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbol":7,"members":[]}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbol":9,"members":[]}},{"symbol":{"__symbol":10,"members":[]},"metadata":{"__symbol":11,"members":[]}},{"symbol":{"__symbol":12,"members":[]},"metadata":{"__symbol":13,"members":[]}},{"symbol":{"__symbol":14,"members":[]},"metadata":{"__symbol":15,"members":[]}},{"symbol":{"__symbol":16,"members":[]},"metadata":{"__symbol":17,"members":[]}},{"symbol":{"__symbol":18,"members":[]},"metadata":{"__symbol":19,"members":[]}},{"symbol":{"__symbol":20,"members":[]},"metadata":{"__symbol":21,"members":[]}},{"symbol":{"__symbol":22,"members":[]},"metadata":{"__symbol":23,"members":[]}},{"symbol":{"__symbol":24,"members":[]},"metadata":{"__symbol":25,"members":[]}},{"symbol":{"__symbol":26,"members":[]},"metadata":{"__symbol":27,"members":[]}},{"symbol":{"__symbol":28,"members":[]},"metadata":{"__symbol":29,"members":[]}},{"symbol":{"__symbol":30,"members":[]},"metadata":{"__symbol":31,"members":[]}},{"symbol":{"__symbol":32,"members":[]},"metadata":{"__symbol":33,"members":[]}},{"symbol":{"__symbol":34,"members":[]},"metadata":{"__symbol":35,"members":[]}},{"symbol":{"__symbol":36,"members":[]},"metadata":{"__symbol":37,"members":[]}},{"symbol":{"__symbol":38,"members":[]},"metadata":{"__symbol":39,"members":[]}},{"symbol":{"__symbol":40,"members":[]},"metadata":{"__symbol":41,"members":[]}},{"symbol":{"__symbol":42,"members":[]},"metadata":{"__symbol":43,"members":[]}},{"symbol":{"__symbol":44,"members":[]},"metadata":{"__symbol":45,"members":[]}},{"symbol":{"__symbol":46,"members":[]},"metadata":{"__symbol":47,"members":[]}},{"symbol":{"__symbol":48,"members":[]},"metadata":{"__symbol":49,"members":[]}},{"symbol":{"__symbol":50,"members":[]},"metadata":{"__symbol":51,"members":[]}},{"symbol":{"__symbol":52,"members":[]},"metadata":{"__symbol":53,"members":[]}},{"symbol":{"__symbol":54,"members":[]},"metadata":{"__symbol":55,"members":[]}},{"symbol":{"__symbol":56,"members":[]},"metadata":{"__symbol":57,"members":[]}},{"symbol":{"__symbol":58,"members":[]},"metadata":{"__symbol":59,"members":[]}},{"symbol":{"__symbol":60,"members":[]},"metadata":{"__symbol":61,"members":[]}},{"symbol":{"__symbol":62,"members":[]},"metadata":{"__symbol":63,"members":[]}},{"symbol":{"__symbol":64,"members":[]},"metadata":{"__symbol":65,"members":[]}},{"symbol":{"__symbol":66,"members":[]},"metadata":{"__symbol":67,"members":[]}},{"symbol":{"__symbol":68,"members":[]},"metadata":{"__symbol":69,"members":[]}},{"symbol":{"__symbol":70,"members":[]},"metadata":{"__symbol":71,"members":[]}},{"symbol":{"__symbol":72,"members":[]},"metadata":{"__symbol":73,"members":[]}},{"symbol":{"__symbol":74,"members":[]},"metadata":{"__symbol":75,"members":[]}},{"symbol":{"__symbol":76,"members":[]},"metadata":{"__symbol":77,"members":[]}},{"symbol":{"__symbol":78,"members":[]},"metadata":{"__symbol":79,"members":[]}},{"symbol":{"__symbol":80,"members":[]},"metadata":{"__symbol":81,"members":[]}},{"symbol":{"__symbol":82,"members":[]},"metadata":{"__symbol":83,"members":[]}},{"symbol":{"__symbol":84,"members":[]},"metadata":{"__symbol":85,"members":[]}},{"symbol":{"__symbol":86,"members":[]},"metadata":{"__symbol":87,"members":[]}},{"symbol":{"__symbol":88,"members":[]},"metadata":{"__symbol":89,"members":[]}},{"symbol":{"__symbol":90,"members":[]},"metadata":{"__symbol":91,"members":[]}},{"symbol":{"__symbol":92,"members":[]},"metadata":{"__symbol":93,"members":[]}},{"symbol":{"__symbol":94,"members":[]},"metadata":{"__symbol":95,"members":[]}},{"symbol":{"__symbol":96,"members":[]},"metadata":{"__symbol":97,"members":[]}},{"symbol":{"__symbol":98,"members":[]},"metadata":{"__symbol":99,"members":[]}},{"symbol":{"__symbol":100,"members":[]},"metadata":{"__symbol":101,"members":[]}},{"symbol":{"__symbol":102,"members":[]},"metadata":{"__symbol":103,"members":[]}},{"symbol":{"__symbol":104,"members":[]},"metadata":{"__symbol":105,"members":[]}},{"symbol":{"__symbol":106,"members":[]},"metadata":{"__symbol":107,"members":[]}},{"symbol":{"__symbol":108,"members":[]},"metadata":{"__symbol":109,"members":[]}}],"symbols":[{"__symbol":0,"name":"PropertyValueDescription","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":1,"name":"PropertyValueDescription","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":2,"name":"PropertyDescription","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":3,"name":"PropertyDescription","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":4,"name":"AttributeDescription","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":5,"name":"AttributeDescription","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":6,"name":"AttributeDescriptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":7,"name":"AttributeDescriptions","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":8,"name":"AssociationDescription","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":9,"name":"AssociationDescription","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":10,"name":"AssociationDescriptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":11,"name":"AssociationDescriptions","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":12,"name":"ScreenDescription","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":13,"name":"ScreenDescription","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":14,"name":"ActionDescription","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":15,"name":"ActionDescription","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":16,"name":"ContextualActionDescription","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":17,"name":"ContextualActionDescription","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":18,"name":"PropertyState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":19,"name":"PropertyState","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":20,"name":"ActionState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":21,"name":"ActionState","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":22,"name":"ContextualActionState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":23,"name":"ContextualActionState","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":24,"name":"AlertState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":25,"name":"AlertState","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":26,"name":"ScreenState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":27,"name":"ScreenState","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":28,"name":"ScreenDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":29,"name":"ScreenDescriber","filePath":"/home/zack/dev/cruddle/src/base.d.ts"},{"__symbol":30,"name":"DeleteState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":31,"name":"DeleteState","filePath":"/home/zack/dev/cruddle/src/delete.d.ts"},{"__symbol":32,"name":"DeleteDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":33,"name":"DeleteDescriber","filePath":"/home/zack/dev/cruddle/src/delete.d.ts"},{"__symbol":34,"name":"DefaultDeleteOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":35,"name":"DefaultDeleteOptions","filePath":"/home/zack/dev/cruddle/src/delete.d.ts"},{"__symbol":36,"name":"DefaultDeleteDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":37,"name":"DefaultDeleteDescriber","filePath":"/home/zack/dev/cruddle/src/delete.d.ts"},{"__symbol":38,"name":"AutoDeleteDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":39,"name":"AutoDeleteDescriber","filePath":"/home/zack/dev/cruddle/src/delete.d.ts"},{"__symbol":40,"name":"FormState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":41,"name":"FormState","filePath":"/home/zack/dev/cruddle/src/form.d.ts"},{"__symbol":42,"name":"FormDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":43,"name":"FormDescriber","filePath":"/home/zack/dev/cruddle/src/form.d.ts"},{"__symbol":44,"name":"DefaultFormOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":45,"name":"DefaultFormOptions","filePath":"/home/zack/dev/cruddle/src/form.d.ts"},{"__symbol":46,"name":"DefaultFormDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":47,"name":"DefaultFormDescriber","filePath":"/home/zack/dev/cruddle/src/form.d.ts"},{"__symbol":48,"name":"AutoFormDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":49,"name":"AutoFormDescriber","filePath":"/home/zack/dev/cruddle/src/form.d.ts"},{"__symbol":50,"name":"SortOrder","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":51,"name":"SortOrder","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":52,"name":"ASC","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":53,"name":"ASC","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":54,"name":"DESC","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":55,"name":"DESC","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":56,"name":"ListMode","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":57,"name":"ListMode","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":58,"name":"SortState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":59,"name":"SortState","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":60,"name":"FilterState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":61,"name":"FilterState","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":62,"name":"PagingState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":63,"name":"PagingState","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":64,"name":"ListState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":65,"name":"ListState","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":66,"name":"ListDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":67,"name":"ListDescriber","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":68,"name":"DefaultListOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":69,"name":"DefaultListOptions","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":70,"name":"DefaultListDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":71,"name":"DefaultListDescriber","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":72,"name":"AutoListDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":73,"name":"AutoListDescriber","filePath":"/home/zack/dev/cruddle/src/list.d.ts"},{"__symbol":74,"name":"ReadState","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":75,"name":"ReadState","filePath":"/home/zack/dev/cruddle/src/read.d.ts"},{"__symbol":76,"name":"ReadDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":77,"name":"ReadDescriber","filePath":"/home/zack/dev/cruddle/src/read.d.ts"},{"__symbol":78,"name":"DefaultReadDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":79,"name":"DefaultReadDescriber","filePath":"/home/zack/dev/cruddle/src/read.d.ts"},{"__symbol":80,"name":"AutoReadDescriber","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":81,"name":"AutoReadDescriber","filePath":"/home/zack/dev/cruddle/src/read.d.ts"},{"__symbol":82,"name":"MODEL_PROP_OPTIONS_META_KEY","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":83,"name":"MODEL_PROP_OPTIONS_META_KEY","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":84,"name":"definePropertyOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":85,"name":"definePropertyOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":86,"name":"getPropertyOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":87,"name":"getPropertyOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":88,"name":"defineAttributeOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":89,"name":"defineAttributeOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":90,"name":"getAttributeOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":91,"name":"getAttributeOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":92,"name":"defineAssociationOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":93,"name":"defineAssociationOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":94,"name":"getAssociationOptions","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":95,"name":"getAssociationOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":96,"name":"attr","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":97,"name":"attr","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":98,"name":"assoc","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":99,"name":"assoc","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":100,"name":"label","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":101,"name":"label","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":102,"name":"sortable","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":103,"name":"sortable","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":104,"name":"filterable","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":105,"name":"filterable","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":106,"name":"visible","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":107,"name":"visible","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":108,"name":"CruddleModule","filePath":"/home/zack/dev/cruddle/src/index.d.ts"},{"__symbol":109,"name":"CruddleModule","filePath":"/home/zack/dev/cruddle/src/module.d.ts"}]}

@@ -1,5 +0,7 @@

export * from './components';
export * from './definitions';
export * from './helpers';
export * from './base';
export * from './delete';
export * from './form';
export * from './list';
export * from './read';
export * from './metadata';
export * from './module';

@@ -1,1 +0,1 @@

{"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":"cruddle:propOptions"},{"symbol":{"__symbol":1,"members":[]},"metadata":{"__symbolic":"function"}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbolic":"function","parameters":["ctor","key"],"value":{"visible":true,"label":{"__symbolic":"reference","name":"key"}}}},{"symbol":{"__symbol":3,"members":[]},"metadata":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":47,"character":42}}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":58,"character":9}}},{"symbol":{"__symbol":5,"members":[]},"metadata":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":69,"character":42}}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":80,"character":9}}},{"symbol":{"__symbol":7,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":92,"character":9}}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":104,"character":9}}},{"symbol":{"__symbol":9,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":116,"character":9}}},{"symbol":{"__symbol":10,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":126,"character":9}}},{"symbol":{"__symbol":11,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":136,"character":9}}},{"symbol":{"__symbol":12,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":146,"character":9}}}],"symbols":[{"__symbol":0,"name":"MODEL_PROP_OPTIONS_META_KEY","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":1,"name":"definePropertyOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":2,"name":"getPropertyOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":3,"name":"defineAttributeOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":4,"name":"getAttributeOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":5,"name":"defineAssociationOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":6,"name":"getAssociationOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":7,"name":"attr","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":8,"name":"assoc","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":9,"name":"label","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":10,"name":"sortable","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":11,"name":"filterable","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":12,"name":"visible","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"}]}
{"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":"cruddle:propOptions"},{"symbol":{"__symbol":1,"members":[]},"metadata":{"__symbolic":"function"}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbolic":"function","parameters":["ctor","key"],"value":{"visible":true,"label":{"__symbolic":"reference","name":"key"}}}},{"symbol":{"__symbol":3,"members":[]},"metadata":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":48,"character":42}}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":59,"character":9}}},{"symbol":{"__symbol":5,"members":[]},"metadata":{"__symbolic":"function","parameters":["ctor","key","options"],"value":{"__symbolic":"error","message":"Expression form not supported","line":70,"character":42}}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbolic":"function","parameters":["ctor","key"],"value":{"__symbolic":"error","message":"Expression form not supported","line":81,"character":9}}},{"symbol":{"__symbol":7,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":93,"character":9}}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":105,"character":9}}},{"symbol":{"__symbol":9,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":117,"character":9}}},{"symbol":{"__symbol":10,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":127,"character":9}}},{"symbol":{"__symbol":11,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":137,"character":9}}},{"symbol":{"__symbol":12,"members":[]},"metadata":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"error","message":"Function call not supported","line":147,"character":9}}}],"symbols":[{"__symbol":0,"name":"MODEL_PROP_OPTIONS_META_KEY","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":1,"name":"definePropertyOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":2,"name":"getPropertyOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":3,"name":"defineAttributeOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":4,"name":"getAttributeOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":5,"name":"defineAssociationOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":6,"name":"getAssociationOptions","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":7,"name":"attr","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":8,"name":"assoc","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":9,"name":"label","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":10,"name":"sortable","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":11,"name":"filterable","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"},{"__symbol":12,"name":"visible","filePath":"/home/zack/dev/cruddle/src/metadata.d.ts"}]}

@@ -0,4 +1,5 @@

/* tslint:disable:ban-types */
import 'reflect-metadata';
import { PropertyDefinition, AttributeDefinition, AssociationDefinition } from './definitions/base';
import { PropertyDescription, AttributeDescription, AssociationDescription } from './base';

@@ -15,3 +16,3 @@ /** The meta key for a model's property options. */

*/
export function definePropertyOptions(ctor: Object, key: string | symbol, options: Partial<PropertyDefinition>) {
export function definePropertyOptions(ctor: object, key: string | symbol, options: Partial<PropertyDescription>) {
options = {

@@ -32,3 +33,3 @@ ... Reflect.getMetadata(MODEL_PROP_OPTIONS_META_KEY, ctor, key),

*/
export function getPropertyOptions(ctor: Function, key: string | symbol): PropertyDefinition {
export function getPropertyOptions(ctor: Function, key: string | symbol): PropertyDescription {
return {

@@ -49,4 +50,4 @@ visible: true,

*/
export function defineAttributeOptions(ctor: Object, key: string | symbol, options: Partial<AttributeDefinition>) {
return definePropertyOptions(ctor, key, options as Partial<PropertyDefinition>);
export function defineAttributeOptions(ctor: object, key: string | symbol, options: Partial<AttributeDescription>) {
return definePropertyOptions(ctor, key, options as Partial<PropertyDescription>);
}

@@ -61,4 +62,4 @@

*/
export function getAttributeOptions(ctor: Function, key: string | symbol): AttributeDefinition {
return getPropertyOptions(ctor, key) as AttributeDefinition;
export function getAttributeOptions(ctor: Function, key: string | symbol): AttributeDescription {
return getPropertyOptions(ctor, key) as AttributeDescription;
}

@@ -73,4 +74,4 @@

*/
export function defineAssociationOptions(ctor: Object, key: string | symbol, options: Partial<AssociationDefinition>) {
return definePropertyOptions(ctor, key, options as Partial<PropertyDefinition>);
export function defineAssociationOptions(ctor: object, key: string | symbol, options: Partial<AssociationDescription>) {
return definePropertyOptions(ctor, key, options as Partial<PropertyDescription>);
}

@@ -85,4 +86,4 @@

*/
export function getAssociationOptions(ctor: Function, key: string | symbol): AssociationDefinition {
return getPropertyOptions(ctor, key) as AssociationDefinition;
export function getAssociationOptions(ctor: Function, key: string | symbol): AssociationDescription {
return getPropertyOptions(ctor, key) as AssociationDescription;
}

@@ -98,3 +99,3 @@

*/
export function attr(value: Partial<AttributeDefinition>) {
export function attr(value: Partial<AttributeDescription>) {
return (ctor: Object, key: string | symbol) => defineAttributeOptions(ctor, key, value);

@@ -111,3 +112,3 @@ }

*/
export function assoc(value: Partial<AssociationDefinition>) {
export function assoc(value: Partial<AssociationDescription>) {
return (ctor: Object, key: string | symbol) => defineAssociationOptions(ctor, key, value);

@@ -114,0 +115,0 @@ }

@@ -12,2 +12,6 @@ /**

import * as import2 from '@angular/common';
import * as import3 from './form';
import * as import4 from './read';
import * as import5 from './delete';
import * as import6 from './list';
class CruddleModuleInjector extends import0.ɵNgModuleInjector<import1.CruddleModule> {

@@ -17,2 +21,6 @@ _CommonModule_0:import2.CommonModule;

__NgLocalization_2:import2.NgLocaleLocalization;
__AutoFormDescriber_3:import3.AutoFormDescriber;
__AutoReadDescriber_4:import4.AutoReadDescriber;
__AutoDeleteDescriber_5:import5.AutoDeleteDescriber;
__AutoListDescriber_6:import6.AutoListDescriber;
constructor(parent:import0.Injector) {

@@ -25,2 +33,18 @@ super(parent,([] as any[]),([] as any[]));

}
get _AutoFormDescriber_3():import3.AutoFormDescriber {
if ((this.__AutoFormDescriber_3 == null)) { (this.__AutoFormDescriber_3 = new import3.AutoFormDescriber()); }
return this.__AutoFormDescriber_3;
}
get _AutoReadDescriber_4():import4.AutoReadDescriber {
if ((this.__AutoReadDescriber_4 == null)) { (this.__AutoReadDescriber_4 = new import4.AutoReadDescriber()); }
return this.__AutoReadDescriber_4;
}
get _AutoDeleteDescriber_5():import5.AutoDeleteDescriber {
if ((this.__AutoDeleteDescriber_5 == null)) { (this.__AutoDeleteDescriber_5 = new import5.AutoDeleteDescriber()); }
return this.__AutoDeleteDescriber_5;
}
get _AutoListDescriber_6():import6.AutoListDescriber {
if ((this.__AutoListDescriber_6 == null)) { (this.__AutoListDescriber_6 = new import6.AutoListDescriber()); }
return this.__AutoListDescriber_6;
}
createInternal():import1.CruddleModule {

@@ -35,2 +59,6 @@ this._CommonModule_0 = new import2.CommonModule();

if ((token === import2.NgLocalization)) { return this._NgLocalization_2; }
if ((token === import3.AutoFormDescriber)) { return this._AutoFormDescriber_3; }
if ((token === import4.AutoReadDescriber)) { return this._AutoReadDescriber_4; }
if ((token === import5.AutoDeleteDescriber)) { return this._AutoDeleteDescriber_5; }
if ((token === import6.AutoListDescriber)) { return this._AutoListDescriber_6; }
return notFoundResult;

@@ -42,2 +70,2 @@ }

export const CruddleModuleNgFactory:import0.NgModuleFactory<import1.CruddleModule> = new import0.NgModuleFactory<any>(CruddleModuleInjector,import1.CruddleModule);
//# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL2hvbWUvemFjay9kZXYvY3J1ZGRsZS9zcmMvbW9kdWxlLm5nZmFjdG9yeS50cyIsInZlcnNpb24iOjMsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5nOi8vL2hvbWUvemFjay9kZXYvY3J1ZGRsZS9zcmMvbW9kdWxlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIiAiXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7In0=
//# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL2hvbWUvemFjay9kZXYvY3J1ZGRsZS9zcmMvbW9kdWxlLm5nZmFjdG9yeS50cyIsInZlcnNpb24iOjMsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5nOi8vL2hvbWUvemFjay9kZXYvY3J1ZGRsZS9zcmMvbW9kdWxlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIiAiXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OyJ9

@@ -1,1 +0,1 @@

{"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class"},"type":{"summaryKind":2,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"entryComponents":[],"providers":[{"provider":{"token":{"identifier":{"reference":{"__symbol":1,"members":[]}}},"useClass":{"reference":{"__symbol":2,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"useExisting":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}}],"multi":false},"module":{"reference":{"__symbol":4,"members":[]},"diDeps":[],"lifecycleHooks":[]}}],"modules":[{"reference":{"__symbol":4,"members":[]},"diDeps":[],"lifecycleHooks":[]},{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]}],"exportedDirectives":[{"reference":{"__symbol":5,"members":[]}},{"reference":{"__symbol":6,"members":[]}},{"reference":{"__symbol":7,"members":[]}},{"reference":{"__symbol":8,"members":[]}}],"exportedPipes":[]}}],"symbols":[{"__symbol":0,"name":"CruddleModule","filePath":"/home/zack/dev/cruddle/src/module.d.ts"},{"__symbol":1,"name":"NgLocalization","filePath":"/home/zack/dev/cruddle/node_modules/@angular/common/common.d.ts"},{"__symbol":2,"name":"NgLocaleLocalization","filePath":"/home/zack/dev/cruddle/node_modules/@angular/common/common.d.ts"},{"__symbol":3,"name":"LOCALE_ID","filePath":"/home/zack/dev/cruddle/node_modules/@angular/core/core.d.ts"},{"__symbol":4,"name":"CommonModule","filePath":"/home/zack/dev/cruddle/node_modules/@angular/common/common.d.ts"},{"__symbol":5,"name":"DeleteComponent","filePath":"/home/zack/dev/cruddle/src/components/delete.d.ts"},{"__symbol":6,"name":"FormComponent","filePath":"/home/zack/dev/cruddle/src/components/form.d.ts"},{"__symbol":7,"name":"ListComponent","filePath":"/home/zack/dev/cruddle/src/components/list.d.ts"},{"__symbol":8,"name":"ReadComponent","filePath":"/home/zack/dev/cruddle/src/components/read.d.ts"}]}
{"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class"},"type":{"summaryKind":2,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"entryComponents":[],"providers":[{"provider":{"token":{"identifier":{"reference":{"__symbol":1,"members":[]}}},"useClass":{"reference":{"__symbol":2,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"useExisting":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}}],"multi":false},"module":{"reference":{"__symbol":4,"members":[]},"diDeps":[],"lifecycleHooks":[]}},{"provider":{"token":{"identifier":{"reference":{"__symbol":5,"members":[]},"diDeps":[],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":5,"members":[]},"diDeps":[],"lifecycleHooks":[]},"useFactory":null,"useExisting":null,"deps":[],"multi":false},"module":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]}},{"provider":{"token":{"identifier":{"reference":{"__symbol":6,"members":[]},"diDeps":[],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":6,"members":[]},"diDeps":[],"lifecycleHooks":[]},"useFactory":null,"useExisting":null,"deps":[],"multi":false},"module":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]}},{"provider":{"token":{"identifier":{"reference":{"__symbol":7,"members":[]},"diDeps":[],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":7,"members":[]},"diDeps":[],"lifecycleHooks":[]},"useFactory":null,"useExisting":null,"deps":[],"multi":false},"module":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]}},{"provider":{"token":{"identifier":{"reference":{"__symbol":8,"members":[]},"diDeps":[],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":8,"members":[]},"diDeps":[],"lifecycleHooks":[]},"useFactory":null,"useExisting":null,"deps":[],"multi":false},"module":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]}}],"modules":[{"reference":{"__symbol":4,"members":[]},"diDeps":[],"lifecycleHooks":[]},{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]}],"exportedDirectives":[],"exportedPipes":[]}}],"symbols":[{"__symbol":0,"name":"CruddleModule","filePath":"/home/zack/dev/cruddle/src/module.d.ts"},{"__symbol":1,"name":"NgLocalization","filePath":"/home/zack/dev/cruddle/node_modules/@angular/common/common.d.ts"},{"__symbol":2,"name":"NgLocaleLocalization","filePath":"/home/zack/dev/cruddle/node_modules/@angular/common/common.d.ts"},{"__symbol":3,"name":"LOCALE_ID","filePath":"/home/zack/dev/cruddle/node_modules/@angular/core/core.d.ts"},{"__symbol":4,"name":"CommonModule","filePath":"/home/zack/dev/cruddle/node_modules/@angular/common/common.d.ts"},{"__symbol":5,"name":"AutoFormDescriber","filePath":"/home/zack/dev/cruddle/src/form.d.ts"},{"__symbol":6,"name":"AutoReadDescriber","filePath":"/home/zack/dev/cruddle/src/read.d.ts"},{"__symbol":7,"name":"AutoDeleteDescriber","filePath":"/home/zack/dev/cruddle/src/delete.d.ts"},{"__symbol":8,"name":"AutoListDescriber","filePath":"/home/zack/dev/cruddle/src/list.d.ts"}]}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DeleteComponent } from './components/delete';
import { FormComponent } from './components/form';
import { ListComponent } from './components/list';
import { ReadComponent } from './components/read';
import { AutoFormDescriber } from './form';
import { AutoReadDescriber } from './read';
import { AutoDeleteDescriber } from './delete';
import { AutoListDescriber } from './list';

@@ -16,17 +16,9 @@ /**

imports: [CommonModule],
declarations: [
DeleteComponent,
FormComponent,
ListComponent,
ReadComponent
],
exports: [
DeleteComponent,
FormComponent,
ListComponent,
ReadComponent
providers: [
AutoFormDescriber,
AutoReadDescriber,
AutoDeleteDescriber,
AutoListDescriber
]
})
export class CruddleModule {}

@@ -13,3 +13,5 @@ {

"suppressImplicitAnyIndexErrors": true,
"declaration": true
"declaration": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},

@@ -16,0 +18,0 @@ "exclude": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc