@g-ui-core/angular 0.1.0 → 0.1.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.
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, ElementRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { GButton } from '@g-ui-core/core';
|
|
3
|
+
import { type Variant, type Size } from '@g-ui-core/shared';
|
|
3
4
|
export declare class ButtonComponent implements AfterViewInit {
|
|
4
5
|
private el;
|
|
5
|
-
variant:
|
|
6
|
-
size:
|
|
6
|
+
variant: Variant;
|
|
7
|
+
size: Size;
|
|
7
8
|
disabled: boolean;
|
|
8
9
|
loading: boolean;
|
|
9
10
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.component.d.ts","sourceRoot":"","sources":["../src/button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EACZ,UAAU,EAGV,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"button.component.d.ts","sourceRoot":"","sources":["../src/button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EACZ,UAAU,EAGV,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAgB,KAAK,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAI1E,qBAIa,eAAgB,YAAW,aAAa;IASvC,OAAO,CAAC,EAAE;IARb,OAAO,EAAE,OAAO,CAAa;IAC7B,IAAI,EAAE,IAAI,CAAY;IACtB,QAAQ,UAAS;IACjB,OAAO,UAAS;IAChB,KAAK,SAAM;IACV,UAAU,sBAA6B;IACvC,OAAO,sBAA6B;gBAE1B,EAAE,EAAE,UAAU,CAAC,OAAO,CAAC;IAE3C,eAAe;CAgBhB;AAED,qBAKa,SAAS;CAAG"}
|
package/dist/button.component.js
CHANGED
|
@@ -38,11 +38,11 @@ let ButtonComponent = class ButtonComponent {
|
|
|
38
38
|
};
|
|
39
39
|
__decorate([
|
|
40
40
|
Input(),
|
|
41
|
-
__metadata("design:type",
|
|
41
|
+
__metadata("design:type", String)
|
|
42
42
|
], ButtonComponent.prototype, "variant", void 0);
|
|
43
43
|
__decorate([
|
|
44
44
|
Input(),
|
|
45
|
-
__metadata("design:type",
|
|
45
|
+
__metadata("design:type", String)
|
|
46
46
|
], ButtonComponent.prototype, "size", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
Input(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.component.js","sourceRoot":"","sources":["../src/button.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,sBAAsB,GAEvB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"button.component.js","sourceRoot":"","sources":["../src/button.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,sBAAsB,GAEvB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,YAAY,EAA2B,MAAM,mBAAmB,CAAC;AAE1E,MAAM,GAAG,GAAG,GAAG,YAAY,EAAE,SAAS,CAAC;AAMhC,IAAM,eAAe,GAArB,MAAM,eAAe;IAS1B,YAAoB,EAAuB;QAAvB,OAAE,GAAF,EAAE,CAAqB;QARlC,YAAO,GAAY,SAAS,CAAC;QAC7B,SAAI,GAAS,QAAQ,CAAC;QACtB,aAAQ,GAAG,KAAK,CAAC;QACjB,YAAO,GAAG,KAAK,CAAC;QAChB,UAAK,GAAG,EAAE,CAAC;QACV,eAAU,GAAG,IAAI,YAAY,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AsB,CAAC;KAClC,CAAC;GACW,SAAS,CAAG"}
|
package/package.json
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@g-ui-core/angular",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Angular wrappers for g-ui-core components",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@g-ui-core/angular",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Angular wrappers for g-ui-core components",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@g-ui-core/core": "^0.1.0",
|
|
12
|
+
"@g-ui-core/shared": "^0.1.0",
|
|
13
|
+
"tslib": "^2.6.0"
|
|
14
|
+
},
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"@angular/core": ">=17",
|
|
17
|
+
"@angular/common": ">=17"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@angular/core": "^17.3.0",
|
|
21
|
+
"@angular/common": "^17.3.0",
|
|
22
|
+
"typescript": "^5.4.0"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsc",
|
|
29
|
+
"clean": "rm -rf dist"
|
|
30
|
+
}
|
|
31
|
+
}
|