@rippling/pebble-sdui-web 0.23.0 → 0.24.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/dist/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-events.d.ts +1 -0
- package/dist/catalogs/custom-apps/component-props.d.ts +120 -2
- package/dist/catalogs/custom-apps/components.d.ts +3 -2
- package/dist/catalogs/custom-apps/index.cjs +2 -2
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +3 -3
- package/dist/catalogs/custom-apps/index.js +727 -126
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +58 -5
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +88 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +165 -0
- package/package.json +1 -1
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import { buildNode as t } from "../../core/component-utils.js";
|
|
2
2
|
import { buildAction as s } from "../../core/action-utils.js";
|
|
3
|
-
import { _ as
|
|
3
|
+
import { _ as T } from "../../2020-PBERvPzO.js";
|
|
4
4
|
import { createCatalogSchemaValidator as O } from "../../core/catalog-validation.js";
|
|
5
5
|
import { renderComponentMarkdown as D } from "../../core/component-markdown.js";
|
|
6
6
|
import { renderElementTree as k } from "../../core/spec.js";
|
|
7
|
-
const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Alert", e),
|
|
7
|
+
const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Alert", e), z = (e) => t("Animation", e), G = (e) => t("ApiError", e), V = (e) => t("AppGroupLoader", e), X = (e) => t("AppGroupSelect", e), $ = (e) => t("AppNavBar", e), Y = (e) => t("AtomsSeparator", e), K = (e) => t("Avatar", e), J = (e) => t("AvatarList", e), Z = (e) => t("Badge", e), Q = (e) => t("Box", e), ee = (e) => t("BrandBadge", e), te = (e) => t("Breadcrumb", e), ie = (e) => t("Button", e), oe = (e) => t("ButtonGroup", e), ne = (e) => t("Calendar", e), ae = (e) => t("Card", e), re = (e) => t("CardGroup", e), se = (e) => t("Carousel", e), le = (e) => t("ChartLoader", e), pe = (e) => t("Checkbox", e), ce = (e) => t("CheckboxGroup", e), de = (e) => t("CheckList", e), ue = (e) => t("Chip", e), me = (e) => t("ChipGroup", e), he = (e) => t("Circle", e), ye = (e) => t("ColorPicker", e), ge = (e) => t("ContentLoader", e), fe = (e) => t("CountDown", e), be = (e) => t("Country", e), we = (e) => t("Currency", e), ve = (e) => t("Dashboard", e), Se = (e) => t("Date", e), Ie = (e) => t("DateInlineMulti", e), Ce = (e) => t("DateRange", e), xe = (e) => t("DaySelector", e), Te = (e) => t("DistributionBar", e), Oe = (e) => t("Divider", e), De = (e) => t("DraggableList", e), ke = (e) => t("DraggableListHandle", e), Ae = (e) => t("DraggableListRemove", e), Pe = (e) => t("Drawer", e), Le = (e) => t("Dropdown", e), Re = (e) => t("Email", e), Ee = (e) => t("EmojiPicker", e), Ne = (e) => t("EmployeeSearch", e), Me = (e) => t("ExpansionPanel", e), Be = (e) => t("ExpansionPanelGroup", e), Fe = (e) => t("Field", e), je = (e) => t("File", e), qe = (e) => t("FileDrop", e), _e = (e) => t("FloatingButton", e), Ue = (e) => t("Form", e), We = (e) => t("FormCheckbox", e), He = (e) => t("FormCheckboxGroup", e), ze = (e) => t("FormContent", e), Ge = (e) => t("FormCurrency", e), Ve = (e) => t("FormDate", e), Xe = (e) => t("FormDateRange", e), $e = (e) => t("FormDaySelector", e), Ye = (e) => t("FormEmail", e), Ke = (e) => t("FormEmployeeSearch", e), Je = (e) => t("FormFile", e), Ze = (e) => t("FormFileDrop", e), Qe = (e) => t("FormGroup", e), et = (e) => t("FormGroupHeader", e), tt = (e) => t("FormHidden", e), it = (e) => t("FormInlineGroup", e), ot = (e) => t("FormInputGroup", e), nt = (e) => t("FormMasker", e), at = (e) => t("FormNumber", e), rt = (e) => t("FormPassword", e), st = (e) => t("FormPercentage", e), lt = (e) => t("FormPhone", e), pt = (e) => t("FormRadio", e), ct = (e) => t("FormRecordLookup", e), dt = (e) => t("FormSegmentedControl", e), ut = (e) => t("FormSelect", e), mt = (e) => t("FormSelectableGroup", e), ht = (e) => t("FormSignature", e), yt = (e) => t("FormSin", e), gt = (e) => t("FormSlider", e), ft = (e) => t("FormSsn", e), bt = (e) => t("FormSurvey", e), wt = (e) => t("FormSwitch", e), vt = (e) => t("FormText", e), St = (e) => t("FormTextarea", e), It = (e) => t("FormTextAutoSuggest", e), Ct = (e) => t("FormTime", e), xt = (e) => t("FormTimezone", e), Tt = (e) => t("FormTree", e), Ot = (e) => t("FormTreeSelect", e), Dt = (e) => t("FormWorkEmail", e), kt = (e) => t("Grid", e), At = (e) => t("Heading", e), Pt = (e) => t("Hidden", e), Lt = (e) => t("HStack", e), Rt = (e) => t("Icon", e), Et = (e) => t("IconButton", e), Nt = (e) => t("Iframe", e), Mt = (e) => t("Image", e), Bt = (e) => t("ImageViewer", e), Ft = (e) => t("InputGroup", e), jt = (e) => t("Interval", e), qt = (e) => t("ItemNavigator", e), _t = (e) => t("Label", e), Ut = (e) => t("LabelGroup", e), Wt = (e) => t("Layout", e), Ht = (e) => t("LayoutCard", e), zt = (e) => t("Link", e), Gt = (e) => t("ListItem", e), Vt = (e) => t("LoaderCard", e), Xt = (e) => t("LocationCard", e), $t = (e) => t("LottiePlayer", e), Yt = (e) => t("Masker", e), Kt = (e) => t("MenuList", e), Jt = (e) => t("Modal", e), Zt = (e) => t("ModalCloseButton", e), Qt = (e) => t("ModalFooter", e), ei = (e) => t("NestedList", e), ti = (e) => t("Number", e), ii = (e) => t("ObjectListView", e), oi = (e) => t("ObjectUI", e), ni = (e) => t("ObjectUIContent", e), ai = (e) => t("ObjectUIHeader", e), ri = (e) => t("ObjectUIStats", e), si = (e) => t("ObjectUITemplate", e), li = (e) => t("PageAppLogo", e), pi = (e) => t("PageContent", e), ci = (e) => t("PageFooter", e), di = (e) => t("PageHeader", e), ui = (e) => t("Paginate", e), mi = (e) => t("PaginateList", e), hi = (e) => t("Pane", e), yi = (e) => t("Password", e), gi = (e) => t("Percentage", e), fi = (e) => t("Phone", e), bi = (e) => t("ProgressBar", e), wi = (e) => t("ProgressSteps", e), vi = (e) => t("Radio", e), Si = (e) => t("RangeSlider", e), Ii = (e) => t("RecordLookup", e), Ci = (e) => t("ReportLoader", e), xi = (e) => t("Reports", e), Ti = (e) => t("ReportShareLoader", e), Oi = (e) => t("ReportViewerLoader", e), Di = (e) => t("ResizableBoard", e), ki = (e) => t("Responsive", e), Ai = (e) => t("RichTextEditor", e), Pi = (e) => t("SegmentedControl", e), Li = (e) => t("Select", e), Ri = (e) => t("SelectableGroup", e), Ei = (e) => t("SelectableMenu", e), Ni = (e) => t("SettingsLoader", e), Mi = (e) => t("ShowMore", e), Bi = (e) => t("Signature", e), Fi = (e) => t("Sin", e), ji = (e) => t("Skeleton", e), qi = (e) => t("Slider", e), _i = (e) => t("SnackBar", e), Ui = (e) => t("Spinner", e), Wi = (e) => t("SplitButton", e), Hi = (e) => t("SplitPane", e), zi = (e) => t("Ssn", e), Gi = (e) => t("Status", e), Vi = (e) => t("Stepper", e), Xi = (e) => t("SuperGrid", e), $i = (e) => t("SupportButton", e), Yi = (e) => t("Survey", e), Ki = (e) => t("Switch", e), Ji = (e) => t("Tab", e), Zi = (e) => t("TableBasic", e), Qi = (e) => t("Text", e), eo = (e) => t("Textarea", e), to = (e) => t("TextAutoSuggest", e), io = (e) => t("TextClip", e), oo = (e) => t("TextInput", e), no = (e) => t("TextSnippet", e), ao = (e) => t("Time", e), ro = (e) => t("TimeRange", e), so = (e) => t("Timezone", e), lo = (e) => t("Tip", e), po = (e) => t("TitleCaption", e), co = (e) => t("ToggleableArrow", e), uo = (e) => t("Tree", e), mo = (e) => t("TreeSelect", e), ho = (e) => t("Video", e), yo = (e) => t("VStack", e), go = (e) => t("WorkEmail", e), fo = (e, i) => s(
|
|
8
8
|
"invalidateSuperGridData",
|
|
9
9
|
e,
|
|
10
10
|
i
|
|
11
|
-
),
|
|
11
|
+
), bo = (e, i) => s("navigate", e, i), wo = (e, i) => s(
|
|
12
12
|
"openChatAssistantWithMessage",
|
|
13
13
|
e,
|
|
14
14
|
i
|
|
15
|
-
),
|
|
15
|
+
), vo = (e, i) => s("pushState", e, i), So = (e, i) => s("removeState", e, i), Io = (e, i) => s("setState", e, i), Co = (e, i) => s("showNotification", e, i), xo = (e, i) => s("triggerFunction", e, i), To = (e) => ({
|
|
16
16
|
$computed: "array_compact",
|
|
17
17
|
args: e
|
|
18
|
-
}),
|
|
18
|
+
}), Oo = (e) => ({
|
|
19
19
|
$computed: "array_filter",
|
|
20
20
|
args: e
|
|
21
|
-
}),
|
|
21
|
+
}), Do = (e) => ({
|
|
22
22
|
$computed: "array_includes",
|
|
23
23
|
args: e
|
|
24
|
-
}),
|
|
24
|
+
}), ko = (e) => ({
|
|
25
25
|
$computed: "array_map",
|
|
26
26
|
args: e
|
|
27
|
-
}),
|
|
27
|
+
}), Ao = (e) => ({
|
|
28
28
|
$computed: "array_some",
|
|
29
29
|
args: e
|
|
30
|
-
}),
|
|
30
|
+
}), Po = (e) => ({
|
|
31
31
|
$computed: "format_date",
|
|
32
32
|
args: e
|
|
33
|
-
}),
|
|
33
|
+
}), Lo = (e) => ({
|
|
34
34
|
$computed: "format_date_time",
|
|
35
35
|
args: e
|
|
36
|
-
}),
|
|
36
|
+
}), Ro = (e) => ({
|
|
37
37
|
$computed: "format_relative_time",
|
|
38
38
|
args: e
|
|
39
|
-
}),
|
|
39
|
+
}), Eo = (e) => ({
|
|
40
40
|
$computed: "format_time",
|
|
41
41
|
args: e
|
|
42
|
-
}), A = "custom-apps", P = "1.
|
|
42
|
+
}), A = "custom-apps", P = "1.15.1", a = {
|
|
43
43
|
ActionCard: {
|
|
44
44
|
description: "Placeholder for states like empty, success, error, and loading, featuring animations, icons, text, and action buttons.",
|
|
45
45
|
events: ["pressPrimary", "pressSecondary"],
|
|
@@ -1718,10 +1718,41 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
1718
1718
|
description: "Base URL prefix prepended to all link paths",
|
|
1719
1719
|
type: "string"
|
|
1720
1720
|
},
|
|
1721
|
+
breadcrumbs: {
|
|
1722
|
+
description: "Breadcrumb items for the v2 header: {title, value, isDisabled?, href?}. Only rendered when isV2 is true",
|
|
1723
|
+
items: {
|
|
1724
|
+
additionalProperties: !1,
|
|
1725
|
+
properties: {
|
|
1726
|
+
href: {
|
|
1727
|
+
description: "URL to navigate to when clicked",
|
|
1728
|
+
type: "string"
|
|
1729
|
+
},
|
|
1730
|
+
isDisabled: {
|
|
1731
|
+
description: "Disables the breadcrumb item",
|
|
1732
|
+
type: "boolean"
|
|
1733
|
+
},
|
|
1734
|
+
title: {
|
|
1735
|
+
description: "Display label for the breadcrumb item",
|
|
1736
|
+
type: "string"
|
|
1737
|
+
},
|
|
1738
|
+
value: {
|
|
1739
|
+
description: "Unique value identifier for the item",
|
|
1740
|
+
type: "string"
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
required: ["title", "value"],
|
|
1744
|
+
type: "object"
|
|
1745
|
+
},
|
|
1746
|
+
type: "array"
|
|
1747
|
+
},
|
|
1721
1748
|
isLogoRound: {
|
|
1722
1749
|
description: "If true, logo has rounded corners",
|
|
1723
1750
|
type: "boolean"
|
|
1724
1751
|
},
|
|
1752
|
+
isV2: {
|
|
1753
|
+
description: 'Enable the v2 app shell layout: breadcrumb header, updated tab styling, and "More" overflow. Default: false',
|
|
1754
|
+
type: "boolean"
|
|
1755
|
+
},
|
|
1725
1756
|
isVertical: {
|
|
1726
1757
|
description: "If true, renders a vertical sidebar navigation instead of horizontal tabs",
|
|
1727
1758
|
type: "boolean"
|
|
@@ -6151,7 +6182,7 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
6151
6182
|
type: "string"
|
|
6152
6183
|
},
|
|
6153
6184
|
fluid: {
|
|
6154
|
-
description: "
|
|
6185
|
+
description: "When true, the card fills its parent width in both layout and basic card modes, including inside row layouts where it would otherwise size to its content. Default: false",
|
|
6155
6186
|
type: "boolean"
|
|
6156
6187
|
},
|
|
6157
6188
|
isAddCard: {
|
|
@@ -6195,11 +6226,57 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
6195
6226
|
const: 32,
|
|
6196
6227
|
type: "number"
|
|
6197
6228
|
},
|
|
6229
|
+
{
|
|
6230
|
+
enum: [
|
|
6231
|
+
"space0",
|
|
6232
|
+
"space25",
|
|
6233
|
+
"space50",
|
|
6234
|
+
"space75",
|
|
6235
|
+
"space100",
|
|
6236
|
+
"space125",
|
|
6237
|
+
"space150",
|
|
6238
|
+
"space175",
|
|
6239
|
+
"space200",
|
|
6240
|
+
"space225",
|
|
6241
|
+
"space250",
|
|
6242
|
+
"space275",
|
|
6243
|
+
"space300",
|
|
6244
|
+
"space350",
|
|
6245
|
+
"space400",
|
|
6246
|
+
"space450",
|
|
6247
|
+
"space500",
|
|
6248
|
+
"space600",
|
|
6249
|
+
"space700",
|
|
6250
|
+
"space800",
|
|
6251
|
+
"space900",
|
|
6252
|
+
"space1000",
|
|
6253
|
+
"space1100",
|
|
6254
|
+
"space1200",
|
|
6255
|
+
"space1400",
|
|
6256
|
+
"space1600",
|
|
6257
|
+
"space2000",
|
|
6258
|
+
"space2400",
|
|
6259
|
+
"space2800",
|
|
6260
|
+
"space3200",
|
|
6261
|
+
"space3600",
|
|
6262
|
+
"space4000",
|
|
6263
|
+
"space4400",
|
|
6264
|
+
"space4800",
|
|
6265
|
+
"space5200",
|
|
6266
|
+
"space5600",
|
|
6267
|
+
"space6000",
|
|
6268
|
+
"space6400",
|
|
6269
|
+
"space7200",
|
|
6270
|
+
"space8000",
|
|
6271
|
+
"space9600"
|
|
6272
|
+
],
|
|
6273
|
+
type: "string"
|
|
6274
|
+
},
|
|
6198
6275
|
{
|
|
6199
6276
|
type: "string"
|
|
6200
6277
|
}
|
|
6201
6278
|
],
|
|
6202
|
-
description: "Padding
|
|
6279
|
+
description: "Padding in layout and basic card modes. Spacing token (e.g. space300), number (0, 8, 16, 24, 32), or CSS padding string. Spacing tokens are resolved from the active theme. CSS strings pass through unchanged. Omit to preserve each mode's existing default"
|
|
6203
6280
|
},
|
|
6204
6281
|
selectedActionId: {
|
|
6205
6282
|
description: 'Bound state path for the selected action id. Written before "action" event fires',
|
|
@@ -19549,6 +19626,11 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
19549
19626
|
description: "Minimum character count",
|
|
19550
19627
|
type: "number"
|
|
19551
19628
|
},
|
|
19629
|
+
passwordManagers: {
|
|
19630
|
+
description: 'Password-manager autofill (LastPass, 1Password, Bitwarden, Dashlane). "off" suppresses it on non-credential fields. Default: "auto" (disabled on search inputs, enabled elsewhere)',
|
|
19631
|
+
enum: ["auto", "off"],
|
|
19632
|
+
type: "string"
|
|
19633
|
+
},
|
|
19552
19634
|
placeholder: {
|
|
19553
19635
|
description: "Placeholder text when empty",
|
|
19554
19636
|
type: "string"
|
|
@@ -19803,6 +19885,11 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
19803
19885
|
description: "Maximum character count",
|
|
19804
19886
|
type: "number"
|
|
19805
19887
|
},
|
|
19888
|
+
passwordManagers: {
|
|
19889
|
+
description: 'Password-manager autofill (LastPass, 1Password, Bitwarden, Dashlane). Default: "off" since suggestions inputs are not credential fields; set "auto" to re-enable',
|
|
19890
|
+
enum: ["auto", "off"],
|
|
19891
|
+
type: "string"
|
|
19892
|
+
},
|
|
19806
19893
|
placeholder: {
|
|
19807
19894
|
description: "Placeholder text when empty",
|
|
19808
19895
|
type: "string"
|
|
@@ -25919,8 +26006,55 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
25919
26006
|
type: "boolean"
|
|
25920
26007
|
},
|
|
25921
26008
|
padding: {
|
|
25922
|
-
description: "
|
|
25923
|
-
enum: [
|
|
26009
|
+
description: "Spacing token (e.g. space300) or legacy PX_0/PX_8/PX_16/PX_24/PX_32 padding. Default: PX_24",
|
|
26010
|
+
enum: [
|
|
26011
|
+
"PX_0",
|
|
26012
|
+
"PX_8",
|
|
26013
|
+
"PX_16",
|
|
26014
|
+
"PX_24",
|
|
26015
|
+
"PX_32",
|
|
26016
|
+
"space0",
|
|
26017
|
+
"space25",
|
|
26018
|
+
"space50",
|
|
26019
|
+
"space75",
|
|
26020
|
+
"space100",
|
|
26021
|
+
"space125",
|
|
26022
|
+
"space150",
|
|
26023
|
+
"space175",
|
|
26024
|
+
"space200",
|
|
26025
|
+
"space225",
|
|
26026
|
+
"space250",
|
|
26027
|
+
"space275",
|
|
26028
|
+
"space300",
|
|
26029
|
+
"space350",
|
|
26030
|
+
"space400",
|
|
26031
|
+
"space450",
|
|
26032
|
+
"space500",
|
|
26033
|
+
"space600",
|
|
26034
|
+
"space700",
|
|
26035
|
+
"space800",
|
|
26036
|
+
"space900",
|
|
26037
|
+
"space1000",
|
|
26038
|
+
"space1100",
|
|
26039
|
+
"space1200",
|
|
26040
|
+
"space1400",
|
|
26041
|
+
"space1600",
|
|
26042
|
+
"space2000",
|
|
26043
|
+
"space2400",
|
|
26044
|
+
"space2800",
|
|
26045
|
+
"space3200",
|
|
26046
|
+
"space3600",
|
|
26047
|
+
"space4000",
|
|
26048
|
+
"space4400",
|
|
26049
|
+
"space4800",
|
|
26050
|
+
"space5200",
|
|
26051
|
+
"space5600",
|
|
26052
|
+
"space6000",
|
|
26053
|
+
"space6400",
|
|
26054
|
+
"space7200",
|
|
26055
|
+
"space8000",
|
|
26056
|
+
"space9600"
|
|
26057
|
+
],
|
|
25924
26058
|
type: "string"
|
|
25925
26059
|
},
|
|
25926
26060
|
theme: {
|
|
@@ -33094,6 +33228,361 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
33094
33228
|
},
|
|
33095
33229
|
acceptsChildren: !0
|
|
33096
33230
|
},
|
|
33231
|
+
RichTextEditor: {
|
|
33232
|
+
description: "Rich text input or read-only document using Pebble RichTextEditor. Set editable=true and bind htmlContent to persist edits as HTML.",
|
|
33233
|
+
events: ["change"],
|
|
33234
|
+
propsSchema: {
|
|
33235
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
33236
|
+
additionalProperties: !1,
|
|
33237
|
+
properties: {
|
|
33238
|
+
"aria-label": {
|
|
33239
|
+
description: "Accessible editor label.",
|
|
33240
|
+
type: "string"
|
|
33241
|
+
},
|
|
33242
|
+
"aria-labelledby": {
|
|
33243
|
+
description: "Id of the element labeling the editor.",
|
|
33244
|
+
type: "string"
|
|
33245
|
+
},
|
|
33246
|
+
config: {
|
|
33247
|
+
additionalProperties: !1,
|
|
33248
|
+
description: "JSON-safe editor plugin configuration for static variables, local images and custom mention options.",
|
|
33249
|
+
properties: {
|
|
33250
|
+
mentionables: {
|
|
33251
|
+
description: "Custom mention configurations; requires features.mentionables=true. Use options instead of a runtime callback.",
|
|
33252
|
+
items: {
|
|
33253
|
+
additionalProperties: !1,
|
|
33254
|
+
properties: {
|
|
33255
|
+
debounceDelay: {
|
|
33256
|
+
description: "Suggestion debounce delay in milliseconds. Defaults to 300.",
|
|
33257
|
+
minimum: 0,
|
|
33258
|
+
type: "number"
|
|
33259
|
+
},
|
|
33260
|
+
options: {
|
|
33261
|
+
description: "JSON-only replacement for the React callback: options are filtered by case-insensitive label/caption substring search.",
|
|
33262
|
+
items: {
|
|
33263
|
+
additionalProperties: !1,
|
|
33264
|
+
properties: {
|
|
33265
|
+
caption: {
|
|
33266
|
+
description: "Secondary text shown in the suggestions.",
|
|
33267
|
+
type: "string"
|
|
33268
|
+
},
|
|
33269
|
+
label: {
|
|
33270
|
+
description: "Mention option label and inserted token label.",
|
|
33271
|
+
type: "string"
|
|
33272
|
+
},
|
|
33273
|
+
value: {
|
|
33274
|
+
description: "Stable identifier stored in the mention token.",
|
|
33275
|
+
type: "string"
|
|
33276
|
+
}
|
|
33277
|
+
},
|
|
33278
|
+
required: ["label", "value"],
|
|
33279
|
+
type: "object"
|
|
33280
|
+
},
|
|
33281
|
+
type: "array"
|
|
33282
|
+
},
|
|
33283
|
+
trigger: {
|
|
33284
|
+
description: "One custom trigger character, such as #, ! or $. @, : and / are reserved; regex character-class metacharacters are excluded.",
|
|
33285
|
+
pattern: "^[^@:/\\\\[\\]\\s^-]$",
|
|
33286
|
+
type: "string"
|
|
33287
|
+
},
|
|
33288
|
+
triggerMatchOptions: {
|
|
33289
|
+
additionalProperties: !1,
|
|
33290
|
+
description: "Custom mention query matching settings. Maximum defaults to 75 and must be at least the minimum.",
|
|
33291
|
+
properties: {
|
|
33292
|
+
allowWhitespace: {
|
|
33293
|
+
description: "Allows spaces in the query. Defaults to true.",
|
|
33294
|
+
type: "boolean"
|
|
33295
|
+
},
|
|
33296
|
+
maxLength: {
|
|
33297
|
+
description: "Maximum query length after the trigger.",
|
|
33298
|
+
exclusiveMinimum: 0,
|
|
33299
|
+
maximum: 9007199254740991,
|
|
33300
|
+
type: "integer"
|
|
33301
|
+
},
|
|
33302
|
+
minLength: {
|
|
33303
|
+
description: "Minimum query length after the trigger. Defaults to 0.",
|
|
33304
|
+
maximum: 9007199254740991,
|
|
33305
|
+
minimum: 0,
|
|
33306
|
+
type: "integer"
|
|
33307
|
+
},
|
|
33308
|
+
punctuation: {
|
|
33309
|
+
description: "Literal punctuation characters that end a query; regex escapes and character-class metacharacters are excluded.",
|
|
33310
|
+
pattern: "^[^\\\\[\\]^-]*$",
|
|
33311
|
+
type: "string"
|
|
33312
|
+
}
|
|
33313
|
+
},
|
|
33314
|
+
type: "object"
|
|
33315
|
+
}
|
|
33316
|
+
},
|
|
33317
|
+
required: ["trigger", "options"],
|
|
33318
|
+
type: "object"
|
|
33319
|
+
},
|
|
33320
|
+
type: "array"
|
|
33321
|
+
},
|
|
33322
|
+
upload: {
|
|
33323
|
+
additionalProperties: !1,
|
|
33324
|
+
description: "Local image upload configuration; requires features.fileUpload=true.",
|
|
33325
|
+
properties: {
|
|
33326
|
+
cloudStorage: {
|
|
33327
|
+
const: !1,
|
|
33328
|
+
description: "Local images are embedded as base64 data URLs; cloud upload is not supported.",
|
|
33329
|
+
type: "boolean"
|
|
33330
|
+
},
|
|
33331
|
+
disableHistoricTag: {
|
|
33332
|
+
description: "Forwards the editor upload-history setting; the local image path does not use cloud history.",
|
|
33333
|
+
type: "boolean"
|
|
33334
|
+
},
|
|
33335
|
+
imageCompression: {
|
|
33336
|
+
additionalProperties: !1,
|
|
33337
|
+
description: "Optional local image compression settings.",
|
|
33338
|
+
properties: {
|
|
33339
|
+
alwaysKeepResolution: {
|
|
33340
|
+
description: "Preserves original image resolution when true.",
|
|
33341
|
+
type: "boolean"
|
|
33342
|
+
},
|
|
33343
|
+
compressImages: {
|
|
33344
|
+
description: "Whether to compress inserted images.",
|
|
33345
|
+
type: "boolean"
|
|
33346
|
+
},
|
|
33347
|
+
maxSizeMB: {
|
|
33348
|
+
description: "Maximum compressed image size in megabytes.",
|
|
33349
|
+
exclusiveMinimum: 0,
|
|
33350
|
+
type: "number"
|
|
33351
|
+
},
|
|
33352
|
+
maxWidthOrHeight: {
|
|
33353
|
+
description: "Maximum compressed image width or height in pixels.",
|
|
33354
|
+
exclusiveMinimum: 0,
|
|
33355
|
+
type: "number"
|
|
33356
|
+
}
|
|
33357
|
+
},
|
|
33358
|
+
required: ["compressImages"],
|
|
33359
|
+
type: "object"
|
|
33360
|
+
}
|
|
33361
|
+
},
|
|
33362
|
+
required: ["cloudStorage"],
|
|
33363
|
+
type: "object"
|
|
33364
|
+
},
|
|
33365
|
+
variable: {
|
|
33366
|
+
additionalProperties: !1,
|
|
33367
|
+
description: "Static variable configuration; function getters and custom search/sort callbacks are excluded.",
|
|
33368
|
+
properties: {
|
|
33369
|
+
noBlankSpace: {
|
|
33370
|
+
description: "Suppresses the space appended after variable insertion. Defaults to false.",
|
|
33371
|
+
type: "boolean"
|
|
33372
|
+
},
|
|
33373
|
+
variables: {
|
|
33374
|
+
description: "Static variable metadata; requires features.variables=true. Use four-brace tokens such as {{{{employee.firstName}}}} in initial content.",
|
|
33375
|
+
items: {
|
|
33376
|
+
$ref: "#/$defs/RichTextEditorVariableOption"
|
|
33377
|
+
},
|
|
33378
|
+
type: "array"
|
|
33379
|
+
}
|
|
33380
|
+
},
|
|
33381
|
+
type: "object"
|
|
33382
|
+
}
|
|
33383
|
+
},
|
|
33384
|
+
type: "object"
|
|
33385
|
+
},
|
|
33386
|
+
containerStyle: {
|
|
33387
|
+
additionalProperties: !1,
|
|
33388
|
+
description: "Plain editor dimensions. Arbitrary border/color styling is excluded.",
|
|
33389
|
+
properties: {
|
|
33390
|
+
height: {
|
|
33391
|
+
anyOf: [
|
|
33392
|
+
{
|
|
33393
|
+
type: "number"
|
|
33394
|
+
},
|
|
33395
|
+
{
|
|
33396
|
+
type: "string"
|
|
33397
|
+
}
|
|
33398
|
+
],
|
|
33399
|
+
description: "Editor container height; number in pixels or CSS dimension."
|
|
33400
|
+
},
|
|
33401
|
+
maxHeight: {
|
|
33402
|
+
anyOf: [
|
|
33403
|
+
{
|
|
33404
|
+
type: "number"
|
|
33405
|
+
},
|
|
33406
|
+
{
|
|
33407
|
+
type: "string"
|
|
33408
|
+
}
|
|
33409
|
+
],
|
|
33410
|
+
description: "Maximum editor container height; number in pixels or CSS dimension."
|
|
33411
|
+
},
|
|
33412
|
+
maxWidth: {
|
|
33413
|
+
anyOf: [
|
|
33414
|
+
{
|
|
33415
|
+
type: "number"
|
|
33416
|
+
},
|
|
33417
|
+
{
|
|
33418
|
+
type: "string"
|
|
33419
|
+
}
|
|
33420
|
+
],
|
|
33421
|
+
description: "Maximum editor container width; number in pixels or CSS dimension."
|
|
33422
|
+
},
|
|
33423
|
+
minHeight: {
|
|
33424
|
+
anyOf: [
|
|
33425
|
+
{
|
|
33426
|
+
type: "number"
|
|
33427
|
+
},
|
|
33428
|
+
{
|
|
33429
|
+
type: "string"
|
|
33430
|
+
}
|
|
33431
|
+
],
|
|
33432
|
+
description: "Minimum editor container height; number in pixels or CSS dimension."
|
|
33433
|
+
},
|
|
33434
|
+
minWidth: {
|
|
33435
|
+
anyOf: [
|
|
33436
|
+
{
|
|
33437
|
+
type: "number"
|
|
33438
|
+
},
|
|
33439
|
+
{
|
|
33440
|
+
type: "string"
|
|
33441
|
+
}
|
|
33442
|
+
],
|
|
33443
|
+
description: "Minimum editor container width; number in pixels or CSS dimension."
|
|
33444
|
+
},
|
|
33445
|
+
width: {
|
|
33446
|
+
anyOf: [
|
|
33447
|
+
{
|
|
33448
|
+
type: "number"
|
|
33449
|
+
},
|
|
33450
|
+
{
|
|
33451
|
+
type: "string"
|
|
33452
|
+
}
|
|
33453
|
+
],
|
|
33454
|
+
description: "Editor container width; number in pixels or CSS dimension."
|
|
33455
|
+
}
|
|
33456
|
+
},
|
|
33457
|
+
type: "object"
|
|
33458
|
+
},
|
|
33459
|
+
defaultSelection: {
|
|
33460
|
+
description: "Initial selection position; does not control later selection.",
|
|
33461
|
+
enum: ["rootStart", "rootEnd"],
|
|
33462
|
+
type: "string"
|
|
33463
|
+
},
|
|
33464
|
+
disableAudioEye: {
|
|
33465
|
+
description: "Adds data-audioeye-ignore to the editor textbox when true. Defaults to false.",
|
|
33466
|
+
type: "boolean"
|
|
33467
|
+
},
|
|
33468
|
+
disabled: {
|
|
33469
|
+
description: "Disables interaction while retaining the editing presentation. Defaults to false.",
|
|
33470
|
+
type: "boolean"
|
|
33471
|
+
},
|
|
33472
|
+
editable: {
|
|
33473
|
+
description: "Allows editing. Defaults to false; set true for an input.",
|
|
33474
|
+
type: "boolean"
|
|
33475
|
+
},
|
|
33476
|
+
features: {
|
|
33477
|
+
additionalProperties: !1,
|
|
33478
|
+
description: "Optional editor feature flags. Omitted flags retain Pebble defaults. Choose structural features such as table before mounting the editor.",
|
|
33479
|
+
properties: {
|
|
33480
|
+
advanceListPatterns: {
|
|
33481
|
+
type: "boolean"
|
|
33482
|
+
},
|
|
33483
|
+
allowCustomColors: {
|
|
33484
|
+
type: "boolean"
|
|
33485
|
+
},
|
|
33486
|
+
checklist: {
|
|
33487
|
+
type: "boolean"
|
|
33488
|
+
},
|
|
33489
|
+
componentPicker: {
|
|
33490
|
+
type: "boolean"
|
|
33491
|
+
},
|
|
33492
|
+
customColorStripping: {
|
|
33493
|
+
type: "boolean"
|
|
33494
|
+
},
|
|
33495
|
+
emojiPicker: {
|
|
33496
|
+
type: "boolean"
|
|
33497
|
+
},
|
|
33498
|
+
fileUpload: {
|
|
33499
|
+
description: "Enables local image insertion. Defaults to false; config.upload supports local images only.",
|
|
33500
|
+
type: "boolean"
|
|
33501
|
+
},
|
|
33502
|
+
markdown: {
|
|
33503
|
+
type: "boolean"
|
|
33504
|
+
},
|
|
33505
|
+
markdownPaste: {
|
|
33506
|
+
type: "boolean"
|
|
33507
|
+
},
|
|
33508
|
+
mentionables: {
|
|
33509
|
+
description: "Enables host employee mentions and configured custom mentions. Defaults to false for existing SDUI specs; host employee lookup must be available.",
|
|
33510
|
+
type: "boolean"
|
|
33511
|
+
},
|
|
33512
|
+
slashCommands: {
|
|
33513
|
+
type: "boolean"
|
|
33514
|
+
},
|
|
33515
|
+
stickyToolbar: {
|
|
33516
|
+
type: "boolean"
|
|
33517
|
+
},
|
|
33518
|
+
table: {
|
|
33519
|
+
type: "boolean"
|
|
33520
|
+
},
|
|
33521
|
+
textDirection: {
|
|
33522
|
+
type: "boolean"
|
|
33523
|
+
},
|
|
33524
|
+
variables: {
|
|
33525
|
+
description: "Enables variable chips and insertion. Defaults to false; provide static config.variable.variables.",
|
|
33526
|
+
type: "boolean"
|
|
33527
|
+
}
|
|
33528
|
+
},
|
|
33529
|
+
type: "object"
|
|
33530
|
+
},
|
|
33531
|
+
focusedPlaceholder: {
|
|
33532
|
+
description: "Placeholder shown in a focused empty block.",
|
|
33533
|
+
type: "string"
|
|
33534
|
+
},
|
|
33535
|
+
htmlContent: {
|
|
33536
|
+
description: "HTML output. Bind with $bindState to receive edits before change fires. An initially null bound state is treated as absent output; literal null is not supported. This does not control or initialize the document; seed initialContent separately.",
|
|
33537
|
+
type: "string"
|
|
33538
|
+
},
|
|
33539
|
+
initialContent: {
|
|
33540
|
+
description: "Mount-time document content. Omit or use an empty string for an empty document. HTML-looking strings import as HTML; other strings import as Markdown when features.markdown is enabled. Later changes do not replace the document.",
|
|
33541
|
+
type: "string"
|
|
33542
|
+
},
|
|
33543
|
+
jsonContent: {
|
|
33544
|
+
anyOf: [
|
|
33545
|
+
{
|
|
33546
|
+
type: "string"
|
|
33547
|
+
},
|
|
33548
|
+
{
|
|
33549
|
+
type: "null"
|
|
33550
|
+
}
|
|
33551
|
+
],
|
|
33552
|
+
description: "Serialized editor-state JSON text output binding, written before change. Parse the string to read its root/nodes. This is not a supported initialContent input."
|
|
33553
|
+
},
|
|
33554
|
+
markdownContent: {
|
|
33555
|
+
anyOf: [
|
|
33556
|
+
{
|
|
33557
|
+
type: "string"
|
|
33558
|
+
},
|
|
33559
|
+
{
|
|
33560
|
+
type: "null"
|
|
33561
|
+
}
|
|
33562
|
+
],
|
|
33563
|
+
description: "Markdown output binding. Written before change on successful export. When features.markdown=false, writes an empty string. Rich nodes may not have a lossless Markdown representation."
|
|
33564
|
+
},
|
|
33565
|
+
overrideToLight: {
|
|
33566
|
+
description: "Forces the editor sheet to use the light theme.",
|
|
33567
|
+
type: "boolean"
|
|
33568
|
+
},
|
|
33569
|
+
placeholder: {
|
|
33570
|
+
description: "Placeholder for an empty editor.",
|
|
33571
|
+
type: "string"
|
|
33572
|
+
},
|
|
33573
|
+
shouldDisableFormatting: {
|
|
33574
|
+
description: "Disables formatting controls.",
|
|
33575
|
+
type: "boolean"
|
|
33576
|
+
},
|
|
33577
|
+
toolbar: {
|
|
33578
|
+
description: "Shows the toolbar when editable. Defaults to true.",
|
|
33579
|
+
type: "boolean"
|
|
33580
|
+
}
|
|
33581
|
+
},
|
|
33582
|
+
type: "object"
|
|
33583
|
+
},
|
|
33584
|
+
acceptsChildren: !1
|
|
33585
|
+
},
|
|
33097
33586
|
SegmentedControl: {
|
|
33098
33587
|
description: "A linear set of buttons for toggling between closely related choices (2-5 short-label options) and instantly applying a selection. Supports single, multi, and range selection modes. NOT suitable for binary (2-option) choices — use Toggle or ToggleButton instead. Prefer over Radio when options are short labels needing a compact inline layout; use Radio for longer phrases, Tabs for content navigation.",
|
|
33099
33588
|
events: ["change", "blur"],
|
|
@@ -38251,6 +38740,33 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
38251
38740
|
description: "ID of element that labels the tabs",
|
|
38252
38741
|
type: "string"
|
|
38253
38742
|
},
|
|
38743
|
+
breadcrumbs: {
|
|
38744
|
+
description: "Breadcrumb items for the v2 header: {title, value, isDisabled?, href?}. Only rendered when isV2 is true on horizontal LINK tabs; without it the v2 header shows no title",
|
|
38745
|
+
items: {
|
|
38746
|
+
additionalProperties: !1,
|
|
38747
|
+
properties: {
|
|
38748
|
+
href: {
|
|
38749
|
+
description: "URL to navigate to when clicked",
|
|
38750
|
+
type: "string"
|
|
38751
|
+
},
|
|
38752
|
+
isDisabled: {
|
|
38753
|
+
description: "Disables the breadcrumb item",
|
|
38754
|
+
type: "boolean"
|
|
38755
|
+
},
|
|
38756
|
+
title: {
|
|
38757
|
+
description: "Display label for the breadcrumb item",
|
|
38758
|
+
type: "string"
|
|
38759
|
+
},
|
|
38760
|
+
value: {
|
|
38761
|
+
description: "Unique value identifier for the item",
|
|
38762
|
+
type: "string"
|
|
38763
|
+
}
|
|
38764
|
+
},
|
|
38765
|
+
required: ["title", "value"],
|
|
38766
|
+
type: "object"
|
|
38767
|
+
},
|
|
38768
|
+
type: "array"
|
|
38769
|
+
},
|
|
38254
38770
|
defaultActiveIndex: {
|
|
38255
38771
|
description: "Tab index to be active by default",
|
|
38256
38772
|
type: "number"
|
|
@@ -38263,6 +38779,10 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
38263
38779
|
description: "Whether to display logo with rounded corners",
|
|
38264
38780
|
type: "boolean"
|
|
38265
38781
|
},
|
|
38782
|
+
isV2: {
|
|
38783
|
+
description: 'Enable the v2 app-shell tab styling (updated spacing, typography, active indicator, "More" overflow). Only applies to horizontal LINK tabs. Default: false',
|
|
38784
|
+
type: "boolean"
|
|
38785
|
+
},
|
|
38266
38786
|
isVertical: {
|
|
38267
38787
|
description: "Display tabs in vertical orientation (only for LINK type)",
|
|
38268
38788
|
type: "boolean"
|
|
@@ -39514,6 +40034,11 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
39514
40034
|
description: "Minimum character count",
|
|
39515
40035
|
type: "number"
|
|
39516
40036
|
},
|
|
40037
|
+
passwordManagers: {
|
|
40038
|
+
description: 'Password-manager autofill (LastPass, 1Password, Bitwarden, Dashlane). Default: "off" since suggestions inputs are not credential fields; set "auto" to re-enable',
|
|
40039
|
+
enum: ["auto", "off"],
|
|
40040
|
+
type: "string"
|
|
40041
|
+
},
|
|
39517
40042
|
placeholder: {
|
|
39518
40043
|
description: "Placeholder text when empty",
|
|
39519
40044
|
type: "string"
|
|
@@ -40017,6 +40542,11 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
40017
40542
|
description: "Minimum character count",
|
|
40018
40543
|
type: "number"
|
|
40019
40544
|
},
|
|
40545
|
+
passwordManagers: {
|
|
40546
|
+
description: 'Password-manager autofill (LastPass, 1Password, Bitwarden, Dashlane). "off" suppresses it on non-credential fields. Default: "auto" (disabled on search inputs, enabled elsewhere)',
|
|
40547
|
+
enum: ["auto", "off"],
|
|
40548
|
+
type: "string"
|
|
40549
|
+
},
|
|
40020
40550
|
placeholder: {
|
|
40021
40551
|
description: "Placeholder text when empty",
|
|
40022
40552
|
type: "string"
|
|
@@ -40118,9 +40648,13 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
40118
40648
|
anatomy: {
|
|
40119
40649
|
parts: [
|
|
40120
40650
|
{
|
|
40121
|
-
name: "
|
|
40651
|
+
name: "accessible name",
|
|
40122
40652
|
required: !0,
|
|
40123
|
-
role: "
|
|
40653
|
+
role: "Provided by a linked visible label or, for an approved compact pattern, aria-label or aria-labelledby"
|
|
40654
|
+
},
|
|
40655
|
+
{
|
|
40656
|
+
name: "visible label",
|
|
40657
|
+
role: "Identifies standard data-entry fields and remains visible after the user enters a value"
|
|
40124
40658
|
},
|
|
40125
40659
|
{
|
|
40126
40660
|
name: "input",
|
|
@@ -40136,7 +40670,7 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
40136
40670
|
role: "Inline validation message region below the field"
|
|
40137
40671
|
}
|
|
40138
40672
|
],
|
|
40139
|
-
summary: "A
|
|
40673
|
+
summary: "A single-line input with an accessible name, usually provided by the visible label rendered from Form.Input.Text title, plus optional leading/trailing addons, placeholder, and an inline error/message region below."
|
|
40140
40674
|
},
|
|
40141
40675
|
guidance: {
|
|
40142
40676
|
doNotUseWhen: [
|
|
@@ -40153,46 +40687,76 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
40153
40687
|
},
|
|
40154
40688
|
antiPatterns: [
|
|
40155
40689
|
{
|
|
40156
|
-
instead: "
|
|
40690
|
+
instead: "Use Form.Input.Text with a field name",
|
|
40157
40691
|
pattern: "Data-entry text fields built outside Form",
|
|
40158
|
-
why: "Bypasses integrated validation and submission wiring"
|
|
40692
|
+
why: "Bypasses integrated validation and submission wiring."
|
|
40159
40693
|
},
|
|
40160
40694
|
{
|
|
40161
|
-
instead: "Use
|
|
40695
|
+
instead: "Use title on Form.Input.Text, or link an external label to standalone Input.Text with htmlFor and id",
|
|
40162
40696
|
pattern: "Visual label present but not programmatically linked",
|
|
40163
|
-
why: "Screen readers cannot associate the label with the input"
|
|
40697
|
+
why: "Screen readers cannot associate the label with the input."
|
|
40164
40698
|
},
|
|
40165
40699
|
{
|
|
40166
40700
|
instead: "Provide aria-label when no visible label exists",
|
|
40167
40701
|
pattern: "Search and filter text fields missing an accessible name",
|
|
40168
|
-
why: "Icon-only search fields announce nothing to screen readers"
|
|
40702
|
+
why: "Icon-only search fields announce nothing to screen readers."
|
|
40169
40703
|
},
|
|
40170
40704
|
{
|
|
40171
40705
|
instead: "Use the input's inline error state",
|
|
40172
40706
|
pattern: "Validation surfaced via toast instead of inline errors",
|
|
40173
|
-
why: "Errors detach from the field and disappear"
|
|
40707
|
+
why: "Errors detach from the field and disappear."
|
|
40174
40708
|
},
|
|
40175
40709
|
{
|
|
40176
40710
|
instead: "Always pair error styling with a message",
|
|
40177
40711
|
pattern: "Error styling without an inline error message",
|
|
40178
|
-
why: "Users see red but learn nothing"
|
|
40712
|
+
why: "Users see red but learn nothing."
|
|
40713
|
+
},
|
|
40714
|
+
{
|
|
40715
|
+
instead: "When generating code, omit the placeholder. When reviewing existing code, explicitly flag it and recommend removal",
|
|
40716
|
+
pattern: "Vague placeholder",
|
|
40717
|
+
why: "Uses prompts such as “Type here,” “Enter value,” or “Add text” that do not explain the expected input."
|
|
40718
|
+
},
|
|
40719
|
+
{
|
|
40720
|
+
instead: "When generating code, omit the placeholder. When reviewing existing code, explicitly flag it and recommend removal",
|
|
40721
|
+
pattern: "Decorative placeholder",
|
|
40722
|
+
why: "Adds no useful information and exists only to make a form look complete or visually consistent."
|
|
40723
|
+
},
|
|
40724
|
+
{
|
|
40725
|
+
instead: "Use helperMessage for persistent guidance. Use value or defaultValue for actual values.",
|
|
40726
|
+
pattern: "Placeholder used as guidance or a value",
|
|
40727
|
+
why: "Placeholders disappear, so do not use them for persistent guidance or actual values (for example, “8 characters minimum” or an existing account nickname)."
|
|
40728
|
+
},
|
|
40729
|
+
{
|
|
40730
|
+
instead: "Remove the prefix and, if the placeholder otherwise meets every criterion, show only the example.",
|
|
40731
|
+
pattern: "Example prefix in placeholder",
|
|
40732
|
+
why: "Prefixes such as “e.g.,” “eg,” or “for example” add visual noise."
|
|
40179
40733
|
},
|
|
40180
40734
|
{
|
|
40181
40735
|
instead: "Use Input.Text.SIZES",
|
|
40182
40736
|
pattern: "Legacy INPUT_SIZES constant",
|
|
40183
|
-
why: "Deprecated alias"
|
|
40737
|
+
why: "Deprecated alias."
|
|
40184
40738
|
},
|
|
40185
40739
|
{
|
|
40186
40740
|
instead: "Use isReadOnly on a text input",
|
|
40187
|
-
pattern: "Read-only content shown in a disabled
|
|
40188
|
-
why: "Disabled controls are skipped by assistive tech and look editable-but-broken"
|
|
40741
|
+
pattern: "Read-only content shown in a disabled text input",
|
|
40742
|
+
why: "Disabled controls are skipped by assistive tech and look editable-but-broken."
|
|
40189
40743
|
}
|
|
40190
40744
|
],
|
|
40191
40745
|
propGuidance: [
|
|
40192
40746
|
{
|
|
40193
|
-
guidance: "
|
|
40194
|
-
pitfall: "Placeholder text
|
|
40195
|
-
prop: "
|
|
40747
|
+
guidance: "Use title for the visible label on standard data-entry fields. For standalone Input.Text, use an external label or an accessible name appropriate to the surrounding pattern.",
|
|
40748
|
+
pitfall: "Placeholder text disappears after input and cannot provide an accessible name by itself. A compact field may omit the visible label only under the no-visible-label exception.",
|
|
40749
|
+
prop: "title (Form.Input.Text)"
|
|
40750
|
+
},
|
|
40751
|
+
{
|
|
40752
|
+
guidance: "Omit by default; use only for a short, nonessential cue that adds information beyond the label or helper text.",
|
|
40753
|
+
pitfall: "Never duplicate a visible label or rely on the deprecated Form.Input.Text title-to-placeholder fallback.",
|
|
40754
|
+
prop: "placeholder"
|
|
40755
|
+
},
|
|
40756
|
+
{
|
|
40757
|
+
guidance: "Use only when the placeholder independently satisfies every placeholder rule. Do not add placeholder text solely to control the input width.",
|
|
40758
|
+
pitfall: "Without a valid placeholder, use a fixed width or shrinkToValue instead.",
|
|
40759
|
+
prop: "shrinkToPlaceholder"
|
|
40196
40760
|
},
|
|
40197
40761
|
{
|
|
40198
40762
|
guidance: "Set inline error messages from form validation; never rely on toast for field errors.",
|
|
@@ -40255,7 +40819,7 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
|
|
|
40255
40819
|
},
|
|
40256
40820
|
{
|
|
40257
40821
|
name: "Label",
|
|
40258
|
-
note: "
|
|
40822
|
+
note: "Rendered from title by Form.Input.Text, or externally linked to standalone Input.Text",
|
|
40259
40823
|
relationship: ["complement"]
|
|
40260
40824
|
}
|
|
40261
40825
|
]
|
|
@@ -45201,6 +45765,42 @@ onError (client-side): runs if handler throws. Same format as onSuccess.`,
|
|
|
45201
45765
|
}
|
|
45202
45766
|
]
|
|
45203
45767
|
},
|
|
45768
|
+
RichTextEditorVariableOption: {
|
|
45769
|
+
additionalProperties: !1,
|
|
45770
|
+
id: "RichTextEditorVariableOption",
|
|
45771
|
+
properties: {
|
|
45772
|
+
name: {
|
|
45773
|
+
description: "Variable token name, such as employee.firstName.",
|
|
45774
|
+
type: "string"
|
|
45775
|
+
},
|
|
45776
|
+
category: {
|
|
45777
|
+
description: "Optional variable selector category.",
|
|
45778
|
+
type: "string"
|
|
45779
|
+
},
|
|
45780
|
+
example: {
|
|
45781
|
+
description: "Example replacement value.",
|
|
45782
|
+
type: "string"
|
|
45783
|
+
},
|
|
45784
|
+
is_translatable_variable: {
|
|
45785
|
+
description: "Whether the variable supports translation.",
|
|
45786
|
+
type: "boolean"
|
|
45787
|
+
},
|
|
45788
|
+
isDeprecated: {
|
|
45789
|
+
description: "Hides the variable from the insertion selector when true.",
|
|
45790
|
+
type: "boolean"
|
|
45791
|
+
},
|
|
45792
|
+
label: {
|
|
45793
|
+
description: "Label shown in the variable selector and chip.",
|
|
45794
|
+
type: "string"
|
|
45795
|
+
},
|
|
45796
|
+
tooltip: {
|
|
45797
|
+
description: "Variable help text.",
|
|
45798
|
+
type: "string"
|
|
45799
|
+
}
|
|
45800
|
+
},
|
|
45801
|
+
required: ["name", "label"],
|
|
45802
|
+
type: "object"
|
|
45803
|
+
},
|
|
45204
45804
|
SplitPaneAdaptation: {
|
|
45205
45805
|
additionalProperties: !1,
|
|
45206
45806
|
id: "SplitPaneAdaptation",
|
|
@@ -45323,7 +45923,7 @@ onError (client-side): runs if handler throws. Same format as onSuccess.`,
|
|
|
45323
45923
|
{ field: "relatedComponents", title: "Related components" },
|
|
45324
45924
|
{ field: "subComponents", title: "Sub-components" }
|
|
45325
45925
|
];
|
|
45326
|
-
function
|
|
45926
|
+
function No() {
|
|
45327
45927
|
return Object.fromEntries(
|
|
45328
45928
|
Object.entries(a).map(([e, i]) => [
|
|
45329
45929
|
e,
|
|
@@ -45331,7 +45931,7 @@ function Eo() {
|
|
|
45331
45931
|
])
|
|
45332
45932
|
);
|
|
45333
45933
|
}
|
|
45334
|
-
function
|
|
45934
|
+
function Mo() {
|
|
45335
45935
|
return Object.fromEntries(
|
|
45336
45936
|
Object.entries(m).map(([e, i]) => [
|
|
45337
45937
|
e,
|
|
@@ -45339,7 +45939,7 @@ function No() {
|
|
|
45339
45939
|
])
|
|
45340
45940
|
);
|
|
45341
45941
|
}
|
|
45342
|
-
function
|
|
45942
|
+
function Bo() {
|
|
45343
45943
|
return Object.fromEntries(
|
|
45344
45944
|
Object.entries(u).map(([e, i]) => [
|
|
45345
45945
|
e,
|
|
@@ -45347,13 +45947,13 @@ function Mo() {
|
|
|
45347
45947
|
])
|
|
45348
45948
|
);
|
|
45349
45949
|
}
|
|
45350
|
-
function
|
|
45950
|
+
function Fo() {
|
|
45351
45951
|
return u;
|
|
45352
45952
|
}
|
|
45353
|
-
function
|
|
45953
|
+
function jo() {
|
|
45354
45954
|
return w;
|
|
45355
45955
|
}
|
|
45356
|
-
function
|
|
45956
|
+
function qo(e) {
|
|
45357
45957
|
if (!Object.hasOwn(a, e))
|
|
45358
45958
|
throw new Error(
|
|
45359
45959
|
`Unknown component '${e}'. Available: ${Object.keys(a).join(", ")}`
|
|
@@ -45361,7 +45961,7 @@ function jo(e) {
|
|
|
45361
45961
|
const i = { ...a[e] };
|
|
45362
45962
|
return delete i.example, i;
|
|
45363
45963
|
}
|
|
45364
|
-
function
|
|
45964
|
+
function _o(e) {
|
|
45365
45965
|
if (!Object.hasOwn(a, e))
|
|
45366
45966
|
throw new Error(
|
|
45367
45967
|
`Unknown component '${e}'. Available: ${Object.keys(a).join(", ")}`
|
|
@@ -45372,14 +45972,14 @@ function qo(e) {
|
|
|
45372
45972
|
R
|
|
45373
45973
|
);
|
|
45374
45974
|
}
|
|
45375
|
-
function
|
|
45975
|
+
function Uo(e) {
|
|
45376
45976
|
if (!(e in m))
|
|
45377
45977
|
throw new Error(
|
|
45378
45978
|
`Unknown action '${e}'. Available: ${Object.keys(m).join(", ")}`
|
|
45379
45979
|
);
|
|
45380
45980
|
return m[e];
|
|
45381
45981
|
}
|
|
45382
|
-
function
|
|
45982
|
+
function Wo(e) {
|
|
45383
45983
|
if (!(e in u))
|
|
45384
45984
|
throw new Error(
|
|
45385
45985
|
`Unknown function '${e}'. Available: ${Object.keys(u).join(", ")}`
|
|
@@ -45390,7 +45990,7 @@ function E(e) {
|
|
|
45390
45990
|
return e ? e.slice(1).split("/").map((i) => i.replace(/~1/g, "/").replace(/~0/g, "~")).join(".") : "(root)";
|
|
45391
45991
|
}
|
|
45392
45992
|
function v(e, i) {
|
|
45393
|
-
const d = new
|
|
45993
|
+
const d = new T.Ajv2020({ allErrors: !0, strict: !1 });
|
|
45394
45994
|
d.removeKeyword("id");
|
|
45395
45995
|
const c = d.compile(e);
|
|
45396
45996
|
if (c(i)) return [];
|
|
@@ -45410,7 +46010,7 @@ const b = O({
|
|
|
45410
46010
|
supportsStandardDirectives: !0,
|
|
45411
46011
|
validateSchema: v
|
|
45412
46012
|
});
|
|
45413
|
-
function
|
|
46013
|
+
function Ho(e) {
|
|
45414
46014
|
const i = [], d = e.elements ?? {}, c = e.root;
|
|
45415
46015
|
c && !(c in d) && i.push(`Root element '${c}' not found in elements map`);
|
|
45416
46016
|
for (const [n, l] of Object.entries(d)) {
|
|
@@ -45428,11 +46028,11 @@ function Wo(e) {
|
|
|
45428
46028
|
))
|
|
45429
46029
|
i.push(`Element '${n}': ${h}`);
|
|
45430
46030
|
for (const [h, C] of Object.entries(r))
|
|
45431
|
-
for (const
|
|
46031
|
+
for (const x of b.nestedDirectiveErrors(
|
|
45432
46032
|
C,
|
|
45433
46033
|
h
|
|
45434
46034
|
))
|
|
45435
|
-
i.push(`Element '${n}': ${
|
|
46035
|
+
i.push(`Element '${n}': ${x}`);
|
|
45436
46036
|
}
|
|
45437
46037
|
const S = l.on ?? {}, g = p.events ?? [];
|
|
45438
46038
|
for (const r of Object.keys(S))
|
|
@@ -45448,7 +46048,7 @@ function Wo(e) {
|
|
|
45448
46048
|
}
|
|
45449
46049
|
return i;
|
|
45450
46050
|
}
|
|
45451
|
-
function
|
|
46051
|
+
function zo(e) {
|
|
45452
46052
|
return {
|
|
45453
46053
|
...k(e.root, e.state),
|
|
45454
46054
|
platform: "web",
|
|
@@ -45460,8 +46060,8 @@ export {
|
|
|
45460
46060
|
U as ActionCard,
|
|
45461
46061
|
W as AiIcon,
|
|
45462
46062
|
H as Alert,
|
|
45463
|
-
|
|
45464
|
-
|
|
46063
|
+
z as Animation,
|
|
46064
|
+
G as ApiError,
|
|
45465
46065
|
V as AppGroupLoader,
|
|
45466
46066
|
X as AppGroupSelect,
|
|
45467
46067
|
$ as AppNavBar,
|
|
@@ -45496,8 +46096,8 @@ export {
|
|
|
45496
46096
|
Se as Date,
|
|
45497
46097
|
Ie as DateInlineMulti,
|
|
45498
46098
|
Ce as DateRange,
|
|
45499
|
-
|
|
45500
|
-
|
|
46099
|
+
xe as DaySelector,
|
|
46100
|
+
Te as DistributionBar,
|
|
45501
46101
|
Oe as Divider,
|
|
45502
46102
|
De as DraggableList,
|
|
45503
46103
|
ke as DraggableListHandle,
|
|
@@ -45516,8 +46116,8 @@ export {
|
|
|
45516
46116
|
Ue as Form,
|
|
45517
46117
|
We as FormCheckbox,
|
|
45518
46118
|
He as FormCheckboxGroup,
|
|
45519
|
-
|
|
45520
|
-
|
|
46119
|
+
ze as FormContent,
|
|
46120
|
+
Ge as FormCurrency,
|
|
45521
46121
|
Ve as FormDate,
|
|
45522
46122
|
Xe as FormDateRange,
|
|
45523
46123
|
$e as FormDaySelector,
|
|
@@ -45550,8 +46150,8 @@ export {
|
|
|
45550
46150
|
It as FormTextAutoSuggest,
|
|
45551
46151
|
St as FormTextarea,
|
|
45552
46152
|
Ct as FormTime,
|
|
45553
|
-
|
|
45554
|
-
|
|
46153
|
+
xt as FormTimezone,
|
|
46154
|
+
Tt as FormTree,
|
|
45555
46155
|
Ot as FormTreeSelect,
|
|
45556
46156
|
Dt as FormWorkEmail,
|
|
45557
46157
|
kt as Grid,
|
|
@@ -45570,8 +46170,8 @@ export {
|
|
|
45570
46170
|
Ut as LabelGroup,
|
|
45571
46171
|
Wt as Layout,
|
|
45572
46172
|
Ht as LayoutCard,
|
|
45573
|
-
|
|
45574
|
-
|
|
46173
|
+
zt as Link,
|
|
46174
|
+
Gt as ListItem,
|
|
45575
46175
|
Vt as LoaderCard,
|
|
45576
46176
|
Xt as LocationCard,
|
|
45577
46177
|
$t as LottiePlayer,
|
|
@@ -45604,78 +46204,79 @@ export {
|
|
|
45604
46204
|
Si as RangeSlider,
|
|
45605
46205
|
Ii as RecordLookup,
|
|
45606
46206
|
Ci as ReportLoader,
|
|
45607
|
-
|
|
46207
|
+
Ti as ReportShareLoader,
|
|
45608
46208
|
Oi as ReportViewerLoader,
|
|
45609
|
-
|
|
46209
|
+
xi as Reports,
|
|
45610
46210
|
Di as ResizableBoard,
|
|
45611
46211
|
ki as Responsive,
|
|
45612
|
-
Ai as
|
|
45613
|
-
Pi as
|
|
45614
|
-
Li as
|
|
45615
|
-
Ri as
|
|
45616
|
-
Ei as
|
|
45617
|
-
Ni as
|
|
45618
|
-
Mi as
|
|
45619
|
-
Bi as
|
|
45620
|
-
Fi as
|
|
45621
|
-
ji as
|
|
45622
|
-
qi as
|
|
45623
|
-
_i as
|
|
45624
|
-
Ui as
|
|
45625
|
-
Wi as
|
|
45626
|
-
Hi as
|
|
46212
|
+
Ai as RichTextEditor,
|
|
46213
|
+
Pi as SegmentedControl,
|
|
46214
|
+
Li as Select,
|
|
46215
|
+
Ri as SelectableGroup,
|
|
46216
|
+
Ei as SelectableMenu,
|
|
46217
|
+
Ni as SettingsLoader,
|
|
46218
|
+
Mi as ShowMore,
|
|
46219
|
+
Bi as Signature,
|
|
46220
|
+
Fi as Sin,
|
|
46221
|
+
ji as Skeleton,
|
|
46222
|
+
qi as Slider,
|
|
46223
|
+
_i as SnackBar,
|
|
46224
|
+
Ui as Spinner,
|
|
46225
|
+
Wi as SplitButton,
|
|
46226
|
+
Hi as SplitPane,
|
|
46227
|
+
zi as Ssn,
|
|
45627
46228
|
Gi as Status,
|
|
45628
|
-
|
|
45629
|
-
|
|
45630
|
-
|
|
45631
|
-
|
|
45632
|
-
|
|
45633
|
-
|
|
45634
|
-
|
|
45635
|
-
|
|
45636
|
-
|
|
45637
|
-
|
|
45638
|
-
|
|
45639
|
-
|
|
45640
|
-
|
|
45641
|
-
|
|
45642
|
-
|
|
45643
|
-
|
|
45644
|
-
|
|
45645
|
-
|
|
45646
|
-
|
|
45647
|
-
|
|
45648
|
-
|
|
45649
|
-
|
|
45650
|
-
|
|
45651
|
-
|
|
46229
|
+
Vi as Stepper,
|
|
46230
|
+
Xi as SuperGrid,
|
|
46231
|
+
$i as SupportButton,
|
|
46232
|
+
Yi as Survey,
|
|
46233
|
+
Ki as Switch,
|
|
46234
|
+
Ji as Tab,
|
|
46235
|
+
Zi as TableBasic,
|
|
46236
|
+
Qi as Text,
|
|
46237
|
+
to as TextAutoSuggest,
|
|
46238
|
+
io as TextClip,
|
|
46239
|
+
oo as TextInput,
|
|
46240
|
+
no as TextSnippet,
|
|
46241
|
+
eo as Textarea,
|
|
46242
|
+
ao as Time,
|
|
46243
|
+
ro as TimeRange,
|
|
46244
|
+
so as Timezone,
|
|
46245
|
+
lo as Tip,
|
|
46246
|
+
po as TitleCaption,
|
|
46247
|
+
co as ToggleableArrow,
|
|
46248
|
+
uo as Tree,
|
|
46249
|
+
mo as TreeSelect,
|
|
46250
|
+
yo as VStack,
|
|
46251
|
+
ho as Video,
|
|
46252
|
+
go as WorkEmail,
|
|
45652
46253
|
To as arrayCompact,
|
|
45653
|
-
|
|
45654
|
-
|
|
45655
|
-
|
|
45656
|
-
|
|
45657
|
-
|
|
45658
|
-
|
|
45659
|
-
|
|
45660
|
-
|
|
45661
|
-
|
|
45662
|
-
|
|
45663
|
-
|
|
45664
|
-
|
|
45665
|
-
|
|
45666
|
-
|
|
45667
|
-
|
|
45668
|
-
|
|
45669
|
-
|
|
45670
|
-
|
|
45671
|
-
|
|
45672
|
-
|
|
45673
|
-
|
|
45674
|
-
|
|
45675
|
-
|
|
45676
|
-
|
|
45677
|
-
|
|
45678
|
-
|
|
45679
|
-
|
|
46254
|
+
Oo as arrayFilter,
|
|
46255
|
+
Do as arrayIncludes,
|
|
46256
|
+
ko as arrayMap,
|
|
46257
|
+
Ao as arraySome,
|
|
46258
|
+
Po as formatDate,
|
|
46259
|
+
Lo as formatDateTime,
|
|
46260
|
+
Ro as formatRelativeTime,
|
|
46261
|
+
Eo as formatTime,
|
|
46262
|
+
Uo as getAction,
|
|
46263
|
+
Mo as getActions,
|
|
46264
|
+
qo as getComponent,
|
|
46265
|
+
_o as getComponentMarkdown,
|
|
46266
|
+
No as getComponents,
|
|
46267
|
+
Fo as getComputedFunctions,
|
|
46268
|
+
jo as getDefs,
|
|
46269
|
+
Wo as getFunction,
|
|
46270
|
+
Bo as getFunctions,
|
|
46271
|
+
fo as invalidateSuperGridData,
|
|
46272
|
+
bo as navigate,
|
|
46273
|
+
wo as openChatAssistantWithMessage,
|
|
46274
|
+
vo as pushState,
|
|
46275
|
+
So as removeState,
|
|
46276
|
+
zo as render,
|
|
46277
|
+
Io as setState,
|
|
46278
|
+
Co as showNotification,
|
|
46279
|
+
xo as triggerFunction,
|
|
46280
|
+
Ho as validate
|
|
45680
46281
|
};
|
|
45681
46282
|
//# sourceMappingURL=index.js.map
|