@logosphere-ui/angular 1.0.0-beta.2 → 1.0.0-beta.3
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 +8 -8
- package/fesm2022/logosphere-ui-angular-src-lib-accordion.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-badge.mjs +10 -10
- package/fesm2022/logosphere-ui-angular-src-lib-badge.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-breadcrumb.mjs +5 -13
- package/fesm2022/logosphere-ui-angular-src-lib-breadcrumb.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-button.mjs +12 -12
- package/fesm2022/logosphere-ui-angular-src-lib-button.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-calendar.mjs +38 -23
- package/fesm2022/logosphere-ui-angular-src-lib-calendar.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-card.mjs +8 -8
- package/fesm2022/logosphere-ui-angular-src-lib-card.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs +15 -23
- package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-checkbox.mjs +10 -10
- package/fesm2022/logosphere-ui-angular-src-lib-checkbox.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-chip-group.mjs +4 -4
- package/fesm2022/logosphere-ui-angular-src-lib-chip-group.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-collapse.mjs +12 -12
- package/fesm2022/logosphere-ui-angular-src-lib-collapse.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs +58 -39
- package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-datepicker.mjs +41 -26
- package/fesm2022/logosphere-ui-angular-src-lib-datepicker.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-drawer.mjs +10 -10
- package/fesm2022/logosphere-ui-angular-src-lib-drawer.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-formfield.mjs +41 -27
- package/fesm2022/logosphere-ui-angular-src-lib-formfield.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-input.mjs +50 -34
- package/fesm2022/logosphere-ui-angular-src-lib-input.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs +31 -8
- package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-loading.mjs +2 -2
- package/fesm2022/logosphere-ui-angular-src-lib-loading.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-modal.mjs +39 -9
- package/fesm2022/logosphere-ui-angular-src-lib-modal.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-note.mjs +10 -10
- package/fesm2022/logosphere-ui-angular-src-lib-note.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-pagination.mjs +25 -33
- package/fesm2022/logosphere-ui-angular-src-lib-pagination.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-popover.mjs +21 -12
- package/fesm2022/logosphere-ui-angular-src-lib-popover.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-slider.mjs +24 -24
- package/fesm2022/logosphere-ui-angular-src-lib-slider.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-split-button.mjs +10 -10
- package/fesm2022/logosphere-ui-angular-src-lib-split-button.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-stepper.mjs +6 -6
- package/fesm2022/logosphere-ui-angular-src-lib-stepper.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-switch.mjs +15 -8
- package/fesm2022/logosphere-ui-angular-src-lib-switch.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-tab.mjs +9 -17
- package/fesm2022/logosphere-ui-angular-src-lib-tab.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-table.mjs +36 -25
- package/fesm2022/logosphere-ui-angular-src-lib-table.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-textarea.mjs +55 -34
- package/fesm2022/logosphere-ui-angular-src-lib-textarea.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-timepicker.mjs +29 -22
- package/fesm2022/logosphere-ui-angular-src-lib-timepicker.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-toast.mjs +41 -18
- package/fesm2022/logosphere-ui-angular-src-lib-toast.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-tree-menu.mjs +14 -18
- package/fesm2022/logosphere-ui-angular-src-lib-tree-menu.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular-src-lib-uploader.mjs +22 -22
- package/fesm2022/logosphere-ui-angular-src-lib-uploader.mjs.map +1 -1
- package/fesm2022/logosphere-ui-angular.mjs +701 -527
- package/fesm2022/logosphere-ui-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/types/logosphere-ui-angular-src-lib-breadcrumb.d.ts +0 -2
- package/types/logosphere-ui-angular-src-lib-calendar.d.ts +6 -3
- package/types/logosphere-ui-angular-src-lib-chatbot.d.ts +0 -2
- package/types/logosphere-ui-angular-src-lib-combobox.d.ts +5 -1
- package/types/logosphere-ui-angular-src-lib-datepicker.d.ts +6 -3
- package/types/logosphere-ui-angular-src-lib-formfield.d.ts +9 -1
- package/types/logosphere-ui-angular-src-lib-input.d.ts +8 -1
- package/types/logosphere-ui-angular-src-lib-left-menu.d.ts +39 -1
- package/types/logosphere-ui-angular-src-lib-modal.d.ts +13 -1
- package/types/logosphere-ui-angular-src-lib-pagination.d.ts +0 -2
- package/types/logosphere-ui-angular-src-lib-popover.d.ts +4 -1
- package/types/logosphere-ui-angular-src-lib-switch.d.ts +3 -1
- package/types/logosphere-ui-angular-src-lib-tab.d.ts +0 -2
- package/types/logosphere-ui-angular-src-lib-table.d.ts +2 -0
- package/types/logosphere-ui-angular-src-lib-textarea.d.ts +13 -1
- package/types/logosphere-ui-angular-src-lib-timepicker.d.ts +5 -1
- package/types/logosphere-ui-angular-src-lib-toast.d.ts +29 -5
- package/types/logosphere-ui-angular-src-lib-tree-menu.d.ts +16 -7
- package/types/logosphere-ui-angular.d.ts +155 -28
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, output,
|
|
2
|
+
import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
3
|
import '@logosphere-ui/core/tab';
|
|
4
4
|
|
|
5
5
|
class LogosphereTab {
|
|
@@ -8,22 +8,17 @@ class LogosphereTab {
|
|
|
8
8
|
lazy = input(true, ...(ngDevMode ? [{ debugName: "lazy" }] : []));
|
|
9
9
|
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
10
10
|
tabChange = output();
|
|
11
|
-
set elRef(element) {
|
|
12
|
-
if (element) {
|
|
13
|
-
element.nativeElement.tabs = this.tabs();
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
11
|
onTabChange(event) {
|
|
17
12
|
const e = event;
|
|
18
13
|
this.tabChange.emit(e.detail);
|
|
19
14
|
}
|
|
20
15
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTab, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTab, isStandalone: true, selector: "lgs-tab", inputs: { tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: false, transformFunction: null }, activeTab: { classPropertyName: "activeTab", publicName: "activeTab", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tabChange: "tabChange" },
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTab, isStandalone: true, selector: "lgs-tab", inputs: { tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: false, transformFunction: null }, activeTab: { classPropertyName: "activeTab", publicName: "activeTab", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tabChange: "tabChange" }, ngImport: i0, template: `
|
|
22
17
|
<logosphere-tab
|
|
23
|
-
|
|
24
|
-
[
|
|
18
|
+
[tabs]="tabs()"
|
|
19
|
+
[attr.activetab]="activeTab()"
|
|
25
20
|
[lazy]="lazy()"
|
|
26
|
-
[variant]="variant()"
|
|
21
|
+
[attr.variant]="variant()"
|
|
27
22
|
(tab-change)="onTabChange($event)"
|
|
28
23
|
>
|
|
29
24
|
<ng-content></ng-content>
|
|
@@ -37,10 +32,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImpor
|
|
|
37
32
|
imports: [],
|
|
38
33
|
template: `
|
|
39
34
|
<logosphere-tab
|
|
40
|
-
|
|
41
|
-
[
|
|
35
|
+
[tabs]="tabs()"
|
|
36
|
+
[attr.activetab]="activeTab()"
|
|
42
37
|
[lazy]="lazy()"
|
|
43
|
-
[variant]="variant()"
|
|
38
|
+
[attr.variant]="variant()"
|
|
44
39
|
(tab-change)="onTabChange($event)"
|
|
45
40
|
>
|
|
46
41
|
<ng-content></ng-content>
|
|
@@ -48,10 +43,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImpor
|
|
|
48
43
|
`,
|
|
49
44
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
50
45
|
}]
|
|
51
|
-
}], propDecorators: { tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: false }] }], activeTab: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeTab", required: false }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], tabChange: [{ type: i0.Output, args: ["tabChange"] }]
|
|
52
|
-
type: ViewChild,
|
|
53
|
-
args: ['el', { static: false }]
|
|
54
|
-
}] } });
|
|
46
|
+
}], propDecorators: { tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: false }] }], activeTab: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeTab", required: false }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], tabChange: [{ type: i0.Output, args: ["tabChange"] }] } });
|
|
55
47
|
|
|
56
48
|
/**
|
|
57
49
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logosphere-ui-angular-src-lib-tab.mjs","sources":["../../projects/wrapper/src/lib/tab/tab.ts","../../projects/wrapper/src/lib/tab/logosphere-ui-angular-src-lib-tab.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA,
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-tab.mjs","sources":["../../projects/wrapper/src/lib/tab/tab.ts","../../projects/wrapper/src/lib/tab/logosphere-ui-angular-src-lib-tab.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/tab';\n\nexport type TabItem = {\n id: string;\n label: string;\n icon?: string;\n disabled?: boolean;\n closable?: boolean;\n};\n\n@Component({\n selector: 'lgs-tab',\n imports: [],\n template: `\n <logosphere-tab\n [tabs]=\"tabs()\"\n [attr.activetab]=\"activeTab()\"\n [lazy]=\"lazy()\"\n [attr.variant]=\"variant()\"\n (tab-change)=\"onTabChange($event)\"\n >\n <ng-content></ng-content>\n </logosphere-tab>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereTab {\n tabs = input<TabItem[]>([]);\n activeTab = input<string>('');\n lazy = input<boolean>(true);\n variant = input<'default' | 'card'>('default');\n\n tabChange = output<{ oldTab: string; newTab: string }>();\n\n onTabChange(event: Event) {\n const e = event as CustomEvent<{ oldTab: string; newTab: string }>;\n this.tabChange.emit(e.detail);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MA2Ba,aAAa,CAAA;AACxB,IAAA,IAAI,GAAG,KAAK,CAAY,EAAE,gDAAC;AAC3B,IAAA,SAAS,GAAG,KAAK,CAAS,EAAE,qDAAC;AAC7B,IAAA,IAAI,GAAG,KAAK,CAAU,IAAI,gDAAC;AAC3B,IAAA,OAAO,GAAG,KAAK,CAAqB,SAAS,mDAAC;IAE9C,SAAS,GAAG,MAAM,EAAsC;AAExD,IAAA,WAAW,CAAC,KAAY,EAAA;QACtB,MAAM,CAAC,GAAG,KAAwD;QAClE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IAC/B;uGAXW,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,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,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,EAAA,OAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAbd;;;;;;;;;;AAUT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,aAAa,EAAA,UAAA,EAAA,CAAA;kBAhBzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,SAAS;AACnB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;AAUT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;AC1BD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
2
|
+
import { input, output, viewChild, effect, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
3
|
import '@logosphere-ui/core/table';
|
|
4
4
|
|
|
5
5
|
class LogosphereTable {
|
|
@@ -22,27 +22,41 @@ class LogosphereTable {
|
|
|
22
22
|
selectChangeHandler = (detail) => this.selectChange.emit(detail);
|
|
23
23
|
searchHandler = (detail) => this.search.emit(detail);
|
|
24
24
|
widthChangeHandler = (detail) => this.widthChange.emit(detail);
|
|
25
|
+
elRef = viewChild('el', ...(ngDevMode ? [{ debugName: "elRef" }] : []));
|
|
26
|
+
constructor() {
|
|
27
|
+
// Angular, adı "on" ile başlayan property binding'lerini güvenlik gereği reddeder
|
|
28
|
+
// (NG0306, validateAgainstEventProperties) — bu bir runtime kontrolüdür, ngc yakalamaz.
|
|
29
|
+
// Core'un onSortChange/onSelectChange/onSearch/onWidthChange callback prop'ları bu
|
|
30
|
+
// yüzden şablondan değil buradan atanır.
|
|
31
|
+
effect(() => {
|
|
32
|
+
const ref = this.elRef();
|
|
33
|
+
if (!ref)
|
|
34
|
+
return;
|
|
35
|
+
const node = ref.nativeElement;
|
|
36
|
+
node.onSortChange = this.sortChangeHandler;
|
|
37
|
+
node.onSelectChange = this.selectChangeHandler;
|
|
38
|
+
node.onSearch = this.searchHandler;
|
|
39
|
+
node.onWidthChange = this.widthChangeHandler;
|
|
40
|
+
});
|
|
41
|
+
}
|
|
25
42
|
onRowClick(event) {
|
|
26
43
|
const e = event;
|
|
27
44
|
this.rowClick.emit(e.detail);
|
|
28
45
|
}
|
|
29
46
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTable, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
47
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.7", type: LogosphereTable, isStandalone: true, selector: "lgs-table", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, actionColumn: { classPropertyName: "actionColumn", publicName: "actionColumn", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, rowKey: { classPropertyName: "rowKey", publicName: "rowKey", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, stickySelection: { classPropertyName: "stickySelection", publicName: "stickySelection", isSignal: true, isRequired: false, transformFunction: null }, resizable: { classPropertyName: "resizable", publicName: "resizable", isSignal: true, isRequired: false, transformFunction: null }, borderless: { classPropertyName: "borderless", publicName: "borderless", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rowClick: "rowClick", sortChange: "sortChange", selectChange: "selectChange", search: "search", widthChange: "widthChange" }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
31
48
|
<logosphere-table
|
|
49
|
+
#el
|
|
32
50
|
[columns]="columns()"
|
|
33
51
|
[actionColumn]="actionColumn()"
|
|
34
52
|
[rows]="rows()"
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[selection]="selection()"
|
|
39
|
-
[
|
|
40
|
-
[resizable]="resizable()"
|
|
41
|
-
[borderless]="borderless()"
|
|
42
|
-
[onSortChange]="sortChangeHandler"
|
|
43
|
-
[onSelectChange]="selectChangeHandler"
|
|
44
|
-
[onSearch]="searchHandler"
|
|
45
|
-
[onWidthChange]="widthChangeHandler"
|
|
53
|
+
[attr.row-key]="rowKey()"
|
|
54
|
+
[attr.empty-message]="emptyMessage()"
|
|
55
|
+
[attr.max-height]="maxHeight()"
|
|
56
|
+
[attr.selection]="selection() ? '' : null"
|
|
57
|
+
[attr.sticky-selection]="stickySelection() ? '' : null"
|
|
58
|
+
[attr.resizable]="resizable() ? '' : null"
|
|
59
|
+
[attr.borderless]="borderless() ? '' : null"
|
|
46
60
|
(row-click)="onRowClick($event)"
|
|
47
61
|
></logosphere-table>
|
|
48
62
|
`, isInline: true });
|
|
@@ -54,26 +68,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImpor
|
|
|
54
68
|
imports: [],
|
|
55
69
|
template: `
|
|
56
70
|
<logosphere-table
|
|
71
|
+
#el
|
|
57
72
|
[columns]="columns()"
|
|
58
73
|
[actionColumn]="actionColumn()"
|
|
59
74
|
[rows]="rows()"
|
|
60
|
-
[
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
[selection]="selection()"
|
|
64
|
-
[
|
|
65
|
-
[resizable]="resizable()"
|
|
66
|
-
[borderless]="borderless()"
|
|
67
|
-
[onSortChange]="sortChangeHandler"
|
|
68
|
-
[onSelectChange]="selectChangeHandler"
|
|
69
|
-
[onSearch]="searchHandler"
|
|
70
|
-
[onWidthChange]="widthChangeHandler"
|
|
75
|
+
[attr.row-key]="rowKey()"
|
|
76
|
+
[attr.empty-message]="emptyMessage()"
|
|
77
|
+
[attr.max-height]="maxHeight()"
|
|
78
|
+
[attr.selection]="selection() ? '' : null"
|
|
79
|
+
[attr.sticky-selection]="stickySelection() ? '' : null"
|
|
80
|
+
[attr.resizable]="resizable() ? '' : null"
|
|
81
|
+
[attr.borderless]="borderless() ? '' : null"
|
|
71
82
|
(row-click)="onRowClick($event)"
|
|
72
83
|
></logosphere-table>
|
|
73
84
|
`,
|
|
74
85
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
75
86
|
}]
|
|
76
|
-
}], propDecorators: { columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }], actionColumn: [{ type: i0.Input, args: [{ isSignal: true, alias: "actionColumn", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], rowKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowKey", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], selection: [{ type: i0.Input, args: [{ isSignal: true, alias: "selection", required: false }] }], stickySelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "stickySelection", required: false }] }], resizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizable", required: false }] }], borderless: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderless", required: false }] }], rowClick: [{ type: i0.Output, args: ["rowClick"] }], sortChange: [{ type: i0.Output, args: ["sortChange"] }], selectChange: [{ type: i0.Output, args: ["selectChange"] }], search: [{ type: i0.Output, args: ["search"] }], widthChange: [{ type: i0.Output, args: ["widthChange"] }] } });
|
|
87
|
+
}], ctorParameters: () => [], propDecorators: { columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }], actionColumn: [{ type: i0.Input, args: [{ isSignal: true, alias: "actionColumn", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], rowKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowKey", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], selection: [{ type: i0.Input, args: [{ isSignal: true, alias: "selection", required: false }] }], stickySelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "stickySelection", required: false }] }], resizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizable", required: false }] }], borderless: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderless", required: false }] }], rowClick: [{ type: i0.Output, args: ["rowClick"] }], sortChange: [{ type: i0.Output, args: ["sortChange"] }], selectChange: [{ type: i0.Output, args: ["selectChange"] }], search: [{ type: i0.Output, args: ["search"] }], widthChange: [{ type: i0.Output, args: ["widthChange"] }], elRef: [{ type: i0.ViewChild, args: ['el', { isSignal: true }] }] } });
|
|
77
88
|
|
|
78
89
|
/**
|
|
79
90
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logosphere-ui-angular-src-lib-table.mjs","sources":["../../projects/wrapper/src/lib/table/table.ts","../../projects/wrapper/src/lib/table/logosphere-ui-angular-src-lib-table.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-table.mjs","sources":["../../projects/wrapper/src/lib/table/table.ts","../../projects/wrapper/src/lib/table/logosphere-ui-angular-src-lib-table.ts"],"sourcesContent":["import {\n Component,\n CUSTOM_ELEMENTS_SCHEMA,\n effect,\n ElementRef,\n input,\n output,\n viewChild,\n} from '@angular/core';\nimport '@logosphere-ui/core/table';\n\nexport interface TableColumn {\n key: string;\n label: string;\n width?: number;\n align?: 'left' | 'center' | 'right';\n sortable?: boolean;\n searchable?: boolean;\n sticky?: boolean;\n render?: (context: TableCellContext) => unknown;\n}\n\nexport interface TableCellContext {\n value: unknown;\n row: Record<string, unknown>;\n rowIndex: number;\n column: TableColumn;\n}\n\nexport interface TableActionContext {\n row: Record<string, unknown>;\n rowIndex: number;\n}\n\nexport interface TableActionColumn {\n width?: number;\n render: (context: TableActionContext) => unknown;\n}\n\nexport interface TableSortChangeDetail {\n column: TableColumn;\n key: string;\n direction?: 'asc' | 'desc';\n sorts: Array<{ column: TableColumn; key: string; direction: 'asc' | 'desc'; order: number }>;\n multi: boolean;\n}\n\nexport interface TableSelectionChangeDetail {\n selectedRows: Record<string, unknown>[];\n selectedKeys: Array<string | number>;\n}\n\nexport interface TableSearchChangeDetail {\n values: Array<{ key: string; value: string }>;\n}\n\nexport interface TableWidthChangeDetail {\n column: TableColumn;\n key: string;\n width: number;\n}\n\n@Component({\n selector: 'lgs-table',\n imports: [],\n template: `\n <logosphere-table\n #el\n [columns]=\"columns()\"\n [actionColumn]=\"actionColumn()\"\n [rows]=\"rows()\"\n [attr.row-key]=\"rowKey()\"\n [attr.empty-message]=\"emptyMessage()\"\n [attr.max-height]=\"maxHeight()\"\n [attr.selection]=\"selection() ? '' : null\"\n [attr.sticky-selection]=\"stickySelection() ? '' : null\"\n [attr.resizable]=\"resizable() ? '' : null\"\n [attr.borderless]=\"borderless() ? '' : null\"\n (row-click)=\"onRowClick($event)\"\n ></logosphere-table>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereTable {\n columns = input<TableColumn[]>([]);\n actionColumn = input<TableActionColumn | undefined>(undefined);\n rows = input<Record<string, unknown>[]>([]);\n rowKey = input<string>('id');\n emptyMessage = input<string>('Kayıt bulunamadı');\n maxHeight = input<number | undefined>(undefined);\n selection = input<boolean>(false);\n stickySelection = input<boolean>(false);\n resizable = input<boolean>(false);\n borderless = input<boolean>(false);\n\n rowClick = output<{ row: Record<string, unknown>; rowIndex: number }>();\n sortChange = output<TableSortChangeDetail>();\n selectChange = output<TableSelectionChangeDetail>();\n search = output<TableSearchChangeDetail>();\n widthChange = output<TableWidthChangeDetail>();\n\n sortChangeHandler = (detail: TableSortChangeDetail) => this.sortChange.emit(detail);\n selectChangeHandler = (detail: TableSelectionChangeDetail) => this.selectChange.emit(detail);\n searchHandler = (detail: TableSearchChangeDetail) => this.search.emit(detail);\n widthChangeHandler = (detail: TableWidthChangeDetail) => this.widthChange.emit(detail);\n\n private elRef = viewChild<ElementRef<HTMLElement>>('el');\n\n constructor() {\n // Angular, adı \"on\" ile başlayan property binding'lerini güvenlik gereği reddeder\n // (NG0306, validateAgainstEventProperties) — bu bir runtime kontrolüdür, ngc yakalamaz.\n // Core'un onSortChange/onSelectChange/onSearch/onWidthChange callback prop'ları bu\n // yüzden şablondan değil buradan atanır.\n effect(() => {\n const ref = this.elRef();\n if (!ref) return;\n const node = ref.nativeElement as HTMLElement & {\n onSortChange?: unknown;\n onSelectChange?: unknown;\n onSearch?: unknown;\n onWidthChange?: unknown;\n };\n node.onSortChange = this.sortChangeHandler;\n node.onSelectChange = this.selectChangeHandler;\n node.onSearch = this.searchHandler;\n node.onWidthChange = this.widthChangeHandler;\n });\n }\n\n onRowClick(event: Event) {\n const e = event as CustomEvent<{ row: Record<string, unknown>; rowIndex: number }>;\n this.rowClick.emit(e.detail);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAmFa,eAAe,CAAA;AAC1B,IAAA,OAAO,GAAG,KAAK,CAAgB,EAAE,mDAAC;AAClC,IAAA,YAAY,GAAG,KAAK,CAAgC,SAAS,wDAAC;AAC9D,IAAA,IAAI,GAAG,KAAK,CAA4B,EAAE,gDAAC;AAC3C,IAAA,MAAM,GAAG,KAAK,CAAS,IAAI,kDAAC;AAC5B,IAAA,YAAY,GAAG,KAAK,CAAS,kBAAkB,wDAAC;AAChD,IAAA,SAAS,GAAG,KAAK,CAAqB,SAAS,qDAAC;AAChD,IAAA,SAAS,GAAG,KAAK,CAAU,KAAK,qDAAC;AACjC,IAAA,eAAe,GAAG,KAAK,CAAU,KAAK,2DAAC;AACvC,IAAA,SAAS,GAAG,KAAK,CAAU,KAAK,qDAAC;AACjC,IAAA,UAAU,GAAG,KAAK,CAAU,KAAK,sDAAC;IAElC,QAAQ,GAAG,MAAM,EAAsD;IACvE,UAAU,GAAG,MAAM,EAAyB;IAC5C,YAAY,GAAG,MAAM,EAA8B;IACnD,MAAM,GAAG,MAAM,EAA2B;IAC1C,WAAW,GAAG,MAAM,EAA0B;AAE9C,IAAA,iBAAiB,GAAG,CAAC,MAA6B,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC;AACnF,IAAA,mBAAmB,GAAG,CAAC,MAAkC,KAAK,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC;AAC5F,IAAA,aAAa,GAAG,CAAC,MAA+B,KAAK,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;AAC7E,IAAA,kBAAkB,GAAG,CAAC,MAA8B,KAAK,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,OAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,UAAA,EAAA,YAAA,EAAA,YAAA,EAAA,cAAA,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,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAlBhB;;;;;;;;;;;;;;;AAeT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,eAAe,EAAA,UAAA,EAAA,CAAA;kBArB3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,WAAW;AACrB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;AAeT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;80CAwBoD,IAAI,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AC1GzD;;AAEG;;;;"}
|
|
@@ -25,6 +25,9 @@ class LogosphereTextarea {
|
|
|
25
25
|
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
26
26
|
inputEvent = output({ alias: 'inputChange' });
|
|
27
27
|
change = output();
|
|
28
|
+
lgsChange = output();
|
|
29
|
+
keydown = output();
|
|
30
|
+
keyup = output();
|
|
28
31
|
clear = output();
|
|
29
32
|
onInput(event) {
|
|
30
33
|
const e = event;
|
|
@@ -34,34 +37,49 @@ class LogosphereTextarea {
|
|
|
34
37
|
const e = event;
|
|
35
38
|
this.change.emit(e.detail);
|
|
36
39
|
}
|
|
40
|
+
onLgsChange(event) {
|
|
41
|
+
const e = event;
|
|
42
|
+
this.lgsChange.emit(e.detail);
|
|
43
|
+
}
|
|
44
|
+
onKeydown(event) {
|
|
45
|
+
const e = event;
|
|
46
|
+
this.keydown.emit(e.detail);
|
|
47
|
+
}
|
|
48
|
+
onKeyup(event) {
|
|
49
|
+
const e = event;
|
|
50
|
+
this.keyup.emit(e.detail);
|
|
51
|
+
}
|
|
37
52
|
onClear() {
|
|
38
53
|
this.clear.emit();
|
|
39
54
|
}
|
|
40
55
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTextarea, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTextarea, isStandalone: true, selector: "lgs-textarea", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, maxRows: { classPropertyName: "maxRows", publicName: "maxRows", isSignal: true, isRequired: false, transformFunction: null }, cols: { classPropertyName: "cols", publicName: "cols", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, resize: { classPropertyName: "resize", publicName: "resize", isSignal: true, isRequired: false, transformFunction: null }, autoResize: { classPropertyName: "autoResize", publicName: "autoResize", 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 }, 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 }, 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 } }, outputs: { inputEvent: "inputChange", change: "change", clear: "clear" }, ngImport: i0, template: `
|
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTextarea, isStandalone: true, selector: "lgs-textarea", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, maxRows: { classPropertyName: "maxRows", publicName: "maxRows", isSignal: true, isRequired: false, transformFunction: null }, cols: { classPropertyName: "cols", publicName: "cols", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, resize: { classPropertyName: "resize", publicName: "resize", isSignal: true, isRequired: false, transformFunction: null }, autoResize: { classPropertyName: "autoResize", publicName: "autoResize", 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 }, 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 }, 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 } }, outputs: { inputEvent: "inputChange", change: "change", lgsChange: "lgsChange", keydown: "keydown", keyup: "keyup", clear: "clear" }, ngImport: i0, template: `
|
|
42
57
|
<logosphere-textarea
|
|
43
|
-
[value]="value()"
|
|
44
|
-
[placeholder]="placeholder()"
|
|
45
|
-
[name]="name()"
|
|
46
|
-
[autocomplete]="autocomplete()"
|
|
58
|
+
[attr.value]="value()"
|
|
59
|
+
[attr.placeholder]="placeholder()"
|
|
60
|
+
[attr.name]="name()"
|
|
61
|
+
[attr.autocomplete]="autocomplete()"
|
|
47
62
|
[attr.minlength]="minlength()"
|
|
48
63
|
[attr.maxlength]="maxlength()"
|
|
49
|
-
[rows]="rows()"
|
|
50
|
-
[
|
|
64
|
+
[attr.rows]="rows()"
|
|
65
|
+
[attr.maxrows]="maxRows()"
|
|
51
66
|
[attr.cols]="cols()"
|
|
52
|
-
[wrap]="wrap()"
|
|
53
|
-
[resize]="resize()"
|
|
67
|
+
[attr.wrap]="wrap()"
|
|
68
|
+
[attr.resize]="resize()"
|
|
54
69
|
[autoResize]="autoResize()"
|
|
55
|
-
[size]="size()"
|
|
56
|
-
[variant]="variant()"
|
|
57
|
-
[label]="label()"
|
|
58
|
-
[helper]="helper()"
|
|
59
|
-
[error]="error()"
|
|
60
|
-
[required]="required()"
|
|
61
|
-
[disabled]="disabled()"
|
|
62
|
-
[readonly]="readonly()"
|
|
70
|
+
[attr.size]="size()"
|
|
71
|
+
[attr.variant]="variant()"
|
|
72
|
+
[attr.label]="label()"
|
|
73
|
+
[attr.helper]="helper()"
|
|
74
|
+
[attr.error]="error()"
|
|
75
|
+
[attr.required]="required() ? '' : null"
|
|
76
|
+
[attr.disabled]="disabled() ? '' : null"
|
|
77
|
+
[attr.readonly]="readonly() ? '' : null"
|
|
63
78
|
(input)="onInput($event)"
|
|
64
79
|
(change)="onChange($event)"
|
|
80
|
+
(lgsChange)="onLgsChange($event)"
|
|
81
|
+
(keydown)="onKeydown($event)"
|
|
82
|
+
(keyup)="onKeyup($event)"
|
|
65
83
|
(clear)="onClear()"
|
|
66
84
|
></logosphere-textarea>
|
|
67
85
|
`, isInline: true });
|
|
@@ -73,34 +91,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImpor
|
|
|
73
91
|
imports: [],
|
|
74
92
|
template: `
|
|
75
93
|
<logosphere-textarea
|
|
76
|
-
[value]="value()"
|
|
77
|
-
[placeholder]="placeholder()"
|
|
78
|
-
[name]="name()"
|
|
79
|
-
[autocomplete]="autocomplete()"
|
|
94
|
+
[attr.value]="value()"
|
|
95
|
+
[attr.placeholder]="placeholder()"
|
|
96
|
+
[attr.name]="name()"
|
|
97
|
+
[attr.autocomplete]="autocomplete()"
|
|
80
98
|
[attr.minlength]="minlength()"
|
|
81
99
|
[attr.maxlength]="maxlength()"
|
|
82
|
-
[rows]="rows()"
|
|
83
|
-
[
|
|
100
|
+
[attr.rows]="rows()"
|
|
101
|
+
[attr.maxrows]="maxRows()"
|
|
84
102
|
[attr.cols]="cols()"
|
|
85
|
-
[wrap]="wrap()"
|
|
86
|
-
[resize]="resize()"
|
|
103
|
+
[attr.wrap]="wrap()"
|
|
104
|
+
[attr.resize]="resize()"
|
|
87
105
|
[autoResize]="autoResize()"
|
|
88
|
-
[size]="size()"
|
|
89
|
-
[variant]="variant()"
|
|
90
|
-
[label]="label()"
|
|
91
|
-
[helper]="helper()"
|
|
92
|
-
[error]="error()"
|
|
93
|
-
[required]="required()"
|
|
94
|
-
[disabled]="disabled()"
|
|
95
|
-
[readonly]="readonly()"
|
|
106
|
+
[attr.size]="size()"
|
|
107
|
+
[attr.variant]="variant()"
|
|
108
|
+
[attr.label]="label()"
|
|
109
|
+
[attr.helper]="helper()"
|
|
110
|
+
[attr.error]="error()"
|
|
111
|
+
[attr.required]="required() ? '' : null"
|
|
112
|
+
[attr.disabled]="disabled() ? '' : null"
|
|
113
|
+
[attr.readonly]="readonly() ? '' : null"
|
|
96
114
|
(input)="onInput($event)"
|
|
97
115
|
(change)="onChange($event)"
|
|
116
|
+
(lgsChange)="onLgsChange($event)"
|
|
117
|
+
(keydown)="onKeydown($event)"
|
|
118
|
+
(keyup)="onKeyup($event)"
|
|
98
119
|
(clear)="onClear()"
|
|
99
120
|
></logosphere-textarea>
|
|
100
121
|
`,
|
|
101
122
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
102
123
|
}]
|
|
103
|
-
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], minlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minlength", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], maxRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxRows", required: false }] }], cols: [{ type: i0.Input, args: [{ isSignal: true, alias: "cols", required: false }] }], wrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrap", required: false }] }], resize: [{ type: i0.Input, args: [{ isSignal: true, alias: "resize", required: false }] }], autoResize: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoResize", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", 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 }] }], 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 }] }], inputEvent: [{ type: i0.Output, args: ["inputChange"] }], change: [{ type: i0.Output, args: ["change"] }], clear: [{ type: i0.Output, args: ["clear"] }] } });
|
|
124
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], minlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minlength", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], maxRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxRows", required: false }] }], cols: [{ type: i0.Input, args: [{ isSignal: true, alias: "cols", required: false }] }], wrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrap", required: false }] }], resize: [{ type: i0.Input, args: [{ isSignal: true, alias: "resize", required: false }] }], autoResize: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoResize", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", 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 }] }], 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 }] }], inputEvent: [{ type: i0.Output, args: ["inputChange"] }], change: [{ type: i0.Output, args: ["change"] }], lgsChange: [{ type: i0.Output, args: ["lgsChange"] }], keydown: [{ type: i0.Output, args: ["keydown"] }], keyup: [{ type: i0.Output, args: ["keyup"] }], clear: [{ type: i0.Output, args: ["clear"] }] } });
|
|
104
125
|
|
|
105
126
|
/**
|
|
106
127
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logosphere-ui-angular-src-lib-textarea.mjs","sources":["../../projects/wrapper/src/lib/textarea/textarea.ts","../../projects/wrapper/src/lib/textarea/logosphere-ui-angular-src-lib-textarea.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/textarea';\n\n@Component({\n selector: 'lgs-textarea',\n imports: [],\n template: `\n <logosphere-textarea\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [name]=\"name()\"\n [autocomplete]=\"autocomplete()\"\n [attr.minlength]=\"minlength()\"\n [attr.maxlength]=\"maxlength()\"\n [rows]=\"rows()\"\n [
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-textarea.mjs","sources":["../../projects/wrapper/src/lib/textarea/textarea.ts","../../projects/wrapper/src/lib/textarea/logosphere-ui-angular-src-lib-textarea.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/textarea';\n\n@Component({\n selector: 'lgs-textarea',\n imports: [],\n template: `\n <logosphere-textarea\n [attr.value]=\"value()\"\n [attr.placeholder]=\"placeholder()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.minlength]=\"minlength()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.rows]=\"rows()\"\n [attr.maxrows]=\"maxRows()\"\n [attr.cols]=\"cols()\"\n [attr.wrap]=\"wrap()\"\n [attr.resize]=\"resize()\"\n [autoResize]=\"autoResize()\"\n [attr.size]=\"size()\"\n [attr.variant]=\"variant()\"\n [attr.label]=\"label()\"\n [attr.helper]=\"helper()\"\n [attr.error]=\"error()\"\n [attr.required]=\"required() ? '' : null\"\n [attr.disabled]=\"disabled() ? '' : null\"\n [attr.readonly]=\"readonly() ? '' : null\"\n (input)=\"onInput($event)\"\n (change)=\"onChange($event)\"\n (lgsChange)=\"onLgsChange($event)\"\n (keydown)=\"onKeydown($event)\"\n (keyup)=\"onKeyup($event)\"\n (clear)=\"onClear()\"\n ></logosphere-textarea>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereTextarea {\n value = input<string>('');\n placeholder = input<string>('');\n name = input<string>('');\n autocomplete = input<string>('');\n minlength = input<number | undefined>(undefined);\n maxlength = input<number | undefined>(undefined);\n rows = input<number>(3);\n maxRows = input<number>(8);\n cols = input<number | undefined>(undefined);\n wrap = input<'soft' | 'hard'>('soft');\n resize = input<'none' | 'vertical' | 'horizontal' | 'both'>('vertical');\n autoResize = input<boolean>(true);\n size = input<'default' | 'large'>('default');\n variant = input<'default' | 'subtle'>('default');\n label = input<string>('');\n helper = input<string>('');\n error = input<string>('');\n required = input<boolean>(false);\n disabled = input<boolean>(false);\n readonly = input<boolean>(false);\n\n inputEvent = output<{ value: string }>({ alias: 'inputChange' });\n change = output<{ value: string }>();\n lgsChange = output<{ value: string }>();\n keydown = output<{ key: string }>();\n keyup = output<{ key: string }>();\n clear = output<void>();\n\n onInput(event: Event) {\n const e = event as CustomEvent<{ value: string }>;\n this.inputEvent.emit(e.detail);\n }\n\n onChange(event: Event) {\n const e = event as CustomEvent<{ value: string }>;\n this.change.emit(e.detail);\n }\n\n onLgsChange(event: Event) {\n const e = event as CustomEvent<{ value: string }>;\n this.lgsChange.emit(e.detail);\n }\n\n onKeydown(event: Event) {\n const e = event as CustomEvent<{ key: string }>;\n this.keydown.emit(e.detail);\n }\n\n onKeyup(event: Event) {\n const e = event as CustomEvent<{ key: string }>;\n this.keyup.emit(e.detail);\n }\n\n onClear() {\n this.clear.emit();\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAsCa,kBAAkB,CAAA;AAC7B,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AACzB,IAAA,WAAW,GAAG,KAAK,CAAS,EAAE,uDAAC;AAC/B,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,gDAAC;AACxB,IAAA,YAAY,GAAG,KAAK,CAAS,EAAE,wDAAC;AAChC,IAAA,SAAS,GAAG,KAAK,CAAqB,SAAS,qDAAC;AAChD,IAAA,SAAS,GAAG,KAAK,CAAqB,SAAS,qDAAC;AAChD,IAAA,IAAI,GAAG,KAAK,CAAS,CAAC,gDAAC;AACvB,IAAA,OAAO,GAAG,KAAK,CAAS,CAAC,mDAAC;AAC1B,IAAA,IAAI,GAAG,KAAK,CAAqB,SAAS,gDAAC;AAC3C,IAAA,IAAI,GAAG,KAAK,CAAkB,MAAM,gDAAC;AACrC,IAAA,MAAM,GAAG,KAAK,CAA8C,UAAU,kDAAC;AACvE,IAAA,UAAU,GAAG,KAAK,CAAU,IAAI,sDAAC;AACjC,IAAA,IAAI,GAAG,KAAK,CAAsB,SAAS,gDAAC;AAC5C,IAAA,OAAO,GAAG,KAAK,CAAuB,SAAS,mDAAC;AAChD,IAAA,KAAK,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AAQ,EAAE,cAAc;AACxB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACrCD;;AAEG;;;;"}
|
|
@@ -14,28 +14,34 @@ class LogosphereTimePicker {
|
|
|
14
14
|
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
15
15
|
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
16
16
|
change = output();
|
|
17
|
+
lgsChange = output();
|
|
17
18
|
clear = output();
|
|
18
19
|
onChange(event) {
|
|
19
20
|
const e = event;
|
|
20
21
|
this.change.emit(e.detail);
|
|
21
22
|
}
|
|
23
|
+
onLgsChange(event) {
|
|
24
|
+
const e = event;
|
|
25
|
+
this.lgsChange.emit(e.detail);
|
|
26
|
+
}
|
|
22
27
|
onClear() {
|
|
23
28
|
this.clear.emit();
|
|
24
29
|
}
|
|
25
30
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTimePicker, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTimePicker, isStandalone: true, selector: "lgs-timepicker", inputs: { value: { classPropertyName: "value", publicName: "value", 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 }, 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 }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change", clear: "clear" }, ngImport: i0, template: `
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTimePicker, isStandalone: true, selector: "lgs-timepicker", inputs: { value: { classPropertyName: "value", publicName: "value", 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 }, 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 }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change", lgsChange: "lgsChange", clear: "clear" }, ngImport: i0, template: `
|
|
27
32
|
<logosphere-timepicker
|
|
28
|
-
[value]="value()"
|
|
29
|
-
[label]="label()"
|
|
30
|
-
[helper]="helper()"
|
|
31
|
-
[error]="error()"
|
|
32
|
-
[placeholder]="placeholder()"
|
|
33
|
-
[required]="required()"
|
|
34
|
-
[disabled]="disabled()"
|
|
35
|
-
[readonly]="readonly()"
|
|
36
|
-
[size]="size()"
|
|
37
|
-
[variant]="variant()"
|
|
33
|
+
[attr.value]="value()"
|
|
34
|
+
[attr.label]="label()"
|
|
35
|
+
[attr.helper]="helper()"
|
|
36
|
+
[attr.error]="error()"
|
|
37
|
+
[attr.placeholder]="placeholder()"
|
|
38
|
+
[attr.required]="required() ? '' : null"
|
|
39
|
+
[attr.disabled]="disabled() ? '' : null"
|
|
40
|
+
[attr.readonly]="readonly() ? '' : null"
|
|
41
|
+
[attr.size]="size()"
|
|
42
|
+
[attr.variant]="variant()"
|
|
38
43
|
(change)="onChange($event)"
|
|
44
|
+
(lgsChange)="onLgsChange($event)"
|
|
39
45
|
(clear)="onClear()"
|
|
40
46
|
></logosphere-timepicker>
|
|
41
47
|
`, isInline: true });
|
|
@@ -47,23 +53,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImpor
|
|
|
47
53
|
imports: [],
|
|
48
54
|
template: `
|
|
49
55
|
<logosphere-timepicker
|
|
50
|
-
[value]="value()"
|
|
51
|
-
[label]="label()"
|
|
52
|
-
[helper]="helper()"
|
|
53
|
-
[error]="error()"
|
|
54
|
-
[placeholder]="placeholder()"
|
|
55
|
-
[required]="required()"
|
|
56
|
-
[disabled]="disabled()"
|
|
57
|
-
[readonly]="readonly()"
|
|
58
|
-
[size]="size()"
|
|
59
|
-
[variant]="variant()"
|
|
56
|
+
[attr.value]="value()"
|
|
57
|
+
[attr.label]="label()"
|
|
58
|
+
[attr.helper]="helper()"
|
|
59
|
+
[attr.error]="error()"
|
|
60
|
+
[attr.placeholder]="placeholder()"
|
|
61
|
+
[attr.required]="required() ? '' : null"
|
|
62
|
+
[attr.disabled]="disabled() ? '' : null"
|
|
63
|
+
[attr.readonly]="readonly() ? '' : null"
|
|
64
|
+
[attr.size]="size()"
|
|
65
|
+
[attr.variant]="variant()"
|
|
60
66
|
(change)="onChange($event)"
|
|
67
|
+
(lgsChange)="onLgsChange($event)"
|
|
61
68
|
(clear)="onClear()"
|
|
62
69
|
></logosphere-timepicker>
|
|
63
70
|
`,
|
|
64
71
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
65
72
|
}]
|
|
66
|
-
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", 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 }] }], 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 }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], change: [{ type: i0.Output, args: ["change"] }], clear: [{ type: i0.Output, args: ["clear"] }] } });
|
|
73
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", 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 }] }], 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 }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], change: [{ type: i0.Output, args: ["change"] }], lgsChange: [{ type: i0.Output, args: ["lgsChange"] }], clear: [{ type: i0.Output, args: ["clear"] }] } });
|
|
67
74
|
|
|
68
75
|
/**
|
|
69
76
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logosphere-ui-angular-src-lib-timepicker.mjs","sources":["../../projects/wrapper/src/lib/timepicker/timepicker.ts","../../projects/wrapper/src/lib/timepicker/logosphere-ui-angular-src-lib-timepicker.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/timepicker';\n\n@Component({\n selector: 'lgs-timepicker',\n imports: [],\n template: `\n <logosphere-timepicker\n [value]=\"value()\"\n [label]=\"label()\"\n [helper]=\"helper()\"\n [error]=\"error()\"\n [placeholder]=\"placeholder()\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n (change)=\"onChange($event)\"\n (clear)=\"onClear()\"\n ></logosphere-timepicker>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereTimePicker {\n value = input<string>('');\n label = input<string>('');\n helper = input<string>('');\n error = input<string>('');\n placeholder = input<string>('__:__');\n required = input<boolean>(false);\n disabled = input<boolean>(false);\n readonly = input<boolean>(false);\n size = input<'default' | 'large'>('default');\n variant = input<'default' | 'subtle'>('default');\n\n change = output<{ value: string }>();\n clear = output<void>();\n\n onChange(event: Event) {\n const e = event as CustomEvent<{ value: string }>;\n this.change.emit(e.detail);\n }\n\n onClear() {\n this.clear.emit();\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"logosphere-ui-angular-src-lib-timepicker.mjs","sources":["../../projects/wrapper/src/lib/timepicker/timepicker.ts","../../projects/wrapper/src/lib/timepicker/logosphere-ui-angular-src-lib-timepicker.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/timepicker';\n\n@Component({\n selector: 'lgs-timepicker',\n imports: [],\n template: `\n <logosphere-timepicker\n [attr.value]=\"value()\"\n [attr.label]=\"label()\"\n [attr.helper]=\"helper()\"\n [attr.error]=\"error()\"\n [attr.placeholder]=\"placeholder()\"\n [attr.required]=\"required() ? '' : null\"\n [attr.disabled]=\"disabled() ? '' : null\"\n [attr.readonly]=\"readonly() ? '' : null\"\n [attr.size]=\"size()\"\n [attr.variant]=\"variant()\"\n (change)=\"onChange($event)\"\n (lgsChange)=\"onLgsChange($event)\"\n (clear)=\"onClear()\"\n ></logosphere-timepicker>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereTimePicker {\n value = input<string>('');\n label = input<string>('');\n helper = input<string>('');\n error = input<string>('');\n placeholder = input<string>('__:__');\n required = input<boolean>(false);\n disabled = input<boolean>(false);\n readonly = input<boolean>(false);\n size = input<'default' | 'large'>('default');\n variant = input<'default' | 'subtle'>('default');\n\n change = output<{ value: string }>();\n lgsChange = output<{ value: string }>();\n clear = output<void>();\n\n onChange(event: Event) {\n const e = event as CustomEvent<{ value: string }>;\n this.change.emit(e.detail);\n }\n\n onLgsChange(event: Event) {\n const e = event as CustomEvent<{ value: string }>;\n this.lgsChange.emit(e.detail);\n }\n\n onClear() {\n this.clear.emit();\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAyBa,oBAAoB,CAAA;AAC/B,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AACzB,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,OAAO,uDAAC;AACpC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,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