@20baht/angular 0.1.2 → 0.3.0
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/README.md +1 -1
- package/dist/elements.d.ts +3 -1
- package/dist/elements.js +7 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -154,6 +154,6 @@ import { BAHT_STICKERS } from '@20baht/angular/stickers';
|
|
|
154
154
|
no second copy of the elements. With Native Federation, share it like any other library.
|
|
155
155
|
- With Native Federation, also list `@20baht/engine` in each app's `dependencies` (same version as
|
|
156
156
|
`@20baht/ui`): the elements import it by name, and federation shares only what an app lists. Without it the
|
|
157
|
-
build passes and the browser cannot load the elements. Scaffolds from `
|
|
157
|
+
build passes and the browser cannot load the elements. Scaffolds from `20baht create --federation` list it.
|
|
158
158
|
|
|
159
159
|
MIT.
|
package/dist/elements.d.ts
CHANGED
|
@@ -1465,6 +1465,8 @@ export declare class BahtRepeaterDirective {
|
|
|
1465
1465
|
set rowStates(v: BahtRepeater['rowStates']);
|
|
1466
1466
|
/** Set by the host form: what makes a `reference` column searchable. */
|
|
1467
1467
|
set rowLookup(v: BahtRepeater['rowLookup']);
|
|
1468
|
+
/** Set by the host form: its registry. A column of a type of the app's own (spec 01 §5.1) renders, reads and checks through `registry.fieldTypes`; the row dialog runs the column's `custom` validators from it. */
|
|
1469
|
+
set registry(v: BahtRepeater['registry']);
|
|
1468
1470
|
set field(v: BahtRepeater['field']);
|
|
1469
1471
|
set value(v: BahtRepeater['value']);
|
|
1470
1472
|
set disabled(v: BahtRepeater['disabled']);
|
|
@@ -1484,7 +1486,7 @@ export declare class BahtRepeaterDirective {
|
|
|
1484
1486
|
readonly valueChange: import("@angular/core").OutputEmitterRef<unknown>;
|
|
1485
1487
|
constructor();
|
|
1486
1488
|
static ɵfac: i0.ɵɵFactoryDeclaration<BahtRepeaterDirective, never>;
|
|
1487
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BahtRepeaterDirective, "baht-repeater", ["bahtRepeater"], { "rowErrors": { "alias": "rowErrors"; "required": false; }; "rowStates": { "alias": "rowStates"; "required": false; }; "rowLookup": { "alias": "rowLookup"; "required": false; }; "field": { "alias": "field"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showOptional": { "alias": "showOptional"; "required": false; }; "error": { "alias": "error"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; }, { "bahtInput": "bahtInput"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
1489
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BahtRepeaterDirective, "baht-repeater", ["bahtRepeater"], { "rowErrors": { "alias": "rowErrors"; "required": false; }; "rowStates": { "alias": "rowStates"; "required": false; }; "rowLookup": { "alias": "rowLookup"; "required": false; }; "registry": { "alias": "registry"; "required": false; }; "field": { "alias": "field"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showOptional": { "alias": "showOptional"; "required": false; }; "error": { "alias": "error"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; }, { "bahtInput": "bahtInput"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
1488
1490
|
static ngAcceptInputType_disabled: unknown;
|
|
1489
1491
|
static ngAcceptInputType_readonly: unknown;
|
|
1490
1492
|
static ngAcceptInputType_required: unknown;
|
package/dist/elements.js
CHANGED
|
@@ -3218,6 +3218,10 @@ export class BahtRepeaterDirective {
|
|
|
3218
3218
|
set rowLookup(v) {
|
|
3219
3219
|
assign(this.element, 'rowLookup', v);
|
|
3220
3220
|
}
|
|
3221
|
+
/** Set by the host form: its registry. A column of a type of the app's own (spec 01 §5.1) renders, reads and checks through `registry.fieldTypes`; the row dialog runs the column's `custom` validators from it. */
|
|
3222
|
+
set registry(v) {
|
|
3223
|
+
assign(this.element, 'registry', v);
|
|
3224
|
+
}
|
|
3221
3225
|
set field(v) {
|
|
3222
3226
|
assign(this.element, 'field', v);
|
|
3223
3227
|
}
|
|
@@ -3255,7 +3259,7 @@ export class BahtRepeaterDirective {
|
|
|
3255
3259
|
relay(this.element, 'baht-input', this.valueChange, (d) => d.value);
|
|
3256
3260
|
}
|
|
3257
3261
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: BahtRepeaterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3258
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.2.5", type: BahtRepeaterDirective, isStandalone: true, selector: "baht-repeater", inputs: { rowErrors: "rowErrors", rowStates: "rowStates", rowLookup: "rowLookup", field: "field", value: "value", disabled: ["disabled", "disabled", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], required: ["required", "required", booleanAttribute], showOptional: ["showOptional", "showOptional", booleanAttribute], error: "error", debounce: ["debounce", "debounce", num] }, outputs: { bahtInput: "bahtInput", valueChange: "valueChange" }, exportAs: ["bahtRepeater"], ngImport: i0 }); }
|
|
3262
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.2.5", type: BahtRepeaterDirective, isStandalone: true, selector: "baht-repeater", inputs: { rowErrors: "rowErrors", rowStates: "rowStates", rowLookup: "rowLookup", registry: "registry", field: "field", value: "value", disabled: ["disabled", "disabled", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], required: ["required", "required", booleanAttribute], showOptional: ["showOptional", "showOptional", booleanAttribute], error: "error", debounce: ["debounce", "debounce", num] }, outputs: { bahtInput: "bahtInput", valueChange: "valueChange" }, exportAs: ["bahtRepeater"], ngImport: i0 }); }
|
|
3259
3263
|
}
|
|
3260
3264
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: BahtRepeaterDirective, decorators: [{
|
|
3261
3265
|
type: Directive,
|
|
@@ -3266,6 +3270,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImpor
|
|
|
3266
3270
|
type: Input
|
|
3267
3271
|
}], rowLookup: [{
|
|
3268
3272
|
type: Input
|
|
3273
|
+
}], registry: [{
|
|
3274
|
+
type: Input
|
|
3269
3275
|
}], field: [{
|
|
3270
3276
|
type: Input
|
|
3271
3277
|
}], value: [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20baht/angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Angular adapter for @20baht/ui: typed directives on the real <baht-*> elements, with typed outputs, [(value)] two-way binding and the Angular binding gotchas handled. Generated from the elements' manifest.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@angular/core": ">=20.0.0",
|
|
57
57
|
"@20baht/stickers": ">=0.1.0 <0.2.0",
|
|
58
|
-
"@20baht/store": ">=0.
|
|
59
|
-
"@20baht/ui": ">=0.
|
|
58
|
+
"@20baht/store": ">=0.3.0 <0.4.0",
|
|
59
|
+
"@20baht/ui": ">=0.3.0 <0.4.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"@20baht/store": {
|