@konce-pt/angular 0.18.0 → 0.18.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/CHANGELOG.md +31 -0
- package/charts/src/lib/llms.txt +10 -0
- package/fesm2022/konce-pt-angular-charts.mjs +270 -217
- package/fesm2022/konce-pt-angular-charts.mjs.map +1 -1
- package/fesm2022/konce-pt-angular.mjs.map +1 -1
- package/package.json +13 -13
- package/types/konce-pt-angular-charts.d.ts +17 -3
- package/types/konce-pt-angular-charts.d.ts.map +1 -1
- package/types/konce-pt-angular.d.ts +11 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konce-pt/angular",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"description": "Open-source Angular 22 component library on Signals & Signal Forms - 70+ components, rich data table, zoneless, fully tokenized. Selektory kpt-*, klasy Kpt*.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "konce.pt",
|
|
@@ -46,18 +46,18 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"tslib": "^2.3.0",
|
|
49
|
-
"@konce-pt/chat": "0.18.
|
|
50
|
-
"@konce-pt/i18n": "0.18.
|
|
51
|
-
"@konce-pt/
|
|
52
|
-
"@konce-pt/
|
|
53
|
-
"@konce-pt/
|
|
54
|
-
"@konce-pt/
|
|
55
|
-
"@konce-pt/
|
|
56
|
-
"@konce-pt/
|
|
57
|
-
"@konce-pt/
|
|
58
|
-
"@konce-pt/
|
|
59
|
-
"@konce-pt/
|
|
60
|
-
"@konce-pt/
|
|
49
|
+
"@konce-pt/chat": "0.18.1",
|
|
50
|
+
"@konce-pt/i18n": "0.18.1",
|
|
51
|
+
"@konce-pt/icons": "0.18.1",
|
|
52
|
+
"@konce-pt/mention": "0.18.1",
|
|
53
|
+
"@konce-pt/roadmap": "0.18.1",
|
|
54
|
+
"@konce-pt/map": "0.18.1",
|
|
55
|
+
"@konce-pt/chart": "0.18.1",
|
|
56
|
+
"@konce-pt/backdrop": "0.18.1",
|
|
57
|
+
"@konce-pt/motion": "0.18.1",
|
|
58
|
+
"@konce-pt/table": "0.18.1",
|
|
59
|
+
"@konce-pt/datetime": "0.18.1",
|
|
60
|
+
"@konce-pt/speech": "0.18.1"
|
|
61
61
|
},
|
|
62
62
|
"module": "fesm2022/konce-pt-angular.mjs",
|
|
63
63
|
"typings": "types/konce-pt-angular.d.ts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _konce_pt_chart from '@konce-pt/chart';
|
|
2
2
|
import { KptChartConfig, KptAnimationOptions, KptAlign, KptDeltaKind } from '@konce-pt/chart';
|
|
3
|
-
export { KPT_CHART_PALETTE, KptAlign, KptAnimationOptions, KptBarOrientation, KptChartConfig, KptChartSeries, KptChartType, KptFont, KptLegendOptions, KptLegendPosition, KptLegendTitle, KptLineInterpolation, KptPadding, KptPointStyle, KptTitleOptions, KptTooltipContext, KptTooltipOptions, areaPath, barLayout, linePath, niceScale, pieSlices, polarSlices, radarGrid, radarPoints, seriesColor } from '@konce-pt/chart';
|
|
3
|
+
export { KPT_CHART_PALETTE, KptAlign, KptAnimationOptions, KptBarOrientation, KptChartConfig, KptChartSeries, KptChartType, KptFont, KptLegendOptions, KptLegendPosition, KptLegendTitle, KptLineInterpolation, KptPadding, KptPointStyle, KptTitleOptions, KptTooltipContext, KptTooltipOptions, KptValueAxisOptions, areaPath, barLayout, linePath, niceScale, pieSlices, polarSlices, radarGrid, radarPoints, seriesColor } from '@konce-pt/chart';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { KptI18n } from '@konce-pt/angular';
|
|
6
6
|
|
|
@@ -35,6 +35,15 @@ interface AxisLabel {
|
|
|
35
35
|
text: string;
|
|
36
36
|
anchor: 'start' | 'middle' | 'end';
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Etykieta osi kategorii. Lista zawsze ma wszystkie kategorie - `at` (środek kategorii wzdłuż osi)
|
|
40
|
+
* czyta najechanie i prowadnica - ale rysowane są tylko te z `visible`; `x`/`y` to miejsce tekstu,
|
|
41
|
+
* przesunięte tak, żeby nie wyszedł poza viewBox.
|
|
42
|
+
*/
|
|
43
|
+
interface CategoryLabel extends AxisLabel {
|
|
44
|
+
at: number;
|
|
45
|
+
visible: boolean;
|
|
46
|
+
}
|
|
38
47
|
interface GridLine {
|
|
39
48
|
x1: number;
|
|
40
49
|
y1: number;
|
|
@@ -86,7 +95,12 @@ interface LineVm {
|
|
|
86
95
|
series: LineSeriesVm[];
|
|
87
96
|
grid: GridLine[];
|
|
88
97
|
valueLabels: AxisLabel[];
|
|
89
|
-
catLabels:
|
|
98
|
+
catLabels: CategoryLabel[];
|
|
99
|
+
/** Kropki kategorii na osi X - aktywna rośnie przy najechaniu. */
|
|
100
|
+
catTicks: {
|
|
101
|
+
x: number;
|
|
102
|
+
y: number;
|
|
103
|
+
}[];
|
|
90
104
|
showPoints: boolean;
|
|
91
105
|
ghost: LineGhostVm[];
|
|
92
106
|
}
|
|
@@ -124,7 +138,7 @@ interface BarVm {
|
|
|
124
138
|
}[];
|
|
125
139
|
grid: GridLine[];
|
|
126
140
|
valueLabels: AxisLabel[];
|
|
127
|
-
catLabels:
|
|
141
|
+
catLabels: CategoryLabel[];
|
|
128
142
|
ghost: BarGhostVm[];
|
|
129
143
|
}
|
|
130
144
|
interface SliceVm {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"konce-pt-angular-charts.d.ts","sources":["../../charts/src/lib/chart-legend.component.ts","../../charts/src/lib/chart-tooltip.component.ts","../../charts/src/lib/chart.component.ts"],"mappings":";;;;;;UAGiB,kBAAkB;;;;;AAKlC;;UCLgB,kBAAkB;;;;AAIlC;UAEgB,oBAAoB;;;;;;UAM7B,kBAAkB;;;;;AAKzB;;
|
|
1
|
+
{"version":3,"file":"konce-pt-angular-charts.d.ts","sources":["../../charts/src/lib/chart-legend.component.ts","../../charts/src/lib/chart-tooltip.component.ts","../../charts/src/lib/chart.component.ts"],"mappings":";;;;;;UAGiB,kBAAkB;;;;;AAKlC;;UCLgB,kBAAkB;;;;AAIlC;UAEgB,oBAAoB;;;;;;UAM7B,kBAAkB;;;;;AAKzB;;AC2BD,UAAU,SAAS;;;;AAIjB;AACD;AACD;;;;AAIG;AACH,UAAU,aAAc,SAAQ,SAAS;;;AAGxC;AACD,UAAU,QAAQ;;;;;AAKjB;AACD,UAAU,SAAS;;;;;AAKlB;AACD,UAAU,YAAY;;;;;AAKpB;YACQ,SAAS;AAClB;AACD;AACA,UAAU,SAAS;;;;UAIX,YAAY;AACnB;AACD;AACA,UAAU,SAAS;;;;UAIX,YAAY;;AAEnB;AACD,UAAU,WAAW;;;WAGZ,SAAS;WACT,SAAS;AACjB;AACD,UAAU,MAAM;AACd;;;;;;YACQ,YAAY;UACd,QAAQ;iBACD,SAAS;eACX,aAAa;;AAExB;;;AAAkC;;WAE3B,WAAW;AACnB;AACD,UAAU,UAAU;;;;AAIlB;;;;;cAAoE,YAAY;;AACjF;AACD,UAAU,KAAK;AACb;AACA;;;;;;AACA;;;;;;;;;;;AAAsJ;UAChJ,QAAQ;iBACD,SAAS;eACX,aAAa;WACjB,UAAU;AAClB;AACD,UAAU,OAAO;;;;;;;;AAQhB;AACD,UAAU,aAAa;;;;;YAKb,SAAS;AAClB;AACD,UAAU,OAAO;;eAEJ,QAAQ;gBACP,SAAS;YACb,aAAa;AACtB;AAwCD;;;;;;;;;;;;;AAaG;AACH,cAea,QAAQ;qBACJ,aAAA,CAAA,WAAA,CAAA,cAAA;;oBAED,aAAA,CAAA,WAAA;;qBAEC,aAAA,CAAA,WAAA;AAEf,6BAAuB,OAAA;AACvB;AACA;;AAEA;;AAEA;AACA;;;;AAIG;AACH,uCAAiC,aAAA,CAAA,MAAA;AACjC,kCAA4B,aAAA,CAAA,MAAA,CAAA,eAAA,CAAA,iBAAA;AAG5B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';
|
|
21
21
|
export { KPT_SIGNAL_GRID_CELL, KPT_SIGNAL_GRID_DENSITY, KPT_SIGNAL_GRID_FALLOFF, KPT_SIGNAL_GRID_GAP, KPT_WAVE_AMPLITUDE, KPT_WAVE_BAND, KPT_WAVE_RESOLUTION, KPT_WAVE_ROTATION, KptBackdropAnchor, KptBackdropEffect, KptBackdropRenderOptions, KptBackdropRenderer, KptOklab, KptRgb, KptSignalGridCell, KptSignalGridFrame, KptSignalGridOptions, KptWaveOptions, KptWaveSettings, buildSignalGrid, createBackdropRenderer, mixOklch, readCssColor, resolveWave, shiftHue, signalGridAlpha, signalGridDensity, waveIntensity, waveRamp } from '@konce-pt/backdrop';
|
|
22
22
|
import { KptColumnFilter, KptColumnSummary, KptColumnGroup } from '@konce-pt/table';
|
|
23
|
-
export { KptColumnFilter, KptColumnFilterType, KptColumnSummary, KptSummaryFn } from '@konce-pt/table';
|
|
23
|
+
export { KptColumnFilter, KptColumnFilterType, KptColumnGroup, KptColumnSummary, KptSummaryFn } from '@konce-pt/table';
|
|
24
24
|
|
|
25
25
|
type KptButtonVariant = 'filled' | 'elevated' | 'tonal' | 'outline' | 'text' | 'link' | 'danger' | 'success' | 'warning' | 'info';
|
|
26
26
|
type KptButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -41,7 +41,7 @@ type KptButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
41
41
|
declare class KptButton {
|
|
42
42
|
readonly variant: _angular_core.InputSignal<KptButtonVariant>;
|
|
43
43
|
readonly size: _angular_core.InputSignal<KptButtonSize>;
|
|
44
|
-
readonly type: _angular_core.InputSignal<"
|
|
44
|
+
readonly type: _angular_core.InputSignal<"button" | "submit" | "reset">;
|
|
45
45
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
46
46
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
47
47
|
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -85,7 +85,7 @@ declare class KptIconButton {
|
|
|
85
85
|
readonly variant: _angular_core.InputSignal<KptButtonVariant>;
|
|
86
86
|
readonly size: _angular_core.InputSignal<KptButtonSize>;
|
|
87
87
|
readonly shape: _angular_core.InputSignal<"round" | "square">;
|
|
88
|
-
readonly type: _angular_core.InputSignal<"
|
|
88
|
+
readonly type: _angular_core.InputSignal<"button" | "submit" | "reset">;
|
|
89
89
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
90
90
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
91
91
|
/** Etykieta dostępności (wymagana - przycisk nie ma tekstu). */
|
|
@@ -202,7 +202,7 @@ declare class KptFab {
|
|
|
202
202
|
readonly size: _angular_core.InputSignal<"md" | "mini">;
|
|
203
203
|
readonly extended: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
204
204
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
205
|
-
readonly type: _angular_core.InputSignal<"
|
|
205
|
+
readonly type: _angular_core.InputSignal<"button" | "submit" | "reset">;
|
|
206
206
|
/** Wymagane dla wariantu okrągłego (bez tekstu). */
|
|
207
207
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
208
208
|
/**
|
|
@@ -1205,7 +1205,7 @@ declare class KptInput implements FormValueControl<string> {
|
|
|
1205
1205
|
readonly speechMode: _angular_core.InputSignal<KptSpeechMode>;
|
|
1206
1206
|
private readonly mic;
|
|
1207
1207
|
/** Stan mikrofonu dla stylu - pole robi miejsce na przycisk i na falę w trakcie nasłuchu. */
|
|
1208
|
-
protected readonly speechState: _angular_core.Signal<"
|
|
1208
|
+
protected readonly speechState: _angular_core.Signal<"idle" | "listening" | null>;
|
|
1209
1209
|
protected readonly field: _konce_pt_angular.KptFieldA11y;
|
|
1210
1210
|
protected onInput(event: Event): void;
|
|
1211
1211
|
/**
|
|
@@ -1617,7 +1617,7 @@ declare class KptDatepicker implements FormValueControl<string> {
|
|
|
1617
1617
|
/** Poziom, na którym klik w komórkę zatwierdza wartość zamiast schodzić niżej. */
|
|
1618
1618
|
protected readonly commitLevel: _angular_core.Signal<KptCalendarView>;
|
|
1619
1619
|
protected readonly timeStr: _angular_core.WritableSignal<string>;
|
|
1620
|
-
protected readonly dtView: _angular_core.WritableSignal<"
|
|
1620
|
+
protected readonly dtView: _angular_core.WritableSignal<"calendar" | "clock">;
|
|
1621
1621
|
private readonly pendingDate;
|
|
1622
1622
|
/** Tarcza zamiast siatek: tryb 'time' zawsze, 'datetime' po wejściu w pasek czasu. */
|
|
1623
1623
|
protected readonly showClock: _angular_core.Signal<boolean>;
|
|
@@ -1795,7 +1795,7 @@ declare class KptTextarea implements FormValueControl<string> {
|
|
|
1795
1795
|
readonly speechMode: _angular_core.InputSignal<KptSpeechMode>;
|
|
1796
1796
|
private readonly mic;
|
|
1797
1797
|
/** Stan mikrofonu dla stylu - pole rezerwuje kolumnę na przycisk tylko, gdy ten jest widoczny. */
|
|
1798
|
-
protected readonly speechState: _angular_core.Signal<"
|
|
1798
|
+
protected readonly speechState: _angular_core.Signal<"idle" | "listening" | null>;
|
|
1799
1799
|
constructor();
|
|
1800
1800
|
protected onInput(event: Event): void;
|
|
1801
1801
|
private resize;
|
|
@@ -1986,7 +1986,7 @@ declare class KptRichText implements FormValueControl<string> {
|
|
|
1986
1986
|
y: number;
|
|
1987
1987
|
}>;
|
|
1988
1988
|
protected readonly borderOpen: _angular_core.WritableSignal<boolean>;
|
|
1989
|
-
protected readonly borderTarget: _angular_core.WritableSignal<"
|
|
1989
|
+
protected readonly borderTarget: _angular_core.WritableSignal<"table" | "cell">;
|
|
1990
1990
|
private ctxCell;
|
|
1991
1991
|
private resize;
|
|
1992
1992
|
protected readonly selCount: _angular_core.WritableSignal<number>;
|
|
@@ -3781,7 +3781,7 @@ declare class KptEmpty {
|
|
|
3781
3781
|
* Robi z tytułu nagłówek strony (`role="heading"` z `aria-level`), żeby pusty stan pojawił się
|
|
3782
3782
|
* w strukturze dokumentu - np. gdy zastępuje całą sekcję. Bez tego tytuł to sam tekst.
|
|
3783
3783
|
*/
|
|
3784
|
-
readonly headingLevel: _angular_core.InputSignal<
|
|
3784
|
+
readonly headingLevel: _angular_core.InputSignal<2 | 1 | 4 | 3 | 5 | 6 | null>;
|
|
3785
3785
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KptEmpty, never>;
|
|
3786
3786
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KptEmpty, "kpt-empty", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3787
3787
|
}
|
|
@@ -4355,7 +4355,7 @@ declare class KptDataTable<T = Record<string, unknown>> {
|
|
|
4355
4355
|
protected readonly filterInput: _angular_core.WritableSignal<string>;
|
|
4356
4356
|
private readonly filterMic;
|
|
4357
4357
|
/** Stan mikrofonu filtra dla stylu - pole robi miejsce na przycisk i falę. */
|
|
4358
|
-
protected readonly filterSpeechState: _angular_core.Signal<"
|
|
4358
|
+
protected readonly filterSpeechState: _angular_core.Signal<"idle" | "listening" | null>;
|
|
4359
4359
|
protected readonly columnFilters: _angular_core.WritableSignal<Record<string, unknown>>;
|
|
4360
4360
|
protected readonly sortField: _angular_core.WritableSignal<string | null>;
|
|
4361
4361
|
protected readonly sortDir: _angular_core.WritableSignal<SortDir>;
|
|
@@ -5564,7 +5564,7 @@ declare class KptAutocomplete implements FormValueControl<string> {
|
|
|
5564
5564
|
*/
|
|
5565
5565
|
readonly speechMode: _angular_core.InputSignal<KptSpeechMode>;
|
|
5566
5566
|
private readonly mic;
|
|
5567
|
-
protected readonly speechState: _angular_core.Signal<"
|
|
5567
|
+
protected readonly speechState: _angular_core.Signal<"idle" | "listening" | null>;
|
|
5568
5568
|
protected readonly field: _konce_pt_angular.KptFieldA11y;
|
|
5569
5569
|
protected readonly open: _angular_core.WritableSignal<boolean>;
|
|
5570
5570
|
protected readonly activeIndex: _angular_core.WritableSignal<number>;
|