@nar-bus/ui-kit 1.18.0 → 1.20.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.
@@ -6,7 +6,11 @@ export interface BrandLoaderProps {
6
6
  fullPage?: boolean;
7
7
  /** Disable the animation (static original logo). Default true (animated). */
8
8
  animated?: boolean;
9
- /** Accessible status label. Default "Yükleniyor". */
9
+ /**
10
+ * Accessible status label. Defaults to the package's own translation of
11
+ * "Yükleniyor", so an English UI announces "Loading" without the consumer
12
+ * having to pass anything.
13
+ */
10
14
  label?: string;
11
15
  /** Optional visible caption rendered under the mark (full-page contexts). */
12
16
  caption?: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"BrandLoader.d.ts","sourceRoot":"","sources":["../../src/atoms/BrandLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAwHtE,MAAM,WAAW,gBAAgB;IAC/B,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAW,EACX,QAAgB,EAChB,QAAe,EACf,KAAoB,EACpB,OAAO,EACP,SAAS,GACV,EAAE,gBAAgB,+BA+DlB;yBAtEe,WAAW"}
1
+ {"version":3,"file":"BrandLoader.d.ts","sourceRoot":"","sources":["../../src/atoms/BrandLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAyHtE,MAAM,WAAW,gBAAgB;IAC/B,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAW,EACX,QAAgB,EAChB,QAAe,EACf,KAAK,EACL,OAAO,EACP,SAAS,GACV,EAAE,gBAAgB,+BAkElB;yBAzEe,WAAW"}
@@ -34,7 +34,17 @@ declare const _default: {
34
34
  "yok": "None",
35
35
  "olustur": "Create \"{{value}}\"",
36
36
  "modem": "Modem",
37
- "meter": "Meter"
37
+ "meter": "Meter",
38
+ "error": "An error occurred",
39
+ "retry": "Retry",
40
+ "cancel": "Cancel",
41
+ "loading": "Loading...",
42
+ "kaldir": "Remove",
43
+ "yukleniyor": "Loading",
44
+ "previousMonth": "Previous month",
45
+ "nextMonth": "Next month",
46
+ "yes": "Yes",
47
+ "no": "No"
38
48
  },
39
49
  "table": {
40
50
  "sayfa": "Page",
@@ -83,7 +93,314 @@ declare const _default: {
83
93
  "modemResponse": "Order Content",
84
94
  "responseLoadError": "Could not load the response",
85
95
  "retry": "Retry",
86
- "cancel": "Cancel"
96
+ "cancel": "Cancel",
97
+ "apnConfig": "APN Configuration",
98
+ "astroClose": "Close (HH:MM)",
99
+ "astroDay": "Day",
100
+ "astroIoInterface": "IO Interface ID",
101
+ "astroLat": "Latitude",
102
+ "astroLoadingModem": "Loading modem details...",
103
+ "astroLocation": "Location",
104
+ "astroLocationMissing": "Modem location is not set — assign it from the Location screen",
105
+ "astroLon": "Longitude",
106
+ "astroModemLoadError": "Could not load modem details — refresh the page",
107
+ "astroOpen": "Open (HH:MM)",
108
+ "astroSchedule": "Daily Schedule (HH/MM)",
109
+ "astroStartDate": "Start Date",
110
+ "calendarEmptyRegistry": "No saved calendars found — create a Calendar first.",
111
+ "calendarSelectAtLeastOne": "You must select at least one calendar.",
112
+ "calendarSelection": "Calendar Selection",
113
+ "closeRelayOffset": "Sunset Offset (min)",
114
+ "create": "Create Work Order",
115
+ "dateValidation": "Start date must be before the end date",
116
+ "daylightActive": "Active",
117
+ "daylightEnabled": "Daylight Saving Time",
118
+ "daylightPassive": "Passive",
119
+ "directiveAll": "All",
120
+ "directiveName": "Directive",
121
+ "directivesSelected": "{{count}} directives selected",
122
+ "endDate": "End",
123
+ "energyOff": "Disconnect Energy",
124
+ "energyOn": "Connect Energy",
125
+ "energyState": "Energy State",
126
+ "firmwareVersion": "Firmware Version",
127
+ "noParams": "This command takes no parameters. It can be sent directly.",
128
+ "ntpConfig": "NTP Configuration",
129
+ "obisCodes": "OBIS Codes",
130
+ "obisEmpty": "Add at least 1 OBIS code",
131
+ "openRelayOffset": "Sunrise Offset (min)",
132
+ "priority": {
133
+ "bulk": "Bulk",
134
+ "label": "Priority",
135
+ "normal": "Normal",
136
+ "urgent": "Urgent"
137
+ },
138
+ "readDataLifeSpan": "Data Lifespan (min)",
139
+ "readingType": "Reading Type",
140
+ "readingValue": "Value",
141
+ "relayAll": "All",
142
+ "relayNo": "Relay Selection",
143
+ "relaySelect": "Relay",
144
+ "relayStatus": "Status",
145
+ "respondedAt": "Responded",
146
+ "responseEmpty": "Work order content is not ready yet",
147
+ "responseFunction": "Function",
148
+ "responsePackageNo": "Package No",
149
+ "responseStreaming": "Streaming",
150
+ "retryInterval": "Retry Interval (s)",
151
+ "savedScripts": "Saved Scripts",
152
+ "scriptContent": "JSON Content",
153
+ "scriptName": "Script Name",
154
+ "scriptNamePlaceholder": "Name to save as...",
155
+ "searchType": "Search type...",
156
+ "selectConfig": "Select...",
157
+ "selectDirective": "Select...",
158
+ "selectFirmware": "Select...",
159
+ "selectMeter": "Select a meter...",
160
+ "selectModem": "Select a modem...",
161
+ "selectRelay": "Select...",
162
+ "selectTypeHint": "Select an operation type from the left menu",
163
+ "serverConfig": "Server Configuration",
164
+ "startDate": "Start",
165
+ "submit": "Create Work Order",
166
+ "targetMeter": "Target Meter",
167
+ "targetModem": "Target Communication Unit",
168
+ "threshold": "Threshold (Watt)",
169
+ "whitelistEmpty": "No whitelist records found — create a Whitelist Configuration first.",
170
+ "whitelistEntries": "Whitelist Entries",
171
+ "whitelistOperation": "Operation",
172
+ "operation_add": "Add",
173
+ "operation_remove": "Remove",
174
+ "preset_1h": "Last 1 hour",
175
+ "preset_6h": "Last 6 hours",
176
+ "preset_24h": "Last 24 hours",
177
+ "preset_7d": "Last 7 days",
178
+ "preset_30d": "Last 30 days",
179
+ "readingType_lastHours": "Last Hours",
180
+ "readingType_lastDays": "Last Days",
181
+ "readingType_lastMonths": "Last Months",
182
+ "readingType_between": "Date Range",
183
+ "readingType_dayCompletion": "Day Completion",
184
+ "type": {
185
+ "METER_READOUT_LONG": "Long Readout",
186
+ "METER_READOUT_SHORT": "Short Readout",
187
+ "METER_LOAD_PROFILE": "Load Profile",
188
+ "METER_READOUT_HISTORY": "Historical Data",
189
+ "METER_READOUT_WARNING": "Warnings",
190
+ "METER_READOUT_OUTAGE": "Outages",
191
+ "METER_OBIS_READ": "OBIS Read",
192
+ "METER_DIRECTIVE_QUERY": "Directive Read",
193
+ "METER_PING_QUERY": "Ping Check",
194
+ "METER_EVENT_LOG": "Event Log",
195
+ "METER_TIME_SYNC": "Time Sync",
196
+ "METER_CONN_DISCONN_QUERY": "Energy Status Query",
197
+ "METER_CONN_DISCONN_CHANGE": "Connect/Disconnect Energy",
198
+ "METER_LOAD_LIMIT": "Load Limit",
199
+ "METER_DAY_LIGHT_CHANGE": "Daylight Saving Time",
200
+ "METER_CONFIG_QUERY": "Configuration Query",
201
+ "GATEWAY_RESET": "Unit Reset",
202
+ "GATEWAY_TIME_SYNC": "Communication Unit Time Sync",
203
+ "GATEWAY_FIRMWARE_UPDATE": "Firmware Update",
204
+ "GATEWAY_ASTRO_CONFIG": "Astro Configuration",
205
+ "GATEWAY_METER_CONFIG": "Meter Configuration",
206
+ "GATEWAY_SERVER_CONFIG": "Server Settings",
207
+ "GATEWAY_NTP_CONFIG": "NTP Configuration",
208
+ "GATEWAY_APN_CONFIG": "APN Configuration",
209
+ "GATEWAY_CUSTOM_CONFIG": "Custom Settings",
210
+ "GATEWAY_CONFIG_QUERY": "Config Query",
211
+ "GATEWAY_RELAY_QUERY": "Relay Query",
212
+ "GATEWAY_RELAY_CHANGE": "Relay Change",
213
+ "GATEWAY_CALENDAR_QUERY": "Calendar Query",
214
+ "GATEWAY_CALENDAR_CHANGE": "Calendar Update",
215
+ "GATEWAY_DIRECTIVE_QUERY": "Directive Query",
216
+ "GATEWAY_DIRECTIVE_CHANGE": "Directive Update",
217
+ "GATEWAY_EVENT_LOG": "Log Query",
218
+ "GATEWAY_ALARM": "Alarm Query",
219
+ "GATEWAY_SCRIPT_EXECUTION": "Run Script",
220
+ "GATEWAY_DIRECTIVE_EXECUTE": "Run Directive"
221
+ },
222
+ "category": {
223
+ "METER_READOUT": "Meter Readout",
224
+ "METER_UPDATE": "Meter Update",
225
+ "GATEWAY_SETTINGS": "Unit Settings",
226
+ "OTHER": "Other"
227
+ },
228
+ "createBulk": "Create Bulk Work Order",
229
+ "submitBulk": "Create Bulk Work Order",
230
+ "directiveNamePlural": "Directives",
231
+ "searchDirective": "Search and select a directive...",
232
+ "durationMinutes": "Duration (minutes)",
233
+ "directivesSelected_one": "{{count}} directive selected",
234
+ "directivesSelected_other": "{{count}} directives selected",
235
+ "calendarUpdateInfo": "{{count}} calendar(s) selected. Step 1: existing calendars are removed. Step 2: the selected calendars are added.",
236
+ "bulkHeaderMeters": "{{count}} meters selected — the same work order will be created for all of them",
237
+ "bulkHeaderModems": "{{count}} modems selected — the same work order will be created for all of them",
238
+ "meterNumbered": "Meter #{{id}}",
239
+ "calendarUpdateInfo_one": "{{count}} calendar selected. Step 1: existing calendars are removed. Step 2: the selected calendars are added.",
240
+ "calendarUpdateInfo_other": "{{count}} calendars selected. Step 1: existing calendars are removed. Step 2: the selected calendars are added."
241
+ },
242
+ "monitoring": {
243
+ "window": {
244
+ "1h": "1h",
245
+ "24h": "24h",
246
+ "7d": "7d",
247
+ "30d": "30d",
248
+ "aria": "Time window"
249
+ },
250
+ "gauge": {
251
+ "aria": "Health score gauge",
252
+ "details": "Score details",
253
+ "computing": "Computing...",
254
+ "no_data": "No active data",
255
+ "error": "Failed to fetch data",
256
+ "band": {
257
+ "critical": "CRITICAL",
258
+ "warning": "WARNING",
259
+ "healthy": "HEALTHY",
260
+ "excellent": "EXCELLENT"
261
+ }
262
+ },
263
+ "dataPerf": {
264
+ "no_errors": "No errors",
265
+ "top_error_codes": "Top Error Codes",
266
+ "error_code_row_aria": "View details for {{code}} error code"
267
+ }
268
+ },
269
+ "months": {
270
+ "apr": "April",
271
+ "aug": "August",
272
+ "dec": "December",
273
+ "feb": "February",
274
+ "jan": "January",
275
+ "jul": "July",
276
+ "jun": "June",
277
+ "mar": "March",
278
+ "may": "May",
279
+ "nov": "November",
280
+ "oct": "October",
281
+ "sep": "September",
282
+ "short": {
283
+ "jan": "Jan",
284
+ "feb": "Feb",
285
+ "mar": "Mar",
286
+ "apr": "Apr",
287
+ "may": "May",
288
+ "jun": "Jun",
289
+ "jul": "Jul",
290
+ "aug": "Aug",
291
+ "sep": "Sep",
292
+ "oct": "Oct",
293
+ "nov": "Nov",
294
+ "dec": "Dec"
295
+ }
296
+ },
297
+ "weekDays": {
298
+ "fri": "Fri",
299
+ "mon": "Mon",
300
+ "sat": "Sat",
301
+ "sun": "Sun",
302
+ "thu": "Thu",
303
+ "tue": "Tue",
304
+ "wed": "Wed",
305
+ "long": {
306
+ "mon": "Monday",
307
+ "tue": "Tuesday",
308
+ "wed": "Wednesday",
309
+ "thu": "Thursday",
310
+ "fri": "Friday",
311
+ "sat": "Saturday",
312
+ "sun": "Sunday"
313
+ }
314
+ },
315
+ "cron": {
316
+ "dayOfMonth": "Day of Month",
317
+ "dayOfWeek": "Day of Week",
318
+ "expression": "Expression",
319
+ "hour": "Hour",
320
+ "minute": "Minute",
321
+ "month": "Month",
322
+ "opt": {
323
+ "every_minute": "Every minute",
324
+ "every_5m": "Every 5 min",
325
+ "every_10m": "Every 10 min",
326
+ "every_15m": "Every 15 min",
327
+ "every_30m": "Every 30 min",
328
+ "every_hour": "Every hour",
329
+ "every_2h": "Every 2 hours",
330
+ "every_4h": "Every 4 hours",
331
+ "every_6h": "Every 6 hours",
332
+ "every_12h": "Every 12 hours",
333
+ "every_day": "Every day",
334
+ "every_month": "Every month",
335
+ "weekdays": "Weekdays",
336
+ "weekend": "Weekend",
337
+ "last_day": "Last day"
338
+ },
339
+ "desc": {
340
+ "every_minute": "Every minute",
341
+ "every_n_minutes": "Every {{n}} minutes",
342
+ "hourly_at_minute": "Hourly at minute {{minute}}",
343
+ "every_n_hours_at_minute": "Every {{n}} hours at minute {{minute}}",
344
+ "at_time": "At {{time}}",
345
+ "on_day_of_month": "on day {{day}} of the month",
346
+ "dow": {
347
+ "mon": "on Monday",
348
+ "tue": "on Tuesday",
349
+ "wed": "on Wednesday",
350
+ "thu": "on Thursday",
351
+ "fri": "on Friday",
352
+ "sat": "on Saturday",
353
+ "sun": "on Sunday",
354
+ "weekdays": "on weekdays",
355
+ "weekend": "on weekends"
356
+ }
357
+ }
358
+ },
359
+ "timeline": {
360
+ "empty": "No events yet",
361
+ "emptyDescription": "No events have been recorded for this modem yet.",
362
+ "filterSource": "Source",
363
+ "filterType": "Event Type",
364
+ "sourceSystem": "System",
365
+ "sourceUser": "User",
366
+ "emptyRecords": "No records yet",
367
+ "event": {
368
+ "ORDER": "Command",
369
+ "HEARTBEAT": "Heartbeat",
370
+ "ALARM": "Alarm",
371
+ "CONFIG": "Configuration",
372
+ "CONNECTION": "Connection",
373
+ "POWER": "Power",
374
+ "LIFECYCLE": "Lifecycle"
375
+ },
376
+ "source": {
377
+ "USER": "User",
378
+ "SYSTEM": "System"
379
+ }
380
+ },
381
+ "live": {
382
+ "connecting": "Connecting...",
383
+ "selectModem": "Select a modem for live monitoring",
384
+ "title": "Live Monitoring",
385
+ "waiting": "Waiting for events...",
386
+ "metric": {
387
+ "throughput": "msg/s",
388
+ "onlineModems": "Online",
389
+ "outages": "Outages",
390
+ "dlqCount": "DLQ"
391
+ }
392
+ },
393
+ "notifications": {
394
+ "empty": "No notifications",
395
+ "markAllRead": "Mark all as read",
396
+ "title": "Notifications",
397
+ "viewAll": "View all notifications"
398
+ },
399
+ "map": {
400
+ "groupCount": "{{count}} groups",
401
+ "placeholder": "Loading map...",
402
+ "groupCount_one": "{{count}} group",
403
+ "groupCount_other": "{{count}} groups"
87
404
  },
88
405
  "theme": {
89
406
  "karanlik_mod": "Dark Mode",
@@ -328,7 +645,8 @@ declare const _default: {
328
645
  "legendCount": "Count",
329
646
  "legendDuration": "Duration (min)",
330
647
  "activeListTitle": "Top Active Outages",
331
- "emptyList": "No active outages in {{province}}."
648
+ "emptyList": "No active outages in {{province}}.",
649
+ "trendSummary": "Maximum count: {{maxCount}}; maximum duration: {{maxMinutes}} min."
332
650
  },
333
651
  "sinyal": {
334
652
  "title": "SIM Operator · Median Signal (dBm) · {{province}}",
@@ -345,7 +663,9 @@ declare const _default: {
345
663
  "missingLabel": "Missing Reads",
346
664
  "meterSuffix": "meter",
347
665
  "noData": "No reading-rate data",
348
- "footer": "Reading SLA tab selected — meter-level breakdown coming soon"
666
+ "footer": "Reading SLA tab selected — meter-level breakdown coming soon",
667
+ "rateAria": "Reading rate: {{value}} percent",
668
+ "missingAria": "Missing reads: {{value}} meters"
349
669
  },
350
670
  "outageReason": {
351
671
  "POWER_LOSS": "Power Loss",
@@ -475,6 +795,35 @@ declare const _default: {
475
795
  },
476
796
  "cellAria": "{{date}} — {{status}}, {{count}}/{{expected}} readings"
477
797
  }
798
+ },
799
+ "color": {
800
+ "kirmizi": "Red",
801
+ "turuncu": "Orange",
802
+ "sari": "Yellow",
803
+ "yesil": "Green",
804
+ "mavi": "Blue",
805
+ "mor": "Purple",
806
+ "indigo": "Indigo",
807
+ "pembe": "Pink"
808
+ },
809
+ "grid": {
810
+ "day": "Day",
811
+ "total": "Total",
812
+ "legend_low": "Low",
813
+ "legend_high": "High"
814
+ },
815
+ "detail": {
816
+ "tabs_aria": "Detail tabs"
817
+ },
818
+ "auth": {
819
+ "topology": {
820
+ "erp_sub": "Enterprise",
821
+ "epias_sub": "Energy Market",
822
+ "mobile_label": "Mobile",
823
+ "mobile_sub": "Customer App",
824
+ "meters_stat": "5M Meters · 220 GB/day · 99% SLA",
825
+ "modem_label": "1M Modems"
826
+ }
478
827
  }
479
828
  }
480
829
  ;