@almadar/ui 5.21.8 → 5.21.9

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.
@@ -4115,7 +4115,10 @@ Divider.displayName = "Divider";
4115
4115
 
4116
4116
  // locales/en.json
4117
4117
  var en_default = {
4118
- $meta: { locale: "en", direction: "ltr" },
4118
+ $meta: {
4119
+ locale: "en",
4120
+ direction: "ltr"
4121
+ },
4119
4122
  "common.save": "Save",
4120
4123
  "common.cancel": "Cancel",
4121
4124
  "common.delete": "Delete",
@@ -4257,7 +4260,6 @@ var en_default = {
4257
4260
  "error.somethingWentWrong": "Something went wrong",
4258
4261
  "error.loadingItems": "Loading items...",
4259
4262
  "error.noItemsFound": "No items found",
4260
- "error.notFound": "Not found",
4261
4263
  "debug.noEntityData": "No entity data",
4262
4264
  "debug.noEntities": "No entities",
4263
4265
  "debug.noTicks": "No ticks registered",
@@ -4289,7 +4291,298 @@ var en_default = {
4289
4291
  "template.showcase": "Showcase",
4290
4292
  "template.faq": "Frequently Asked Questions",
4291
4293
  "template.ourTeam": "Our Team",
4292
- "template.caseStudies": "Case Studies"
4294
+ "template.caseStudies": "Case Studies",
4295
+ "richBlockEditor.toolbar.text": "Text",
4296
+ "richBlockEditor.toolbar.h1": "H1",
4297
+ "richBlockEditor.toolbar.h2": "H2",
4298
+ "richBlockEditor.toolbar.h3": "H3",
4299
+ "richBlockEditor.toolbar.bulletList": "Bullet list",
4300
+ "richBlockEditor.toolbar.numbered": "Numbered",
4301
+ "richBlockEditor.toolbar.quote": "Quote",
4302
+ "richBlockEditor.toolbar.code": "Code",
4303
+ "richBlockEditor.toolbar.divider": "Divider",
4304
+ "richBlockEditor.toolbar.image": "Image",
4305
+ "richBlockEditor.blockType.paragraph": "Text",
4306
+ "richBlockEditor.blockType.heading1": "Heading 1",
4307
+ "richBlockEditor.blockType.heading2": "Heading 2",
4308
+ "richBlockEditor.blockType.heading3": "Heading 3",
4309
+ "richBlockEditor.blockType.bulletList": "Bullet list",
4310
+ "richBlockEditor.blockType.numberedList": "Numbered list",
4311
+ "richBlockEditor.blockType.quote": "Quote",
4312
+ "richBlockEditor.blockType.code": "Code",
4313
+ "richBlockEditor.blockType.divider": "Divider",
4314
+ "richBlockEditor.blockType.image": "Image",
4315
+ "richBlockEditor.blockActions": "Block actions",
4316
+ "richBlockEditor.duplicate": "Duplicate",
4317
+ "richBlockEditor.turnInto": "Turn into",
4318
+ "richBlockEditor.placeholder.heading1": "Heading 1",
4319
+ "richBlockEditor.placeholder.heading2": "Heading 2",
4320
+ "richBlockEditor.placeholder.heading3": "Heading 3",
4321
+ "richBlockEditor.placeholder.quote": "Quote",
4322
+ "richBlockEditor.placeholder.code": "Enter code",
4323
+ "richBlockEditor.placeholder.paragraph": "Start writing...",
4324
+ "richBlockEditor.placeholder.listItem": "List item",
4325
+ "richBlockEditor.placeholder.caption": "Caption (optional)",
4326
+ "richBlockEditor.aria.heading1Block": "Heading 1 block",
4327
+ "richBlockEditor.aria.heading2Block": "Heading 2 block",
4328
+ "richBlockEditor.aria.heading3Block": "Heading 3 block",
4329
+ "richBlockEditor.aria.quoteBlock": "Quote block",
4330
+ "richBlockEditor.aria.codeBlock": "Code block",
4331
+ "richBlockEditor.aria.codeLanguage": "Code language",
4332
+ "richBlockEditor.aria.imageUrl": "Image URL",
4333
+ "richBlockEditor.aria.imageCaption": "Image caption",
4334
+ "richBlockEditor.aria.listItem": "List item",
4335
+ "richBlockEditor.aria.removeListItem": "Remove list item",
4336
+ "richBlockEditor.aria.paragraphBlock": "Paragraph block",
4337
+ "richBlockEditor.embeddedImage": "Embedded image",
4338
+ "richBlockEditor.noImageUrl": "No image URL set",
4339
+ "richBlockEditor.addItem": "Add item",
4340
+ "richBlockEditor.insertParagraphBelow": "Insert paragraph below",
4341
+ "richBlockEditor.editorToolbar": "Block editor toolbar",
4342
+ "richBlockEditor.insertEntry": "Insert {{label}}",
4343
+ "versionDiff.compare": "Compare",
4344
+ "versionDiff.to": "to",
4345
+ "versionDiff.beforeRevision": "Before revision",
4346
+ "versionDiff.afterRevision": "After revision",
4347
+ "versionDiff.switchToInline": "Switch to inline view",
4348
+ "versionDiff.switchToSideBySide": "Switch to side-by-side view",
4349
+ "versionDiff.revert": "Revert",
4350
+ "versionDiff.byAuthor": " by {{author}}",
4351
+ "violationAlert.actionType.measure": "Corrective Measure",
4352
+ "violationAlert.actionType.admin": "Administrative Action",
4353
+ "violationAlert.actionType.penalty": "Penalty Proceedings",
4354
+ "violationAlert.fallbackMessage": "Violation",
4355
+ "violationAlert.adminLabel": "Admin:",
4356
+ "violationAlert.penaltyLabel": "Penalty:",
4357
+ "violationAlert.goToField": "Go to field",
4358
+ "branchingLogic.title": "Branching logic",
4359
+ "branchingLogic.if": "If",
4360
+ "branchingLogic.goTo": "go to",
4361
+ "branchingLogic.rules": "Rules",
4362
+ "branchingLogic.logicGraph": "Logic graph",
4363
+ "branchingLogic.addRule": "Add rule",
4364
+ "branchingLogic.deleteRule": "Delete rule",
4365
+ "branchingLogic.endOfSurvey": "End of survey",
4366
+ "branchingLogic.brokenReference": "Broken reference",
4367
+ "branchingLogic.selectQuestion": "Select question",
4368
+ "branchingLogic.selectTarget": "Select target",
4369
+ "branchingLogic.selectValue": "Select value",
4370
+ "branchingLogic.addValue": "Add value",
4371
+ "branchingLogic.value": "Value",
4372
+ "branchingLogic.typeValuePressEnter": "Type value, press Enter",
4373
+ "branchingLogic.operatorEquals": "equals",
4374
+ "branchingLogic.operatorNotEquals": "does not equal",
4375
+ "branchingLogic.operatorContains": "contains",
4376
+ "branchingLogic.operatorIn": "is one of",
4377
+ "branchingLogic.graphAriaLabel": "Branching logic graph",
4378
+ "branchingLogic.ruleCountOne": "{{count}} rule",
4379
+ "branchingLogic.ruleCountOther": "{{count}} rules",
4380
+ "branchingLogic.brokenCount": "{{count}} broken",
4381
+ "branchingLogic.emptyNoQuestions": "Add questions before building branching rules.",
4382
+ "branchingLogic.emptyNoRules": "No rules yet. Add a rule to define branching logic.",
4383
+ "filterGroup.filters": "Filters",
4384
+ "filterGroup.all": "All",
4385
+ "filterGroup.clear": "Clear",
4386
+ "filterGroup.clearAll": "Clear all",
4387
+ "filterGroup.from": "From",
4388
+ "filterGroup.to": "To",
4389
+ "filterGroup.allOf": "All {{label}}",
4390
+ "filterGroup.activeCount": "{{count}} active",
4391
+ "debug.guardEvaluationsHint": "Guard evaluations will appear when transitions or ticks with guards execute",
4392
+ "debug.expression": "Expression",
4393
+ "debug.inputs": "Inputs",
4394
+ "debug.trait": "Trait",
4395
+ "debug.filterAll": "All",
4396
+ "debug.filterPassed": "Passed",
4397
+ "debug.filterFailed": "Failed",
4398
+ "debug.traitsInitHint": "Traits will appear when the state machine initializes",
4399
+ "debug.traitsMountHint": "Traits will appear when components using them are mounted",
4400
+ "debug.activeStates": "Active States",
4401
+ "debug.availableEvents": "Available Events",
4402
+ "debug.noTransitionsFromState": "No transitions from current state",
4403
+ "debug.guarded": "guarded",
4404
+ "debug.otherEvents": "Other Events (not available from current state)",
4405
+ "debug.recentTransitions": "Recent Transitions",
4406
+ "debug.transitionsCount": "{{count}} transitions",
4407
+ "debug.states": "States",
4408
+ "debug.transitions": "Transitions",
4409
+ "debug.guards": "Guards",
4410
+ "debug.debugModeHint": "Debug mode may not be enabled",
4411
+ "debug.entitiesSpawnHint": "Entities will appear when spawned",
4412
+ "debug.singleton": "Singleton",
4413
+ "debug.singletonsCount": "Singletons ({{count}})",
4414
+ "debug.runtimeCount": "Runtime ({{count}})",
4415
+ "debug.moreEntities": "+{{count}} more entities",
4416
+ "debug.persistent": "Persistent",
4417
+ "debug.loadedCount": "{{count}} loaded",
4418
+ "debug.notLoaded": "not loaded",
4419
+ "debug.eventsExecuteHint": "Events will appear as traits, ticks, and other systems execute",
4420
+ "debug.allCount": "All ({{count}})",
4421
+ "debug.autoScroll": "Auto-scroll",
4422
+ "debug.transitionsProcessHint": "Transitions will appear as the state machine processes events",
4423
+ "debug.transitionsRecorded": "{{count}} transitions recorded",
4424
+ "debug.guardLabel": "guard:",
4425
+ "debug.effectsCount": "{{count}} effects",
4426
+ "debug.bridgeInitHint": "The ServerBridge has not been initialized. Bridge health will appear once the runtime connects to the server.",
4427
+ "debug.never": "Never",
4428
+ "debug.connected": "Connected",
4429
+ "debug.disconnected": "Disconnected",
4430
+ "debug.lastError": "Last Error",
4431
+ "debug.totalEventsProcessed": "{{count}} total events processed",
4432
+ "debug.server": "server",
4433
+ "debug.clientEffectsCount": "{{count}} clientEffects",
4434
+ "debug.emitLabel": "emit:",
4435
+ "debug.rowsCount": "{{count}} rows",
4436
+ "debug.serverResponse": "server response",
4437
+ "debug.collapseVerificationTimeline": "Collapse verification timeline",
4438
+ "debug.expandVerificationTimeline": "Expand verification timeline",
4439
+ "debug.failCount": "{{count}} fail",
4440
+ "debug.ok": "OK",
4441
+ "debug.localCount": "{{count}} local",
4442
+ "debug.serverCount": "{{count}} server",
4443
+ "debug.waitingForTransitions": "Waiting for transitions...",
4444
+ "debug.tabDispatch": "Dispatch",
4445
+ "debug.tabVerify": "Verify",
4446
+ "debug.tabVerifyAlert": "Verify (!)",
4447
+ "debug.tabTimeline": "Timeline",
4448
+ "debug.tabBridge": "Bridge",
4449
+ "debug.tabTraits": "Traits",
4450
+ "debug.tabTicks": "Ticks",
4451
+ "debug.tabEntities": "Entities",
4452
+ "debug.tabEvents": "Events",
4453
+ "debug.tabGuards": "Guards",
4454
+ "debug.debugger": "Debugger",
4455
+ "debug.failedCount": "{{count}} failed",
4456
+ "debug.traitsCount": "{{count}} traits",
4457
+ "debug.idle": "Idle",
4458
+ "debug.openDebugger": "Open Debugger (`)",
4459
+ "debug.kflowVerifier": "KFlow Verifier",
4460
+ "debug.allPassing": "All passing",
4461
+ "debug.runtime": "Runtime",
4462
+ "debug.close": "Close (`)",
4463
+ "debug.toggleHint": "Press ` to toggle | window.__orbitalVerification for automation",
4464
+ "replyTree.expandReplies": "Expand replies",
4465
+ "replyTree.collapseReplies": "Collapse replies",
4466
+ "replyTree.voteOnReplyBy": "Vote on reply by {{author}}",
4467
+ "replyTree.replyTo": "Reply to {{author}}",
4468
+ "replyTree.replyToPlaceholder": "Reply to {{author}}\u2026",
4469
+ "replyTree.reply": "Reply",
4470
+ "replyTree.flagReplyBy": "Flag reply by {{author}}",
4471
+ "replyTree.flag": "Flag",
4472
+ "replyTree.send": "Send",
4473
+ "replyTree.continueThread": "Continue thread",
4474
+ "replyTree.noRepliesYet": "No replies yet.",
4475
+ "signaturePad.label": "Signature",
4476
+ "signaturePad.helperText": "Draw your signature above",
4477
+ "signaturePad.clear": "Clear",
4478
+ "signaturePad.confirm": "Confirm",
4479
+ "qrScanner.cameraUnavailable": "Camera unavailable",
4480
+ "qrScanner.paused": "Paused",
4481
+ "qrScanner.resumeScanning": "Resume scanning",
4482
+ "qrScanner.pauseScanning": "Pause scanning",
4483
+ "qrScanner.switchToFrontCamera": "Switch to front camera",
4484
+ "qrScanner.switchToRearCamera": "Switch to rear camera",
4485
+ "qrScanner.mockScan": "Mock Scan",
4486
+ "docSearch.placeholder": "Search documentation...",
4487
+ "stateMachine.loading": "Loading state machine\u2026",
4488
+ "stateMachine.noStateMachine": "No state machine to visualize",
4489
+ "avl.trigger": "Trigger",
4490
+ "avl.guard": "Guard",
4491
+ "avl.effects": "Effects",
4492
+ "avl.props": "Props",
4493
+ "avl.entity": "Entity",
4494
+ "avl.traits": "Traits",
4495
+ "avl.transition": "Transition",
4496
+ "avl.onEntity": "on {{entity}}",
4497
+ "avl.linkedTo": "linked to {{entity}}",
4498
+ "avl.pressEscToZoomOut": "Press Esc to zoom out",
4499
+ "avl.zoomIn": "Zoom in",
4500
+ "avl.zoomOut": "Zoom out",
4501
+ "avl.orbitalLabel": "Orbital: {{name}}",
4502
+ "avl.orbitalLabelHighlighted": "Orbital: {{name}} (highlighted)",
4503
+ "avl.noTraitData": "No trait data",
4504
+ "avl.computingLayout": "Computing layout...",
4505
+ "avl.noStateMachine": "No state machine",
4506
+ "avl.listensFor": "listens for {{event}}",
4507
+ "avl.emits": "emits {{event}}",
4508
+ "avl.pageLayout": "Page Layout",
4509
+ "avl.overlaySuffix": "(overlay)",
4510
+ "orbPreview.previewBadge": "Preview",
4511
+ "orbPreview.doubleClickToOpen": "Double-click to open",
4512
+ "orbPreview.dropToAddAndOpen": "Drop to add and open",
4513
+ "orbPreview.dispatching": "Coordinator is dispatching to this orbital",
4514
+ "orbPreview.noPreview": "No preview available",
4515
+ "orbPreview.screensCount": "{{count}} screens",
4516
+ "detailView.noTransitionData": "No transition data",
4517
+ "orbInspector.required": "req",
4518
+ "orbInspector.addField": "Add Field",
4519
+ "orbInspector.serviceMode": "Service Mode",
4520
+ "orbInspector.standalone": "Standalone",
4521
+ "orbInspector.embedded": "Embedded",
4522
+ "orbInspector.rendersOwnUi": "Renders its own UI",
4523
+ "orbInspector.headless": "Headless, wired to other behaviors",
4524
+ "orbInspector.addEffect": "Add Effect",
4525
+ "orbInspector.guardExpression": "Guard expression",
4526
+ "orbInspector.selectPatternForStyles": "Select a pattern to view its style tokens.",
4527
+ "orbInspector.tokens": "Tokens",
4528
+ "orbInspector.noTokenContract": "No token contract declared for this pattern.",
4529
+ "orbInspector.variant": "Variant",
4530
+ "orbInspector.size": "Size",
4531
+ "orbInspector.statesCount": "{{count}} states",
4532
+ "orbInspector.onEntity": " on {{entity}}",
4533
+ "orbInspector.projectThemeTokens": "Project theme tokens",
4534
+ "orbInspector.tokenGroup.colors": "Colors",
4535
+ "orbInspector.tokenGroup.radii": "Radii",
4536
+ "orbInspector.tokenGroup.spacing": "Spacing",
4537
+ "orbInspector.tokenGroup.shadows": "Shadows",
4538
+ "orbInspector.tab.inspector": "Inspector",
4539
+ "orbInspector.tab.styles": "Styles",
4540
+ "orbInspector.tab.code": "Code",
4541
+ "canvas.goBackToOverview": "Go back to overview",
4542
+ "canvas.overview": "Overview",
4543
+ "canvas.expanded": "Expanded",
4544
+ "canvas.modulesCount": "{{count}} modules",
4545
+ "canvas.screensCount": "{{count}} screens",
4546
+ "canvas.switchToView": "Switch to {{label}} view",
4547
+ "lawReference.viewFullText": "View full law text",
4548
+ "statCard.defaultLabel": "Stat",
4549
+ "statCard.vsLastPeriod": "vs last period",
4550
+ "mediaGallery.upload": "Upload",
4551
+ "mediaGallery.noMediaDescription": "No media items to display.",
4552
+ "pagination.jumpPlaceholder": "Page",
4553
+ "table.selectRow": "Select row {{id}}",
4554
+ "card.selectItem": "Select {{item}}",
4555
+ "card.itemFallback": "item",
4556
+ "fileTree.noFiles": "No files",
4557
+ "masterDetail.selectItem": "Select an item to view details",
4558
+ "empty.createFirst": "Create your first item to get started.",
4559
+ "upload.dropOrBrowse": "Drop files here or click to browse",
4560
+ "upload.dropFilesHere": "Drop files here",
4561
+ "upload.accepted": "Accepted: {{accept}}",
4562
+ "upload.maxSize": "Max size: {{size}}",
4563
+ "upload.maxFiles": "Up to {{count}} files",
4564
+ "upload.error.maxFiles": "Maximum {{count}} files allowed",
4565
+ "upload.error.invalidType": "Invalid file type: {{name}}",
4566
+ "upload.error.tooLarge": "File too large: {{name}} (max {{size}})",
4567
+ "optionConstraint.requiredOne": "Required, pick 1",
4568
+ "optionConstraint.optionalOne": "Optional, pick up to 1",
4569
+ "optionConstraint.pickExactly": "Pick exactly {{count}}",
4570
+ "optionConstraint.pickRange": "Pick {{min}}-{{max}}",
4571
+ "optionConstraint.pickAtLeast": "Pick at least {{count}}",
4572
+ "optionConstraint.pickUpTo": "Pick up to {{count}}",
4573
+ "optionConstraint.optional": "Optional",
4574
+ "optionConstraint.outOfStock": "Out of stock",
4575
+ "optionConstraint.error.pickOne": "Pick 1 option",
4576
+ "optionConstraint.error.pickOnlyOne": "Pick only 1 option",
4577
+ "optionConstraint.error.pickMore": "Pick at least {{count}} more",
4578
+ "optionConstraint.error.removeOptions": "Remove {{count}} options",
4579
+ "stateMachine.pinned": "Pinned",
4580
+ "stateMachine.eventCount": "{{count}} events",
4581
+ "stateMachine.externalEffects": "External Effects",
4582
+ "stateMachine.legend.initial": "Initial",
4583
+ "stateMachine.legend.final": "Final",
4584
+ "stateMachine.legend.state": "State",
4585
+ "stateMachine.legend.multiEvent": "Multi-event"
4293
4586
  };
4294
4587
 
4295
4588
  // hooks/useTranslate.ts
@@ -4794,10 +5087,12 @@ function DocPagination({ prev, next, className }) {
4794
5087
  );
4795
5088
  }
4796
5089
  function DocSearch({
4797
- placeholder = "Search documentation...",
5090
+ placeholder,
4798
5091
  onSearch,
4799
5092
  className
4800
5093
  }) {
5094
+ const { t } = useTranslate();
5095
+ const resolvedPlaceholder = placeholder ?? t("docSearch.placeholder");
4801
5096
  const [query, setQuery] = React7.useState("");
4802
5097
  const [results, setResults] = React7.useState([]);
4803
5098
  const [isOpen, setIsOpen] = React7.useState(false);
@@ -4904,7 +5199,7 @@ function DocSearch({
4904
5199
  Input,
4905
5200
  {
4906
5201
  inputType: "search",
4907
- placeholder,
5202
+ placeholder: resolvedPlaceholder,
4908
5203
  value: query,
4909
5204
  onChange: handleChange,
4910
5205
  onFocus: handleFocus,