@g-ui-core/angular 0.2.1 → 0.2.4
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/dist/button-group.component.d.ts +5 -0
- package/dist/button-group.component.d.ts.map +1 -0
- package/dist/button-group.component.js +30 -0
- package/dist/button-group.component.js.map +1 -0
- package/dist/button.component.d.ts.map +1 -1
- package/dist/button.component.js +1 -2
- package/dist/button.component.js.map +1 -1
- package/dist/components/Button.d.ts +14 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +76 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/ButtonGroup.d.ts +4 -0
- package/dist/components/ButtonGroup.d.ts.map +1 -0
- package/dist/components/ButtonGroup.js +21 -0
- package/dist/components/ButtonGroup.js.map +1 -0
- package/dist/components/GButton.d.ts +14 -0
- package/dist/components/GButton.d.ts.map +1 -0
- package/dist/components/GButton.js +76 -0
- package/dist/components/GButton.js.map +1 -0
- package/dist/components/GButtonGroup.d.ts +4 -0
- package/dist/components/GButtonGroup.d.ts.map +1 -0
- package/dist/components/GButtonGroup.js +21 -0
- package/dist/components/GButtonGroup.js.map +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group.component.d.ts","sourceRoot":"","sources":["../src/button-group.component.ts"],"names":[],"mappings":"AAUA,qBAIa,oBAAoB;CAAG;AAEpC,qBAKa,kBAAkB;CAAG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, NgModule, CUSTOM_ELEMENTS_SCHEMA, } from '@angular/core';
|
|
8
|
+
import { GButtonGroup as GButtonGroupElement } from '@g-ui-core/core';
|
|
9
|
+
void GButtonGroupElement;
|
|
10
|
+
const tag = 'g-button-group';
|
|
11
|
+
let ButtonGroupComponent = class ButtonGroupComponent {
|
|
12
|
+
};
|
|
13
|
+
ButtonGroupComponent = __decorate([
|
|
14
|
+
Component({
|
|
15
|
+
selector: tag,
|
|
16
|
+
template: `<ng-content></ng-content>`,
|
|
17
|
+
})
|
|
18
|
+
], ButtonGroupComponent);
|
|
19
|
+
export { ButtonGroupComponent };
|
|
20
|
+
let GButtonGroupModule = class GButtonGroupModule {
|
|
21
|
+
};
|
|
22
|
+
GButtonGroupModule = __decorate([
|
|
23
|
+
NgModule({
|
|
24
|
+
declarations: [ButtonGroupComponent],
|
|
25
|
+
exports: [ButtonGroupComponent],
|
|
26
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
27
|
+
})
|
|
28
|
+
], GButtonGroupModule);
|
|
29
|
+
export { GButtonGroupModule };
|
|
30
|
+
//# sourceMappingURL=button-group.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group.component.js","sourceRoot":"","sources":["../src/button-group.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EACR,sBAAsB,GACvB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtE,KAAK,mBAAmB,CAAC;AAEzB,MAAM,GAAG,GAAG,gBAAgB,CAAC;AAMtB,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAAG,CAAA;AAAvB,oBAAoB;IAJhC,SAAS,CAAC;QACT,QAAQ,EAAE,GAAG;QACb,QAAQ,EAAE,2BAA2B;KACtC,CAAC;GACW,oBAAoB,CAAG;;AAO7B,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAAG,CAAA;AAArB,kBAAkB;IAL9B,QAAQ,CAAC;QACR,YAAY,EAAE,CAAC,oBAAoB,CAAC;QACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;QAC/B,OAAO,EAAE,CAAC,sBAAsB,CAAC;KAClC,CAAC;GACW,kBAAkB,CAAG"}
|
|
@@ -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,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,
|
|
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,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAI9C,qBAIa,eAAgB,YAAW,aAAa;IAavC,OAAO,CAAC,EAAE;IAZb,IAAI,EAAE,UAAU,CAAa;IAC7B,IAAI,EAAE,IAAI,CAAa;IACvB,KAAK,UAAS;IACd,KAAK,UAAS;IACd,MAAM,UAAS;IACf,OAAO,UAAS;IAChB,QAAQ,UAAS;IACjB,IAAI,SAAM;IACV,UAAU,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAY;IACrD,SAAS,UAAS;IACjB,UAAU,sBAA6B;gBAE7B,EAAE,EAAE,UAAU,CAAC,OAAO,CAAC;IAE3C,eAAe;CAkBhB;AAED,qBAKa,SAAS;CAAG"}
|
package/dist/button.component.js
CHANGED
|
@@ -8,8 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Component, Input, Output, EventEmitter, ElementRef, NgModule, CUSTOM_ELEMENTS_SCHEMA, } from '@angular/core';
|
|
11
|
-
|
|
12
|
-
const tag = `${getNamespace()}-button`;
|
|
11
|
+
const tag = 'g-button';
|
|
13
12
|
let ButtonComponent = class ButtonComponent {
|
|
14
13
|
constructor(el) {
|
|
15
14
|
this.el = el;
|
|
@@ -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;
|
|
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;AAIvB,MAAM,GAAG,GAAG,UAAU,CAAC;AAMhB,IAAM,eAAe,GAArB,MAAM,eAAe;IAa1B,YAAoB,EAAuB;QAAvB,OAAE,GAAF,EAAE,CAAqB;QAZlC,SAAI,GAAe,SAAS,CAAC;QAC7B,SAAI,GAAS,SAAS,CAAC;QACvB,UAAK,GAAG,KAAK,CAAC;QACd,UAAK,GAAG,KAAK,CAAC;QACd,WAAM,GAAG,KAAK,CAAC;QACf,YAAO,GAAG,KAAK,CAAC;QAChB,aAAQ,GAAG,KAAK,CAAC;QACjB,SAAI,GAAG,EAAE,CAAC;QACV,eAAU,GAAkC,QAAQ,CAAC;QACrD,cAAS,GAAG,KAAK,CAAC;QACjB,eAAU,GAAG,IAAI,YAAY,EAAS,CAAC;IAEH,CAAC;IAE/C,eAAe;QACb,MAAM,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC;QAErC,sBAAsB;QACtB,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAW,CAAC;QAC/B,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAW,CAAC;QAC/B,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC1B,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC1B,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC5B,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC9B,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAChC,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACvB,MAAc,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QAC7C,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAElC,cAAc;QACd,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF,CAAA;AAhCU;IAAR,KAAK,EAAE;;6CAA8B;AAC7B;IAAR,KAAK,EAAE;;6CAAwB;AACvB;IAAR,KAAK,EAAE;;8CAAe;AACd;IAAR,KAAK,EAAE;;8CAAe;AACd;IAAR,KAAK,EAAE;;+CAAgB;AACf;IAAR,KAAK,EAAE;;gDAAiB;AAChB;IAAR,KAAK,EAAE;;iDAAkB;AACjB;IAAR,KAAK,EAAE;;6CAAW;AACV;IAAR,KAAK,EAAE;;mDAAsD;AACrD;IAAR,KAAK,EAAE;;kDAAmB;AACjB;IAAT,MAAM,EAAE;;mDAAwC;AAXtC,eAAe;IAJ3B,SAAS,CAAC;QACT,QAAQ,EAAE,GAAG;QACb,QAAQ,EAAE,2BAA2B;KACtC,CAAC;qCAcwB,UAAU;GAbvB,eAAe,CAiC3B;;AAOM,IAAM,SAAS,GAAf,MAAM,SAAS;CAAG,CAAA;AAAZ,SAAS;IALrB,QAAQ,CAAC;QACR,YAAY,EAAE,CAAC,eAAe,CAAC;QAC/B,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,OAAO,EAAE,CAAC,sBAAsB,CAAC;KAClC,CAAC;GACW,SAAS,CAAG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import '@g-ui-core/core';
|
|
2
|
+
export declare class Button {
|
|
3
|
+
type: 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
4
|
+
size: string;
|
|
5
|
+
plain: boolean;
|
|
6
|
+
round: boolean;
|
|
7
|
+
circle: boolean;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
icon: string;
|
|
11
|
+
nativeType: string;
|
|
12
|
+
autofocus: boolean;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.ts"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAC;AAEzB,qBAMa,MAAM;IACR,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAa;IACpF,IAAI,EAAE,MAAM,CAAa;IACzB,KAAK,EAAE,OAAO,CAAS;IACvB,KAAK,EAAE,OAAO,CAAS;IACvB,MAAM,EAAE,OAAO,CAAS;IACxB,OAAO,EAAE,OAAO,CAAS;IACzB,QAAQ,EAAE,OAAO,CAAS;IAC1B,IAAI,EAAE,MAAM,CAAM;IAClB,UAAU,EAAE,MAAM,CAAY;IAC9B,SAAS,EAAE,OAAO,CAAS;CACrC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
12
|
+
import '@g-ui-core/core';
|
|
13
|
+
let Button = class Button {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.type = 'default';
|
|
16
|
+
this.size = 'default';
|
|
17
|
+
this.plain = false;
|
|
18
|
+
this.round = false;
|
|
19
|
+
this.circle = false;
|
|
20
|
+
this.loading = false;
|
|
21
|
+
this.disabled = false;
|
|
22
|
+
this.icon = '';
|
|
23
|
+
this.nativeType = 'button';
|
|
24
|
+
this.autofocus = false;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
__decorate([
|
|
28
|
+
Input(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], Button.prototype, "type", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
Input(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], Button.prototype, "size", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
Input(),
|
|
37
|
+
__metadata("design:type", Boolean)
|
|
38
|
+
], Button.prototype, "plain", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
Input(),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], Button.prototype, "round", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
Input(),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], Button.prototype, "circle", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
Input(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], Button.prototype, "loading", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
Input(),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], Button.prototype, "disabled", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
Input(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], Button.prototype, "icon", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
Input(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], Button.prototype, "nativeType", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
Input(),
|
|
65
|
+
__metadata("design:type", Boolean)
|
|
66
|
+
], Button.prototype, "autofocus", void 0);
|
|
67
|
+
Button = __decorate([
|
|
68
|
+
Component({
|
|
69
|
+
selector: 'g-button',
|
|
70
|
+
standalone: true,
|
|
71
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
72
|
+
template: `<g-button [attr.type]="type" [attr.size]="size" [plain]="plain" [round]="round" [circle]="circle" [loading]="loading" [disabled]="disabled" [attr.icon]="icon" [attr.nativeType]="nativeType" [autofocus]="autofocus"><ng-content /></g-button>`,
|
|
73
|
+
})
|
|
74
|
+
], Button);
|
|
75
|
+
export { Button };
|
|
76
|
+
//# sourceMappingURL=Button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../src/components/Button.ts"],"names":[],"mappings":"AAAA,yDAAyD;;;;;;;;;;AAEzD,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,iBAAiB,CAAC;AAQlB,IAAM,MAAM,GAAZ,MAAM,MAAM;IAAZ;QACI,SAAI,GAAsE,SAAS,CAAC;QACpF,SAAI,GAAW,SAAS,CAAC;QACzB,UAAK,GAAY,KAAK,CAAC;QACvB,UAAK,GAAY,KAAK,CAAC;QACvB,WAAM,GAAY,KAAK,CAAC;QACxB,YAAO,GAAY,KAAK,CAAC;QACzB,aAAQ,GAAY,KAAK,CAAC;QAC1B,SAAI,GAAW,EAAE,CAAC;QAClB,eAAU,GAAW,QAAQ,CAAC;QAC9B,cAAS,GAAY,KAAK,CAAC;IACtC,CAAC;CAAA,CAAA;AAVU;IAAR,KAAK,EAAE;;oCAAqF;AACpF;IAAR,KAAK,EAAE;;oCAA0B;AACzB;IAAR,KAAK,EAAE;;qCAAwB;AACvB;IAAR,KAAK,EAAE;;qCAAwB;AACvB;IAAR,KAAK,EAAE;;sCAAyB;AACxB;IAAR,KAAK,EAAE;;uCAA0B;AACzB;IAAR,KAAK,EAAE;;wCAA2B;AAC1B;IAAR,KAAK,EAAE;;oCAAmB;AAClB;IAAR,KAAK,EAAE;;0CAA+B;AAC9B;IAAR,KAAK,EAAE;;yCAA4B;AAVzB,MAAM;IANlB,SAAS,CAAC;QACT,QAAQ,EAAE,UAAU;QACpB,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,sBAAsB,CAAC;QACjC,QAAQ,EAAE,iPAAiP;KAC5P,CAAC;GACW,MAAM,CAWlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../src/components/ButtonGroup.ts"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAC;AAEzB,qBAMa,WAAW;CACvB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
9
|
+
import '@g-ui-core/core';
|
|
10
|
+
let ButtonGroup = class ButtonGroup {
|
|
11
|
+
};
|
|
12
|
+
ButtonGroup = __decorate([
|
|
13
|
+
Component({
|
|
14
|
+
selector: 'g-button-group',
|
|
15
|
+
standalone: true,
|
|
16
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
17
|
+
template: `<g-button-group><ng-content /></g-button-group>`,
|
|
18
|
+
})
|
|
19
|
+
], ButtonGroup);
|
|
20
|
+
export { ButtonGroup };
|
|
21
|
+
//# sourceMappingURL=ButtonGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonGroup.js","sourceRoot":"","sources":["../../src/components/ButtonGroup.ts"],"names":[],"mappings":"AAAA,yDAAyD;;;;;;;AAEzD,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,iBAAiB,CAAC;AAQlB,IAAM,WAAW,GAAjB,MAAM,WAAW;CACvB,CAAA;AADY,WAAW;IANvB,SAAS,CAAC;QACT,QAAQ,EAAE,gBAAgB;QAC1B,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,sBAAsB,CAAC;QACjC,QAAQ,EAAE,iDAAiD;KAC5D,CAAC;GACW,WAAW,CACvB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import '@g-ui-core/core';
|
|
2
|
+
export declare class GButton {
|
|
3
|
+
type: 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
4
|
+
size: string;
|
|
5
|
+
plain: boolean;
|
|
6
|
+
round: boolean;
|
|
7
|
+
circle: boolean;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
icon: string;
|
|
11
|
+
nativeType: string;
|
|
12
|
+
autofocus: boolean;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=GButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GButton.d.ts","sourceRoot":"","sources":["../../src/components/GButton.ts"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAC;AAEzB,qBAMa,OAAO;IACT,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAa;IACpF,IAAI,EAAE,MAAM,CAAa;IACzB,KAAK,EAAE,OAAO,CAAS;IACvB,KAAK,EAAE,OAAO,CAAS;IACvB,MAAM,EAAE,OAAO,CAAS;IACxB,OAAO,EAAE,OAAO,CAAS;IACzB,QAAQ,EAAE,OAAO,CAAS;IAC1B,IAAI,EAAE,MAAM,CAAM;IAClB,UAAU,EAAE,MAAM,CAAY;IAC9B,SAAS,EAAE,OAAO,CAAS;CACrC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
|
|
12
|
+
import '@g-ui-core/core';
|
|
13
|
+
let GButton = class GButton {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.type = 'default';
|
|
16
|
+
this.size = 'default';
|
|
17
|
+
this.plain = false;
|
|
18
|
+
this.round = false;
|
|
19
|
+
this.circle = false;
|
|
20
|
+
this.loading = false;
|
|
21
|
+
this.disabled = false;
|
|
22
|
+
this.icon = '';
|
|
23
|
+
this.nativeType = 'button';
|
|
24
|
+
this.autofocus = false;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
__decorate([
|
|
28
|
+
Input(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], GButton.prototype, "type", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
Input(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], GButton.prototype, "size", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
Input(),
|
|
37
|
+
__metadata("design:type", Boolean)
|
|
38
|
+
], GButton.prototype, "plain", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
Input(),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], GButton.prototype, "round", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
Input(),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], GButton.prototype, "circle", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
Input(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], GButton.prototype, "loading", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
Input(),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], GButton.prototype, "disabled", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
Input(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], GButton.prototype, "icon", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
Input(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], GButton.prototype, "nativeType", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
Input(),
|
|
65
|
+
__metadata("design:type", Boolean)
|
|
66
|
+
], GButton.prototype, "autofocus", void 0);
|
|
67
|
+
GButton = __decorate([
|
|
68
|
+
Component({
|
|
69
|
+
selector: 'g-button',
|
|
70
|
+
standalone: true,
|
|
71
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
72
|
+
template: `<g-button [attr.type]="type" [attr.size]="size" [plain]="plain" [round]="round" [circle]="circle" [loading]="loading" [disabled]="disabled" [attr.icon]="icon" [attr.nativeType]="nativeType" [autofocus]="autofocus"><ng-content /></g-button>`,
|
|
73
|
+
})
|
|
74
|
+
], GButton);
|
|
75
|
+
export { GButton };
|
|
76
|
+
//# sourceMappingURL=GButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GButton.js","sourceRoot":"","sources":["../../src/components/GButton.ts"],"names":[],"mappings":"AAAA,yDAAyD;;;;;;;;;;AAEzD,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,iBAAiB,CAAC;AAQlB,IAAM,OAAO,GAAb,MAAM,OAAO;IAAb;QACI,SAAI,GAAsE,SAAS,CAAC;QACpF,SAAI,GAAW,SAAS,CAAC;QACzB,UAAK,GAAY,KAAK,CAAC;QACvB,UAAK,GAAY,KAAK,CAAC;QACvB,WAAM,GAAY,KAAK,CAAC;QACxB,YAAO,GAAY,KAAK,CAAC;QACzB,aAAQ,GAAY,KAAK,CAAC;QAC1B,SAAI,GAAW,EAAE,CAAC;QAClB,eAAU,GAAW,QAAQ,CAAC;QAC9B,cAAS,GAAY,KAAK,CAAC;IACtC,CAAC;CAAA,CAAA;AAVU;IAAR,KAAK,EAAE;;qCAAqF;AACpF;IAAR,KAAK,EAAE;;qCAA0B;AACzB;IAAR,KAAK,EAAE;;sCAAwB;AACvB;IAAR,KAAK,EAAE;;sCAAwB;AACvB;IAAR,KAAK,EAAE;;uCAAyB;AACxB;IAAR,KAAK,EAAE;;wCAA0B;AACzB;IAAR,KAAK,EAAE;;yCAA2B;AAC1B;IAAR,KAAK,EAAE;;qCAAmB;AAClB;IAAR,KAAK,EAAE;;2CAA+B;AAC9B;IAAR,KAAK,EAAE;;0CAA4B;AAVzB,OAAO;IANnB,SAAS,CAAC;QACT,QAAQ,EAAE,UAAU;QACpB,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,sBAAsB,CAAC;QACjC,QAAQ,EAAE,iPAAiP;KAC5P,CAAC;GACW,OAAO,CAWnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GButtonGroup.d.ts","sourceRoot":"","sources":["../../src/components/GButtonGroup.ts"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAC;AAEzB,qBAMa,YAAY;CACxB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
9
|
+
import '@g-ui-core/core';
|
|
10
|
+
let GButtonGroup = class GButtonGroup {
|
|
11
|
+
};
|
|
12
|
+
GButtonGroup = __decorate([
|
|
13
|
+
Component({
|
|
14
|
+
selector: 'g-button-group',
|
|
15
|
+
standalone: true,
|
|
16
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
17
|
+
template: `<g-button-group><ng-content /></g-button-group>`,
|
|
18
|
+
})
|
|
19
|
+
], GButtonGroup);
|
|
20
|
+
export { GButtonGroup };
|
|
21
|
+
//# sourceMappingURL=GButtonGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GButtonGroup.js","sourceRoot":"","sources":["../../src/components/GButtonGroup.ts"],"names":[],"mappings":"AAAA,yDAAyD;;;;;;;AAEzD,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,iBAAiB,CAAC;AAQlB,IAAM,YAAY,GAAlB,MAAM,YAAY;CACxB,CAAA;AADY,YAAY;IANxB,SAAS,CAAC;QACT,QAAQ,EAAE,gBAAgB;QAC1B,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,CAAC,sBAAsB,CAAC;QACjC,QAAQ,EAAE,iDAAiD;KAC5D,CAAC;GACW,YAAY,CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
export { GButton } from './components/GButton.js';
|
|
3
|
+
export { GButtonGroup } from './components/GButtonGroup.js';
|
|
2
4
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,yDAAyD;AAEzD,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@g-ui-core/angular",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Angular wrappers for g-ui-core components",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
7
14
|
"files": [
|
|
8
15
|
"dist"
|
|
9
16
|
],
|