ngx-sfc-common 0.0.1 → 0.0.2

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.
@@ -3,7 +3,8 @@ import * as i0 from "@angular/core";
3
3
  export declare class TemplateReferenceDirective {
4
4
  readonly template: TemplateRef<any>;
5
5
  templateName: string;
6
+ data: any;
6
7
  constructor(template: TemplateRef<any>);
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TemplateReferenceDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateReferenceDirective, "[sfcTemplateReference]", never, { "templateName": "sfcTemplateReference"; }, {}, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateReferenceDirective, "[sfcTemplateReference]", never, { "templateName": "sfcTemplateReference"; "data": "data"; }, {}, never>;
9
10
  }
@@ -2,5 +2,5 @@ export { isDefined, isObject, isAsyncData, addPropertyToObject, removePropertyFr
2
2
  export { isNullOrEmptyString, contains, trim } from './string.utils';
3
3
  export { setMinutes, setHours, setDay, setYear, getNextMonth, getPreviousMonth, getNextYear, getPreviousYear, getFirstDayOfMonth, getLastDayOfMonth, getFirstDayOfYear, getLastDayOfYear, getFirstDayOfMonthByYearAndMonth, getLastDayOfMonthByYearAndMonth, getWeeksNumberInMonth, isEqualDates, isDateGreat, isDateGreatOrEqual, isDateTimeGreat, isDateTimeGreatOrEqual } from './date-time.utils';
4
4
  export { parseFileSize, getFileExtension, readAsDataURL, isImage } from './file.utils';
5
- export { getCssLikeValue, getValueFromCssLikeValue, addClasses, removeClasses } from './ui.utils';
5
+ export { getCssLikeValue, getValueFromCssLikeValue, getCalcValue, addClasses, removeClasses } from './ui.utils';
6
6
  export { any, hasItem, hasItemBy, hasObjectItem, firstOrDefault, firstItem, lastItem, all, where, skip, sortBy, sortByPath, distinct, sum, max, remove, addItem, removeItem, updateItem, getCollectionOrEmpty } from './collections.utils';
@@ -10,6 +10,13 @@ export declare function getCssLikeValue(value: number, type?: string): string;
10
10
  * @returns Number value
11
11
  */
12
12
  export declare function getValueFromCssLikeValue(value: string, type?: string): number;
13
+ /**
14
+ * Return CCS like calc value
15
+ * @param value All value (100% by default)
16
+ * @param part Part value
17
+ * @returns Calc value
18
+ */
19
+ export declare function getCalcValue(part: number, value?: number): string;
13
20
  /**
14
21
  * Add classes to HTML element
15
22
  * @param element HTML element
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-sfc-common",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Angular common(shared) library for SFC project",
5
5
  "keywords": [
6
6
  "Street Football Club",
@@ -23,20 +23,10 @@
23
23
  "url": "https://github.com/1kriva1/ngx-sfc/issues"
24
24
  },
25
25
  "license": "MIT",
26
- "peerDependencies": {
27
- "@angular/common": "^13.2.0",
28
- "@angular/core": "^13.2.0"
29
- },
30
- "dependencies": {
31
- "tslib": "^2.3.0"
32
- },
33
- "module": "fesm2015/ngx-sfc-common.mjs",
34
- "es2020": "fesm2020/ngx-sfc-common.mjs",
35
- "esm2020": "esm2020/ngx-sfc-common.mjs",
36
- "fesm2020": "fesm2020/ngx-sfc-common.mjs",
37
- "fesm2015": "fesm2015/ngx-sfc-common.mjs",
38
- "typings": "ngx-sfc-common.d.ts",
39
26
  "exports": {
27
+ "./styles/variables": {
28
+ "sass": "./src/lib/components/shared/styles/_variables.scss"
29
+ },
40
30
  "./package.json": {
41
31
  "default": "./package.json"
42
32
  },
@@ -49,5 +39,18 @@
49
39
  "default": "./fesm2020/ngx-sfc-common.mjs"
50
40
  }
51
41
  },
42
+ "peerDependencies": {
43
+ "@angular/common": "^13.2.0",
44
+ "@angular/core": "^13.2.0"
45
+ },
46
+ "dependencies": {
47
+ "tslib": "^2.3.0"
48
+ },
49
+ "module": "fesm2015/ngx-sfc-common.mjs",
50
+ "es2020": "fesm2020/ngx-sfc-common.mjs",
51
+ "esm2020": "esm2020/ngx-sfc-common.mjs",
52
+ "fesm2020": "fesm2020/ngx-sfc-common.mjs",
53
+ "fesm2015": "fesm2015/ngx-sfc-common.mjs",
54
+ "typings": "ngx-sfc-common.d.ts",
52
55
  "sideEffects": false
53
56
  }