@stencil/angular-output-target 0.8.2 → 0.8.3
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/angular-component-lib/utils.ts +8 -0
- package/dist/index.cjs.js +0 -3
- package/dist/index.js +0 -3
- package/dist/plugin.js +0 -3
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,14 @@ export const proxyInputs = (Cmp: any, inputs: string[]) => {
|
|
|
12
12
|
set(val: any) {
|
|
13
13
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
14
14
|
},
|
|
15
|
+
/**
|
|
16
|
+
* In the event that proxyInputs is called
|
|
17
|
+
* multiple times re-defining these inputs
|
|
18
|
+
* will cause an error to be thrown. As a result
|
|
19
|
+
* we set configurable: true to indicate these
|
|
20
|
+
* properties can be changed.
|
|
21
|
+
*/
|
|
22
|
+
configurable: true,
|
|
15
23
|
});
|
|
16
24
|
});
|
|
17
25
|
};
|
package/dist/index.cjs.js
CHANGED
|
@@ -554,9 +554,6 @@ function normalizeOutputTarget(config, outputTarget) {
|
|
|
554
554
|
if (outputTarget.includeSingleComponentAngularModules !== undefined) {
|
|
555
555
|
throw new Error("The 'includeSingleComponentAngularModules' option has been removed. Please use 'outputType' instead.");
|
|
556
556
|
}
|
|
557
|
-
if (outputTarget.outputType === OutputTypes.Scam) {
|
|
558
|
-
console.warn(`**Experimental**: outputType: "${OutputTypes.Scam}" is a developer preview feature and may change or be removed in the future.`);
|
|
559
|
-
}
|
|
560
557
|
return results;
|
|
561
558
|
}
|
|
562
559
|
|
package/dist/index.js
CHANGED
|
@@ -546,9 +546,6 @@ function normalizeOutputTarget(config, outputTarget) {
|
|
|
546
546
|
if (outputTarget.includeSingleComponentAngularModules !== undefined) {
|
|
547
547
|
throw new Error("The 'includeSingleComponentAngularModules' option has been removed. Please use 'outputType' instead.");
|
|
548
548
|
}
|
|
549
|
-
if (outputTarget.outputType === OutputTypes.Scam) {
|
|
550
|
-
console.warn(`**Experimental**: outputType: "${OutputTypes.Scam}" is a developer preview feature and may change or be removed in the future.`);
|
|
551
|
-
}
|
|
552
549
|
return results;
|
|
553
550
|
}
|
|
554
551
|
|
package/dist/plugin.js
CHANGED
|
@@ -33,8 +33,5 @@ export function normalizeOutputTarget(config, outputTarget) {
|
|
|
33
33
|
if (outputTarget.includeSingleComponentAngularModules !== undefined) {
|
|
34
34
|
throw new Error("The 'includeSingleComponentAngularModules' option has been removed. Please use 'outputType' instead.");
|
|
35
35
|
}
|
|
36
|
-
if (outputTarget.outputType === OutputTypes.Scam) {
|
|
37
|
-
console.warn(`**Experimental**: outputType: "${OutputTypes.Scam}" is a developer preview feature and may change or be removed in the future.`);
|
|
38
|
-
}
|
|
39
36
|
return results;
|
|
40
37
|
}
|
package/dist/types.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface OutputTargetAngular {
|
|
|
23
23
|
/**
|
|
24
24
|
* The type of output that should be generated.
|
|
25
25
|
* - `component` - Generate many component wrappers tied to a single Angular module (lazy/hydrated approach).
|
|
26
|
-
* - `scam` -
|
|
26
|
+
* - `scam` - Generate a Single Component Angular Module for each component.
|
|
27
27
|
* - `standalone` - Generate a component with the `standalone` flag set to `true`.
|
|
28
28
|
*/
|
|
29
29
|
outputType?: OutputType;
|