@rippling/pebble-sdui-web 0.7.0 → 0.8.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.
@@ -2,7 +2,7 @@ import { buildNode as t } from "../../core/component-utils.js";
2
2
  import { buildAction as c } from "../../core/action-utils.js";
3
3
  import { _ as O } from "../../2020-PBERvPzO.js";
4
4
  import { renderElementTree as I } from "../../core/spec.js";
5
- const M = (e) => t("ActionCard", e), j = (e) => t("AiIcon", e), _ = (e) => t("Alert", e), F = (e) => t("Animation", e), q = (e) => t("ApiError", e), U = (e) => t("AppGroupLoader", e), B = (e) => t("AppGroupSelect", e), V = (e) => t("AppNavBar", e), H = (e) => t("AtomsSeparator", e), W = (e) => t("Avatar", e), z = (e) => t("AvatarList", e), G = (e) => t("Badge", e), X = (e) => t("Box", e), $ = (e) => t("BrandBadge", e), Y = (e) => t("Breadcrumb", e), K = (e) => t("Button", e), Q = (e) => t("ButtonGroup", e), Z = (e) => t("Calendar", e), J = (e) => t("Card", e), ee = (e) => t("CardGroup", e), te = (e) => t("Carousel", e), ie = (e) => t("ChartLoader", e), oe = (e) => t("Checkbox", e), re = (e) => t("CheckboxGroup", e), ae = (e) => t("CheckList", e), ne = (e) => t("Chip", e), se = (e) => t("ChipGroup", e), pe = (e) => t("Circle", e), ce = (e) => t("ColorPicker", e), le = (e) => t("ContentLoader", e), de = (e) => t("CountDown", e), ye = (e) => t("Country", e), ue = (e) => t("Currency", e), he = (e) => t("Date", e), me = (e) => t("DateInlineMulti", e), ge = (e) => t("DateRange", e), fe = (e) => t("DaySelector", e), be = (e) => t("DistributionBar", e), Se = (e) => t("Divider", e), ve = (e) => t("DraggableList", e), Oe = (e) => t("Drawer", e), Ie = (e) => t("Dropdown", e), we = (e) => t("Email", e), Ce = (e) => t("EmojiPicker", e), De = (e) => t("ExpansionPanel", e), Te = (e) => t("ExpansionPanelGroup", e), xe = (e) => t("Field", e), Re = (e) => t("File", e), Pe = (e) => t("FileDrop", e), Ee = (e) => t("FloatingButton", e), Ae = (e) => t("Form", e), Le = (e) => t("FormCheckbox", e), Ne = (e) => t("FormCheckboxGroup", e), ke = (e) => t("FormContent", e), Me = (e) => t("FormCurrency", e), je = (e) => t("FormDate", e), _e = (e) => t("FormDateRange", e), Fe = (e) => t("FormDaySelector", e), qe = (e) => t("FormEmail", e), Ue = (e) => t("FormFile", e), Be = (e) => t("FormFileDrop", e), Ve = (e) => t("FormGroup", e), He = (e) => t("FormGroupHeader", e), We = (e) => t("FormHidden", e), ze = (e) => t("FormInlineGroup", e), Ge = (e) => t("FormInputGroup", e), Xe = (e) => t("FormMasker", e), $e = (e) => t("FormNumber", e), Ye = (e) => t("FormPassword", e), Ke = (e) => t("FormPercentage", e), Qe = (e) => t("FormPhone", e), Ze = (e) => t("FormRadio", e), Je = (e) => t("FormSegmentedControl", e), et = (e) => t("FormSelect", e), tt = (e) => t("FormSelectableGroup", e), it = (e) => t("FormSignature", e), ot = (e) => t("FormSin", e), rt = (e) => t("FormSlider", e), at = (e) => t("FormSsn", e), nt = (e) => t("FormSurvey", e), st = (e) => t("FormSwitch", e), pt = (e) => t("FormText", e), ct = (e) => t("FormTextarea", e), lt = (e) => t("FormTextAutoSuggest", e), dt = (e) => t("FormTime", e), yt = (e) => t("FormTimezone", e), ut = (e) => t("FormTree", e), ht = (e) => t("FormTreeSelect", e), mt = (e) => t("FormWorkEmail", e), gt = (e) => t("Grid", e), ft = (e) => t("Heading", e), bt = (e) => t("Hidden", e), St = (e) => t("HStack", e), vt = (e) => t("Icon", e), Ot = (e) => t("IconButton", e), It = (e) => t("Image", e), wt = (e) => t("ImageViewer", e), Ct = (e) => t("InputGroup", e), Dt = (e) => t("ItemNavigator", e), Tt = (e) => t("Label", e), xt = (e) => t("LabelGroup", e), Rt = (e) => t("Layout", e), Pt = (e) => t("LayoutCard", e), Et = (e) => t("Link", e), At = (e) => t("ListItem", e), Lt = (e) => t("LoaderCard", e), Nt = (e) => t("LocationCard", e), kt = (e) => t("LottiePlayer", e), Mt = (e) => t("Masker", e), jt = (e) => t("MenuList", e), _t = (e) => t("Modal", e), Ft = (e) => t("ModalCloseButton", e), qt = (e) => t("ModalFooter", e), Ut = (e) => t("NestedList", e), Bt = (e) => t("Number", e), Vt = (e) => t("ObjectListView", e), Ht = (e) => t("ObjectUI", e), Wt = (e) => t("ObjectUIContent", e), zt = (e) => t("ObjectUIHeader", e), Gt = (e) => t("ObjectUIStats", e), Xt = (e) => t("ObjectUITemplate", e), $t = (e) => t("PageAppLogo", e), Yt = (e) => t("PageContent", e), Kt = (e) => t("PageFooter", e), Qt = (e) => t("PageHeader", e), Zt = (e) => t("Paginate", e), Jt = (e) => t("PaginateList", e), ei = (e) => t("Pane", e), ti = (e) => t("Password", e), ii = (e) => t("Percentage", e), oi = (e) => t("Phone", e), ri = (e) => t("ProgressBar", e), ai = (e) => t("ProgressSteps", e), ni = (e) => t("Radio", e), si = (e) => t("RangeSlider", e), pi = (e) => t("ReportLoader", e), ci = (e) => t("ReportShareLoader", e), li = (e) => t("ReportViewerLoader", e), di = (e) => t("ResizableBoard", e), yi = (e) => t("Responsive", e), ui = (e) => t("SegmentedControl", e), hi = (e) => t("Select", e), mi = (e) => t("SelectableGroup", e), gi = (e) => t("SelectableMenu", e), fi = (e) => t("SettingsLoader", e), bi = (e) => t("ShowMore", e), Si = (e) => t("Signature", e), vi = (e) => t("Sin", e), Oi = (e) => t("Skeleton", e), Ii = (e) => t("Slider", e), wi = (e) => t("SnackBar", e), Ci = (e) => t("Spinner", e), Di = (e) => t("SplitButton", e), Ti = (e) => t("SplitPane", e), xi = (e) => t("Ssn", e), Ri = (e) => t("Status", e), Pi = (e) => t("Stepper", e), Ei = (e) => t("SupportButton", e), Ai = (e) => t("Survey", e), Li = (e) => t("Switch", e), Ni = (e) => t("Tab", e), ki = (e) => t("TableBasic", e), Mi = (e) => t("Text", e), ji = (e) => t("Textarea", e), _i = (e) => t("TextAutoSuggest", e), Fi = (e) => t("TextClip", e), qi = (e) => t("TextInput", e), Ui = (e) => t("TextSnippet", e), Bi = (e) => t("Time", e), Vi = (e) => t("TimeRange", e), Hi = (e) => t("Timezone", e), Wi = (e) => t("Tip", e), zi = (e) => t("TitleCaption", e), Gi = (e) => t("ToggleableArrow", e), Xi = (e) => t("Tree", e), $i = (e) => t("TreeSelect", e), Yi = (e) => t("Video", e), Ki = (e) => t("VStack", e), Qi = (e) => t("WorkEmail", e), Zi = (e, i) => c("navigate", e, i), Ji = (e, i) => c("pushState", e, i), eo = (e, i) => c("removeState", e, i), to = (e, i) => c("setState", e, i), io = (e, i) => c("showNotification", e, i), oo = (e, i) => c("triggerFunction", e, i), w = "custom-apps", C = "1.2.0", p = {
5
+ const M = (e) => t("ActionCard", e), _ = (e) => t("AiIcon", e), j = (e) => t("Alert", e), F = (e) => t("Animation", e), q = (e) => t("ApiError", e), U = (e) => t("AppGroupLoader", e), B = (e) => t("AppGroupSelect", e), V = (e) => t("AppNavBar", e), H = (e) => t("AtomsSeparator", e), W = (e) => t("Avatar", e), G = (e) => t("AvatarList", e), z = (e) => t("Badge", e), X = (e) => t("Box", e), $ = (e) => t("BrandBadge", e), Y = (e) => t("Breadcrumb", e), K = (e) => t("Button", e), Q = (e) => t("ButtonGroup", e), Z = (e) => t("Calendar", e), J = (e) => t("Card", e), ee = (e) => t("CardGroup", e), te = (e) => t("Carousel", e), ie = (e) => t("ChartLoader", e), oe = (e) => t("Checkbox", e), re = (e) => t("CheckboxGroup", e), ae = (e) => t("CheckList", e), ne = (e) => t("Chip", e), se = (e) => t("ChipGroup", e), pe = (e) => t("Circle", e), ce = (e) => t("ColorPicker", e), le = (e) => t("Comments", e), de = (e) => t("ContentLoader", e), ye = (e) => t("CountDown", e), ue = (e) => t("Country", e), he = (e) => t("Currency", e), me = (e) => t("Date", e), ge = (e) => t("DateInlineMulti", e), fe = (e) => t("DateRange", e), be = (e) => t("DaySelector", e), Se = (e) => t("DistributionBar", e), ve = (e) => t("Divider", e), Oe = (e) => t("DraggableList", e), Ie = (e) => t("Drawer", e), we = (e) => t("Dropdown", e), Ce = (e) => t("Email", e), De = (e) => t("EmojiPicker", e), Te = (e) => t("EmployeeSearch", e), xe = (e) => t("ExpansionPanel", e), Pe = (e) => t("ExpansionPanelGroup", e), Ee = (e) => t("Field", e), Re = (e) => t("File", e), Ae = (e) => t("FileDrop", e), Le = (e) => t("FloatingButton", e), Ne = (e) => t("Form", e), ke = (e) => t("FormCheckbox", e), Me = (e) => t("FormCheckboxGroup", e), _e = (e) => t("FormContent", e), je = (e) => t("FormCurrency", e), Fe = (e) => t("FormDate", e), qe = (e) => t("FormDateRange", e), Ue = (e) => t("FormDaySelector", e), Be = (e) => t("FormEmail", e), Ve = (e) => t("FormFile", e), He = (e) => t("FormFileDrop", e), We = (e) => t("FormGroup", e), Ge = (e) => t("FormGroupHeader", e), ze = (e) => t("FormHidden", e), Xe = (e) => t("FormInlineGroup", e), $e = (e) => t("FormInputGroup", e), Ye = (e) => t("FormMasker", e), Ke = (e) => t("FormNumber", e), Qe = (e) => t("FormPassword", e), Ze = (e) => t("FormPercentage", e), Je = (e) => t("FormPhone", e), et = (e) => t("FormRadio", e), tt = (e) => t("FormSegmentedControl", e), it = (e) => t("FormSelect", e), ot = (e) => t("FormSelectableGroup", e), rt = (e) => t("FormSignature", e), at = (e) => t("FormSin", e), nt = (e) => t("FormSlider", e), st = (e) => t("FormSsn", e), pt = (e) => t("FormSurvey", e), ct = (e) => t("FormSwitch", e), lt = (e) => t("FormText", e), dt = (e) => t("FormTextarea", e), yt = (e) => t("FormTextAutoSuggest", e), ut = (e) => t("FormTime", e), ht = (e) => t("FormTimezone", e), mt = (e) => t("FormTree", e), gt = (e) => t("FormTreeSelect", e), ft = (e) => t("FormWorkEmail", e), bt = (e) => t("Grid", e), St = (e) => t("Heading", e), vt = (e) => t("Hidden", e), Ot = (e) => t("HStack", e), It = (e) => t("Icon", e), wt = (e) => t("IconButton", e), Ct = (e) => t("Image", e), Dt = (e) => t("ImageViewer", e), Tt = (e) => t("InputGroup", e), xt = (e) => t("ItemNavigator", e), Pt = (e) => t("Label", e), Et = (e) => t("LabelGroup", e), Rt = (e) => t("Layout", e), At = (e) => t("LayoutCard", e), Lt = (e) => t("Link", e), Nt = (e) => t("ListItem", e), kt = (e) => t("LoaderCard", e), Mt = (e) => t("LocationCard", e), _t = (e) => t("LottiePlayer", e), jt = (e) => t("Masker", e), Ft = (e) => t("MenuList", e), qt = (e) => t("Modal", e), Ut = (e) => t("ModalCloseButton", e), Bt = (e) => t("ModalFooter", e), Vt = (e) => t("NestedList", e), Ht = (e) => t("Number", e), Wt = (e) => t("ObjectListView", e), Gt = (e) => t("ObjectUI", e), zt = (e) => t("ObjectUIContent", e), Xt = (e) => t("ObjectUIHeader", e), $t = (e) => t("ObjectUIStats", e), Yt = (e) => t("ObjectUITemplate", e), Kt = (e) => t("PageAppLogo", e), Qt = (e) => t("PageContent", e), Zt = (e) => t("PageFooter", e), Jt = (e) => t("PageHeader", e), ei = (e) => t("Paginate", e), ti = (e) => t("PaginateList", e), ii = (e) => t("Pane", e), oi = (e) => t("Password", e), ri = (e) => t("Percentage", e), ai = (e) => t("Phone", e), ni = (e) => t("ProgressBar", e), si = (e) => t("ProgressSteps", e), pi = (e) => t("Radio", e), ci = (e) => t("RangeSlider", e), li = (e) => t("ReportLoader", e), di = (e) => t("ReportShareLoader", e), yi = (e) => t("ReportViewerLoader", e), ui = (e) => t("ResizableBoard", e), hi = (e) => t("Responsive", e), mi = (e) => t("SegmentedControl", e), gi = (e) => t("Select", e), fi = (e) => t("SelectableGroup", e), bi = (e) => t("SelectableMenu", e), Si = (e) => t("SettingsLoader", e), vi = (e) => t("ShowMore", e), Oi = (e) => t("Signature", e), Ii = (e) => t("Sin", e), wi = (e) => t("Skeleton", e), Ci = (e) => t("Slider", e), Di = (e) => t("SnackBar", e), Ti = (e) => t("Spinner", e), xi = (e) => t("SplitButton", e), Pi = (e) => t("SplitPane", e), Ei = (e) => t("Ssn", e), Ri = (e) => t("Status", e), Ai = (e) => t("Stepper", e), Li = (e) => t("SupportButton", e), Ni = (e) => t("Survey", e), ki = (e) => t("Switch", e), Mi = (e) => t("Tab", e), _i = (e) => t("TableBasic", e), ji = (e) => t("Text", e), Fi = (e) => t("Textarea", e), qi = (e) => t("TextAutoSuggest", e), Ui = (e) => t("TextClip", e), Bi = (e) => t("TextInput", e), Vi = (e) => t("TextSnippet", e), Hi = (e) => t("Time", e), Wi = (e) => t("TimeRange", e), Gi = (e) => t("Timezone", e), zi = (e) => t("Tip", e), Xi = (e) => t("TitleCaption", e), $i = (e) => t("ToggleableArrow", e), Yi = (e) => t("Tree", e), Ki = (e) => t("TreeSelect", e), Qi = (e) => t("Video", e), Zi = (e) => t("VStack", e), Ji = (e) => t("WorkEmail", e), eo = (e, i) => c("navigate", e, i), to = (e, i) => c("pushState", e, i), io = (e, i) => c("removeState", e, i), oo = (e, i) => c("setState", e, i), ro = (e, i) => c("showNotification", e, i), ao = (e, i) => c("triggerFunction", e, i), w = "custom-apps", C = "1.3.0", p = {
6
6
  ActionCard: {
7
7
  description: "Placeholder for states like empty, success, error, and loading, featuring animations, icons, text, and action buttons.",
8
8
  events: ["pressPrimary", "pressSecondary"],
@@ -4462,6 +4462,199 @@ const M = (e) => t("ActionCard", e), j = (e) => t("AiIcon", e), _ = (e) => t("Al
4462
4462
  },
4463
4463
  acceptsChildren: !1
4464
4464
  },
4465
+ Comments: {
4466
+ description: "Comments surface for a product object or a set of product threads. Supports single-thread and multithread comment chains.",
4467
+ events: [
4468
+ "commentChainCreation",
4469
+ "commentAddition",
4470
+ "commentEdit",
4471
+ "commentRemoval"
4472
+ ],
4473
+ propsSchema: {
4474
+ $schema: "https://json-schema.org/draft/2020-12/schema",
4475
+ additionalProperties: !1,
4476
+ properties: {
4477
+ commentsOrder: {
4478
+ description: "Order in which comments render. Defaults to NEWEST_FIRST.",
4479
+ enum: ["NEWEST_FIRST", "OLDEST_FIRST"],
4480
+ type: "string"
4481
+ },
4482
+ dataTestId: {
4483
+ description: "Test id on the comments root.",
4484
+ type: "string"
4485
+ },
4486
+ enableReactions: {
4487
+ description: "When true, enables platform comment reactions.",
4488
+ type: "boolean"
4489
+ },
4490
+ groupId: {
4491
+ description: "Groups related comment chains.",
4492
+ type: "string"
4493
+ },
4494
+ headerText: {
4495
+ description: "Optional string header. Defaults to the translated Comments label.",
4496
+ type: "string"
4497
+ },
4498
+ hideNewCommentEditor: {
4499
+ description: "When true, hides the new-comment editor.",
4500
+ type: "boolean"
4501
+ },
4502
+ maxHeight: {
4503
+ anyOf: [
4504
+ {
4505
+ type: "string"
4506
+ },
4507
+ {
4508
+ type: "number"
4509
+ }
4510
+ ],
4511
+ description: "Maximum height for the scrollable comments container."
4512
+ },
4513
+ productId: {
4514
+ description: "Product object id for single-thread comments. Required unless productThreads is provided.",
4515
+ minLength: 1,
4516
+ type: "string"
4517
+ },
4518
+ productMetadata: {
4519
+ additionalProperties: {},
4520
+ description: "Product metadata for a single comment chain.",
4521
+ propertyNames: {
4522
+ type: "string"
4523
+ },
4524
+ type: "object"
4525
+ },
4526
+ productName: {
4527
+ description: "Product name used to identify the comment chain.",
4528
+ minLength: 1,
4529
+ type: "string"
4530
+ },
4531
+ productSubCategory: {
4532
+ description: "Optional product subcategory.",
4533
+ type: "string"
4534
+ },
4535
+ productThreads: {
4536
+ description: "Non-empty thread list for multithreaded comments. When provided, renders the multithread view.",
4537
+ items: {
4538
+ additionalProperties: !1,
4539
+ properties: {
4540
+ display: {
4541
+ additionalProperties: !1,
4542
+ description: "Optional display metadata for a multithreaded comment thread.",
4543
+ properties: {
4544
+ caption: {
4545
+ description: "Optional secondary thread text.",
4546
+ type: "string"
4547
+ },
4548
+ iconType: {
4549
+ description: "Pebble icon type for the thread label.",
4550
+ type: "string"
4551
+ },
4552
+ label: {
4553
+ description: "Visible thread label.",
4554
+ type: "string"
4555
+ },
4556
+ labelAppearance: {
4557
+ description: "Pebble Label appearance token for the thread label.",
4558
+ type: "string"
4559
+ }
4560
+ },
4561
+ required: ["label", "iconType", "labelAppearance"],
4562
+ type: "object"
4563
+ },
4564
+ groupId: {
4565
+ description: "Groups related comment chains.",
4566
+ type: "string"
4567
+ },
4568
+ productId: {
4569
+ description: "Unique product object id for this thread.",
4570
+ minLength: 1,
4571
+ type: "string"
4572
+ },
4573
+ productMetadata: {
4574
+ additionalProperties: {},
4575
+ description: "Product metadata for this comment chain.",
4576
+ propertyNames: {
4577
+ type: "string"
4578
+ },
4579
+ type: "object"
4580
+ }
4581
+ },
4582
+ required: ["productId"],
4583
+ type: "object"
4584
+ },
4585
+ minItems: 1,
4586
+ type: "array"
4587
+ },
4588
+ readOnly: {
4589
+ description: "When true, hides editing controls and shows a read-only badge.",
4590
+ type: "boolean"
4591
+ },
4592
+ requestOptions: {
4593
+ additionalProperties: {},
4594
+ description: "Request options passed to the comments API calls.",
4595
+ propertyNames: {
4596
+ type: "string"
4597
+ },
4598
+ type: "object"
4599
+ },
4600
+ rumExcluded: {
4601
+ description: "When true, excludes initial API calls from RUM metrics.",
4602
+ type: "boolean"
4603
+ },
4604
+ scrollToTop: {
4605
+ description: "When true, scrolls the top comment into view after load.",
4606
+ type: "boolean"
4607
+ },
4608
+ showHeaderText: {
4609
+ description: "When false, hides the comments header.",
4610
+ type: "boolean"
4611
+ },
4612
+ showInlineAttachments: {
4613
+ description: "When false, hides the inline attachment affordance.",
4614
+ type: "boolean"
4615
+ },
4616
+ showUnreadCountBadge: {
4617
+ description: "When false, hides the unread-count badge in the header.",
4618
+ type: "boolean"
4619
+ },
4620
+ statePaths: {
4621
+ additionalProperties: !1,
4622
+ description: "Optional state paths written before emitting comment events.",
4623
+ properties: {
4624
+ commentChainId: {
4625
+ description: "Path updated with the created comment chain id.",
4626
+ pattern: "^\\/.*",
4627
+ type: "string"
4628
+ },
4629
+ lastAddedComment: {
4630
+ description: "Path updated with the most recently added comment.",
4631
+ pattern: "^\\/.*",
4632
+ type: "string"
4633
+ },
4634
+ lastEditedComment: {
4635
+ description: "Path updated with the most recently edited comment.",
4636
+ pattern: "^\\/.*",
4637
+ type: "string"
4638
+ },
4639
+ lastRemovedComment: {
4640
+ description: "Path updated with the most recently removed comment.",
4641
+ pattern: "^\\/.*",
4642
+ type: "string"
4643
+ }
4644
+ },
4645
+ type: "object"
4646
+ },
4647
+ theme: {
4648
+ description: "Visual theme override for embedding comments in tight layouts.",
4649
+ enum: ["NO_BORDER_AND_PADDING"],
4650
+ type: "string"
4651
+ }
4652
+ },
4653
+ required: ["productName"],
4654
+ type: "object"
4655
+ },
4656
+ acceptsChildren: !1
4657
+ },
4465
4658
  ContentLoader: {
4466
4659
  description: "A low-level SVG shimmer placeholder used to indicate loading state. Renders a plain animated rectangle whose dimensions you control. For shaped placeholders (text lines, circles, boxes), use Skeleton instead.",
4467
4660
  events: [],
@@ -6240,6 +6433,131 @@ const M = (e) => t("ActionCard", e), j = (e) => t("AiIcon", e), _ = (e) => t("Al
6240
6433
  },
6241
6434
  acceptsChildren: !1
6242
6435
  },
6436
+ EmployeeSearch: {
6437
+ description: "Employee search input powered by a backend role search API. Supports single and multi-select modes with type-ahead search. Use for any field that picks one or more employees.",
6438
+ events: ["change"],
6439
+ propsSchema: {
6440
+ $schema: "https://json-schema.org/draft/2020-12/schema",
6441
+ additionalProperties: !1,
6442
+ properties: {
6443
+ name: {
6444
+ description: 'Form field name. Defaults to "role".',
6445
+ type: "string"
6446
+ },
6447
+ canClear: {
6448
+ description: "When true, shows a clear button to reset the selection.",
6449
+ type: "boolean"
6450
+ },
6451
+ defaultValue: {
6452
+ anyOf: [
6453
+ {
6454
+ type: "string"
6455
+ },
6456
+ {
6457
+ items: {
6458
+ type: "string"
6459
+ },
6460
+ type: "array"
6461
+ }
6462
+ ],
6463
+ description: "Initial uncontrolled value — a role id (string) or array of role ids."
6464
+ },
6465
+ enableEmptySearch: {
6466
+ description: "When true and isInfiniteScroll is true, loads an initial list without requiring a search query.",
6467
+ type: "boolean"
6468
+ },
6469
+ helperMessage: {
6470
+ description: "Helper message displayed below the input.",
6471
+ type: "string"
6472
+ },
6473
+ isDisabled: {
6474
+ description: "When true, disables the input.",
6475
+ type: "boolean"
6476
+ },
6477
+ isInfiniteScroll: {
6478
+ description: "When true, uses paginated backend search. Recommended for large employee lists.",
6479
+ type: "boolean"
6480
+ },
6481
+ isMulti: {
6482
+ description: "When true, allows selecting multiple employees.",
6483
+ type: "boolean"
6484
+ },
6485
+ isRequired: {
6486
+ description: "Marks the field as required in a form context.",
6487
+ type: "boolean"
6488
+ },
6489
+ nullPlaceholder: {
6490
+ description: "Placeholder text displayed when no value is selected (distinct from the search placeholder).",
6491
+ type: "string"
6492
+ },
6493
+ placeholder: {
6494
+ description: "Placeholder text shown inside the input when empty.",
6495
+ type: "string"
6496
+ },
6497
+ roleIdsToIgnore: {
6498
+ description: "Role ids to exclude from search results.",
6499
+ items: {
6500
+ type: "string"
6501
+ },
6502
+ type: "array"
6503
+ },
6504
+ roleIdsToInclude: {
6505
+ description: "When set, only these role ids appear in results.",
6506
+ items: {
6507
+ type: "string"
6508
+ },
6509
+ type: "array"
6510
+ },
6511
+ roleTypes: {
6512
+ description: 'Filters employees by role type. Defaults to ["ACCEPTED_AND_ACTIVE"].',
6513
+ items: {
6514
+ enum: [
6515
+ "ACTIVE",
6516
+ "GOOD",
6517
+ "ACCEPTED_AND_ACTIVE",
6518
+ "NON_INIT",
6519
+ "INIT",
6520
+ "ALL_INCLUDING_INIT",
6521
+ "GOOD_INCLUDING_ADMINS",
6522
+ "NON_INIT_INCLUDING_ADMINS",
6523
+ "NON_TERMINATED_INCLUDING_3RD_ADMINS",
6524
+ "TERMINATED"
6525
+ ],
6526
+ type: "string"
6527
+ },
6528
+ type: "array"
6529
+ },
6530
+ shouldShowSearchIcon: {
6531
+ description: "When true, renders a search icon inside the input.",
6532
+ type: "boolean"
6533
+ },
6534
+ tip: {
6535
+ description: "Helper tip text displayed below the title.",
6536
+ type: "string"
6537
+ },
6538
+ title: {
6539
+ description: "Label displayed above the search input.",
6540
+ type: "string"
6541
+ },
6542
+ value: {
6543
+ anyOf: [
6544
+ {
6545
+ type: "string"
6546
+ },
6547
+ {
6548
+ items: {
6549
+ type: "string"
6550
+ },
6551
+ type: "array"
6552
+ }
6553
+ ],
6554
+ description: "Controlled value — a role id (string) or array of role ids. Use $bindState for two-way binding."
6555
+ }
6556
+ },
6557
+ type: "object"
6558
+ },
6559
+ acceptsChildren: !1
6560
+ },
6243
6561
  ExpansionPanel: {
6244
6562
  description: "A collapsible panel that expands or contracts to reveal additional detailed information. Use to organize related content within limited space, such as FAQs, settings menus, or side panels. Prefer a full scrolling page when users need to read all content.",
6245
6563
  events: ["toggle"],
@@ -25321,7 +25639,7 @@ onError (client-side): runs if handler throws. Same format as onSuccess.`,
25321
25639
  type: "object"
25322
25640
  }
25323
25641
  };
25324
- function ro() {
25642
+ function no() {
25325
25643
  return Object.fromEntries(
25326
25644
  Object.entries(p).map(([e, i]) => [
25327
25645
  e,
@@ -25329,7 +25647,7 @@ function ro() {
25329
25647
  ])
25330
25648
  );
25331
25649
  }
25332
- function ao() {
25650
+ function so() {
25333
25651
  return Object.fromEntries(
25334
25652
  Object.entries(y).map(([e, i]) => [
25335
25653
  e,
@@ -25337,7 +25655,7 @@ function ao() {
25337
25655
  ])
25338
25656
  );
25339
25657
  }
25340
- function no() {
25658
+ function po() {
25341
25659
  return Object.fromEntries(
25342
25660
  Object.entries(l).map(([e, i]) => [
25343
25661
  e,
@@ -25345,13 +25663,13 @@ function no() {
25345
25663
  ])
25346
25664
  );
25347
25665
  }
25348
- function so() {
25666
+ function co() {
25349
25667
  return l;
25350
25668
  }
25351
- function po() {
25669
+ function lo() {
25352
25670
  return h;
25353
25671
  }
25354
- function co(e) {
25672
+ function yo(e) {
25355
25673
  if (!(e in p))
25356
25674
  throw new Error(
25357
25675
  `Unknown component '${e}'. Available: ${Object.keys(p).join(", ")}`
@@ -25359,14 +25677,14 @@ function co(e) {
25359
25677
  const i = { ...p[e] };
25360
25678
  return delete i.example, i;
25361
25679
  }
25362
- function lo(e) {
25680
+ function uo(e) {
25363
25681
  if (!(e in y))
25364
25682
  throw new Error(
25365
25683
  `Unknown action '${e}'. Available: ${Object.keys(y).join(", ")}`
25366
25684
  );
25367
25685
  return y[e];
25368
25686
  }
25369
- function yo(e) {
25687
+ function ho(e) {
25370
25688
  if (!(e in l))
25371
25689
  throw new Error(
25372
25690
  `Unknown function '${e}'. Available: ${Object.keys(l).join(", ")}`
@@ -25445,20 +25763,20 @@ function T(e) {
25445
25763
  function x(e) {
25446
25764
  return e ? e.slice(1).split("/").map((i) => i.replace(/~1/g, "/").replace(/~0/g, "~")).join(".") : "(root)";
25447
25765
  }
25448
- function R(e) {
25766
+ function P(e) {
25449
25767
  const i = x(e.instancePath);
25450
25768
  return e.keyword === "anyOf" ? `props ${i}: must match the declared schema or a reactive reference` : `props ${i}: ${e.message ?? "failed schema validation"}`;
25451
25769
  }
25452
- function P(e, i) {
25770
+ function E(e, i) {
25453
25771
  const a = new O.Ajv2020({ allErrors: !0, strict: !1 }).compile(e);
25454
25772
  if (a(i))
25455
25773
  return [];
25456
25774
  const o = a.errors ?? [], s = new Set(
25457
25775
  o.filter((r) => r.keyword === "anyOf").map((r) => r.instancePath)
25458
25776
  );
25459
- return o.filter((r) => r.keyword === "anyOf" ? !0 : !(r.schemaPath.includes("/anyOf/") && s.has(r.instancePath))).map(R);
25777
+ return o.filter((r) => r.keyword === "anyOf" ? !0 : !(r.schemaPath.includes("/anyOf/") && s.has(r.instancePath))).map(P);
25460
25778
  }
25461
- function uo(e) {
25779
+ function mo(e) {
25462
25780
  const i = [], n = e.elements ?? {}, a = e.root;
25463
25781
  a && !(a in n) && i.push(`Root element '${a}' not found in elements map`);
25464
25782
  for (const [o, s] of Object.entries(n)) {
@@ -25470,7 +25788,7 @@ function uo(e) {
25470
25788
  const u = p[r], m = u.propsSchema;
25471
25789
  if (m) {
25472
25790
  const d = D(T(m)), S = s.props ?? {};
25473
- for (const v of P(d, S))
25791
+ for (const v of E(d, S))
25474
25792
  i.push(`Element '${o}': ${v}`);
25475
25793
  }
25476
25794
  const b = s.on ?? {}, g = u.events ?? [];
@@ -25482,7 +25800,7 @@ function uo(e) {
25482
25800
  }
25483
25801
  return i;
25484
25802
  }
25485
- function ho(e) {
25803
+ function go(e) {
25486
25804
  return {
25487
25805
  ...I(e.root, e.state),
25488
25806
  platform: "web",
@@ -25492,8 +25810,8 @@ function ho(e) {
25492
25810
  }
25493
25811
  export {
25494
25812
  M as ActionCard,
25495
- j as AiIcon,
25496
- _ as Alert,
25813
+ _ as AiIcon,
25814
+ j as Alert,
25497
25815
  F as Animation,
25498
25816
  q as ApiError,
25499
25817
  U as AppGroupLoader,
@@ -25501,8 +25819,8 @@ export {
25501
25819
  V as AppNavBar,
25502
25820
  H as AtomsSeparator,
25503
25821
  W as Avatar,
25504
- z as AvatarList,
25505
- G as Badge,
25822
+ G as AvatarList,
25823
+ z as Badge,
25506
25824
  X as Box,
25507
25825
  $ as BrandBadge,
25508
25826
  Y as Breadcrumb,
@@ -25522,171 +25840,173 @@ export {
25522
25840
  se as ChipGroup,
25523
25841
  pe as Circle,
25524
25842
  ce as ColorPicker,
25525
- le as ContentLoader,
25526
- de as CountDown,
25527
- ye as Country,
25528
- ue as Currency,
25529
- he as Date,
25530
- me as DateInlineMulti,
25531
- ge as DateRange,
25532
- fe as DaySelector,
25533
- be as DistributionBar,
25534
- Se as Divider,
25535
- ve as DraggableList,
25536
- Oe as Drawer,
25537
- Ie as Dropdown,
25538
- we as Email,
25539
- Ce as EmojiPicker,
25540
- De as ExpansionPanel,
25541
- Te as ExpansionPanelGroup,
25542
- xe as Field,
25843
+ le as Comments,
25844
+ de as ContentLoader,
25845
+ ye as CountDown,
25846
+ ue as Country,
25847
+ he as Currency,
25848
+ me as Date,
25849
+ ge as DateInlineMulti,
25850
+ fe as DateRange,
25851
+ be as DaySelector,
25852
+ Se as DistributionBar,
25853
+ ve as Divider,
25854
+ Oe as DraggableList,
25855
+ Ie as Drawer,
25856
+ we as Dropdown,
25857
+ Ce as Email,
25858
+ De as EmojiPicker,
25859
+ Te as EmployeeSearch,
25860
+ xe as ExpansionPanel,
25861
+ Pe as ExpansionPanelGroup,
25862
+ Ee as Field,
25543
25863
  Re as File,
25544
- Pe as FileDrop,
25545
- Ee as FloatingButton,
25546
- Ae as Form,
25547
- Le as FormCheckbox,
25548
- Ne as FormCheckboxGroup,
25549
- ke as FormContent,
25550
- Me as FormCurrency,
25551
- je as FormDate,
25552
- _e as FormDateRange,
25553
- Fe as FormDaySelector,
25554
- qe as FormEmail,
25555
- Ue as FormFile,
25556
- Be as FormFileDrop,
25557
- Ve as FormGroup,
25558
- He as FormGroupHeader,
25559
- We as FormHidden,
25560
- ze as FormInlineGroup,
25561
- Ge as FormInputGroup,
25562
- Xe as FormMasker,
25563
- $e as FormNumber,
25564
- Ye as FormPassword,
25565
- Ke as FormPercentage,
25566
- Qe as FormPhone,
25567
- Ze as FormRadio,
25568
- Je as FormSegmentedControl,
25569
- et as FormSelect,
25570
- tt as FormSelectableGroup,
25571
- it as FormSignature,
25572
- ot as FormSin,
25573
- rt as FormSlider,
25574
- at as FormSsn,
25575
- nt as FormSurvey,
25576
- st as FormSwitch,
25577
- pt as FormText,
25578
- lt as FormTextAutoSuggest,
25579
- ct as FormTextarea,
25580
- dt as FormTime,
25581
- yt as FormTimezone,
25582
- ut as FormTree,
25583
- ht as FormTreeSelect,
25584
- mt as FormWorkEmail,
25585
- gt as Grid,
25586
- St as HStack,
25587
- ft as Heading,
25588
- bt as Hidden,
25589
- vt as Icon,
25590
- Ot as IconButton,
25591
- It as Image,
25592
- wt as ImageViewer,
25593
- Ct as InputGroup,
25594
- Dt as ItemNavigator,
25595
- Tt as Label,
25596
- xt as LabelGroup,
25864
+ Ae as FileDrop,
25865
+ Le as FloatingButton,
25866
+ Ne as Form,
25867
+ ke as FormCheckbox,
25868
+ Me as FormCheckboxGroup,
25869
+ _e as FormContent,
25870
+ je as FormCurrency,
25871
+ Fe as FormDate,
25872
+ qe as FormDateRange,
25873
+ Ue as FormDaySelector,
25874
+ Be as FormEmail,
25875
+ Ve as FormFile,
25876
+ He as FormFileDrop,
25877
+ We as FormGroup,
25878
+ Ge as FormGroupHeader,
25879
+ ze as FormHidden,
25880
+ Xe as FormInlineGroup,
25881
+ $e as FormInputGroup,
25882
+ Ye as FormMasker,
25883
+ Ke as FormNumber,
25884
+ Qe as FormPassword,
25885
+ Ze as FormPercentage,
25886
+ Je as FormPhone,
25887
+ et as FormRadio,
25888
+ tt as FormSegmentedControl,
25889
+ it as FormSelect,
25890
+ ot as FormSelectableGroup,
25891
+ rt as FormSignature,
25892
+ at as FormSin,
25893
+ nt as FormSlider,
25894
+ st as FormSsn,
25895
+ pt as FormSurvey,
25896
+ ct as FormSwitch,
25897
+ lt as FormText,
25898
+ yt as FormTextAutoSuggest,
25899
+ dt as FormTextarea,
25900
+ ut as FormTime,
25901
+ ht as FormTimezone,
25902
+ mt as FormTree,
25903
+ gt as FormTreeSelect,
25904
+ ft as FormWorkEmail,
25905
+ bt as Grid,
25906
+ Ot as HStack,
25907
+ St as Heading,
25908
+ vt as Hidden,
25909
+ It as Icon,
25910
+ wt as IconButton,
25911
+ Ct as Image,
25912
+ Dt as ImageViewer,
25913
+ Tt as InputGroup,
25914
+ xt as ItemNavigator,
25915
+ Pt as Label,
25916
+ Et as LabelGroup,
25597
25917
  Rt as Layout,
25598
- Pt as LayoutCard,
25599
- Et as Link,
25600
- At as ListItem,
25601
- Lt as LoaderCard,
25602
- Nt as LocationCard,
25603
- kt as LottiePlayer,
25604
- Mt as Masker,
25605
- jt as MenuList,
25606
- _t as Modal,
25607
- Ft as ModalCloseButton,
25608
- qt as ModalFooter,
25609
- Ut as NestedList,
25610
- Bt as Number,
25611
- Vt as ObjectListView,
25612
- Ht as ObjectUI,
25613
- Wt as ObjectUIContent,
25614
- zt as ObjectUIHeader,
25615
- Gt as ObjectUIStats,
25616
- Xt as ObjectUITemplate,
25617
- $t as PageAppLogo,
25618
- Yt as PageContent,
25619
- Kt as PageFooter,
25620
- Qt as PageHeader,
25621
- Zt as Paginate,
25622
- Jt as PaginateList,
25623
- ei as Pane,
25624
- ti as Password,
25625
- ii as Percentage,
25626
- oi as Phone,
25627
- ri as ProgressBar,
25628
- ai as ProgressSteps,
25629
- ni as Radio,
25630
- si as RangeSlider,
25631
- pi as ReportLoader,
25632
- ci as ReportShareLoader,
25633
- li as ReportViewerLoader,
25634
- di as ResizableBoard,
25635
- yi as Responsive,
25636
- ui as SegmentedControl,
25637
- hi as Select,
25638
- mi as SelectableGroup,
25639
- gi as SelectableMenu,
25640
- fi as SettingsLoader,
25641
- bi as ShowMore,
25642
- Si as Signature,
25643
- vi as Sin,
25644
- Oi as Skeleton,
25645
- Ii as Slider,
25646
- wi as SnackBar,
25647
- Ci as Spinner,
25648
- Di as SplitButton,
25649
- Ti as SplitPane,
25650
- xi as Ssn,
25918
+ At as LayoutCard,
25919
+ Lt as Link,
25920
+ Nt as ListItem,
25921
+ kt as LoaderCard,
25922
+ Mt as LocationCard,
25923
+ _t as LottiePlayer,
25924
+ jt as Masker,
25925
+ Ft as MenuList,
25926
+ qt as Modal,
25927
+ Ut as ModalCloseButton,
25928
+ Bt as ModalFooter,
25929
+ Vt as NestedList,
25930
+ Ht as Number,
25931
+ Wt as ObjectListView,
25932
+ Gt as ObjectUI,
25933
+ zt as ObjectUIContent,
25934
+ Xt as ObjectUIHeader,
25935
+ $t as ObjectUIStats,
25936
+ Yt as ObjectUITemplate,
25937
+ Kt as PageAppLogo,
25938
+ Qt as PageContent,
25939
+ Zt as PageFooter,
25940
+ Jt as PageHeader,
25941
+ ei as Paginate,
25942
+ ti as PaginateList,
25943
+ ii as Pane,
25944
+ oi as Password,
25945
+ ri as Percentage,
25946
+ ai as Phone,
25947
+ ni as ProgressBar,
25948
+ si as ProgressSteps,
25949
+ pi as Radio,
25950
+ ci as RangeSlider,
25951
+ li as ReportLoader,
25952
+ di as ReportShareLoader,
25953
+ yi as ReportViewerLoader,
25954
+ ui as ResizableBoard,
25955
+ hi as Responsive,
25956
+ mi as SegmentedControl,
25957
+ gi as Select,
25958
+ fi as SelectableGroup,
25959
+ bi as SelectableMenu,
25960
+ Si as SettingsLoader,
25961
+ vi as ShowMore,
25962
+ Oi as Signature,
25963
+ Ii as Sin,
25964
+ wi as Skeleton,
25965
+ Ci as Slider,
25966
+ Di as SnackBar,
25967
+ Ti as Spinner,
25968
+ xi as SplitButton,
25969
+ Pi as SplitPane,
25970
+ Ei as Ssn,
25651
25971
  Ri as Status,
25652
- Pi as Stepper,
25653
- Ei as SupportButton,
25654
- Ai as Survey,
25655
- Li as Switch,
25656
- Ni as Tab,
25657
- ki as TableBasic,
25658
- Mi as Text,
25659
- _i as TextAutoSuggest,
25660
- Fi as TextClip,
25661
- qi as TextInput,
25662
- Ui as TextSnippet,
25663
- ji as Textarea,
25664
- Bi as Time,
25665
- Vi as TimeRange,
25666
- Hi as Timezone,
25667
- Wi as Tip,
25668
- zi as TitleCaption,
25669
- Gi as ToggleableArrow,
25670
- Xi as Tree,
25671
- $i as TreeSelect,
25672
- Ki as VStack,
25673
- Yi as Video,
25674
- Qi as WorkEmail,
25675
- lo as getAction,
25676
- ao as getActions,
25677
- co as getComponent,
25678
- ro as getComponents,
25679
- so as getComputedFunctions,
25680
- po as getDefs,
25681
- yo as getFunction,
25682
- no as getFunctions,
25683
- Zi as navigate,
25684
- Ji as pushState,
25685
- eo as removeState,
25686
- ho as render,
25687
- to as setState,
25688
- io as showNotification,
25689
- oo as triggerFunction,
25690
- uo as validate
25972
+ Ai as Stepper,
25973
+ Li as SupportButton,
25974
+ Ni as Survey,
25975
+ ki as Switch,
25976
+ Mi as Tab,
25977
+ _i as TableBasic,
25978
+ ji as Text,
25979
+ qi as TextAutoSuggest,
25980
+ Ui as TextClip,
25981
+ Bi as TextInput,
25982
+ Vi as TextSnippet,
25983
+ Fi as Textarea,
25984
+ Hi as Time,
25985
+ Wi as TimeRange,
25986
+ Gi as Timezone,
25987
+ zi as Tip,
25988
+ Xi as TitleCaption,
25989
+ $i as ToggleableArrow,
25990
+ Yi as Tree,
25991
+ Ki as TreeSelect,
25992
+ Zi as VStack,
25993
+ Qi as Video,
25994
+ Ji as WorkEmail,
25995
+ uo as getAction,
25996
+ so as getActions,
25997
+ yo as getComponent,
25998
+ no as getComponents,
25999
+ co as getComputedFunctions,
26000
+ lo as getDefs,
26001
+ ho as getFunction,
26002
+ po as getFunctions,
26003
+ eo as navigate,
26004
+ to as pushState,
26005
+ io as removeState,
26006
+ go as render,
26007
+ oo as setState,
26008
+ ro as showNotification,
26009
+ ao as triggerFunction,
26010
+ mo as validate
25691
26011
  };
25692
26012
  //# sourceMappingURL=index.js.map