@dashboard-designer/core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +235 -0
- package/dist/index.js +148 -0
- package/package.json +24 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/** Supported database providers (Phase 1 includes SQL Server). */
|
|
2
|
+
type DbProvider = 'sqlite' | 'postgres' | 'mysql' | 'mssql';
|
|
3
|
+
type WidgetType = 'bar' | 'line' | 'pie' | 'table' | 'kpi' | 'listbox';
|
|
4
|
+
type FilterOperator = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin' | 'like' | 'between' | 'is_null' | 'not_null';
|
|
5
|
+
type JoinType = 'inner' | 'left' | 'right' | 'full';
|
|
6
|
+
type AuthMode = 'token' | 'anonymous';
|
|
7
|
+
type UserRole = 'admin' | 'editor' | 'viewer';
|
|
8
|
+
/** Per-dashboard ACL permission (owner and platform admin bypass). */
|
|
9
|
+
type DashboardPermission = 'view' | 'edit' | 'admin';
|
|
10
|
+
interface DashboardAclEntry {
|
|
11
|
+
userId: string;
|
|
12
|
+
email?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
permission: DashboardPermission;
|
|
15
|
+
}
|
|
16
|
+
interface GridItem {
|
|
17
|
+
i: string;
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
w: number;
|
|
21
|
+
h: number;
|
|
22
|
+
minW?: number;
|
|
23
|
+
minH?: number;
|
|
24
|
+
}
|
|
25
|
+
interface FilterDef {
|
|
26
|
+
id: string;
|
|
27
|
+
field: string;
|
|
28
|
+
label?: string;
|
|
29
|
+
operator: FilterOperator;
|
|
30
|
+
value?: string | number | boolean | Array<string | number> | null;
|
|
31
|
+
valueTo?: string | number | null;
|
|
32
|
+
/** When true, filter is exposed as a UI control */
|
|
33
|
+
interactive?: boolean;
|
|
34
|
+
/** Maps global filter id → this chart filter when applying dashboard globals */
|
|
35
|
+
bindToGlobalId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* where = filter individual rows before aggregation (SQL WHERE).
|
|
38
|
+
* having = filter aggregated results (SQL HAVING).
|
|
39
|
+
* When omitted, inferred from whether the field is an aggregated measure.
|
|
40
|
+
*/
|
|
41
|
+
clause?: 'where' | 'having';
|
|
42
|
+
}
|
|
43
|
+
interface JoinDef {
|
|
44
|
+
id: string;
|
|
45
|
+
type: JoinType;
|
|
46
|
+
leftTable: string;
|
|
47
|
+
leftColumn: string;
|
|
48
|
+
rightTable: string;
|
|
49
|
+
rightColumn: string;
|
|
50
|
+
}
|
|
51
|
+
interface QueryColumn {
|
|
52
|
+
table?: string;
|
|
53
|
+
column: string;
|
|
54
|
+
alias?: string;
|
|
55
|
+
aggregation?: 'sum' | 'avg' | 'count' | 'min' | 'max' | 'none';
|
|
56
|
+
}
|
|
57
|
+
interface QueryDef {
|
|
58
|
+
connectionId: string;
|
|
59
|
+
/** When set, runs this SQL (with optional filter injection via {{filters}}) */
|
|
60
|
+
rawSql?: string;
|
|
61
|
+
tables?: string[];
|
|
62
|
+
joins?: JoinDef[];
|
|
63
|
+
columns?: QueryColumn[];
|
|
64
|
+
where?: FilterDef[];
|
|
65
|
+
groupBy?: string[];
|
|
66
|
+
orderBy?: Array<{
|
|
67
|
+
column: string;
|
|
68
|
+
direction: 'asc' | 'desc';
|
|
69
|
+
}>;
|
|
70
|
+
limit?: number;
|
|
71
|
+
}
|
|
72
|
+
interface DataBinding {
|
|
73
|
+
dimensions: string[];
|
|
74
|
+
measures: string[];
|
|
75
|
+
}
|
|
76
|
+
interface DrillDownDef {
|
|
77
|
+
targetDashboardId?: string;
|
|
78
|
+
targetWidgetId?: string;
|
|
79
|
+
/** Field from clicked point passed as filter to child */
|
|
80
|
+
passFields: string[];
|
|
81
|
+
title?: string;
|
|
82
|
+
}
|
|
83
|
+
interface Widget {
|
|
84
|
+
id: string;
|
|
85
|
+
type: WidgetType;
|
|
86
|
+
title: string;
|
|
87
|
+
query: QueryDef;
|
|
88
|
+
binding: DataBinding;
|
|
89
|
+
chartOptions: Record<string, unknown>;
|
|
90
|
+
filters: FilterDef[];
|
|
91
|
+
drillDown?: DrillDownDef;
|
|
92
|
+
}
|
|
93
|
+
interface Dashboard {
|
|
94
|
+
id: string;
|
|
95
|
+
title: string;
|
|
96
|
+
description?: string;
|
|
97
|
+
locale?: string;
|
|
98
|
+
/** ISO 4217 currency code for number formatting (default USD). */
|
|
99
|
+
currency?: string;
|
|
100
|
+
/** IANA time zone for date formatting (default browser / UTC). */
|
|
101
|
+
timeZone?: string;
|
|
102
|
+
/** Text direction; when omitted, derived from locale for known RTL languages. */
|
|
103
|
+
dir?: 'ltr' | 'rtl';
|
|
104
|
+
/** Optional visual theme (accent + chart palette). Omit / reset for defaults. */
|
|
105
|
+
theme?: DashboardTheme;
|
|
106
|
+
/**
|
|
107
|
+
* Toolbar export actions. When omitted, print and PDF are enabled; email is off.
|
|
108
|
+
* Set `print: false` / `pdf: false` to hide each action; set `email: true` to show Send email.
|
|
109
|
+
* Use `emailOptions` to control dashboard PDF and extra file attachments.
|
|
110
|
+
*/
|
|
111
|
+
exportOptions?: DashboardExportOptions;
|
|
112
|
+
layout: GridItem[];
|
|
113
|
+
globalFilters: FilterDef[];
|
|
114
|
+
widgets: Widget[];
|
|
115
|
+
createdAt?: string;
|
|
116
|
+
updatedAt?: string;
|
|
117
|
+
ownerId?: string;
|
|
118
|
+
}
|
|
119
|
+
interface DashboardEmailOptions {
|
|
120
|
+
/** Attach a PDF snapshot of the dashboard (default true). */
|
|
121
|
+
attachPdf?: boolean;
|
|
122
|
+
/** Allow adding extra files in the compose dialog (default true). */
|
|
123
|
+
allowExtraAttachments?: boolean;
|
|
124
|
+
/** Max extra files when allowExtraAttachments is on (default 5, max 10). */
|
|
125
|
+
maxExtraAttachments?: number;
|
|
126
|
+
}
|
|
127
|
+
interface DashboardExportOptions {
|
|
128
|
+
/** Show Print in the toolbar (default true). */
|
|
129
|
+
print?: boolean;
|
|
130
|
+
/** Show Export PDF in the toolbar (default true). */
|
|
131
|
+
pdf?: boolean;
|
|
132
|
+
/** Show Send email in the toolbar (default false; requires SMTP on the API). */
|
|
133
|
+
email?: boolean;
|
|
134
|
+
/** Attachment behavior for Send email (ignored when email is off). */
|
|
135
|
+
emailOptions?: DashboardEmailOptions;
|
|
136
|
+
}
|
|
137
|
+
declare function resolveExportOptions(options?: DashboardExportOptions | null): Required<Pick<DashboardExportOptions, 'print' | 'pdf' | 'email'>>;
|
|
138
|
+
declare function resolveEmailOptions(options?: DashboardExportOptions | null): Required<DashboardEmailOptions>;
|
|
139
|
+
interface DashboardTheme {
|
|
140
|
+
/** UI accent used for buttons, links, KPI emphasis. */
|
|
141
|
+
accent?: string;
|
|
142
|
+
/** Series / slice colors; cycles when more series than colors. */
|
|
143
|
+
chartColors?: string[];
|
|
144
|
+
}
|
|
145
|
+
/** Default UI accent (matches stylesheet --dd-accent). */
|
|
146
|
+
declare const DEFAULT_THEME_ACCENT = "#0d6b54";
|
|
147
|
+
/** Default chart series palette. */
|
|
148
|
+
declare const DEFAULT_CHART_COLORS: string[];
|
|
149
|
+
declare const THEME_PRESETS: Record<string, Required<DashboardTheme>>;
|
|
150
|
+
declare function resolveDashboardTheme(theme?: DashboardTheme | null): Required<DashboardTheme>;
|
|
151
|
+
/** True when theme is unset or matches the built-in default palette. */
|
|
152
|
+
declare function isDefaultDashboardTheme(theme?: DashboardTheme | null): boolean;
|
|
153
|
+
declare function matchThemePreset(theme?: DashboardTheme | null): string;
|
|
154
|
+
interface EmbedTokenRequest {
|
|
155
|
+
dashboardIds: string[];
|
|
156
|
+
connectionIds?: string[];
|
|
157
|
+
/** Seconds until expiry (default 86400). */
|
|
158
|
+
expiresIn?: number;
|
|
159
|
+
}
|
|
160
|
+
interface EmbedTokenResponse {
|
|
161
|
+
token: string;
|
|
162
|
+
expiresAt: string;
|
|
163
|
+
dashboardIds: string[];
|
|
164
|
+
connectionIds?: string[];
|
|
165
|
+
}
|
|
166
|
+
/** Persisted snapshot of a dashboard (git-like version history). */
|
|
167
|
+
interface DashboardVersionMeta {
|
|
168
|
+
id: string;
|
|
169
|
+
dashboardId: string;
|
|
170
|
+
parentId: string | null;
|
|
171
|
+
/** When this version was created by restoring an older snapshot */
|
|
172
|
+
restoredFromId: string | null;
|
|
173
|
+
message: string;
|
|
174
|
+
authorId?: string;
|
|
175
|
+
authorName?: string;
|
|
176
|
+
createdAt: string;
|
|
177
|
+
isHead: boolean;
|
|
178
|
+
shortId: string;
|
|
179
|
+
summary: {
|
|
180
|
+
title: string;
|
|
181
|
+
widgetCount: number;
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
interface DashboardVersion extends DashboardVersionMeta {
|
|
185
|
+
dashboard: Dashboard;
|
|
186
|
+
}
|
|
187
|
+
interface ConnectionConfig {
|
|
188
|
+
id: string;
|
|
189
|
+
name: string;
|
|
190
|
+
provider: DbProvider;
|
|
191
|
+
/** Encrypted or server-side only — never send secrets to browser in plaintext after create */
|
|
192
|
+
host?: string;
|
|
193
|
+
port?: number;
|
|
194
|
+
database?: string;
|
|
195
|
+
username?: string;
|
|
196
|
+
/** Present only on create/update requests */
|
|
197
|
+
password?: string;
|
|
198
|
+
/** File path for SQLite */
|
|
199
|
+
filename?: string;
|
|
200
|
+
ssl?: boolean;
|
|
201
|
+
/** Allow anonymous embed to use this connection */
|
|
202
|
+
allowAnonymous?: boolean;
|
|
203
|
+
}
|
|
204
|
+
interface User {
|
|
205
|
+
id: string;
|
|
206
|
+
email: string;
|
|
207
|
+
name: string;
|
|
208
|
+
role: UserRole;
|
|
209
|
+
locale?: string;
|
|
210
|
+
createdAt?: string;
|
|
211
|
+
}
|
|
212
|
+
interface AuthConfig {
|
|
213
|
+
mode: AuthMode;
|
|
214
|
+
token?: string;
|
|
215
|
+
}
|
|
216
|
+
interface QueryResult {
|
|
217
|
+
columns: string[];
|
|
218
|
+
rows: Record<string, unknown>[];
|
|
219
|
+
rowCount: number;
|
|
220
|
+
durationMs: number;
|
|
221
|
+
}
|
|
222
|
+
interface ExecuteQueryRequest {
|
|
223
|
+
query: QueryDef;
|
|
224
|
+
chartFilters?: FilterDef[];
|
|
225
|
+
globalFilters?: FilterDef[];
|
|
226
|
+
}
|
|
227
|
+
declare const WIDGET_TYPES: WidgetType[];
|
|
228
|
+
declare const DB_PROVIDERS: DbProvider[];
|
|
229
|
+
/** Locales that default to RTL when dashboard.dir is unset. */
|
|
230
|
+
declare const RTL_LOCALES: Set<string>;
|
|
231
|
+
declare function resolveDashboardDir(dashboard: Pick<Dashboard, 'dir' | 'locale'>): 'ltr' | 'rtl';
|
|
232
|
+
declare function createEmptyDashboard(partial?: Partial<Dashboard>): Dashboard;
|
|
233
|
+
declare function createEmptyWidget(type?: WidgetType): Widget;
|
|
234
|
+
|
|
235
|
+
export { type AuthConfig, type AuthMode, type ConnectionConfig, DB_PROVIDERS, DEFAULT_CHART_COLORS, DEFAULT_THEME_ACCENT, type Dashboard, type DashboardAclEntry, type DashboardEmailOptions, type DashboardExportOptions, type DashboardPermission, type DashboardTheme, type DashboardVersion, type DashboardVersionMeta, type DataBinding, type DbProvider, type DrillDownDef, type EmbedTokenRequest, type EmbedTokenResponse, type ExecuteQueryRequest, type FilterDef, type FilterOperator, type GridItem, type JoinDef, type JoinType, type QueryColumn, type QueryDef, type QueryResult, RTL_LOCALES, THEME_PRESETS, type User, type UserRole, WIDGET_TYPES, type Widget, type WidgetType, createEmptyDashboard, createEmptyWidget, isDefaultDashboardTheme, matchThemePreset, resolveDashboardDir, resolveDashboardTheme, resolveEmailOptions, resolveExportOptions };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
// src/index.ts
|
|
2
|
+
function resolveExportOptions(options) {
|
|
3
|
+
return {
|
|
4
|
+
print: options?.print !== false,
|
|
5
|
+
pdf: options?.pdf !== false,
|
|
6
|
+
email: options?.email === true
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
function resolveEmailOptions(options) {
|
|
10
|
+
const e = options?.emailOptions;
|
|
11
|
+
const rawMax = e?.maxExtraAttachments;
|
|
12
|
+
const maxExtraAttachments = typeof rawMax === "number" && Number.isFinite(rawMax) ? Math.max(0, Math.min(10, Math.floor(rawMax))) : 5;
|
|
13
|
+
return {
|
|
14
|
+
attachPdf: e?.attachPdf !== false,
|
|
15
|
+
allowExtraAttachments: e?.allowExtraAttachments !== false,
|
|
16
|
+
maxExtraAttachments
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
var DEFAULT_THEME_ACCENT = "#0d6b54";
|
|
20
|
+
var DEFAULT_CHART_COLORS = [
|
|
21
|
+
"#0f6e56",
|
|
22
|
+
"#2a9d8f",
|
|
23
|
+
"#e9c46a",
|
|
24
|
+
"#f4a261",
|
|
25
|
+
"#e76f51",
|
|
26
|
+
"#264653",
|
|
27
|
+
"#457b9d"
|
|
28
|
+
];
|
|
29
|
+
var THEME_PRESETS = {
|
|
30
|
+
default: {
|
|
31
|
+
accent: DEFAULT_THEME_ACCENT,
|
|
32
|
+
chartColors: [...DEFAULT_CHART_COLORS]
|
|
33
|
+
},
|
|
34
|
+
ocean: {
|
|
35
|
+
accent: "#0e7490",
|
|
36
|
+
chartColors: ["#0e7490", "#0284c7", "#38bdf8", "#14b8a6", "#0369a1", "#164e63", "#67e8f9"]
|
|
37
|
+
},
|
|
38
|
+
sunset: {
|
|
39
|
+
accent: "#c2410c",
|
|
40
|
+
chartColors: ["#c2410c", "#ea580c", "#f59e0b", "#e11d48", "#9a3412", "#78716c", "#fbbf24"]
|
|
41
|
+
},
|
|
42
|
+
slate: {
|
|
43
|
+
accent: "#334155",
|
|
44
|
+
chartColors: ["#334155", "#475569", "#0f766e", "#64748b", "#1e293b", "#94a3b8", "#0d9488"]
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
function resolveDashboardTheme(theme) {
|
|
48
|
+
const accent = typeof theme?.accent === "string" && /^#([0-9a-f]{3}|[0-9a-f]{6})$/i.test(theme.accent.trim()) ? theme.accent.trim() : DEFAULT_THEME_ACCENT;
|
|
49
|
+
const chartColors = Array.isArray(theme?.chartColors) && theme.chartColors.length > 0 ? theme.chartColors.filter((c) => typeof c === "string" && c.trim()).map((c) => c.trim()) : [...DEFAULT_CHART_COLORS];
|
|
50
|
+
return {
|
|
51
|
+
accent,
|
|
52
|
+
chartColors: chartColors.length ? chartColors : [...DEFAULT_CHART_COLORS]
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function isDefaultDashboardTheme(theme) {
|
|
56
|
+
if (!theme) return true;
|
|
57
|
+
const resolved = resolveDashboardTheme(theme);
|
|
58
|
+
const def = THEME_PRESETS.default;
|
|
59
|
+
if (resolved.accent.toLowerCase() !== def.accent.toLowerCase()) return false;
|
|
60
|
+
if (resolved.chartColors.length !== def.chartColors.length) return false;
|
|
61
|
+
return resolved.chartColors.every(
|
|
62
|
+
(c, i) => c.toLowerCase() === def.chartColors[i].toLowerCase()
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
function matchThemePreset(theme) {
|
|
66
|
+
if (isDefaultDashboardTheme(theme)) return "default";
|
|
67
|
+
const resolved = resolveDashboardTheme(theme);
|
|
68
|
+
for (const [id, preset] of Object.entries(THEME_PRESETS)) {
|
|
69
|
+
if (id === "default") continue;
|
|
70
|
+
if (resolved.accent.toLowerCase() !== preset.accent.toLowerCase()) continue;
|
|
71
|
+
if (resolved.chartColors.length !== preset.chartColors.length) continue;
|
|
72
|
+
if (resolved.chartColors.every(
|
|
73
|
+
(c, i) => c.toLowerCase() === preset.chartColors[i].toLowerCase()
|
|
74
|
+
)) {
|
|
75
|
+
return id;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return "custom";
|
|
79
|
+
}
|
|
80
|
+
var WIDGET_TYPES = ["bar", "line", "pie", "table", "kpi", "listbox"];
|
|
81
|
+
var DB_PROVIDERS = ["sqlite", "postgres", "mysql", "mssql"];
|
|
82
|
+
var RTL_LOCALES = /* @__PURE__ */ new Set(["ar", "he", "fa", "ur"]);
|
|
83
|
+
function resolveDashboardDir(dashboard) {
|
|
84
|
+
if (dashboard.dir === "ltr" || dashboard.dir === "rtl") return dashboard.dir;
|
|
85
|
+
const lang = (dashboard.locale || "en").split("-")[0]?.toLowerCase() || "en";
|
|
86
|
+
return RTL_LOCALES.has(lang) ? "rtl" : "ltr";
|
|
87
|
+
}
|
|
88
|
+
function createEmptyDashboard(partial) {
|
|
89
|
+
const id = partial?.id ?? cryptoRandomId();
|
|
90
|
+
return {
|
|
91
|
+
id,
|
|
92
|
+
title: partial?.title ?? "Untitled Dashboard",
|
|
93
|
+
description: partial?.description,
|
|
94
|
+
locale: partial?.locale ?? "en",
|
|
95
|
+
currency: partial?.currency ?? "USD",
|
|
96
|
+
timeZone: partial?.timeZone,
|
|
97
|
+
dir: partial?.dir,
|
|
98
|
+
theme: partial?.theme,
|
|
99
|
+
exportOptions: partial?.exportOptions,
|
|
100
|
+
layout: partial?.layout ?? [],
|
|
101
|
+
globalFilters: partial?.globalFilters ?? [],
|
|
102
|
+
widgets: partial?.widgets ?? [],
|
|
103
|
+
createdAt: partial?.createdAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
104
|
+
updatedAt: partial?.updatedAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
105
|
+
ownerId: partial?.ownerId
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
function createEmptyWidget(type = "bar") {
|
|
109
|
+
const id = cryptoRandomId();
|
|
110
|
+
return {
|
|
111
|
+
id,
|
|
112
|
+
type,
|
|
113
|
+
title: `New ${type} chart`,
|
|
114
|
+
query: {
|
|
115
|
+
connectionId: "",
|
|
116
|
+
tables: [],
|
|
117
|
+
columns: [],
|
|
118
|
+
joins: [],
|
|
119
|
+
where: [],
|
|
120
|
+
limit: 1e3
|
|
121
|
+
},
|
|
122
|
+
binding: { dimensions: [], measures: [] },
|
|
123
|
+
chartOptions: {},
|
|
124
|
+
filters: []
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function cryptoRandomId() {
|
|
128
|
+
if (typeof crypto !== "undefined" && "randomUUID" in crypto) {
|
|
129
|
+
return crypto.randomUUID();
|
|
130
|
+
}
|
|
131
|
+
return `id_${Math.random().toString(36).slice(2, 11)}`;
|
|
132
|
+
}
|
|
133
|
+
export {
|
|
134
|
+
DB_PROVIDERS,
|
|
135
|
+
DEFAULT_CHART_COLORS,
|
|
136
|
+
DEFAULT_THEME_ACCENT,
|
|
137
|
+
RTL_LOCALES,
|
|
138
|
+
THEME_PRESETS,
|
|
139
|
+
WIDGET_TYPES,
|
|
140
|
+
createEmptyDashboard,
|
|
141
|
+
createEmptyWidget,
|
|
142
|
+
isDefaultDashboardTheme,
|
|
143
|
+
matchThemePreset,
|
|
144
|
+
resolveDashboardDir,
|
|
145
|
+
resolveDashboardTheme,
|
|
146
|
+
resolveEmailOptions,
|
|
147
|
+
resolveExportOptions
|
|
148
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dashboard-designer/core",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": ["dist"],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsup src/index.ts --format esm --dts --clean",
|
|
17
|
+
"typecheck": "tsc --noEmit",
|
|
18
|
+
"dev": "tsup src/index.ts --format esm --dts --watch"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"tsup": "^8.4.0",
|
|
22
|
+
"typescript": "^5.8.2"
|
|
23
|
+
}
|
|
24
|
+
}
|