@logosphere-ui/angular 0.0.1-alpha.1
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/README.md +63 -0
- package/fesm2022/logosphere-ui-angular-src-lib-badge.mjs +53 -0
- package/fesm2022/logosphere-ui-angular-src-lib-badge.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-breadcrumb.mjs +37 -0
- package/fesm2022/logosphere-ui-angular-src-lib-breadcrumb.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-button.mjs +34 -0
- package/fesm2022/logosphere-ui-angular-src-lib-button.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-calendar.mjs +85 -0
- package/fesm2022/logosphere-ui-angular-src-lib-calendar.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-card.mjs +68 -0
- package/fesm2022/logosphere-ui-angular-src-lib-card.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs +62 -0
- package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-checkbox.mjs +55 -0
- package/fesm2022/logosphere-ui-angular-src-lib-checkbox.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs +100 -0
- package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-datepicker.mjs +102 -0
- package/fesm2022/logosphere-ui-angular-src-lib-datepicker.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-download-manager.mjs +39 -0
- package/fesm2022/logosphere-ui-angular-src-lib-download-manager.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-drawer.mjs +64 -0
- package/fesm2022/logosphere-ui-angular-src-lib-drawer.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-formfield.mjs +76 -0
- package/fesm2022/logosphere-ui-angular-src-lib-formfield.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-input.mjs +130 -0
- package/fesm2022/logosphere-ui-angular-src-lib-input.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs +99 -0
- package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-modal.mjs +66 -0
- package/fesm2022/logosphere-ui-angular-src-lib-modal.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-popover.mjs +66 -0
- package/fesm2022/logosphere-ui-angular-src-lib-popover.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-switch.mjs +46 -0
- package/fesm2022/logosphere-ui-angular-src-lib-switch.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-tab.mjs +61 -0
- package/fesm2022/logosphere-ui-angular-src-lib-tab.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-textarea.mjs +110 -0
- package/fesm2022/logosphere-ui-angular-src-lib-textarea.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-timepicker.mjs +73 -0
- package/fesm2022/logosphere-ui-angular-src-lib-timepicker.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-toast.mjs +74 -0
- package/fesm2022/logosphere-ui-angular-src-lib-toast.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-tree-menu.mjs +76 -0
- package/fesm2022/logosphere-ui-angular-src-lib-tree-menu.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular.mjs +1390 -0
- package/fesm2022/logosphere-ui-angular.mjs.map +1 -0
- package/package.json +112 -0
- package/types/logosphere-ui-angular-src-lib-badge.d.ts +15 -0
- package/types/logosphere-ui-angular-src-lib-breadcrumb.d.ts +17 -0
- package/types/logosphere-ui-angular-src-lib-button.d.ts +12 -0
- package/types/logosphere-ui-angular-src-lib-calendar.d.ts +30 -0
- package/types/logosphere-ui-angular-src-lib-card.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-chatbot.d.ts +24 -0
- package/types/logosphere-ui-angular-src-lib-checkbox.d.ts +22 -0
- package/types/logosphere-ui-angular-src-lib-combobox.d.ts +35 -0
- package/types/logosphere-ui-angular-src-lib-datepicker.d.ts +36 -0
- package/types/logosphere-ui-angular-src-lib-download-manager.d.ts +11 -0
- package/types/logosphere-ui-angular-src-lib-drawer.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-formfield.d.ts +20 -0
- package/types/logosphere-ui-angular-src-lib-input.d.ts +47 -0
- package/types/logosphere-ui-angular-src-lib-left-menu.d.ts +30 -0
- package/types/logosphere-ui-angular-src-lib-modal.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-popover.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-switch.d.ts +17 -0
- package/types/logosphere-ui-angular-src-lib-tab.d.ts +27 -0
- package/types/logosphere-ui-angular-src-lib-textarea.d.ts +38 -0
- package/types/logosphere-ui-angular-src-lib-timepicker.d.ts +24 -0
- package/types/logosphere-ui-angular-src-lib-toast.d.ts +27 -0
- package/types/logosphere-ui-angular-src-lib-tree-menu.d.ts +38 -0
- package/types/logosphere-ui-angular.d.ts +468 -0
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Wrapper
|
|
2
|
+
|
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.0.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ng generate component component-name
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ng generate --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Building
|
|
20
|
+
|
|
21
|
+
To build the library, run:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ng build wrapper
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
+
|
|
29
|
+
### Publishing the Library
|
|
30
|
+
|
|
31
|
+
Once the project is built, you can publish your library by following these steps:
|
|
32
|
+
|
|
33
|
+
1. Navigate to the `dist` directory:
|
|
34
|
+
```bash
|
|
35
|
+
cd dist/wrapper
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
39
|
+
```bash
|
|
40
|
+
npm publish
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Running unit tests
|
|
44
|
+
|
|
45
|
+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
ng test
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Running end-to-end tests
|
|
52
|
+
|
|
53
|
+
For end-to-end (e2e) testing, run:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
ng e2e
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
+
|
|
61
|
+
## Additional Resources
|
|
62
|
+
|
|
63
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/badge';
|
|
4
|
+
|
|
5
|
+
class LogosphereBadge {
|
|
6
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
7
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
8
|
+
text = input('', ...(ngDevMode ? [{ debugName: "text" }] : []));
|
|
9
|
+
closeable = input(false, ...(ngDevMode ? [{ debugName: "closeable" }] : []));
|
|
10
|
+
isRound = input(false, ...(ngDevMode ? [{ debugName: "isRound" }] : []));
|
|
11
|
+
close = output();
|
|
12
|
+
onClose(_event) {
|
|
13
|
+
this.close.emit();
|
|
14
|
+
}
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereBadge, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereBadge, isStandalone: true, selector: "lgs-badge", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, closeable: { classPropertyName: "closeable", publicName: "closeable", isSignal: true, isRequired: false, transformFunction: null }, isRound: { classPropertyName: "isRound", publicName: "isRound", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close" }, ngImport: i0, template: `
|
|
17
|
+
<logosphere-badge
|
|
18
|
+
[variant]="variant()"
|
|
19
|
+
[size]="size()"
|
|
20
|
+
[text]="text()"
|
|
21
|
+
[closeable]="closeable()"
|
|
22
|
+
[isRound]="isRound()"
|
|
23
|
+
(close)="onClose($event)"
|
|
24
|
+
>
|
|
25
|
+
<ng-content></ng-content>
|
|
26
|
+
</logosphere-badge>`, isInline: true });
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereBadge, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: 'lgs-badge',
|
|
32
|
+
imports: [],
|
|
33
|
+
template: `
|
|
34
|
+
<logosphere-badge
|
|
35
|
+
[variant]="variant()"
|
|
36
|
+
[size]="size()"
|
|
37
|
+
[text]="text()"
|
|
38
|
+
[closeable]="closeable()"
|
|
39
|
+
[isRound]="isRound()"
|
|
40
|
+
(close)="onClose($event)"
|
|
41
|
+
>
|
|
42
|
+
<ng-content></ng-content>
|
|
43
|
+
</logosphere-badge>`,
|
|
44
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
45
|
+
}]
|
|
46
|
+
}], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], closeable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeable", required: false }] }], isRound: [{ type: i0.Input, args: [{ isSignal: true, alias: "isRound", required: false }] }], close: [{ type: i0.Output, args: ["close"] }] } });
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Generated bundle index. Do not edit.
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
export { LogosphereBadge };
|
|
53
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-badge.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-badge.mjs","sources":["../../projects/wrapper/src/lib/badge/badge.ts","../../projects/wrapper/src/lib/badge/logosphere-ui-angular-src-lib-badge.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/badge';\n\n@Component({\n selector: 'lgs-badge',\n imports: [],\n template: `\n <logosphere-badge\n [variant]=\"variant()\"\n [size]=\"size()\"\n [text]=\"text()\"\n [closeable]=\"closeable()\"\n [isRound]=\"isRound()\"\n (close)=\"onClose($event)\"\n >\n <ng-content></ng-content>\n </logosphere-badge>`,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereBadge {\n variant = input<string>('default');\n size = input<string>('default');\n text = input<string>('');\n closeable = input<boolean>(false);\n isRound = input<boolean>(false);\n\n close = output<void>();\n\n onClose(_event: Event) {\n this.close.emit();\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAmBa,eAAe,CAAA;AAC1B,IAAA,OAAO,GAAG,KAAK,CAAS,SAAS,mDAAC;AAClC,IAAA,IAAI,GAAG,KAAK,CAAS,SAAS,gDAAC;AAC/B,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,gDAAC;AACxB,IAAA,SAAS,GAAG,KAAK,CAAU,KAAK,qDAAC;AACjC,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,mDAAC;IAE/B,KAAK,GAAG,MAAM,EAAQ;AAEtB,IAAA,OAAO,CAAC,MAAa,EAAA;AACnB,QAAA,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;IACnB;uGAXW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAbhB;;;;;;;;;;AAUY,uBAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGX,eAAe,EAAA,UAAA,EAAA,CAAA;kBAhB3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,WAAW;AACrB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;AAUY,uBAAA,CAAA;oBACtB,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;AClBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, ViewChild, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/breadcrumb';
|
|
4
|
+
|
|
5
|
+
class LogosphereBreadcrumb {
|
|
6
|
+
items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
7
|
+
set elRef(element) {
|
|
8
|
+
if (element) {
|
|
9
|
+
element.nativeElement.items = this.items();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereBreadcrumb, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereBreadcrumb, isStandalone: true, selector: "lgs-breadcrumb", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true }], ngImport: i0, template: `
|
|
14
|
+
<logosphere-breadcrumb #el></logosphere-breadcrumb>
|
|
15
|
+
`, isInline: true });
|
|
16
|
+
}
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereBreadcrumb, decorators: [{
|
|
18
|
+
type: Component,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: 'lgs-breadcrumb',
|
|
21
|
+
imports: [],
|
|
22
|
+
template: `
|
|
23
|
+
<logosphere-breadcrumb #el></logosphere-breadcrumb>
|
|
24
|
+
`,
|
|
25
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
26
|
+
}]
|
|
27
|
+
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], elRef: [{
|
|
28
|
+
type: ViewChild,
|
|
29
|
+
args: ['el', { static: false }]
|
|
30
|
+
}] } });
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Generated bundle index. Do not edit.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
export { LogosphereBreadcrumb };
|
|
37
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-breadcrumb.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-breadcrumb.mjs","sources":["../../projects/wrapper/src/lib/breadcrumb/breadcrumb.ts","../../projects/wrapper/src/lib/breadcrumb/logosphere-ui-angular-src-lib-breadcrumb.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, ElementRef, input, ViewChild} from '@angular/core';\nimport '@logosphere-ui/core/breadcrumb';\n\nexport type BreadcrumbItem = {\n label: string;\n href?: string;\n active?: boolean;\n};\n\n@Component({\n selector: 'lgs-breadcrumb',\n imports: [],\n template: `\n <logosphere-breadcrumb #el></logosphere-breadcrumb>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereBreadcrumb {\n items = input<BreadcrumbItem[]>([]);\n\n @ViewChild('el', { static: false }) set elRef(element: ElementRef | undefined) {\n if (element) {\n (element.nativeElement as any).items = this.items();\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAiBa,oBAAoB,CAAA;AAC/B,IAAA,KAAK,GAAG,KAAK,CAAmB,EAAE,iDAAC;IAEnC,IAAwC,KAAK,CAAC,OAA+B,EAAA;QAC3E,IAAI,OAAO,EAAE;YACV,OAAO,CAAC,aAAqB,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE;QACrD;IACF;uGAPW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,OAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,IAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EALrB;;AAET,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBARhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;AAET,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;sBAIE,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;;;ACpBpC;;AAEG;;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/button';
|
|
4
|
+
|
|
5
|
+
class LogosphereButton {
|
|
6
|
+
theme = input('primary', ...(ngDevMode ? [{ debugName: "theme" }] : []));
|
|
7
|
+
size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
8
|
+
variant = input('primary', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
9
|
+
iconOnly = input(false, ...(ngDevMode ? [{ debugName: "iconOnly" }] : []));
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereButton, isStandalone: true, selector: "lgs-button", inputs: { theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, iconOnly: { classPropertyName: "iconOnly", publicName: "iconOnly", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
12
|
+
<logosphere-button [theme]="theme()" [size]="size()" [variant]="variant()" [iconOnly]="iconOnly()">
|
|
13
|
+
<ng-content></ng-content>
|
|
14
|
+
</logosphere-button>`, isInline: true });
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereButton, decorators: [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: 'lgs-button',
|
|
20
|
+
imports: [],
|
|
21
|
+
template: `
|
|
22
|
+
<logosphere-button [theme]="theme()" [size]="size()" [variant]="variant()" [iconOnly]="iconOnly()">
|
|
23
|
+
<ng-content></ng-content>
|
|
24
|
+
</logosphere-button>`,
|
|
25
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
26
|
+
}]
|
|
27
|
+
}], propDecorators: { theme: [{ type: i0.Input, args: [{ isSignal: true, alias: "theme", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], iconOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconOnly", required: false }] }] } });
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Generated bundle index. Do not edit.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
export { LogosphereButton };
|
|
34
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-button.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-button.mjs","sources":["../../projects/wrapper/src/lib/button/button.ts","../../projects/wrapper/src/lib/button/logosphere-ui-angular-src-lib-button.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input} from '@angular/core';\nimport '@logosphere-ui/core/button';\n\n@Component({\n selector: 'lgs-button',\n imports: [],\n template: `\n <logosphere-button [theme]=\"theme()\" [size]=\"size()\" [variant]=\"variant()\" [iconOnly]=\"iconOnly()\">\n <ng-content></ng-content>\n </logosphere-button>`,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereButton {\n theme = input<string>('primary');\n size = input<string>('md');\n variant = input<string>('primary');\n iconOnly = input<boolean>(false);\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAYa,gBAAgB,CAAA;AAC3B,IAAA,KAAK,GAAG,KAAK,CAAS,SAAS,iDAAC;AAChC,IAAA,IAAI,GAAG,KAAK,CAAS,IAAI,gDAAC;AAC1B,IAAA,OAAO,GAAG,KAAK,CAAS,SAAS,mDAAC;AAClC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;uGAJrB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANjB;;;AAGa,wBAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGZ,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAT5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;AAGa,wBAAA,CAAA;oBACvB,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, ViewChild, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/calendar';
|
|
4
|
+
|
|
5
|
+
class LogosphereCalendar {
|
|
6
|
+
value = input(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
7
|
+
min = input(null, ...(ngDevMode ? [{ debugName: "min" }] : []));
|
|
8
|
+
max = input(null, ...(ngDevMode ? [{ debugName: "max" }] : []));
|
|
9
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
10
|
+
rangeMode = input(false, ...(ngDevMode ? [{ debugName: "rangeMode" }] : []));
|
|
11
|
+
disabledDays = input([], ...(ngDevMode ? [{ debugName: "disabledDays" }] : []));
|
|
12
|
+
rangeStart = input(null, ...(ngDevMode ? [{ debugName: "rangeStart" }] : []));
|
|
13
|
+
rangeEnd = input(null, ...(ngDevMode ? [{ debugName: "rangeEnd" }] : []));
|
|
14
|
+
closable = input(false, ...(ngDevMode ? [{ debugName: "closable" }] : []));
|
|
15
|
+
change = output();
|
|
16
|
+
rangeChange = output();
|
|
17
|
+
closeRequest = output();
|
|
18
|
+
set elRef(element) {
|
|
19
|
+
if (element) {
|
|
20
|
+
element.nativeElement.disabledDays = this.disabledDays();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
onChange(event) {
|
|
24
|
+
const e = event;
|
|
25
|
+
this.change.emit(e.detail);
|
|
26
|
+
}
|
|
27
|
+
onRangeChange(event) {
|
|
28
|
+
const e = event;
|
|
29
|
+
this.rangeChange.emit(e.detail);
|
|
30
|
+
}
|
|
31
|
+
onCloseRequest() {
|
|
32
|
+
this.closeRequest.emit();
|
|
33
|
+
}
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCalendar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereCalendar, isStandalone: true, selector: "lgs-calendar", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, rangeMode: { classPropertyName: "rangeMode", publicName: "rangeMode", isSignal: true, isRequired: false, transformFunction: null }, disabledDays: { classPropertyName: "disabledDays", publicName: "disabledDays", isSignal: true, isRequired: false, transformFunction: null }, rangeStart: { classPropertyName: "rangeStart", publicName: "rangeStart", isSignal: true, isRequired: false, transformFunction: null }, rangeEnd: { classPropertyName: "rangeEnd", publicName: "rangeEnd", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change", rangeChange: "rangeChange", closeRequest: "closeRequest" }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true }], ngImport: i0, template: `
|
|
36
|
+
<logosphere-calendar
|
|
37
|
+
#el
|
|
38
|
+
[attr.value]="value()"
|
|
39
|
+
[attr.min]="min()"
|
|
40
|
+
[attr.max]="max()"
|
|
41
|
+
[attr.disabled]="disabled() || null"
|
|
42
|
+
[attr.range-mode]="rangeMode() || null"
|
|
43
|
+
[attr.range-start]="rangeStart()"
|
|
44
|
+
[attr.range-end]="rangeEnd()"
|
|
45
|
+
[attr.closable]="closable() || null"
|
|
46
|
+
(change)="onChange($event)"
|
|
47
|
+
(rangeChange)="onRangeChange($event)"
|
|
48
|
+
(close-request)="onCloseRequest()"
|
|
49
|
+
></logosphere-calendar>
|
|
50
|
+
`, isInline: true });
|
|
51
|
+
}
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCalendar, decorators: [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{
|
|
55
|
+
selector: 'lgs-calendar',
|
|
56
|
+
imports: [],
|
|
57
|
+
template: `
|
|
58
|
+
<logosphere-calendar
|
|
59
|
+
#el
|
|
60
|
+
[attr.value]="value()"
|
|
61
|
+
[attr.min]="min()"
|
|
62
|
+
[attr.max]="max()"
|
|
63
|
+
[attr.disabled]="disabled() || null"
|
|
64
|
+
[attr.range-mode]="rangeMode() || null"
|
|
65
|
+
[attr.range-start]="rangeStart()"
|
|
66
|
+
[attr.range-end]="rangeEnd()"
|
|
67
|
+
[attr.closable]="closable() || null"
|
|
68
|
+
(change)="onChange($event)"
|
|
69
|
+
(rangeChange)="onRangeChange($event)"
|
|
70
|
+
(close-request)="onCloseRequest()"
|
|
71
|
+
></logosphere-calendar>
|
|
72
|
+
`,
|
|
73
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
74
|
+
}]
|
|
75
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], rangeMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "rangeMode", required: false }] }], disabledDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabledDays", required: false }] }], rangeStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "rangeStart", required: false }] }], rangeEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "rangeEnd", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], change: [{ type: i0.Output, args: ["change"] }], rangeChange: [{ type: i0.Output, args: ["rangeChange"] }], closeRequest: [{ type: i0.Output, args: ["closeRequest"] }], elRef: [{
|
|
76
|
+
type: ViewChild,
|
|
77
|
+
args: ['el', { static: false }]
|
|
78
|
+
}] } });
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Generated bundle index. Do not edit.
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
export { LogosphereCalendar };
|
|
85
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-calendar.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-calendar.mjs","sources":["../../projects/wrapper/src/lib/calendar/calendar.ts","../../projects/wrapper/src/lib/calendar/logosphere-ui-angular-src-lib-calendar.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, ElementRef, input, output, ViewChild} from '@angular/core';\nimport '@logosphere-ui/core/calendar';\n\n@Component({\n selector: 'lgs-calendar',\n imports: [],\n template: `\n <logosphere-calendar\n #el\n [attr.value]=\"value()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [attr.disabled]=\"disabled() || null\"\n [attr.range-mode]=\"rangeMode() || null\"\n [attr.range-start]=\"rangeStart()\"\n [attr.range-end]=\"rangeEnd()\"\n [attr.closable]=\"closable() || null\"\n (change)=\"onChange($event)\"\n (rangeChange)=\"onRangeChange($event)\"\n (close-request)=\"onCloseRequest()\"\n ></logosphere-calendar>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereCalendar {\n value = input<string | null>(null);\n min = input<string | null>(null);\n max = input<string | null>(null);\n disabled = input<boolean>(false);\n rangeMode = input<boolean>(false);\n disabledDays = input<number[]>([]);\n rangeStart = input<string | null>(null);\n rangeEnd = input<string | null>(null);\n closable = input<boolean>(false);\n\n change = output<{ value: string | null }>();\n rangeChange = output<{ start: string; end: string }>();\n closeRequest = output<void>();\n\n @ViewChild('el', { static: false }) set elRef(element: ElementRef | undefined) {\n if (element) {\n (element.nativeElement as any).disabledDays = this.disabledDays();\n }\n }\n\n onChange(event: Event) {\n const e = event as CustomEvent<{ value: string | null }>;\n this.change.emit(e.detail);\n }\n\n onRangeChange(event: Event) {\n const e = event as CustomEvent<{ start: string; end: string }>;\n this.rangeChange.emit(e.detail);\n }\n\n onCloseRequest() {\n this.closeRequest.emit();\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAwBa,kBAAkB,CAAA;AAC7B,IAAA,KAAK,GAAG,KAAK,CAAgB,IAAI,iDAAC;AAClC,IAAA,GAAG,GAAG,KAAK,CAAgB,IAAI,+CAAC;AAChC,IAAA,GAAG,GAAG,KAAK,CAAgB,IAAI,+CAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,SAAS,GAAG,KAAK,CAAU,KAAK,qDAAC;AACjC,IAAA,YAAY,GAAG,KAAK,CAAW,EAAE,wDAAC;AAClC,IAAA,UAAU,GAAG,KAAK,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AAA,YAAA,EAAA,OAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,IAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAlBnB;;;;;;;;;;;;;;;AAeT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBArB9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;AAeT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;sBAgBE,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;;;ACvCpC;;AAEG;;;;"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/card';
|
|
4
|
+
|
|
5
|
+
class LogosphereCard {
|
|
6
|
+
cardTitle = input('', { ...(ngDevMode ? { debugName: "cardTitle" } : {}), alias: 'title' });
|
|
7
|
+
description = input('', ...(ngDevMode ? [{ debugName: "description" }] : []));
|
|
8
|
+
header = input(true, ...(ngDevMode ? [{ debugName: "header" }] : []));
|
|
9
|
+
footer = input(true, ...(ngDevMode ? [{ debugName: "footer" }] : []));
|
|
10
|
+
okLabel = input('Tamam', ...(ngDevMode ? [{ debugName: "okLabel" }] : []));
|
|
11
|
+
cancelLabel = input('İptal', ...(ngDevMode ? [{ debugName: "cancelLabel" }] : []));
|
|
12
|
+
ok = output();
|
|
13
|
+
cancel = output();
|
|
14
|
+
onOk() {
|
|
15
|
+
this.ok.emit();
|
|
16
|
+
}
|
|
17
|
+
onCancel() {
|
|
18
|
+
this.cancel.emit();
|
|
19
|
+
}
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCard, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereCard, isStandalone: true, selector: "lgs-card", inputs: { cardTitle: { classPropertyName: "cardTitle", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, footer: { classPropertyName: "footer", publicName: "footer", isSignal: true, isRequired: false, transformFunction: null }, okLabel: { classPropertyName: "okLabel", publicName: "okLabel", isSignal: true, isRequired: false, transformFunction: null }, cancelLabel: { classPropertyName: "cancelLabel", publicName: "cancelLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ok: "ok", cancel: "cancel" }, ngImport: i0, template: `
|
|
22
|
+
<logosphere-card
|
|
23
|
+
[title]="cardTitle()"
|
|
24
|
+
[description]="description()"
|
|
25
|
+
[header]="header()"
|
|
26
|
+
[footer]="footer()"
|
|
27
|
+
[okLabel]="okLabel()"
|
|
28
|
+
[cancelLabel]="cancelLabel()"
|
|
29
|
+
(ok)="onOk()"
|
|
30
|
+
(cancel)="onCancel()"
|
|
31
|
+
>
|
|
32
|
+
<ng-content></ng-content>
|
|
33
|
+
<ng-content select="[slot=header]" slot="header"></ng-content>
|
|
34
|
+
<ng-content select="[slot=footer]" slot="footer"></ng-content>
|
|
35
|
+
</logosphere-card>
|
|
36
|
+
`, isInline: true });
|
|
37
|
+
}
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCard, decorators: [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{
|
|
41
|
+
selector: 'lgs-card',
|
|
42
|
+
imports: [],
|
|
43
|
+
template: `
|
|
44
|
+
<logosphere-card
|
|
45
|
+
[title]="cardTitle()"
|
|
46
|
+
[description]="description()"
|
|
47
|
+
[header]="header()"
|
|
48
|
+
[footer]="footer()"
|
|
49
|
+
[okLabel]="okLabel()"
|
|
50
|
+
[cancelLabel]="cancelLabel()"
|
|
51
|
+
(ok)="onOk()"
|
|
52
|
+
(cancel)="onCancel()"
|
|
53
|
+
>
|
|
54
|
+
<ng-content></ng-content>
|
|
55
|
+
<ng-content select="[slot=header]" slot="header"></ng-content>
|
|
56
|
+
<ng-content select="[slot=footer]" slot="footer"></ng-content>
|
|
57
|
+
</logosphere-card>
|
|
58
|
+
`,
|
|
59
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
60
|
+
}]
|
|
61
|
+
}], propDecorators: { cardTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], footer: [{ type: i0.Input, args: [{ isSignal: true, alias: "footer", required: false }] }], okLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "okLabel", required: false }] }], cancelLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "cancelLabel", required: false }] }], ok: [{ type: i0.Output, args: ["ok"] }], cancel: [{ type: i0.Output, args: ["cancel"] }] } });
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Generated bundle index. Do not edit.
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
export { LogosphereCard };
|
|
68
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-card.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-card.mjs","sources":["../../projects/wrapper/src/lib/card/card.ts","../../projects/wrapper/src/lib/card/logosphere-ui-angular-src-lib-card.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/card';\n\n@Component({\n selector: 'lgs-card',\n imports: [],\n template: `\n <logosphere-card\n [title]=\"cardTitle()\"\n [description]=\"description()\"\n [header]=\"header()\"\n [footer]=\"footer()\"\n [okLabel]=\"okLabel()\"\n [cancelLabel]=\"cancelLabel()\"\n (ok)=\"onOk()\"\n (cancel)=\"onCancel()\"\n >\n <ng-content></ng-content>\n <ng-content select=\"[slot=header]\" slot=\"header\"></ng-content>\n <ng-content select=\"[slot=footer]\" slot=\"footer\"></ng-content>\n </logosphere-card>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereCard {\n cardTitle = input<string>('', { alias: 'title' });\n description = input<string>('');\n header = input<boolean>(true);\n footer = input<boolean>(true);\n okLabel = input<string>('Tamam');\n cancelLabel = input<string>('İptal');\n\n ok = output<void>();\n cancel = output<void>();\n\n onOk() {\n this.ok.emit();\n }\n\n onCancel() {\n this.cancel.emit();\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAwBa,cAAc,CAAA;IACzB,SAAS,GAAG,KAAK,CAAS,EAAE,sDAAI,KAAK,EAAE,OAAO,EAAA,CAAG;AACjD,IAAA,WAAW,GAAG,KAAK,CAAS,EAAE,uDAAC;AAC/B,IAAA,MAAM,GAAG,KAAK,CAAU,IAAI,kDAAC;AAC7B,IAAA,MAAM,GAAG,KAAK,CAAU,IAAI,kDAAC;AAC7B,IAAA,OAAO,GAAG,KAAK,CAAS,OAAO,mDAAC;AAChC,IAAA,WAAW,GAAG,KAAK,CAAS,OAAO,uDAAC;IAEpC,EAAE,GAAG,MAAM,EAAQ;IACnB,MAAM,GAAG,MAAM,EAAQ;IAEvB,IAAI,GAAA;AACF,QAAA,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE;IAChB;IAEA,QAAQ,GAA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A,EAAA,OAAA,EAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAlBf;;;;;;;;;;;;;;;AAeT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,cAAc,EAAA,UAAA,EAAA,CAAA;kBArB1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;AAeT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACvBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, ViewChild, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/chatbot';
|
|
4
|
+
|
|
5
|
+
class LogosphereChatbot {
|
|
6
|
+
returnUri = input('', ...(ngDevMode ? [{ debugName: "returnUri" }] : []));
|
|
7
|
+
questionPrompt = input('', ...(ngDevMode ? [{ debugName: "questionPrompt" }] : []));
|
|
8
|
+
minimizedIconOnly = input(false, ...(ngDevMode ? [{ debugName: "minimizedIconOnly" }] : []));
|
|
9
|
+
draggable = input(false, ...(ngDevMode ? [{ debugName: "draggable" }] : []));
|
|
10
|
+
resizable = input(false, ...(ngDevMode ? [{ debugName: "resizable" }] : []));
|
|
11
|
+
openInitially = input(false, ...(ngDevMode ? [{ debugName: "openInitially" }] : []));
|
|
12
|
+
showFeedbackButtons = input(false, ...(ngDevMode ? [{ debugName: "showFeedbackButtons" }] : []));
|
|
13
|
+
products = input([], ...(ngDevMode ? [{ debugName: "products" }] : []));
|
|
14
|
+
set chatbotElRef(element) {
|
|
15
|
+
if (element) {
|
|
16
|
+
element.nativeElement.products = this.products();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereChatbot, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereChatbot, isStandalone: true, selector: "lgs-chatbot", inputs: { returnUri: { classPropertyName: "returnUri", publicName: "returnUri", isSignal: true, isRequired: false, transformFunction: null }, questionPrompt: { classPropertyName: "questionPrompt", publicName: "questionPrompt", isSignal: true, isRequired: false, transformFunction: null }, minimizedIconOnly: { classPropertyName: "minimizedIconOnly", publicName: "minimizedIconOnly", isSignal: true, isRequired: false, transformFunction: null }, draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, resizable: { classPropertyName: "resizable", publicName: "resizable", isSignal: true, isRequired: false, transformFunction: null }, openInitially: { classPropertyName: "openInitially", publicName: "openInitially", isSignal: true, isRequired: false, transformFunction: null }, showFeedbackButtons: { classPropertyName: "showFeedbackButtons", publicName: "showFeedbackButtons", isSignal: true, isRequired: false, transformFunction: null }, products: { classPropertyName: "products", publicName: "products", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "chatbotElRef", first: true, predicate: ["chatbotEl"], descendants: true }], ngImport: i0, template: `
|
|
21
|
+
<logosphere-chatbot
|
|
22
|
+
#chatbotEl
|
|
23
|
+
[attr.return-uri]="returnUri()"
|
|
24
|
+
[attr.question-prompt]="questionPrompt()"
|
|
25
|
+
[attr.minimized-icon-only]="minimizedIconOnly() || null"
|
|
26
|
+
[attr.draggable]="draggable() || null"
|
|
27
|
+
[attr.resizable]="resizable() || null"
|
|
28
|
+
[attr.open-initially]="openInitially() || null"
|
|
29
|
+
[attr.show-feedback-buttons]="showFeedbackButtons() || null"
|
|
30
|
+
></logosphere-chatbot>
|
|
31
|
+
`, isInline: true });
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereChatbot, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{
|
|
36
|
+
selector: 'lgs-chatbot',
|
|
37
|
+
imports: [],
|
|
38
|
+
template: `
|
|
39
|
+
<logosphere-chatbot
|
|
40
|
+
#chatbotEl
|
|
41
|
+
[attr.return-uri]="returnUri()"
|
|
42
|
+
[attr.question-prompt]="questionPrompt()"
|
|
43
|
+
[attr.minimized-icon-only]="minimizedIconOnly() || null"
|
|
44
|
+
[attr.draggable]="draggable() || null"
|
|
45
|
+
[attr.resizable]="resizable() || null"
|
|
46
|
+
[attr.open-initially]="openInitially() || null"
|
|
47
|
+
[attr.show-feedback-buttons]="showFeedbackButtons() || null"
|
|
48
|
+
></logosphere-chatbot>
|
|
49
|
+
`,
|
|
50
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
51
|
+
}]
|
|
52
|
+
}], propDecorators: { returnUri: [{ type: i0.Input, args: [{ isSignal: true, alias: "returnUri", required: false }] }], questionPrompt: [{ type: i0.Input, args: [{ isSignal: true, alias: "questionPrompt", required: false }] }], minimizedIconOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "minimizedIconOnly", required: false }] }], draggable: [{ type: i0.Input, args: [{ isSignal: true, alias: "draggable", required: false }] }], resizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizable", required: false }] }], openInitially: [{ type: i0.Input, args: [{ isSignal: true, alias: "openInitially", required: false }] }], showFeedbackButtons: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFeedbackButtons", required: false }] }], products: [{ type: i0.Input, args: [{ isSignal: true, alias: "products", required: false }] }], chatbotElRef: [{
|
|
53
|
+
type: ViewChild,
|
|
54
|
+
args: ['chatbotEl', { static: false }]
|
|
55
|
+
}] } });
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Generated bundle index. Do not edit.
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
export { LogosphereChatbot };
|
|
62
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-chatbot.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-chatbot.mjs","sources":["../../projects/wrapper/src/lib/chatbot/chatbot.ts","../../projects/wrapper/src/lib/chatbot/logosphere-ui-angular-src-lib-chatbot.ts"],"sourcesContent":["import {\n Component,\n CUSTOM_ELEMENTS_SCHEMA,\n ElementRef,\n input,\n ViewChild,\n} from '@angular/core';\nimport '@logosphere-ui/core/chatbot';\n\nexport type ChatbotProduct = {\n id: string;\n name: string;\n selected?: boolean;\n};\n\n@Component({\n selector: 'lgs-chatbot',\n imports: [],\n template: `\n <logosphere-chatbot\n #chatbotEl\n [attr.return-uri]=\"returnUri()\"\n [attr.question-prompt]=\"questionPrompt()\"\n [attr.minimized-icon-only]=\"minimizedIconOnly() || null\"\n [attr.draggable]=\"draggable() || null\"\n [attr.resizable]=\"resizable() || null\"\n [attr.open-initially]=\"openInitially() || null\"\n [attr.show-feedback-buttons]=\"showFeedbackButtons() || null\"\n ></logosphere-chatbot>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereChatbot {\n returnUri = input<string>('');\n questionPrompt = input<string>('');\n minimizedIconOnly = input<boolean>(false);\n draggable = input<boolean>(false);\n resizable = input<boolean>(false);\n openInitially = input<boolean>(false);\n showFeedbackButtons = input<boolean>(false);\n products = input<ChatbotProduct[]>([]);\n\n @ViewChild('chatbotEl', { static: false }) set chatbotElRef(element: ElementRef | undefined) {\n if (element) {\n (element.nativeElement as any).products = this.products();\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAgCa,iBAAiB,CAAA;AAC5B,IAAA,SAAS,GAAa,KAAK,CAAS,EAAE,qDAAC;AACvC,IAAA,cAAc,GAAQ,KAAK,CAAS,EA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BAWE,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,WAAW,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;;;AC1C3C;;AAEG;;;;"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/checkbox';
|
|
4
|
+
|
|
5
|
+
class LogosphereCheckbox {
|
|
6
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
7
|
+
indeterminate = input(false, ...(ngDevMode ? [{ debugName: "indeterminate" }] : []));
|
|
8
|
+
checked = input(false, ...(ngDevMode ? [{ debugName: "checked" }] : []));
|
|
9
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
10
|
+
value = input('', ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
11
|
+
type = input("checkbox", ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
12
|
+
change = output();
|
|
13
|
+
onChange(event) {
|
|
14
|
+
const e = event;
|
|
15
|
+
this.change.emit(e.detail);
|
|
16
|
+
}
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereCheckbox, isStandalone: true, selector: "lgs-checkbox", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change" }, ngImport: i0, template: `
|
|
19
|
+
<logosphere-checkbox
|
|
20
|
+
[checked]="checked()"
|
|
21
|
+
[disabled]="disabled()"
|
|
22
|
+
[indeterminate]="indeterminate()"
|
|
23
|
+
[label]="label()"
|
|
24
|
+
[value]="value()"
|
|
25
|
+
[type]="type()"
|
|
26
|
+
(lgsChange)="onChange($event)"
|
|
27
|
+
>
|
|
28
|
+
</logosphere-checkbox>`, isInline: true });
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCheckbox, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{
|
|
33
|
+
selector: 'lgs-checkbox',
|
|
34
|
+
imports: [],
|
|
35
|
+
template: `
|
|
36
|
+
<logosphere-checkbox
|
|
37
|
+
[checked]="checked()"
|
|
38
|
+
[disabled]="disabled()"
|
|
39
|
+
[indeterminate]="indeterminate()"
|
|
40
|
+
[label]="label()"
|
|
41
|
+
[value]="value()"
|
|
42
|
+
[type]="type()"
|
|
43
|
+
(lgsChange)="onChange($event)"
|
|
44
|
+
>
|
|
45
|
+
</logosphere-checkbox>`,
|
|
46
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
47
|
+
}]
|
|
48
|
+
}], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], indeterminate: [{ type: i0.Input, args: [{ isSignal: true, alias: "indeterminate", required: false }] }], checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], change: [{ type: i0.Output, args: ["change"] }] } });
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Generated bundle index. Do not edit.
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
export { LogosphereCheckbox };
|
|
55
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-checkbox.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-checkbox.mjs","sources":["../../projects/wrapper/src/lib/checkbox/checkbox.ts","../../projects/wrapper/src/lib/checkbox/logosphere-ui-angular-src-lib-checkbox.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/checkbox';\n\nexport type CheckboxChangeEvent = {\n checked: boolean;\n indeterminate: boolean;\n value: string;\n};\n\n@Component({\n selector: 'lgs-checkbox',\n imports: [],\n template: `\n <logosphere-checkbox\n [checked]=\"checked()\"\n [disabled]=\"disabled()\"\n [indeterminate]=\"indeterminate()\"\n [label]=\"label()\"\n [value]=\"value()\"\n [type]=\"type()\"\n (lgsChange)=\"onChange($event)\"\n >\n </logosphere-checkbox>`,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereCheckbox {\n disabled = input<boolean>(false);\n indeterminate = input<boolean>(false);\n checked = input<boolean>(false);\n label = input<string>('');\n value = input<string>('');\n type = input<\"checkbox\" | \"switch\">(\"checkbox\");\n\n change = output<CheckboxChangeEvent>();\n\n onChange(event: Event) {\n const e = event as CustomEvent<CheckboxChangeEvent>;\n this.change.emit(e.detail);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAyBa,kBAAkB,CAAA;AAC7B,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,aAAa,GAAG,KAAK,CAAU,KAAK,yDAAC;AACrC,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,mDAAC;AAC/B,IAAA,KAAK,GAAG,KAAK,C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