@ng-doc/builder 17.5.4 → 17.5.5

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.
@@ -15,11 +15,13 @@ function getComponentDecorator(cls) {
15
15
  const standaloneProperty = decoratorArgument.getProperty('standalone');
16
16
  const selectorProperty = decoratorArgument.getProperty('selector');
17
17
  const templateProperty = decoratorArgument.getProperty('templateUrl');
18
+ const styleUrlProperty = decoratorArgument.getProperty('styleUrl');
18
19
  const styleUrlsProperty = decoratorArgument.getProperty('styleUrls');
19
20
  return {
20
21
  standalone: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(standaloneProperty)),
21
22
  selector: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(selectorProperty)),
22
23
  templateUrl: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(templateProperty)),
24
+ styleUrl: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(styleUrlProperty)),
23
25
  styleUrls: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(styleUrlsProperty)),
24
26
  };
25
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"get-component-decorator.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-decorator.ts"],"names":[],"mappings":";;;AACA,uCAAuF;AAEvF,4DAAwD;AACxD,8CAAsD;AAEtD;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,GAAqB;IAC1D,MAAM,SAAS,GAA0B,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IACvE,MAAM,iBAAiB,GAAqB,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,YAAY,GAAG,CAAC,CAAC,CAAC;IAEzE,IAAI,eAAI,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE;QACtD,MAAM,kBAAkB,GACvB,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAC7C,MAAM,gBAAgB,GACrB,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAC3C,MAAM,gBAAgB,GACrB,iBAAiB,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QAC9C,MAAM,iBAAiB,GACtB,iBAAiB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;QAE5C,OAAO;YACN,UAAU,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,kBAAkB,CAAC,CAAC;YACvE,QAAQ,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACnE,WAAW,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACtE,SAAS,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,iBAAiB,CAAC,CAAC;SACrE,CAAC;KACF;IAED,OAAO,SAAS,CAAC;AAClB,CAAC;AAvBD,sDAuBC"}
1
+ {"version":3,"file":"get-component-decorator.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-decorator.ts"],"names":[],"mappings":";;;AACA,uCAAuF;AAEvF,4DAAwD;AACxD,8CAAsD;AAEtD;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,GAAqB;IAC1D,MAAM,SAAS,GAA0B,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IACvE,MAAM,iBAAiB,GAAqB,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,YAAY,GAAG,CAAC,CAAC,CAAC;IAEzE,IAAI,eAAI,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE;QACtD,MAAM,kBAAkB,GACvB,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAC7C,MAAM,gBAAgB,GACrB,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAC3C,MAAM,gBAAgB,GACrB,iBAAiB,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QAC9C,MAAM,gBAAgB,GACrB,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAC3C,MAAM,iBAAiB,GACtB,iBAAiB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;QAE5C,OAAO;YACN,UAAU,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,kBAAkB,CAAC,CAAC;YACvE,QAAQ,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACnE,WAAW,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACtE,QAAQ,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACnE,SAAS,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,iBAAiB,CAAC,CAAC;SACrE,CAAC;KACF;IAED,OAAO,SAAS,CAAC;AAClB,CAAC;AA1BD,sDA0BC"}
@@ -14,7 +14,7 @@ function getComponentSourceFiles(cls) {
14
14
  if (decoratorData) {
15
15
  const filePath = cls.getSourceFile().getFilePath();
16
16
  const fileDir = path_1.default.dirname(filePath);
17
- return (0, core_1.asArray)(filePath, decoratorData.templateUrl ? path_1.default.join(fileDir, decoratorData.templateUrl) : [], (0, core_1.asArray)(decoratorData.styleUrls).map((styleUrl) => path_1.default.join(fileDir, styleUrl)));
17
+ return (0, core_1.asArray)(filePath, decoratorData.templateUrl ? path_1.default.join(fileDir, decoratorData.templateUrl) : [], (0, core_1.asArray)(decoratorData.styleUrls, decoratorData.styleUrl).map((styleUrl) => path_1.default.join(fileDir, styleUrl)));
18
18
  }
19
19
  return [];
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"get-component-source-files.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-source-files.ts"],"names":[],"mappings":";;;;AACA,uCAAuC;AACvC,wDAAwB;AAGxB,uEAAkE;AAElE;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,GAAqB;IAC5D,MAAM,aAAa,GAA0B,IAAA,+CAAqB,EAAC,GAAG,CAAC,CAAC;IAExE,IAAI,aAAa,EAAE;QAClB,MAAM,QAAQ,GAAW,GAAG,CAAC,aAAa,EAAE,CAAC,WAAW,EAAE,CAAC;QAC3D,MAAM,OAAO,GAAW,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE/C,OAAO,IAAA,cAAO,EACb,QAAQ,EACR,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9E,IAAA,cAAO,EAAC,aAAa,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,QAAgB,EAAE,EAAE,CAAC,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CACxF,CAAC;KACF;IAED,OAAO,EAAE,CAAC;AACX,CAAC;AAfD,0DAeC"}
1
+ {"version":3,"file":"get-component-source-files.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-source-files.ts"],"names":[],"mappings":";;;;AACA,uCAAuC;AACvC,wDAAwB;AAGxB,uEAAkE;AAElE;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,GAAqB;IAC5D,MAAM,aAAa,GAA0B,IAAA,+CAAqB,EAAC,GAAG,CAAC,CAAC;IAExE,IAAI,aAAa,EAAE;QAClB,MAAM,QAAQ,GAAW,GAAG,CAAC,aAAa,EAAE,CAAC,WAAW,EAAE,CAAC;QAC3D,MAAM,OAAO,GAAW,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE/C,OAAO,IAAA,cAAO,EACb,QAAQ,EACR,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9E,IAAA,cAAO,EAAC,aAAa,CAAC,SAAS,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,QAAgB,EAAE,EAAE,CACjF,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAC5B,CACD,CAAC;KACF;IAED,OAAO,EAAE,CAAC;AACX,CAAC;AAjBD,0DAiBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-doc/builder",
3
- "version": "17.5.4",
3
+ "version": "17.5.5",
4
4
  "type": "commonjs",
5
5
  "builders": "./builders.json",
6
6
  "schematics": "./schematics/collection.json",
@@ -11,8 +11,8 @@
11
11
  ]
12
12
  },
13
13
  "dependencies": {
14
- "@ng-doc/core": "17.5.4",
15
- "@ng-doc/utils": "17.5.4",
14
+ "@ng-doc/core": "17.5.5",
15
+ "@ng-doc/utils": "17.5.5",
16
16
  "@angular-devkit/architect": ">=0.1700.0",
17
17
  "@angular-devkit/build-angular": ">=17.0.0",
18
18
  "chokidar": "3.5.3",