@oxy.so/services 14.11.0 → 14.12.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.
Files changed (73) hide show
  1. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  2. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  3. package/lib/commonjs/assets/assets/fonts/icons/manifest.json +5 -4
  4. package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  5. package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  6. package/lib/commonjs/assets/fonts/icons/manifest.json +5 -4
  7. package/lib/commonjs/ui/icons/subsetGlyphMaps.js +1 -0
  8. package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
  9. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +16 -63
  10. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  11. package/lib/commonjs/ui/screens/ProfileLinkForm.js +125 -0
  12. package/lib/commonjs/ui/screens/ProfileLinkForm.js.map +1 -0
  13. package/lib/commonjs/ui/screens/ProfileLinksEditor.js +85 -0
  14. package/lib/commonjs/ui/screens/ProfileLinksEditor.js.map +1 -0
  15. package/lib/commonjs/ui/screens/linkFormat.js +22 -10
  16. package/lib/commonjs/ui/screens/linkFormat.js.map +1 -1
  17. package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  18. package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  19. package/lib/module/assets/assets/fonts/icons/manifest.json +5 -4
  20. package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  21. package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  22. package/lib/module/assets/fonts/icons/manifest.json +5 -4
  23. package/lib/module/ui/icons/subsetGlyphMaps.js +1 -0
  24. package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
  25. package/lib/module/ui/screens/EditProfileFieldScreen.js +17 -65
  26. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  27. package/lib/module/ui/screens/ProfileLinkForm.js +121 -0
  28. package/lib/module/ui/screens/ProfileLinkForm.js.map +1 -0
  29. package/lib/module/ui/screens/ProfileLinksEditor.js +81 -0
  30. package/lib/module/ui/screens/ProfileLinksEditor.js.map +1 -0
  31. package/lib/module/ui/screens/linkFormat.js +21 -9
  32. package/lib/module/ui/screens/linkFormat.js.map +1 -1
  33. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
  34. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
  35. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +1 -0
  36. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
  37. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  38. package/lib/typescript/commonjs/ui/screens/ProfileLinkForm.d.ts +18 -0
  39. package/lib/typescript/commonjs/ui/screens/ProfileLinkForm.d.ts.map +1 -0
  40. package/lib/typescript/commonjs/ui/screens/ProfileLinksEditor.d.ts +14 -0
  41. package/lib/typescript/commonjs/ui/screens/ProfileLinksEditor.d.ts.map +1 -0
  42. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +14 -2
  43. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +1 -1
  44. package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
  45. package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
  46. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +1 -0
  47. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
  48. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  49. package/lib/typescript/module/ui/screens/ProfileLinkForm.d.ts +18 -0
  50. package/lib/typescript/module/ui/screens/ProfileLinkForm.d.ts.map +1 -0
  51. package/lib/typescript/module/ui/screens/ProfileLinksEditor.d.ts +14 -0
  52. package/lib/typescript/module/ui/screens/ProfileLinksEditor.d.ts.map +1 -0
  53. package/lib/typescript/module/ui/screens/linkFormat.d.ts +14 -2
  54. package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +1 -1
  55. package/package.json +5 -5
  56. package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  57. package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  58. package/src/assets/fonts/icons/manifest.json +5 -4
  59. package/src/ui/icons/subsetGlyphMaps.ts +1 -0
  60. package/src/ui/screens/EditProfileFieldScreen.tsx +19 -85
  61. package/src/ui/screens/ProfileLinkForm.tsx +131 -0
  62. package/src/ui/screens/ProfileLinksEditor.tsx +98 -0
  63. package/src/ui/screens/__tests__/linkFormat.test.ts +51 -8
  64. package/src/ui/screens/linkFormat.ts +28 -9
  65. package/lib/commonjs/ui/screens/LinkListEditor.js +0 -105
  66. package/lib/commonjs/ui/screens/LinkListEditor.js.map +0 -1
  67. package/lib/module/ui/screens/LinkListEditor.js +0 -99
  68. package/lib/module/ui/screens/LinkListEditor.js.map +0 -1
  69. package/lib/typescript/commonjs/ui/screens/LinkListEditor.d.ts +0 -25
  70. package/lib/typescript/commonjs/ui/screens/LinkListEditor.d.ts.map +0 -1
  71. package/lib/typescript/module/ui/screens/LinkListEditor.d.ts +0 -25
  72. package/lib/typescript/module/ui/screens/LinkListEditor.d.ts.map +0 -1
  73. package/src/ui/screens/LinkListEditor.tsx +0 -113
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+
3
+ import { View } from 'react-native';
4
+ import { Button } from '@oxy.so/bloom/button';
5
+ import { Chip } from '@oxy.so/bloom/chip';
6
+ import { SortableChipRow } from '@oxy.so/bloom/sortable-chip-row';
7
+ import { surfaces } from '@oxy.so/bloom/surfaces';
8
+ import { PROFILE_LINKS_MAX } from '@oxy.so/contracts/client';
9
+ import { useI18n } from "../hooks/useI18n.js";
10
+ import { ProfileLinkForm } from "./ProfileLinkForm.js";
11
+ import { applyLinkFormResult, getLinkTitle } from "./linkFormat.js";
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ let linkCounter = 0;
14
+ /** A fresh id for a link added in this editing session. */
15
+ const newLinkId = () => {
16
+ linkCounter += 1;
17
+ return `link-new-${Date.now().toString(36)}-${linkCounter}`;
18
+ };
19
+
20
+ /** The text a link's pill shows: its title, else its address without the scheme. */
21
+ const pillLabel = item => item.title || getLinkTitle(item.url);
22
+
23
+ /**
24
+ * The profile's links as pills, in the order they are shown, reordered by
25
+ * dragging. Tapping a pill edits that link; "Add link" appears until the profile
26
+ * holds the maximum. Changes stay local until the profile is saved.
27
+ */
28
+ export function ProfileLinksEditor({
29
+ items,
30
+ onChange,
31
+ disabled = false
32
+ }) {
33
+ const {
34
+ t
35
+ } = useI18n();
36
+ const openForm = async index => {
37
+ const link = index === null ? undefined : items[index];
38
+ const result = await surfaces.present(surface => /*#__PURE__*/_jsx(ProfileLinkForm, {
39
+ surface: surface,
40
+ link: link,
41
+ existingUrls: items.filter((_, i) => i !== index).map(item => item.url)
42
+ }));
43
+ if (!result) return;
44
+ onChange(applyLinkFormResult(items, index, result, PROFILE_LINKS_MAX, newLinkId));
45
+ };
46
+ const rowItems = items.map((item, index) => ({
47
+ key: item.id,
48
+ label: pillLabel(item),
49
+ node: /*#__PURE__*/_jsx(Chip, {
50
+ size: "md",
51
+ variant: "subtle",
52
+ accessibilityLabel: t('editProfile.items.links.editLink', {
53
+ defaultValue: 'Edit {{label}}',
54
+ label: pillLabel(item)
55
+ }),
56
+ onPress: () => void openForm(index),
57
+ disabled: disabled,
58
+ children: pillLabel(item)
59
+ })
60
+ }));
61
+ return /*#__PURE__*/_jsx(SortableChipRow, {
62
+ items: rowItems,
63
+ disabled: disabled,
64
+ onReorder: keys => {
65
+ const byKey = new Map(items.map(item => [item.id, item]));
66
+ onChange(keys.flatMap(key => byKey.has(key) ? [byKey.get(key)] : []));
67
+ },
68
+ accessibilityLabel: t('editProfile.items.links.title') || 'Links',
69
+ trailing: items.length < PROFILE_LINKS_MAX ? /*#__PURE__*/_jsx(View, {
70
+ children: /*#__PURE__*/_jsx(Button, {
71
+ appearance: "outline",
72
+ tone: "neutral",
73
+ size: "sm",
74
+ disabled: disabled,
75
+ onPress: () => void openForm(null),
76
+ children: t('editProfile.items.links.form.add') || 'Add link'
77
+ })
78
+ }) : null
79
+ });
80
+ }
81
+ //# sourceMappingURL=ProfileLinksEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["View","Button","Chip","SortableChipRow","surfaces","PROFILE_LINKS_MAX","useI18n","ProfileLinkForm","applyLinkFormResult","getLinkTitle","jsx","_jsx","linkCounter","newLinkId","Date","now","toString","pillLabel","item","title","url","ProfileLinksEditor","items","onChange","disabled","t","openForm","index","link","undefined","result","present","surface","existingUrls","filter","_","i","map","rowItems","key","id","label","node","size","variant","accessibilityLabel","defaultValue","onPress","children","onReorder","keys","byKey","Map","flatMap","has","get","trailing","length","appearance","tone"],"sourceRoot":"../../../../src","sources":["ui/screens/ProfileLinksEditor.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,eAAe,QAAQ,iCAAiC;AACjE,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,iBAAiB,QAAQ,0BAA0B;AAC5D,SAASC,OAAO,QAAQ,qBAAkB;AAC1C,SAASC,eAAe,QAAQ,sBAAmB;AACnD,SACEC,mBAAmB,EACnBC,YAAY,QAGP,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAQtB,IAAIC,WAAW,GAAG,CAAC;AACnB;AACA,MAAMC,SAAS,GAAGA,CAAA,KAAc;EAC9BD,WAAW,IAAI,CAAC;EAChB,OAAO,YAAYE,IAAI,CAACC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ACL;EACL,CACF,CAAC;AAEN","ignoreList":[]}
@@ -85,15 +85,27 @@ export function clampLinkTitle(title) {
85
85
  return Array.from(title).slice(0, PROFILE_LINK_TITLE_MAX).join('');
86
86
  }
87
87
 
88
- /** A copy of the list with the entry at the index moved one place: -1 up, +1 down. */
89
- export function moveLinkItem(items, index, delta) {
90
- const target = index + delta;
91
- if (index < 0 || index >= items.length || target < 0 || target >= items.length) {
92
- return [...items];
88
+ /** What the link form hands back when it is dismissed. */
89
+
90
+ /**
91
+ * The list after a link form result. A save appends a new link (if the profile
92
+ * has room) or replaces the link at `index`; a remove drops it. `newId` makes
93
+ * the id of an appended link, so the caller decides how ids are minted.
94
+ */
95
+ export function applyLinkFormResult(items, index, result, maxLinks, newId) {
96
+ if (result.kind === 'remove') {
97
+ return index === null ? [...items] : items.filter((_, i) => i !== index);
98
+ }
99
+ const title = clampLinkTitle(result.title.trim());
100
+ const saved = {
101
+ id: index === null ? newId() : items[index]?.id ?? newId(),
102
+ url: result.url,
103
+ title,
104
+ description: getLinkDescription(result.url)
105
+ };
106
+ if (index === null) {
107
+ return items.length >= maxLinks ? [...items] : [...items, saved];
93
108
  }
94
- const next = [...items];
95
- const [moved] = next.splice(index, 1);
96
- next.splice(target, 0, moved);
97
- return next;
109
+ return items.map((item, i) => i === index ? saved : item);
98
110
  }
99
111
  //# sourceMappingURL=linkFormat.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["PROFILE_LINK_TITLE_MAX","getLinkTitle","url","replace","getLinkDescription","linksToListItems","links","map","item","i","String","id","title","description","normalizeLinkInput","input","trimmed","trim","error","hasScheme","test","parsed","URL","protocol","hostname","includes","toString","linkIdentity","host","toLowerCase","path","pathname","search","clampLinkTitle","Array","from","slice","join","moveLinkItem","items","index","delta","target","length","next","moved","splice"],"sourceRoot":"../../../../src","sources":["ui/screens/linkFormat.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,SAASA,sBAAsB,QAAQ,0BAA0B;;AAEjE;AACA,OAAO,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MAAM,CAACM,KAAK,CAAC,GAAGD,IAAI,CAACE,MAAM,CAACN,KAAK,EAAE,CAAC,CAAC;EACrCI,IAAI,CAACE,MAAM,CAACJ,MAAM,EAAE,CAAC,EAAEG,KAAU,CAAC;EAClC,OAAOD,IAAI;AACb","ignoreList":[]}
1
+ {"version":3,"names":["PROFILE_LINK_TITLE_MAX","getLinkTitle","url","replace","getLinkDescription","linksToListItems","links","map","item","i","String","id","title","description","normalizeLinkInput","input","trimmed","trim","error","hasScheme","test","parsed","URL","protocol","hostname","includes","toString","linkIdentity","host","toLowerCase","path","pathname","search","clampLinkTitle","Array","from","slice","join","applyLinkFormResult","items","index","result","maxLinks","newId","kind","filter","_","saved","length"],"sourceRoot":"../../../../src","sources":["ui/screens/linkFormat.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,SAASA,sBAAsB,QAAQ,0BAA0B;;AAEjE;AACA,OAAO,MAAMC,YAAY,GAAIC,GAAW,IACtCA,GAAG,CAACC,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,CAACA,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;;AAEpD;AACA,OAAO,MAAMC,kBAAkB,GAAIF,GAAW,IAAa,WAAWA,GAAG,EAAE;AAS3E;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASG,gBAAgBA,CAACC,KAAyB,EAAkB;EAC1E,OAAOA,KAAK,CAACC,GAAG,CAAC,CAACC,IAAI,EAAEC,CAAC,KAAK;IAC5B,MAAMP,GAAG,GAAGQ,MAAM,CAACF,IAAI,IAAI,EAAE,CAAC;IAC9B,OAAO;MACLG,EAAE,EAAE,QAAQF,CAAC,EAAE;MACfP,GAAG;MACHU,KAAK,EAAEX,YAAY,CAACC,GAAG,CAAC;MACxBW,WAAW,EAAET,kBAAkB,CAACF,GAAG;IACrC,CAAC;EACH,CAAC,CAAC;AACJ;;AAEA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASY,kBAAkBA,CAACC,KAAa,E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ignoreList":[]}
@@ -1,4 +1,4 @@
1
1
  /** Glyphs are decorative: hidden from assistive technology (see `decorativeIconSet`). */
2
- declare const Ionicons: import("@expo/vector-icons/build/createIconSet").Icon<"push" | "infinite" | "code" | "business" | "navigate" | "key" | "open" | "add" | "search" | "list" | "settings" | "trash" | "wallet" | "link" | "text" | "scale" | "image" | "alert" | "radio" | "grid" | "warning" | "people" | "ellipse" | "add-circle-outline" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-back" | "arrow-down" | "arrow-forward" | "arrow-undo" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "bulb" | "business-outline" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "cash-outline" | "chatbubble" | "checkmark" | "checkmark-circle" | "chevron-back" | "chevron-down" | "chevron-forward" | "chevron-up" | "close" | "close-circle" | "cloud-offline-outline" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "construct-outline" | "copy-outline" | "cube-outline" | "desktop" | "document" | "document-outline" | "document-text" | "documents" | "download" | "download-outline" | "earth" | "ellipse-outline" | "ellipsis-horizontal" | "eye" | "eye-off-outline" | "filter-outline" | "flame" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "footsteps" | "gift" | "gift-outline" | "hand-left" | "hardware-chip-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "hourglass-outline" | "image-outline" | "images" | "images-outline" | "information" | "information-circle" | "information-outline" | "leaf" | "library" | "link-outline" | "location" | "location-outline" | "lock-closed" | "log-out-outline" | "mail" | "musical-notes" | "pencil-outline" | "people-outline" | "play" | "pricetag-outline" | "pulse" | "qr-code-outline" | "receipt-outline" | "refresh-outline" | "remove" | "repeat-outline" | "resize" | "rocket" | "school-outline" | "search-outline" | "server" | "share-outline" | "shield" | "shield-checkmark" | "shield-checkmark-outline" | "star" | "swap-horizontal-outline" | "swap-vertical-outline" | "sync" | "time-outline" | "trash-outline" | "trophy" | "trophy-outline" | "videocam" | "volume-off" | "wallet-outline" | "watch" | "wifi", "OxyServicesIonicons">;
2
+ declare const Ionicons: import("@expo/vector-icons/build/createIconSet").Icon<"push" | "infinite" | "code" | "business" | "navigate" | "key" | "open" | "add" | "search" | "list" | "settings" | "trash" | "wallet" | "link" | "text" | "scale" | "image" | "alert" | "radio" | "grid" | "warning" | "people" | "ellipse" | "add-circle-outline" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-back" | "arrow-down" | "arrow-forward" | "arrow-undo" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "bulb" | "business-outline" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "cash-outline" | "chatbubble" | "checkmark" | "checkmark-circle" | "chevron-back" | "chevron-down" | "chevron-forward" | "chevron-up" | "close" | "close-circle" | "cloud-offline-outline" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "construct-outline" | "copy-outline" | "cube-outline" | "desktop" | "document" | "document-outline" | "document-text" | "documents" | "download" | "download-outline" | "earth" | "ellipse-outline" | "ellipsis-horizontal" | "eye" | "eye-off-outline" | "filter-outline" | "flame" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "footsteps" | "gift" | "gift-outline" | "hand-left" | "hardware-chip-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "hourglass-outline" | "image-outline" | "images" | "images-outline" | "information" | "information-circle" | "information-outline" | "leaf" | "library" | "link-outline" | "location" | "location-outline" | "lock-closed" | "log-out-outline" | "mail" | "musical-notes" | "pencil-outline" | "people-outline" | "play" | "pricetag-outline" | "pulse" | "qr-code-outline" | "receipt-outline" | "refresh-outline" | "remove" | "repeat-outline" | "resize" | "rocket" | "save" | "school-outline" | "search-outline" | "server" | "share-outline" | "shield" | "shield-checkmark" | "shield-checkmark-outline" | "star" | "swap-horizontal-outline" | "swap-vertical-outline" | "sync" | "time-outline" | "trash-outline" | "trophy" | "trophy-outline" | "videocam" | "volume-off" | "wallet-outline" | "watch" | "wifi", "OxyServicesIonicons">;
3
3
  export default Ionicons;
4
4
  //# sourceMappingURL=Ionicons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Ionicons.d.ts","sourceRoot":"","sources":["../../../../../src/ui/icons/Ionicons.ts"],"names":[],"mappings":"AAKA,yFAAyF;AACzF,QAAA,MAAM,QAAQ,4pEAGb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Ionicons.d.ts","sourceRoot":"","sources":["../../../../../src/ui/icons/Ionicons.ts"],"names":[],"mappings":"AAKA,yFAAyF;AACzF,QAAA,MAAM,QAAQ,qqEAGb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -111,6 +111,7 @@ export declare const ioniconsGlyphMap: {
111
111
  readonly "repeat-outline": 62768;
112
112
  readonly resize: 62770;
113
113
  readonly rocket: 62791;
114
+ readonly save: 62800;
114
115
  readonly scale: 62803;
115
116
  readonly "school-outline": 62813;
116
117
  readonly search: 62815;
@@ -1 +1 @@
1
- {"version":3,"file":"subsetGlyphMaps.d.ts","sourceRoot":"","sources":["../../../../../src/ui/icons/subsetGlyphMaps.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4InB,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoMjC,CAAC"}
1
+ {"version":3,"file":"subsetGlyphMaps.d.ts","sourceRoot":"","sources":["../../../../../src/ui/icons/subsetGlyphMaps.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6InB,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoMjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EditProfileFieldScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/EditProfileFieldScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AA4C3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,aAAa,GACb,UAAU,GACV,KAAK,GACL,OAAO,GACP,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,GACP,UAAU,CAAC;AA4Bf,UAAU,2BAA4B,SAAQ,eAAe;IAC3D,6BAA6B;IAC7B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;;AA0uBD,wBAAkD"}
1
+ {"version":3,"file":"EditProfileFieldScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/EditProfileFieldScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAoC3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,aAAa,GACb,UAAU,GACV,KAAK,GACL,OAAO,GACP,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,GACP,UAAU,CAAC;AA4Bf,UAAU,2BAA4B,SAAQ,eAAe;IAC3D,6BAA6B;IAC7B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;;AAgrBD,wBAAkD"}
@@ -0,0 +1,18 @@
1
+ import type { SurfaceControls } from '@oxy.so/bloom/surfaces';
2
+ import { type LinkListItem } from './linkFormat';
3
+ interface ProfileLinkFormProps {
4
+ /** The presenting surface (from `surfaces.present`); its dismiss result is the form's answer. */
5
+ surface: SurfaceControls;
6
+ /** The link being edited. Absent when adding one. */
7
+ link?: LinkListItem;
8
+ /** The addresses already on the profile, other than this link's own. */
9
+ existingUrls: readonly string[];
10
+ }
11
+ /**
12
+ * The form for one profile link: its address and an optional title. Saving
13
+ * dismisses the surface with the link to keep; removing dismisses it with a
14
+ * remove. A blank title is left blank, so the profile shows the address.
15
+ */
16
+ export declare function ProfileLinkForm({ surface, link, existingUrls }: ProfileLinkFormProps): import("react").JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=ProfileLinkForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileLinkForm.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/ProfileLinkForm.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAI9D,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,cAAc,CAAC;AAEtB,UAAU,oBAAoB;IAC5B,iGAAiG;IACjG,OAAO,EAAE,eAAe,CAAC;IACzB,qDAAqD;IACrD,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,wEAAwE;IACxE,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;CACjC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,oBAAoB,+BAkGpF"}
@@ -0,0 +1,14 @@
1
+ import { type LinkListItem } from './linkFormat';
2
+ interface ProfileLinksEditorProps {
3
+ items: LinkListItem[];
4
+ onChange: (items: LinkListItem[]) => void;
5
+ disabled?: boolean;
6
+ }
7
+ /**
8
+ * The profile's links as pills, in the order they are shown, reordered by
9
+ * dragging. Tapping a pill edits that link; "Add link" appears until the profile
10
+ * holds the maximum. Changes stay local until the profile is saved.
11
+ */
12
+ export declare function ProfileLinksEditor({ items, onChange, disabled }: ProfileLinksEditorProps): import("react").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=ProfileLinksEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileLinksEditor.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/ProfileLinksEditor.tsx"],"names":[],"mappings":"AAQA,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,cAAc,CAAC;AAEtB,UAAU,uBAAuB;IAC/B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAgB,EAAE,EAAE,uBAAuB,+BA6DhG"}
@@ -36,6 +36,18 @@ export declare function normalizeLinkInput(input: string): {
36
36
  export declare function linkIdentity(url: string): string;
37
37
  /** Trim a title to the editor's limit, counting characters rather than UTF-16 units. */
38
38
  export declare function clampLinkTitle(title: string): string;
39
- /** A copy of the list with the entry at the index moved one place: -1 up, +1 down. */
40
- export declare function moveLinkItem<T>(items: readonly T[], index: number, delta: -1 | 1): T[];
39
+ /** What the link form hands back when it is dismissed. */
40
+ export type LinkFormResult = {
41
+ kind: 'save';
42
+ url: string;
43
+ title: string;
44
+ } | {
45
+ kind: 'remove';
46
+ };
47
+ /**
48
+ * The list after a link form result. A save appends a new link (if the profile
49
+ * has room) or replaces the link at `index`; a remove drops it. `newId` makes
50
+ * the id of an appended link, so the caller decides how ids are minted.
51
+ */
52
+ export declare function applyLinkFormResult(items: readonly LinkListItem[], index: number | null, result: LinkFormResult, maxLinks: number, newId: () => string): LinkListItem[];
41
53
  //# sourceMappingURL=linkFormat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"linkFormat.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/linkFormat.ts"],"names":[],"mappings":"AAMA,6EAA6E;AAC7E,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,KAAG,MACS,CAAC;AAErD,iDAAiD;AACjD,eAAO,MAAM,kBAAkB,GAAI,KAAK,MAAM,KAAG,MAA0B,CAAC;AAE5E,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,OAAO,EAAE,GAAG,YAAY,EAAE,CAU1E;AAED,uDAAuD;AACvD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,eAAe,GAAG,OAAO,CAAC;AAE1F;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,cAAc,CAAA;CAAE,CAgB7F;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAShD;AAED,wFAAwF;AACxF,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED,sFAAsF;AACtF,wBAA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AE,CAAC;AAE/F;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,SAAS,YAAY,EAAE,EAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,MAAM,EAAE,cAAc,EACtB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,MAAM,GAClB,YAAY,EAAE,CAehB"}
@@ -1,4 +1,4 @@
1
1
  /** Glyphs are decorative: hidden from assistive technology (see `decorativeIconSet`). */
2
- declare const Ionicons: import("@expo/vector-icons/build/createIconSet").Icon<"push" | "infinite" | "code" | "business" | "navigate" | "key" | "open" | "add" | "search" | "list" | "settings" | "trash" | "wallet" | "link" | "text" | "scale" | "image" | "alert" | "radio" | "grid" | "warning" | "people" | "ellipse" | "add-circle-outline" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-back" | "arrow-down" | "arrow-forward" | "arrow-undo" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "bulb" | "business-outline" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "cash-outline" | "chatbubble" | "checkmark" | "checkmark-circle" | "chevron-back" | "chevron-down" | "chevron-forward" | "chevron-up" | "close" | "close-circle" | "cloud-offline-outline" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "construct-outline" | "copy-outline" | "cube-outline" | "desktop" | "document" | "document-outline" | "document-text" | "documents" | "download" | "download-outline" | "earth" | "ellipse-outline" | "ellipsis-horizontal" | "eye" | "eye-off-outline" | "filter-outline" | "flame" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "footsteps" | "gift" | "gift-outline" | "hand-left" | "hardware-chip-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "hourglass-outline" | "image-outline" | "images" | "images-outline" | "information" | "information-circle" | "information-outline" | "leaf" | "library" | "link-outline" | "location" | "location-outline" | "lock-closed" | "log-out-outline" | "mail" | "musical-notes" | "pencil-outline" | "people-outline" | "play" | "pricetag-outline" | "pulse" | "qr-code-outline" | "receipt-outline" | "refresh-outline" | "remove" | "repeat-outline" | "resize" | "rocket" | "school-outline" | "search-outline" | "server" | "share-outline" | "shield" | "shield-checkmark" | "shield-checkmark-outline" | "star" | "swap-horizontal-outline" | "swap-vertical-outline" | "sync" | "time-outline" | "trash-outline" | "trophy" | "trophy-outline" | "videocam" | "volume-off" | "wallet-outline" | "watch" | "wifi", "OxyServicesIonicons">;
2
+ declare const Ionicons: import("@expo/vector-icons/build/createIconSet").Icon<"push" | "infinite" | "code" | "business" | "navigate" | "key" | "open" | "add" | "search" | "list" | "settings" | "trash" | "wallet" | "link" | "text" | "scale" | "image" | "alert" | "radio" | "grid" | "warning" | "people" | "ellipse" | "add-circle-outline" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-back" | "arrow-down" | "arrow-forward" | "arrow-undo" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "bulb" | "business-outline" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "cash-outline" | "chatbubble" | "checkmark" | "checkmark-circle" | "chevron-back" | "chevron-down" | "chevron-forward" | "chevron-up" | "close" | "close-circle" | "cloud-offline-outline" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "construct-outline" | "copy-outline" | "cube-outline" | "desktop" | "document" | "document-outline" | "document-text" | "documents" | "download" | "download-outline" | "earth" | "ellipse-outline" | "ellipsis-horizontal" | "eye" | "eye-off-outline" | "filter-outline" | "flame" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "footsteps" | "gift" | "gift-outline" | "hand-left" | "hardware-chip-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "hourglass-outline" | "image-outline" | "images" | "images-outline" | "information" | "information-circle" | "information-outline" | "leaf" | "library" | "link-outline" | "location" | "location-outline" | "lock-closed" | "log-out-outline" | "mail" | "musical-notes" | "pencil-outline" | "people-outline" | "play" | "pricetag-outline" | "pulse" | "qr-code-outline" | "receipt-outline" | "refresh-outline" | "remove" | "repeat-outline" | "resize" | "rocket" | "save" | "school-outline" | "search-outline" | "server" | "share-outline" | "shield" | "shield-checkmark" | "shield-checkmark-outline" | "star" | "swap-horizontal-outline" | "swap-vertical-outline" | "sync" | "time-outline" | "trash-outline" | "trophy" | "trophy-outline" | "videocam" | "volume-off" | "wallet-outline" | "watch" | "wifi", "OxyServicesIonicons">;
3
3
  export default Ionicons;
4
4
  //# sourceMappingURL=Ionicons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Ionicons.d.ts","sourceRoot":"","sources":["../../../../../src/ui/icons/Ionicons.ts"],"names":[],"mappings":"AAKA,yFAAyF;AACzF,QAAA,MAAM,QAAQ,4pEAGb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Ionicons.d.ts","sourceRoot":"","sources":["../../../../../src/ui/icons/Ionicons.ts"],"names":[],"mappings":"AAKA,yFAAyF;AACzF,QAAA,MAAM,QAAQ,qqEAGb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -111,6 +111,7 @@ export declare const ioniconsGlyphMap: {
111
111
  readonly "repeat-outline": 62768;
112
112
  readonly resize: 62770;
113
113
  readonly rocket: 62791;
114
+ readonly save: 62800;
114
115
  readonly scale: 62803;
115
116
  readonly "school-outline": 62813;
116
117
  readonly search: 62815;
@@ -1 +1 @@
1
- {"version":3,"file":"subsetGlyphMaps.d.ts","sourceRoot":"","sources":["../../../../../src/ui/icons/subsetGlyphMaps.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4InB,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoMjC,CAAC"}
1
+ {"version":3,"file":"subsetGlyphMaps.d.ts","sourceRoot":"","sources":["../../../../../src/ui/icons/subsetGlyphMaps.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6InB,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoMjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EditProfileFieldScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/EditProfileFieldScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AA4C3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,aAAa,GACb,UAAU,GACV,KAAK,GACL,OAAO,GACP,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,GACP,UAAU,CAAC;AA4Bf,UAAU,2BAA4B,SAAQ,eAAe;IAC3D,6BAA6B;IAC7B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;;AA0uBD,wBAAkD"}
1
+ {"version":3,"file":"EditProfileFieldScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/EditProfileFieldScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AAoC3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,aAAa,GACb,UAAU,GACV,KAAK,GACL,OAAO,GACP,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,GACP,UAAU,CAAC;AA4Bf,UAAU,2BAA4B,SAAQ,eAAe;IAC3D,6BAA6B;IAC7B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;;AAgrBD,wBAAkD"}
@@ -0,0 +1,18 @@
1
+ import type { SurfaceControls } from '@oxy.so/bloom/surfaces';
2
+ import { type LinkListItem } from './linkFormat.js';
3
+ interface ProfileLinkFormProps {
4
+ /** The presenting surface (from `surfaces.present`); its dismiss result is the form's answer. */
5
+ surface: SurfaceControls;
6
+ /** The link being edited. Absent when adding one. */
7
+ link?: LinkListItem;
8
+ /** The addresses already on the profile, other than this link's own. */
9
+ existingUrls: readonly string[];
10
+ }
11
+ /**
12
+ * The form for one profile link: its address and an optional title. Saving
13
+ * dismisses the surface with the link to keep; removing dismisses it with a
14
+ * remove. A blank title is left blank, so the profile shows the address.
15
+ */
16
+ export declare function ProfileLinkForm({ surface, link, existingUrls }: ProfileLinkFormProps): import("react").JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=ProfileLinkForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileLinkForm.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/ProfileLinkForm.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAI9D,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,iBAAc,CAAC;AAEtB,UAAU,oBAAoB;IAC5B,iGAAiG;IACjG,OAAO,EAAE,eAAe,CAAC;IACzB,qDAAqD;IACrD,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,wEAAwE;IACxE,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;CACjC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,oBAAoB,+BAkGpF"}
@@ -0,0 +1,14 @@
1
+ import { type LinkListItem } from './linkFormat.js';
2
+ interface ProfileLinksEditorProps {
3
+ items: LinkListItem[];
4
+ onChange: (items: LinkListItem[]) => void;
5
+ disabled?: boolean;
6
+ }
7
+ /**
8
+ * The profile's links as pills, in the order they are shown, reordered by
9
+ * dragging. Tapping a pill edits that link; "Add link" appears until the profile
10
+ * holds the maximum. Changes stay local until the profile is saved.
11
+ */
12
+ export declare function ProfileLinksEditor({ items, onChange, disabled }: ProfileLinksEditorProps): import("react").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=ProfileLinksEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileLinksEditor.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/ProfileLinksEditor.tsx"],"names":[],"mappings":"AAQA,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,iBAAc,CAAC;AAEtB,UAAU,uBAAuB;IAC/B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAgB,EAAE,EAAE,uBAAuB,+BA6DhG"}
@@ -36,6 +36,18 @@ export declare function normalizeLinkInput(input: string): {
36
36
  export declare function linkIdentity(url: string): string;
37
37
  /** Trim a title to the editor's limit, counting characters rather than UTF-16 units. */
38
38
  export declare function clampLinkTitle(title: string): string;
39
- /** A copy of the list with the entry at the index moved one place: -1 up, +1 down. */
40
- export declare function moveLinkItem<T>(items: readonly T[], index: number, delta: -1 | 1): T[];
39
+ /** What the link form hands back when it is dismissed. */
40
+ export type LinkFormResult = {
41
+ kind: 'save';
42
+ url: string;
43
+ title: string;
44
+ } | {
45
+ kind: 'remove';
46
+ };
47
+ /**
48
+ * The list after a link form result. A save appends a new link (if the profile
49
+ * has room) or replaces the link at `index`; a remove drops it. `newId` makes
50
+ * the id of an appended link, so the caller decides how ids are minted.
51
+ */
52
+ export declare function applyLinkFormResult(items: readonly LinkListItem[], index: number | null, result: LinkFormResult, maxLinks: number, newId: () => string): LinkListItem[];
41
53
  //# sourceMappingURL=linkFormat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"linkFormat.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/linkFormat.ts"],"names":[],"mappings":"AAMA,6EAA6E;AAC7E,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,KAAG,MACS,CAAC;AAErD,iDAAiD;AACjD,eAAO,MAAM,kBAAkB,GAAI,KAAK,MAAM,KAAG,MAA0B,CAAC;AAE5E,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,OAAO,EAAE,GAAG,YAAY,EAAE,CAU1E;AAED,uDAAuD;AACvD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,eAAe,GAAG,OAAO,CAAC;AAE1F;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GAA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CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED,0DAA0D;AAC1D,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAE/F;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,SAAS,YAAY,EAAE,EAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,MAAM,EAAE,cAAc,EACtB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,MAAM,GAClB,YAAY,EAAE,CAehB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxy.so/services",
3
- "version": "14.11.0",
3
+ "version": "14.12.0",
4
4
  "description": "OxyHQ Expo/React Native SDK — UI components, screens, and native features",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -183,7 +183,7 @@
183
183
  "devDependencies": {
184
184
  "@expo/app-integrity": "~58.0.2",
185
185
  "@expo/vector-icons": "^15.1.1",
186
- "@oxy.so/core": "7.34.0",
186
+ "@oxy.so/core": "7.35.0",
187
187
  "@react-native-async-storage/async-storage": "^3.1.1",
188
188
  "@react-native-community/netinfo": "^12.0.1",
189
189
  "@react-native/babel-preset": "^0.88.1",
@@ -196,7 +196,7 @@
196
196
  "@types/jest": "^30.0.0",
197
197
  "@types/node": "^26.6.6",
198
198
  "@types/react": "*",
199
- "@oxy.so/bloom": "17.8.1",
199
+ "@oxy.so/bloom": "17.15.0",
200
200
  "copyfiles": "^2.4.1",
201
201
  "expo-clipboard": "~58.0.4",
202
202
  "expo-constants": "~58.0.15",
@@ -229,13 +229,13 @@
229
229
  "zustand": "^5.0.16",
230
230
  "expo-video": "~58.0.13"
231
231
  },
232
- "//@oxy.so/bloom": "Bloom 11.1.0 adds the shared grouped sections, usage card, subscription plans, frame appearance and overlay navigation APIs used by this SDK. First-party Bloom peers remain open above this tested minimum.",
232
+ "//@oxy.so/bloom": "Bloom 17.15.0 adds SortableChipRow (the profile links editor). First-party Bloom peers remain open above this tested minimum.",
233
233
  "//@oxy.so/core": "Core 7.34.0 supplies `@oxy.so/core/host` (the session host contract, ADR 0058), `createUserEventSocket` and `session.sessionId`, which the provider's host mode is built on; 7.13.0 supplies the `usernamePolicy.*`, `actionErrors.*` and `signin.errors.{network,invalidInput,server}` strings every username field and failure toast is worded with; 7.9.1 fences ordinary authenticated HTTP requests across session changes during auth preflight, which organization claim and creation require; 7.9.0 supplies `deviceComparisonCode`, the short code `OxyDeviceSignIn` prints; 7.8.0 supplies the device sign-in request's `approvalUrl` and the `signin.device.*` strings `OxyDeviceSignIn` shows; 7.7.0 supplies the bounded native asset file adapter and phase progress installed by OxyProvider; 7.6.0 forwards guest locale and first-touch campaign metadata through signup; 7.3.0 supplies `users.lookupMany`, with which the account members screen fails (and retries) a profile read whose chunk failed instead of caching those members as handle-less; 7.2.0 supplies `assets.cachedUrl`, with which `useFileDownloadUrl` answers an already-resolved URL in its first render; 6.16.0 supplies `requireServerVerdict` and `onHolderRejected`, with which the cold boot checks a session it painted from the cache; 6.13.0 supplies the `accounts.settings.*` strings (picture, categories) the account settings speak in every language; 6.12.0 supplies `fileManagement.contentLost` and the `lost` file status a lost file is listed with; 6.11.0 supplies the `follow.errors.*` strings the follow error codes are worded with; 6.4.0 the `follow.*` strings the follow buttons read for every verb and language; 6.1.0 the `oxy.auth.email.{startChange,change,remove}` and `oxy.auth.password.remove` the sign-in & security panels call. Keep one Core instance per app; raise this floor with the root catalogue when new runtime APIs are required.",
234
234
  "//react-native": "React Native 0.81 to 0.88, React 19.1+ and Expo SDK 54 to 58. The floors are the Expo SDK 54 stack (react-native 0.81.6, react 19.1.4, react-native-web 0.21.4, expo 54.0.38 and the module versions its bundledNativeModules.json pins), which compat/expo-54 installs as an external consumer and checks on every CI run (`bun check.mjs`): every peer here admits that stack, services' published src typechecks against its types, and <OxyProvider> mounts and settles its cold boot on iOS (React Native 0.81), web (react-native-web 0.21) and react-native-macos 0.81 with the native modules macOS lacks absent. Astro, Oxy's browser, runs react-native-macos 0.81 (0.83 is its latest release), which is why the floor is not 0.85. The SDK 56 floors these replaced were the versions current when the ranges were first written, not measurements.",
235
235
  "peerDependencies": {
236
236
  "@expo/app-integrity": ">=0.1.10 <59.0.0",
237
237
  "@expo/vector-icons": "^15.0.3",
238
- "@oxy.so/bloom": ">=11.1.0",
238
+ "@oxy.so/bloom": ">=17.15.0",
239
239
  "@oxy.so/core": "^7.34.0",
240
240
  "@react-native-async-storage/async-storage": ">=2.0.0 <4.0.0",
241
241
  "@react-native-community/netinfo": ">=11.4.1 <13.0.0",
@@ -5,8 +5,8 @@
5
5
  "ionicons": {
6
6
  "fontFamily": "OxyServicesIonicons",
7
7
  "file": "src/assets/fonts/icons/OxyServicesIonicons.ttf",
8
- "bytes": 42552,
9
- "sha256": "e96171a1057f9bdd8c84f4bda471bba65eefee63b00aefd88a04f06b12fbb84d",
8
+ "bytes": 42812,
9
+ "sha256": "d205e01496e2edf27c1a716c18fae32f2508fd1c5c60d3b5a515135c62c151cb",
10
10
  "names": [
11
11
  "add",
12
12
  "add-circle-outline",
@@ -120,6 +120,7 @@
120
120
  "repeat-outline",
121
121
  "resize",
122
122
  "rocket",
123
+ "save",
123
124
  "scale",
124
125
  "school-outline",
125
126
  "search",
@@ -153,7 +154,7 @@
153
154
  "fontFamily": "OxyServicesMaterialCommunityIcons",
154
155
  "file": "src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf",
155
156
  "bytes": 29268,
156
- "sha256": "51b5f47ec2eaf09a7ef0d8f4400350c854805698fb139afa0e9f31f29479165e",
157
+ "sha256": "b1df564c8c2bc69877db8fd82327e9f850cdf675822a03310f5fac3cbb5a0d4d",
157
158
  "names": [
158
159
  "account",
159
160
  "account-circle",
@@ -354,5 +355,5 @@
354
355
  }
355
356
  },
356
357
  "glyphMapsFile": "src/ui/icons/subsetGlyphMaps.ts",
357
- "glyphMapsSha256": "8aef398b9836d5501ff4cdc2f0b13b36e9f42fa5a118833312d6a8847f6b61ff"
358
+ "glyphMapsSha256": "5c85241254c4d3eca548478eaf10377f8c29be6e6f515e03d67a3e675d358966"
358
359
  }
@@ -111,6 +111,7 @@ export const ioniconsGlyphMap = {
111
111
  "repeat-outline": 62768,
112
112
  "resize": 62770,
113
113
  "rocket": 62791,
114
+ "save": 62800,
114
115
  "scale": 62803,
115
116
  "school-outline": 62813,
116
117
  "search": 62815,