@logosphere-ui/angular 0.0.1 → 1.0.0-beta.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/fesm2022/logosphere-ui-angular-src-lib-accordion.mjs +59 -0
- package/fesm2022/logosphere-ui-angular-src-lib-accordion.mjs.map +1 -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 +20 -4
- package/fesm2022/logosphere-ui-angular-src-lib-button.mjs.map +1 -1
- 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 +8 -13
- package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-checkbox.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-chip-group.mjs +49 -0
- package/fesm2022/logosphere-ui-angular-src-lib-chip-group.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-collapse.mjs +59 -0
- package/fesm2022/logosphere-ui-angular-src-lib-collapse.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs +131 -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-icon.mjs +26 -0
- package/fesm2022/logosphere-ui-angular-src-lib-icon.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-input-group.mjs +33 -0
- package/fesm2022/logosphere-ui-angular-src-lib-input-group.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-input.mjs +133 -0
- package/fesm2022/logosphere-ui-angular-src-lib-input.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs +86 -0
- package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-loading.mjs +26 -0
- package/fesm2022/logosphere-ui-angular-src-lib-loading.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-note.mjs +55 -0
- package/fesm2022/logosphere-ui-angular-src-lib-note.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-pagination.mjs +84 -0
- package/fesm2022/logosphere-ui-angular-src-lib-pagination.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-slider.mjs +76 -0
- package/fesm2022/logosphere-ui-angular-src-lib-slider.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-split-button.mjs +77 -0
- package/fesm2022/logosphere-ui-angular-src-lib-split-button.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-stepper.mjs +49 -0
- package/fesm2022/logosphere-ui-angular-src-lib-stepper.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-table.mjs +83 -0
- package/fesm2022/logosphere-ui-angular-src-lib-table.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-ssr.mjs +59 -0
- package/fesm2022/logosphere-ui-angular-ssr.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular.mjs +1904 -50
- package/fesm2022/logosphere-ui-angular.mjs.map +1 -1
- package/package.json +133 -3
- package/ssr/README.md +111 -0
- package/types/logosphere-ui-angular-src-lib-accordion.d.ts +26 -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 +3 -1
- 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 +2 -2
- package/types/logosphere-ui-angular-src-lib-checkbox.d.ts +1 -1
- package/types/logosphere-ui-angular-src-lib-chip-group.d.ts +24 -0
- package/types/logosphere-ui-angular-src-lib-collapse.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-combobox.d.ts +67 -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-icon.d.ts +10 -0
- package/types/logosphere-ui-angular-src-lib-input-group.d.ts +9 -0
- package/types/logosphere-ui-angular-src-lib-input.d.ts +48 -0
- package/types/logosphere-ui-angular-src-lib-left-menu.d.ts +24 -0
- package/types/logosphere-ui-angular-src-lib-loading.d.ts +10 -0
- package/types/logosphere-ui-angular-src-lib-modal.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-note.d.ts +15 -0
- package/types/logosphere-ui-angular-src-lib-pagination.d.ts +32 -0
- package/types/logosphere-ui-angular-src-lib-popover.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-slider.d.ts +27 -0
- package/types/logosphere-ui-angular-src-lib-split-button.d.ts +33 -0
- package/types/logosphere-ui-angular-src-lib-stepper.d.ts +26 -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-table.d.ts +83 -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-ssr.d.ts +27 -0
- package/types/logosphere-ui-angular.d.ts +721 -6
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/collapse';
|
|
4
|
+
|
|
5
|
+
class LogosphereCollapse {
|
|
6
|
+
title = input('', ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
7
|
+
expanded = input(false, ...(ngDevMode ? [{ debugName: "expanded" }] : []));
|
|
8
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
9
|
+
border = input('full', ...(ngDevMode ? [{ debugName: "border" }] : []));
|
|
10
|
+
iconPosition = input('right', ...(ngDevMode ? [{ debugName: "iconPosition" }] : []));
|
|
11
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
12
|
+
toggle = output();
|
|
13
|
+
onToggle(event) {
|
|
14
|
+
const e = event;
|
|
15
|
+
this.toggle.emit(e.detail);
|
|
16
|
+
}
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCollapse, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereCollapse, isStandalone: true, selector: "lgs-collapse", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, border: { classPropertyName: "border", publicName: "border", isSignal: true, isRequired: false, transformFunction: null }, iconPosition: { classPropertyName: "iconPosition", publicName: "iconPosition", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { toggle: "toggle" }, ngImport: i0, template: `
|
|
19
|
+
<logosphere-collapse
|
|
20
|
+
[title]="title()"
|
|
21
|
+
[expanded]="expanded()"
|
|
22
|
+
[disabled]="disabled()"
|
|
23
|
+
[border]="border()"
|
|
24
|
+
[iconPosition]="iconPosition()"
|
|
25
|
+
[size]="size()"
|
|
26
|
+
(toggle)="onToggle($event)"
|
|
27
|
+
>
|
|
28
|
+
<ng-content></ng-content>
|
|
29
|
+
</logosphere-collapse>
|
|
30
|
+
`, isInline: true });
|
|
31
|
+
}
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCollapse, decorators: [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{
|
|
35
|
+
selector: 'lgs-collapse',
|
|
36
|
+
imports: [],
|
|
37
|
+
template: `
|
|
38
|
+
<logosphere-collapse
|
|
39
|
+
[title]="title()"
|
|
40
|
+
[expanded]="expanded()"
|
|
41
|
+
[disabled]="disabled()"
|
|
42
|
+
[border]="border()"
|
|
43
|
+
[iconPosition]="iconPosition()"
|
|
44
|
+
[size]="size()"
|
|
45
|
+
(toggle)="onToggle($event)"
|
|
46
|
+
>
|
|
47
|
+
<ng-content></ng-content>
|
|
48
|
+
</logosphere-collapse>
|
|
49
|
+
`,
|
|
50
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
51
|
+
}]
|
|
52
|
+
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], expanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "expanded", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], border: [{ type: i0.Input, args: [{ isSignal: true, alias: "border", required: false }] }], iconPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconPosition", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], toggle: [{ type: i0.Output, args: ["toggle"] }] } });
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Generated bundle index. Do not edit.
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
export { LogosphereCollapse };
|
|
59
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-collapse.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-collapse.mjs","sources":["../../projects/wrapper/src/lib/collapse/collapse.ts","../../projects/wrapper/src/lib/collapse/logosphere-ui-angular-src-lib-collapse.ts"],"sourcesContent":["import { Component, CUSTOM_ELEMENTS_SCHEMA, input, output } from '@angular/core';\nimport '@logosphere-ui/core/collapse';\n\n@Component({\n selector: 'lgs-collapse',\n imports: [],\n template: `\n <logosphere-collapse\n [title]=\"title()\"\n [expanded]=\"expanded()\"\n [disabled]=\"disabled()\"\n [border]=\"border()\"\n [iconPosition]=\"iconPosition()\"\n [size]=\"size()\"\n (toggle)=\"onToggle($event)\"\n >\n <ng-content></ng-content>\n </logosphere-collapse>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereCollapse {\n title = input<string>('');\n expanded = input<boolean>(false);\n disabled = input<boolean>(false);\n border = input<'full' | 'bottom'>('full');\n iconPosition = input<'left' | 'right'>('right');\n size = input<'default' | 'large'>('default');\n\n toggle = output<{ expanded: boolean }>();\n\n onToggle(event: Event) {\n const e = event as CustomEvent<{ expanded: boolean }>;\n this.toggle.emit(e.detail);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAqBa,kBAAkB,CAAA;AAC7B,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AACzB,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,MAAM,GAAG,KAAK,CAAoB,MAAM,kDAAC;AACzC,IAAA,YAAY,GAAG,KAAK,CAAmB,OAAO,wDAAC;A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BAAA,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,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAfnB;;;;;;;;;;;;AAYT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAlB9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;;;AAYT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACpBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/combobox';
|
|
4
|
+
|
|
5
|
+
class LogosphereCombobox {
|
|
6
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
7
|
+
helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
|
|
8
|
+
error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
|
|
9
|
+
placeholder = input('Seçim yapınız', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
10
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
11
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
12
|
+
readOnly = input(false, ...(ngDevMode ? [{ debugName: "readOnly" }] : []));
|
|
13
|
+
loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : []));
|
|
14
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
15
|
+
multiple = input(false, ...(ngDevMode ? [{ debugName: "multiple" }] : []));
|
|
16
|
+
filterable = input(false, ...(ngDevMode ? [{ debugName: "filterable" }] : []));
|
|
17
|
+
optionLabel = input('label', ...(ngDevMode ? [{ debugName: "optionLabel" }] : []));
|
|
18
|
+
optionValue = input('value', ...(ngDevMode ? [{ debugName: "optionValue" }] : []));
|
|
19
|
+
emptyMessage = input('Sonuç yok', ...(ngDevMode ? [{ debugName: "emptyMessage" }] : []));
|
|
20
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
21
|
+
items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
22
|
+
value = input(undefined, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
23
|
+
clearable = input(true, ...(ngDevMode ? [{ debugName: "clearable" }] : []));
|
|
24
|
+
itemRenderer = input(undefined, ...(ngDevMode ? [{ debugName: "itemRenderer" }] : []));
|
|
25
|
+
onSearch = input(undefined, ...(ngDevMode ? [{ debugName: "onSearch" }] : []));
|
|
26
|
+
onFocus = input(undefined, ...(ngDevMode ? [{ debugName: "onFocus" }] : []));
|
|
27
|
+
onLoadMore = input(undefined, ...(ngDevMode ? [{ debugName: "onLoadMore" }] : []));
|
|
28
|
+
change = output();
|
|
29
|
+
lgsChange = output();
|
|
30
|
+
selected = output();
|
|
31
|
+
searchChange = output();
|
|
32
|
+
comboboxFocus = output();
|
|
33
|
+
onChange(event) {
|
|
34
|
+
const e = event;
|
|
35
|
+
this.change.emit(e.detail);
|
|
36
|
+
}
|
|
37
|
+
onLgsChange(event) {
|
|
38
|
+
const e = event;
|
|
39
|
+
this.lgsChange.emit(e.detail);
|
|
40
|
+
}
|
|
41
|
+
onSelected(event) {
|
|
42
|
+
const e = event;
|
|
43
|
+
this.selected.emit(e.detail);
|
|
44
|
+
}
|
|
45
|
+
onSearchChange(event) {
|
|
46
|
+
const e = event;
|
|
47
|
+
this.searchChange.emit(e.detail);
|
|
48
|
+
}
|
|
49
|
+
onComboboxFocus(event) {
|
|
50
|
+
const e = event;
|
|
51
|
+
this.comboboxFocus.emit(e.detail);
|
|
52
|
+
}
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCombobox, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereCombobox, isStandalone: true, selector: "lgs-combobox", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helper: { classPropertyName: "helper", publicName: "helper", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, filterable: { classPropertyName: "filterable", publicName: "filterable", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, itemRenderer: { classPropertyName: "itemRenderer", publicName: "itemRenderer", isSignal: true, isRequired: false, transformFunction: null }, onSearch: { classPropertyName: "onSearch", publicName: "onSearch", isSignal: true, isRequired: false, transformFunction: null }, onFocus: { classPropertyName: "onFocus", publicName: "onFocus", isSignal: true, isRequired: false, transformFunction: null }, onLoadMore: { classPropertyName: "onLoadMore", publicName: "onLoadMore", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change", lgsChange: "lgsChange", selected: "selected", searchChange: "searchChange", comboboxFocus: "comboboxFocus" }, ngImport: i0, template: `
|
|
55
|
+
<logosphere-combobox
|
|
56
|
+
[label]="label()"
|
|
57
|
+
[helper]="helper()"
|
|
58
|
+
[error]="error()"
|
|
59
|
+
[placeholder]="placeholder()"
|
|
60
|
+
[required]="required()"
|
|
61
|
+
[disabled]="disabled()"
|
|
62
|
+
[readOnly]="readOnly()"
|
|
63
|
+
[loading]="loading()"
|
|
64
|
+
[variant]="variant()"
|
|
65
|
+
[multiple]="multiple()"
|
|
66
|
+
[filterable]="filterable()"
|
|
67
|
+
[optionLabel]="optionLabel()"
|
|
68
|
+
[optionValue]="optionValue()"
|
|
69
|
+
[emptyMessage]="emptyMessage()"
|
|
70
|
+
[size]="size()"
|
|
71
|
+
[items]="items()"
|
|
72
|
+
[value]="value()"
|
|
73
|
+
[clearable]="clearable()"
|
|
74
|
+
[itemRenderer]="itemRenderer()"
|
|
75
|
+
[onSearch]="onSearch()"
|
|
76
|
+
[onFocus]="onFocus()"
|
|
77
|
+
[onLoadMore]="onLoadMore()"
|
|
78
|
+
(change)="onChange($event)"
|
|
79
|
+
(lgsChange)="onLgsChange($event)"
|
|
80
|
+
(selected)="onSelected($event)"
|
|
81
|
+
(search-change)="onSearchChange($event)"
|
|
82
|
+
(combobox-focus)="onComboboxFocus($event)"
|
|
83
|
+
></logosphere-combobox>
|
|
84
|
+
`, isInline: true });
|
|
85
|
+
}
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCombobox, decorators: [{
|
|
87
|
+
type: Component,
|
|
88
|
+
args: [{
|
|
89
|
+
selector: 'lgs-combobox',
|
|
90
|
+
imports: [],
|
|
91
|
+
template: `
|
|
92
|
+
<logosphere-combobox
|
|
93
|
+
[label]="label()"
|
|
94
|
+
[helper]="helper()"
|
|
95
|
+
[error]="error()"
|
|
96
|
+
[placeholder]="placeholder()"
|
|
97
|
+
[required]="required()"
|
|
98
|
+
[disabled]="disabled()"
|
|
99
|
+
[readOnly]="readOnly()"
|
|
100
|
+
[loading]="loading()"
|
|
101
|
+
[variant]="variant()"
|
|
102
|
+
[multiple]="multiple()"
|
|
103
|
+
[filterable]="filterable()"
|
|
104
|
+
[optionLabel]="optionLabel()"
|
|
105
|
+
[optionValue]="optionValue()"
|
|
106
|
+
[emptyMessage]="emptyMessage()"
|
|
107
|
+
[size]="size()"
|
|
108
|
+
[items]="items()"
|
|
109
|
+
[value]="value()"
|
|
110
|
+
[clearable]="clearable()"
|
|
111
|
+
[itemRenderer]="itemRenderer()"
|
|
112
|
+
[onSearch]="onSearch()"
|
|
113
|
+
[onFocus]="onFocus()"
|
|
114
|
+
[onLoadMore]="onLoadMore()"
|
|
115
|
+
(change)="onChange($event)"
|
|
116
|
+
(lgsChange)="onLgsChange($event)"
|
|
117
|
+
(selected)="onSelected($event)"
|
|
118
|
+
(search-change)="onSearchChange($event)"
|
|
119
|
+
(combobox-focus)="onComboboxFocus($event)"
|
|
120
|
+
></logosphere-combobox>
|
|
121
|
+
`,
|
|
122
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
123
|
+
}]
|
|
124
|
+
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], filterable: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterable", required: false }] }], optionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionLabel", required: false }] }], optionValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionValue", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], itemRenderer: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemRenderer", required: false }] }], onSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "onSearch", required: false }] }], onFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "onFocus", required: false }] }], onLoadMore: [{ type: i0.Input, args: [{ isSignal: true, alias: "onLoadMore", required: false }] }], change: [{ type: i0.Output, args: ["change"] }], lgsChange: [{ type: i0.Output, args: ["lgsChange"] }], selected: [{ type: i0.Output, args: ["selected"] }], searchChange: [{ type: i0.Output, args: ["searchChange"] }], comboboxFocus: [{ type: i0.Output, args: ["comboboxFocus"] }] } });
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Generated bundle index. Do not edit.
|
|
128
|
+
*/
|
|
129
|
+
|
|
130
|
+
export { LogosphereCombobox };
|
|
131
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-combobox.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-combobox.mjs","sources":["../../projects/wrapper/src/lib/combobox/combobox.ts","../../projects/wrapper/src/lib/combobox/logosphere-ui-angular-src-lib-combobox.ts"],"sourcesContent":["import {\n Component,\n CUSTOM_ELEMENTS_SCHEMA,\n input,\n output,\n} from '@angular/core';\nimport '@logosphere-ui/core/combobox';\n\nexport type ComboboxItem = Record<string, unknown>;\nexport type ComboboxItemRenderer = (\n item: ComboboxItem,\n context: { index: number; selected: boolean; focused: boolean; multiple: boolean },\n) => unknown;\nexport type ComboboxSearchChangeDetail = { value: string };\nexport type ComboboxFocusDetail = { originalEvent: FocusEvent; value: unknown };\nexport type ComboboxLoadMoreDetail = { value: string };\nexport type ComboboxChangeDetail = { value: unknown };\nexport type ComboboxLgsChangeDetail = { value: unknown; selected: ComboboxItem[] };\n\n@Component({\n selector: 'lgs-combobox',\n imports: [],\n template: `\n <logosphere-combobox\n [label]=\"label()\"\n [helper]=\"helper()\"\n [error]=\"error()\"\n [placeholder]=\"placeholder()\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n [readOnly]=\"readOnly()\"\n [loading]=\"loading()\"\n [variant]=\"variant()\"\n [multiple]=\"multiple()\"\n [filterable]=\"filterable()\"\n [optionLabel]=\"optionLabel()\"\n [optionValue]=\"optionValue()\"\n [emptyMessage]=\"emptyMessage()\"\n [size]=\"size()\"\n [items]=\"items()\"\n [value]=\"value()\"\n [clearable]=\"clearable()\"\n [itemRenderer]=\"itemRenderer()\"\n [onSearch]=\"onSearch()\"\n [onFocus]=\"onFocus()\"\n [onLoadMore]=\"onLoadMore()\"\n (change)=\"onChange($event)\"\n (lgsChange)=\"onLgsChange($event)\"\n (selected)=\"onSelected($event)\"\n (search-change)=\"onSearchChange($event)\"\n (combobox-focus)=\"onComboboxFocus($event)\"\n ></logosphere-combobox>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereCombobox {\n label = input<string>('');\n helper = input<string>('');\n error = input<string>('');\n placeholder = input<string>('Seçim yapınız');\n required = input<boolean>(false);\n disabled = input<boolean>(false);\n readOnly = input<boolean>(false);\n loading = input<boolean>(false);\n variant = input<'default' | 'subtle'>('default');\n multiple = input<boolean>(false);\n filterable = input<boolean>(false);\n optionLabel = input<string>('label');\n optionValue = input<string>('value');\n emptyMessage = input<string>('Sonuç yok');\n size = input<'default' | 'large'>('default');\n items = input<ComboboxItem[]>([]);\n value = input<unknown>(undefined);\n clearable = input<boolean>(true);\n itemRenderer = input<ComboboxItemRenderer | undefined>(undefined);\n onSearch = input<((detail: ComboboxSearchChangeDetail) => void | Promise<unknown>) | undefined>(undefined);\n onFocus = input<((detail: ComboboxFocusDetail) => void | Promise<unknown>) | undefined>(undefined);\n onLoadMore = input<((detail: ComboboxLoadMoreDetail) => void | Promise<unknown>) | undefined>(undefined);\n\n change = output<ComboboxChangeDetail>();\n lgsChange = output<ComboboxLgsChangeDetail>();\n selected = output<{ selected: ComboboxItem[] }>();\n searchChange = output<ComboboxSearchChangeDetail>();\n comboboxFocus = output<ComboboxFocusDetail>();\n\n onChange(event: Event) {\n const e = event as CustomEvent<ComboboxChangeDetail>;\n this.change.emit(e.detail);\n }\n\n onLgsChange(event: Event) {\n const e = event as CustomEvent<ComboboxLgsChangeDetail>;\n this.lgsChange.emit(e.detail);\n }\n\n onSelected(event: Event) {\n const e = event as CustomEvent<{ selected: ComboboxItem[] }>;\n this.selected.emit(e.detail);\n }\n\n onSearchChange(event: Event) {\n const e = event as CustomEvent<ComboboxSearchChangeDetail>;\n this.searchChange.emit(e.detail);\n }\n\n onComboboxFocus(event: Event) {\n const e = event as CustomEvent<ComboboxFocusDetail>;\n this.comboboxFocus.emit(e.detail);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAuDa,kBAAkB,CAAA;AAC7B,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AACzB,IAAA,MAAM,GAAG,KAAK,CAAS,EAAE,kDAAC;AAC1B,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AACzB,IAAA,WAAW,GAAG,KAAK,CAAS,eAAe,uDAAC;AAC5C,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,mDAAC;AAC/B,IAAA,OAAO,GAAG,KAAK,CAAuB,SAAS,mDAAC;AAChD,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,UAAU,GAAG,KAAK,CAAU,KAAK,sDAAC;AAClC,IAAA,WAAW,GAAG,KAAK,CAAS,OAAO,uDAAC;AACpC,IAAA,WAAW,GAAG,KAAK,CAAS,OAAO,uDAAC;AACpC,IAAA,YAAY,GAAG,KAAK,CAAS,WAAW,wDAAC;AACzC,IAAA,IAAI,GAAG,KAAK,CAAsB,SAAS,gDAAC;AAC5C,IAAA,KAAK,GAAG,KAAK,CAAiB,EAAE,iDAAC;AACjC,IAAA,KAAK,GAAG,KAAK,CAAU,SAAS,iDAAC;AACjC,IAAA,SAAS,GAAG,KAAK,CAAU,IAAI,qDAAC;AAChC,IAAA,YAAY,GAAG,KAAK,CAAmC,SAAS,wDAAC;AACjE,IAAA,QAAQ,GAAG,KAAK,CAAgF,SAAS,oDAAC;AAC1G,IAAA,OAAO,GAAG,KA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACtDD;;AAEG;;;;"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, ViewChild, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/datepicker';
|
|
4
|
+
|
|
5
|
+
class LogosphereDatePicker {
|
|
6
|
+
value = input(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
7
|
+
min = input(null, ...(ngDevMode ? [{ debugName: "min" }] : []));
|
|
8
|
+
max = input(null, ...(ngDevMode ? [{ debugName: "max" }] : []));
|
|
9
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
10
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
11
|
+
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
12
|
+
expandFactor = input(1.05, ...(ngDevMode ? [{ debugName: "expandFactor" }] : []));
|
|
13
|
+
placeholder = input('GG/AA/YYYY veya GG.AA.YYYY', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
14
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
15
|
+
helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
|
|
16
|
+
error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
|
|
17
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
18
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
19
|
+
rangeMode = input(false, ...(ngDevMode ? [{ debugName: "rangeMode" }] : []));
|
|
20
|
+
disabledDays = input([], ...(ngDevMode ? [{ debugName: "disabledDays" }] : []));
|
|
21
|
+
rangeStart = input(null, ...(ngDevMode ? [{ debugName: "rangeStart" }] : []));
|
|
22
|
+
rangeEnd = input(null, ...(ngDevMode ? [{ debugName: "rangeEnd" }] : []));
|
|
23
|
+
change = output();
|
|
24
|
+
rangeChange = output();
|
|
25
|
+
set elRef(element) {
|
|
26
|
+
if (element) {
|
|
27
|
+
element.nativeElement.disabledDays = this.disabledDays();
|
|
28
|
+
element.nativeElement.expandFactor = this.expandFactor();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
onChange(event) {
|
|
32
|
+
const e = event;
|
|
33
|
+
this.change.emit(e.detail);
|
|
34
|
+
}
|
|
35
|
+
onRangeChange(event) {
|
|
36
|
+
const e = event;
|
|
37
|
+
this.rangeChange.emit(e.detail);
|
|
38
|
+
}
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDatePicker, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereDatePicker, isStandalone: true, selector: "lgs-datepicker", 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 }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, expandFactor: { classPropertyName: "expandFactor", publicName: "expandFactor", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helper: { classPropertyName: "helper", publicName: "helper", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", 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 }, 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 } }, outputs: { change: "change", rangeChange: "rangeChange" }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true }], ngImport: i0, template: `
|
|
41
|
+
<logosphere-datepicker
|
|
42
|
+
#el
|
|
43
|
+
[attr.value]="value()"
|
|
44
|
+
[attr.min]="min()"
|
|
45
|
+
[attr.max]="max()"
|
|
46
|
+
[attr.required]="required() || null"
|
|
47
|
+
[attr.disabled]="disabled() || null"
|
|
48
|
+
[attr.readonly]="readonly() || null"
|
|
49
|
+
[attr.placeholder]="placeholder()"
|
|
50
|
+
[attr.label]="label()"
|
|
51
|
+
[attr.helper]="helper()"
|
|
52
|
+
[attr.error]="error()"
|
|
53
|
+
[attr.size]="size()"
|
|
54
|
+
[attr.variant]="variant()"
|
|
55
|
+
[attr.range-mode]="rangeMode() || null"
|
|
56
|
+
[attr.range-start]="rangeStart()"
|
|
57
|
+
[attr.range-end]="rangeEnd()"
|
|
58
|
+
(change)="onChange($event)"
|
|
59
|
+
(rangeChange)="onRangeChange($event)"
|
|
60
|
+
></logosphere-datepicker>
|
|
61
|
+
`, isInline: true });
|
|
62
|
+
}
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDatePicker, decorators: [{
|
|
64
|
+
type: Component,
|
|
65
|
+
args: [{
|
|
66
|
+
selector: 'lgs-datepicker',
|
|
67
|
+
imports: [],
|
|
68
|
+
template: `
|
|
69
|
+
<logosphere-datepicker
|
|
70
|
+
#el
|
|
71
|
+
[attr.value]="value()"
|
|
72
|
+
[attr.min]="min()"
|
|
73
|
+
[attr.max]="max()"
|
|
74
|
+
[attr.required]="required() || null"
|
|
75
|
+
[attr.disabled]="disabled() || null"
|
|
76
|
+
[attr.readonly]="readonly() || null"
|
|
77
|
+
[attr.placeholder]="placeholder()"
|
|
78
|
+
[attr.label]="label()"
|
|
79
|
+
[attr.helper]="helper()"
|
|
80
|
+
[attr.error]="error()"
|
|
81
|
+
[attr.size]="size()"
|
|
82
|
+
[attr.variant]="variant()"
|
|
83
|
+
[attr.range-mode]="rangeMode() || null"
|
|
84
|
+
[attr.range-start]="rangeStart()"
|
|
85
|
+
[attr.range-end]="rangeEnd()"
|
|
86
|
+
(change)="onChange($event)"
|
|
87
|
+
(rangeChange)="onRangeChange($event)"
|
|
88
|
+
></logosphere-datepicker>
|
|
89
|
+
`,
|
|
90
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
91
|
+
}]
|
|
92
|
+
}], 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 }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], expandFactor: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandFactor", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", 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 }] }], change: [{ type: i0.Output, args: ["change"] }], rangeChange: [{ type: i0.Output, args: ["rangeChange"] }], elRef: [{
|
|
93
|
+
type: ViewChild,
|
|
94
|
+
args: ['el', { static: false }]
|
|
95
|
+
}] } });
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Generated bundle index. Do not edit.
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
export { LogosphereDatePicker };
|
|
102
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-datepicker.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-datepicker.mjs","sources":["../../projects/wrapper/src/lib/datepicker/datepicker.ts","../../projects/wrapper/src/lib/datepicker/logosphere-ui-angular-src-lib-datepicker.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, ElementRef, input, output, ViewChild} from '@angular/core';\nimport '@logosphere-ui/core/datepicker';\n\n@Component({\n selector: 'lgs-datepicker',\n imports: [],\n template: `\n <logosphere-datepicker\n #el\n [attr.value]=\"value()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [attr.required]=\"required() || null\"\n [attr.disabled]=\"disabled() || null\"\n [attr.readonly]=\"readonly() || null\"\n [attr.placeholder]=\"placeholder()\"\n [attr.label]=\"label()\"\n [attr.helper]=\"helper()\"\n [attr.error]=\"error()\"\n [attr.size]=\"size()\"\n [attr.variant]=\"variant()\"\n [attr.range-mode]=\"rangeMode() || null\"\n [attr.range-start]=\"rangeStart()\"\n [attr.range-end]=\"rangeEnd()\"\n (change)=\"onChange($event)\"\n (rangeChange)=\"onRangeChange($event)\"\n ></logosphere-datepicker>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereDatePicker {\n value = input<string | null>(null);\n min = input<string | null>(null);\n max = input<string | null>(null);\n required = input<boolean>(false);\n disabled = input<boolean>(false);\n readonly = input<boolean>(false);\n expandFactor = input<number>(1.05);\n placeholder = input<string>('GG/AA/YYYY veya GG.AA.YYYY');\n label = input<string>('');\n helper = input<string>('');\n error = input<string>('');\n size = input<'default' | 'large'>('default');\n variant = input<'default' | 'subtle'>('default');\n rangeMode = input<boolean>(false);\n disabledDays = input<number[]>([]);\n rangeStart = input<string | null>(null);\n rangeEnd = input<string | null>(null);\n\n change = output<{ value: string | null }>();\n rangeChange = output<{ start: string; end: string }>();\n\n @ViewChild('el', { static: false }) set elRef(element: ElementRef | undefined) {\n if (element) {\n (element.nativeElement as any).disabledDays = this.disabledDays();\n (element.nativeElement as any).expandFactor = this.expandFactor();\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MA8Ba,oBAAoB,CAAA;AAC/B,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,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AA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AA,EAAA,UAAA,EAAA,YAAA,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,OAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,WAAA,EAAA,aAAA,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,EAxBrB;;;;;;;;;;;;;;;;;;;;;AAqBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBA3BhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;AAqBT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;sBAuBE,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;;;ACpDpC;;AAEG;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/download-manager';
|
|
4
|
+
|
|
5
|
+
class LogosphereDownloadManager {
|
|
6
|
+
chunkSize = input(2 * 1024 * 1024, ...(ngDevMode ? [{ debugName: "chunkSize" }] : []));
|
|
7
|
+
maxConcurrentDownloads = input(3, ...(ngDevMode ? [{ debugName: "maxConcurrentDownloads" }] : []));
|
|
8
|
+
maxConcurrentChunks = input(4, ...(ngDevMode ? [{ debugName: "maxConcurrentChunks" }] : []));
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDownloadManager, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereDownloadManager, isStandalone: true, selector: "lgs-download-manager", inputs: { chunkSize: { classPropertyName: "chunkSize", publicName: "chunkSize", isSignal: true, isRequired: false, transformFunction: null }, maxConcurrentDownloads: { classPropertyName: "maxConcurrentDownloads", publicName: "maxConcurrentDownloads", isSignal: true, isRequired: false, transformFunction: null }, maxConcurrentChunks: { classPropertyName: "maxConcurrentChunks", publicName: "maxConcurrentChunks", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
11
|
+
<download-manager
|
|
12
|
+
[chunkSize]="chunkSize()"
|
|
13
|
+
[maxConcurrentDownloads]="maxConcurrentDownloads()"
|
|
14
|
+
[maxConcurrentChunks]="maxConcurrentChunks()"
|
|
15
|
+
></download-manager>
|
|
16
|
+
`, isInline: true });
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDownloadManager, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: 'lgs-download-manager',
|
|
22
|
+
imports: [],
|
|
23
|
+
template: `
|
|
24
|
+
<download-manager
|
|
25
|
+
[chunkSize]="chunkSize()"
|
|
26
|
+
[maxConcurrentDownloads]="maxConcurrentDownloads()"
|
|
27
|
+
[maxConcurrentChunks]="maxConcurrentChunks()"
|
|
28
|
+
></download-manager>
|
|
29
|
+
`,
|
|
30
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
31
|
+
}]
|
|
32
|
+
}], propDecorators: { chunkSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "chunkSize", required: false }] }], maxConcurrentDownloads: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxConcurrentDownloads", required: false }] }], maxConcurrentChunks: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxConcurrentChunks", required: false }] }] } });
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Generated bundle index. Do not edit.
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
export { LogosphereDownloadManager };
|
|
39
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-download-manager.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-download-manager.mjs","sources":["../../projects/wrapper/src/lib/download-manager/download-manager.ts","../../projects/wrapper/src/lib/download-manager/logosphere-ui-angular-src-lib-download-manager.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input} from '@angular/core';\nimport '@logosphere-ui/core/download-manager';\n\n@Component({\n selector: 'lgs-download-manager',\n imports: [],\n template: `\n <download-manager\n [chunkSize]=\"chunkSize()\"\n [maxConcurrentDownloads]=\"maxConcurrentDownloads()\"\n [maxConcurrentChunks]=\"maxConcurrentChunks()\"\n ></download-manager>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereDownloadManager {\n chunkSize = input<number>(2 * 1024 * 1024);\n maxConcurrentDownloads = input<number>(3);\n maxConcurrentChunks = input<number>(4);\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAea,yBAAyB,CAAA;IACpC,SAAS,GAAG,KAAK,CAAS,CAAC,GAAG,IAAI,GAAG,IAAI,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,WAAA,EAAA,C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C,iBAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/drawer';
|
|
4
|
+
|
|
5
|
+
class LogosphereDrawer {
|
|
6
|
+
open = input(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
7
|
+
drawerTitle = input('', { ...(ngDevMode ? { debugName: "drawerTitle" } : {}), alias: 'title' });
|
|
8
|
+
position = input('right', ...(ngDevMode ? [{ debugName: "position" }] : []));
|
|
9
|
+
width = input(360, ...(ngDevMode ? [{ debugName: "width" }] : []));
|
|
10
|
+
closeOnEsc = input(true, ...(ngDevMode ? [{ debugName: "closeOnEsc" }] : []));
|
|
11
|
+
containerSelector = input('', ...(ngDevMode ? [{ debugName: "containerSelector" }] : []));
|
|
12
|
+
drawerOpen = output();
|
|
13
|
+
drawerClose = output();
|
|
14
|
+
onDrawerOpen() {
|
|
15
|
+
this.drawerOpen.emit();
|
|
16
|
+
}
|
|
17
|
+
onDrawerClose() {
|
|
18
|
+
this.drawerClose.emit();
|
|
19
|
+
}
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDrawer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereDrawer, isStandalone: true, selector: "lgs-drawer", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, drawerTitle: { classPropertyName: "drawerTitle", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, closeOnEsc: { classPropertyName: "closeOnEsc", publicName: "closeOnEsc", isSignal: true, isRequired: false, transformFunction: null }, containerSelector: { classPropertyName: "containerSelector", publicName: "containerSelector", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { drawerOpen: "drawerOpen", drawerClose: "drawerClose" }, ngImport: i0, template: `
|
|
22
|
+
<logosphere-drawer
|
|
23
|
+
[open]="open()"
|
|
24
|
+
[title]="drawerTitle()"
|
|
25
|
+
[position]="position()"
|
|
26
|
+
[width]="width()"
|
|
27
|
+
[closeOnEsc]="closeOnEsc()"
|
|
28
|
+
[containerSelector]="containerSelector()"
|
|
29
|
+
(drawer-open)="onDrawerOpen()"
|
|
30
|
+
(drawer-close)="onDrawerClose()"
|
|
31
|
+
>
|
|
32
|
+
<ng-content></ng-content>
|
|
33
|
+
</logosphere-drawer>
|
|
34
|
+
`, isInline: true });
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDrawer, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{
|
|
39
|
+
selector: 'lgs-drawer',
|
|
40
|
+
imports: [],
|
|
41
|
+
template: `
|
|
42
|
+
<logosphere-drawer
|
|
43
|
+
[open]="open()"
|
|
44
|
+
[title]="drawerTitle()"
|
|
45
|
+
[position]="position()"
|
|
46
|
+
[width]="width()"
|
|
47
|
+
[closeOnEsc]="closeOnEsc()"
|
|
48
|
+
[containerSelector]="containerSelector()"
|
|
49
|
+
(drawer-open)="onDrawerOpen()"
|
|
50
|
+
(drawer-close)="onDrawerClose()"
|
|
51
|
+
>
|
|
52
|
+
<ng-content></ng-content>
|
|
53
|
+
</logosphere-drawer>
|
|
54
|
+
`,
|
|
55
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
56
|
+
}]
|
|
57
|
+
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], drawerTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], closeOnEsc: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEsc", required: false }] }], containerSelector: [{ type: i0.Input, args: [{ isSignal: true, alias: "containerSelector", required: false }] }], drawerOpen: [{ type: i0.Output, args: ["drawerOpen"] }], drawerClose: [{ type: i0.Output, args: ["drawerClose"] }] } });
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Generated bundle index. Do not edit.
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
export { LogosphereDrawer };
|
|
64
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-drawer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-drawer.mjs","sources":["../../projects/wrapper/src/lib/drawer/drawer.ts","../../projects/wrapper/src/lib/drawer/logosphere-ui-angular-src-lib-drawer.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/drawer';\n\n@Component({\n selector: 'lgs-drawer',\n imports: [],\n template: `\n <logosphere-drawer\n [open]=\"open()\"\n [title]=\"drawerTitle()\"\n [position]=\"position()\"\n [width]=\"width()\"\n [closeOnEsc]=\"closeOnEsc()\"\n [containerSelector]=\"containerSelector()\"\n (drawer-open)=\"onDrawerOpen()\"\n (drawer-close)=\"onDrawerClose()\"\n >\n <ng-content></ng-content>\n </logosphere-drawer>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereDrawer {\n open = input<boolean>(false);\n drawerTitle = input<string>('', { alias: 'title' });\n position = input<'left' | 'right'>('right');\n width = input<number>(360);\n closeOnEsc = input<boolean>(true);\n containerSelector = input<string>('');\n\n drawerOpen = output<void>();\n drawerClose = output<void>();\n\n onDrawerOpen() {\n this.drawerOpen.emit();\n }\n\n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';
|
|
4
|
+
|
|
5
|
+
class LogosphereFormField {
|
|
6
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
7
|
+
helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
|
|
8
|
+
error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
|
|
9
|
+
placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
10
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
11
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
12
|
+
cursor = input('text', ...(ngDevMode ? [{ debugName: "cursor" }] : []));
|
|
13
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
14
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
15
|
+
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
16
|
+
multiline = input(false, ...(ngDevMode ? [{ debugName: "multiline" }] : []));
|
|
17
|
+
forceFocused = input(false, ...(ngDevMode ? [{ debugName: "forceFocused" }] : []));
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereFormField, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereFormField, isStandalone: true, selector: "lgs-formfield", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helper: { classPropertyName: "helper", publicName: "helper", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", 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 }, cursor: { classPropertyName: "cursor", publicName: "cursor", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, multiline: { classPropertyName: "multiline", publicName: "multiline", isSignal: true, isRequired: false, transformFunction: null }, forceFocused: { classPropertyName: "forceFocused", publicName: "forceFocused", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
20
|
+
<logosphere-formfield
|
|
21
|
+
[label]="label()"
|
|
22
|
+
[helper]="helper()"
|
|
23
|
+
[error]="error()"
|
|
24
|
+
[placeholder]="placeholder()"
|
|
25
|
+
[size]="size()"
|
|
26
|
+
[variant]="variant()"
|
|
27
|
+
[cursor]="cursor()"
|
|
28
|
+
[required]="required()"
|
|
29
|
+
[disabled]="disabled()"
|
|
30
|
+
[readonly]="readonly()"
|
|
31
|
+
[multiline]="multiline()"
|
|
32
|
+
[forceFocused]="forceFocused()"
|
|
33
|
+
>
|
|
34
|
+
<ng-content></ng-content>
|
|
35
|
+
<ng-content select="[slot=prefix]" slot="prefix"></ng-content>
|
|
36
|
+
<ng-content select="[slot=suffix]" slot="suffix"></ng-content>
|
|
37
|
+
<ng-content select="[slot=clear]" slot="clear"></ng-content>
|
|
38
|
+
</logosphere-formfield>
|
|
39
|
+
`, isInline: true });
|
|
40
|
+
}
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereFormField, decorators: [{
|
|
42
|
+
type: Component,
|
|
43
|
+
args: [{
|
|
44
|
+
selector: 'lgs-formfield',
|
|
45
|
+
imports: [],
|
|
46
|
+
template: `
|
|
47
|
+
<logosphere-formfield
|
|
48
|
+
[label]="label()"
|
|
49
|
+
[helper]="helper()"
|
|
50
|
+
[error]="error()"
|
|
51
|
+
[placeholder]="placeholder()"
|
|
52
|
+
[size]="size()"
|
|
53
|
+
[variant]="variant()"
|
|
54
|
+
[cursor]="cursor()"
|
|
55
|
+
[required]="required()"
|
|
56
|
+
[disabled]="disabled()"
|
|
57
|
+
[readonly]="readonly()"
|
|
58
|
+
[multiline]="multiline()"
|
|
59
|
+
[forceFocused]="forceFocused()"
|
|
60
|
+
>
|
|
61
|
+
<ng-content></ng-content>
|
|
62
|
+
<ng-content select="[slot=prefix]" slot="prefix"></ng-content>
|
|
63
|
+
<ng-content select="[slot=suffix]" slot="suffix"></ng-content>
|
|
64
|
+
<ng-content select="[slot=clear]" slot="clear"></ng-content>
|
|
65
|
+
</logosphere-formfield>
|
|
66
|
+
`,
|
|
67
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
68
|
+
}]
|
|
69
|
+
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], cursor: [{ type: i0.Input, args: [{ isSignal: true, alias: "cursor", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], multiline: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiline", required: false }] }], forceFocused: [{ type: i0.Input, args: [{ isSignal: true, alias: "forceFocused", required: false }] }] } });
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Generated bundle index. Do not edit.
|
|
73
|
+
*/
|
|
74
|
+
|
|
75
|
+
export { LogosphereFormField };
|
|
76
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-formfield.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-formfield.mjs","sources":["../../projects/wrapper/src/lib/formfield/formfield.ts","../../projects/wrapper/src/lib/formfield/logosphere-ui-angular-src-lib-formfield.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input} from '@angular/core';\nimport '@logosphere-ui/core/formfield';\n\n@Component({\n selector: 'lgs-formfield',\n imports: [],\n template: `\n <logosphere-formfield\n [label]=\"label()\"\n [helper]=\"helper()\"\n [error]=\"error()\"\n [placeholder]=\"placeholder()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [cursor]=\"cursor()\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n [multiline]=\"multiline()\"\n [forceFocused]=\"forceFocused()\"\n >\n <ng-content></ng-content>\n <ng-content select=\"[slot=prefix]\" slot=\"prefix\"></ng-content>\n <ng-content select=\"[slot=suffix]\" slot=\"suffix\"></ng-content>\n <ng-content select=\"[slot=clear]\" slot=\"clear\"></ng-content>\n </logosphere-formfield>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereFormField {\n label = input<string>('');\n helper = input<string>('');\n error = input<string>('');\n placeholder = input<string>('');\n size = input<'default' | 'large'>('default');\n variant = input<'default' | 'subtle'>('default');\n cursor = input<'text' | 'pointer' | 'default'>('text');\n required = input<boolean>(false);\n disabled = input<boolean>(false);\n readonly = input<boolean>(false);\n multiline = input<boolean>(false);\n forceFocused = input<boolean>(false);\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MA6Ba,mBAAmB,CAAA;AAC9B,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AACzB,IAAA,MAAM,GAAG,KAAK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AAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAvBpB;;;;;;;;;;;;;;;;;;;;AAoBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBA1B/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;AAoBT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;AC5BD;;AAEG;;;;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/icon';
|
|
4
|
+
|
|
5
|
+
class LogosphereIcon {
|
|
6
|
+
name = input('', ...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
7
|
+
size = input(20, ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereIcon, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereIcon, isStandalone: true, selector: "lgs-icon", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `<ui-icon [name]="name()" [size]="size()"></ui-icon>`, isInline: true });
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereIcon, decorators: [{
|
|
12
|
+
type: Component,
|
|
13
|
+
args: [{
|
|
14
|
+
selector: 'lgs-icon',
|
|
15
|
+
imports: [],
|
|
16
|
+
template: `<ui-icon [name]="name()" [size]="size()"></ui-icon>`,
|
|
17
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
18
|
+
}]
|
|
19
|
+
}], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Generated bundle index. Do not edit.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
export { LogosphereIcon };
|
|
26
|
+
//# sourceMappingURL=logosphere-ui-angular-src-lib-icon.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-icon.mjs","sources":["../../projects/wrapper/src/lib/icon/icon.ts","../../projects/wrapper/src/lib/icon/logosphere-ui-angular-src-lib-icon.ts"],"sourcesContent":["import { Component, CUSTOM_ELEMENTS_SCHEMA, input } from '@angular/core';\nimport '@logosphere-ui/core/icon';\n\n@Component({\n selector: 'lgs-icon',\n imports: [],\n template: `<ui-icon [name]=\"name()\" [size]=\"size()\"></ui-icon>`,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereIcon {\n name = input<string>('');\n size = input<number>(20);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MASa,cAAc,CAAA;AACzB,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,gDAAC;AACxB,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,gDAAC;uGAFb,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,cAAc,0TAHf,CAAA,mDAAA,CAAqD,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGpD,cAAc,EAAA,UAAA,EAAA,CAAA;kBAN1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE,CAAA,mDAAA,CAAqD;oBAC/D,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACRD;;AAEG;;;;"}
|