decocms 4.113.3 → 4.114.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 (437) hide show
  1. package/dist/client/assets/{AlertCircle-C3yBEe62.js → AlertCircle-u3-jN7cm.js} +1 -1
  2. package/dist/client/assets/{AreaChart-infhzD-o.js → AreaChart-BW8WzRm-.js} +1 -1
  3. package/dist/client/assets/{ArrowRight-csX1J00v.js → ArrowRight-mNj20Zjh.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-BMUqiZDH.js → ArrowUp-L9cgM-6a.js} +1 -1
  5. package/dist/client/assets/{ArrowUpRight-B0lTHBei.js → ArrowUpRight-H1UBXt5Z.js} +1 -1
  6. package/dist/client/assets/{Check-BOCHVTek.js → Check-CaYU5aLO.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-C06fMtNJ.js → CheckCircle-CMKcMKAK.js} +1 -1
  8. package/dist/client/assets/{ChevronDown-yHcuw3Yi.js → ChevronDown-CX9YkMBs.js} +1 -1
  9. package/dist/client/assets/{ChevronRight-BvtCGcbv.js → ChevronRight-DbHUX8I-.js} +1 -1
  10. package/dist/client/assets/{ChevronUp-ClBbaiAV.js → ChevronUp-DIB-4lf0.js} +1 -1
  11. package/dist/client/assets/{Copy01-DjMityLv.js → Copy01-CjNrDuBL.js} +1 -1
  12. package/dist/client/assets/{DotsVertical-C4ZbABhl.js → DotsVertical-Bp1NHhTP.js} +1 -1
  13. package/dist/client/assets/{Eye-Drm0H5R_.js → Eye-FOTe0Dsm.js} +1 -1
  14. package/dist/client/assets/{FilterLines-DqKeoryA.js → FilterLines-BZTwbbeF.js} +1 -1
  15. package/dist/client/assets/{Globe01-BQOw_Ub7.js → Globe01-DOxk62wN.js} +1 -1
  16. package/dist/client/assets/{Globe04-CGcQW0g-.js → Globe04-9hsl-3e6.js} +1 -1
  17. package/dist/client/assets/{HardDrive-CWWkxzA_.js → HardDrive-ynMUj-ia.js} +1 -1
  18. package/dist/client/assets/{Image01-DlFSq1lp.js → Image01-av9S7TeF.js} +1 -1
  19. package/dist/client/assets/{Key01-DrW6AdUh.js → Key01-CwuF_1BL.js} +1 -1
  20. package/dist/client/assets/{LayoutLeft-DcUppE8c.js → LayoutLeft-D_cBv5Sy.js} +1 -1
  21. package/dist/client/assets/{LinkExternal01-BboRX9pE.js → LinkExternal01-B1nrIFqo.js} +1 -1
  22. package/dist/client/assets/{LogOut01-BB-7O4XA.js → LogOut01-BZi_DqYW.js} +1 -1
  23. package/dist/client/assets/{Monitor01-CcN96Otm.js → Monitor01-ymd1mMPU.js} +1 -1
  24. package/dist/client/assets/{Package-BzQD_Ty_.js → Package-CM9ahKwn.js} +1 -1
  25. package/dist/client/assets/{Palette-Blkp2e-R.js → Palette-Ct1p9svP.js} +1 -1
  26. package/dist/client/assets/{Play-D8x6tbEi.js → Play-DVEIH1ry.js} +1 -1
  27. package/dist/client/assets/{Plus-CzNYCMBF.js → Plus-B2hbLmYg.js} +1 -1
  28. package/dist/client/assets/{SearchLg-ChhVm0Qf.js → SearchLg-CtS3seao.js} +1 -1
  29. package/dist/client/assets/{SearchMd-CTSIioHN.js → SearchMd-D3MjkhDD.js} +1 -1
  30. package/dist/client/assets/{Settings02-Cw_4rjJK.js → Settings02-BetwzLEO.js} +1 -1
  31. package/dist/client/assets/{Shield01-DSa5H3Oo.js → Shield01-BAlJAwp4.js} +1 -1
  32. package/dist/client/assets/{Star01-D85zX6Wg.js → Star01-Cp-5Xhim.js} +1 -1
  33. package/dist/client/assets/{Stars01-DTnCAiJN.js → Stars01-CvaXntTQ.js} +1 -1
  34. package/dist/client/assets/{Stars02-BOwVjfZL.js → Stars02-DyviDCrE.js} +1 -1
  35. package/dist/client/assets/{Sun-BgpgdJOh.js → Sun-Y3l5BCJc.js} +1 -1
  36. package/dist/client/assets/{SwitchHorizontal01-DdzfKexZ.js → SwitchHorizontal01-q1XlSXKm.js} +1 -1
  37. package/dist/client/assets/{Tool01-BHPElJg3.js → Tool01-DiRWeEXb.js} +1 -1
  38. package/dist/client/assets/{Tool02-B1WxUTRS.js → Tool02-aqrHyC0g.js} +1 -1
  39. package/dist/client/assets/{Trash01-CQs4hG5x.js → Trash01-COnrCNth.js} +1 -1
  40. package/dist/client/assets/{TrendUp01-Cjtdx_Mr.js → TrendUp01-Bn-PWo-g.js} +1 -1
  41. package/dist/client/assets/{Upload01-2aufxkFJ.js → Upload01-DGTw7Jar.js} +1 -1
  42. package/dist/client/assets/{User01-qg2q5EXG.js → User01-BIMIGJ25.js} +1 -1
  43. package/dist/client/assets/{Users01-DecEGc0z.js → Users01-CZUvnM1S.js} +1 -1
  44. package/dist/client/assets/{Users03-DvyrEhaR.js → Users03-CVsX8nJx.js} +1 -1
  45. package/dist/client/assets/{X-ByT759cs.js → X-DNu2-GhF.js} +1 -1
  46. package/dist/client/assets/{XCircle-bCCgCduZ.js → XCircle-C_rSb0eR.js} +1 -1
  47. package/dist/client/assets/{XClose-CZnGWolh.js → XClose-DW-dDUEB.js} +1 -1
  48. package/dist/client/assets/{Zap-CqiaHzzF.js → Zap-De1_wbpV.js} +1 -1
  49. package/dist/client/assets/{ZapSquare-c0rQSrXf.js → ZapSquare-Bp4aYGIH.js} +1 -1
  50. package/dist/client/assets/{ZoomOut-CrXsudJp.js → ZoomOut-BgItYrX3.js} +1 -1
  51. package/dist/client/assets/{access-gate-v1EkWw_v.js → access-gate-CvPG2rlY.js} +1 -1
  52. package/dist/client/assets/{add-section-modal-CCmZDfGj.js → add-section-modal-BA2tqrcH.js} +1 -1
  53. package/dist/client/assets/{agent-icon-BOnTghRl.js → agent-icon-CtZCFShI.js} +1 -1
  54. package/dist/client/assets/{agents-list-Bh9Nz4Fw.js → agents-list-j6YU2i_U.js} +1 -1
  55. package/dist/client/assets/{ai-providers-B78j6u61.js → ai-providers-DLZzYNyZ.js} +1 -1
  56. package/dist/client/assets/{alert-D-rAiL9n.js → alert-EAq1jY4N.js} +1 -1
  57. package/dist/client/assets/{alert-dialog-BV1C1gcm.js → alert-dialog-aAfJenSo.js} +1 -1
  58. package/dist/client/assets/{app-editor-0kysJGlw.js → app-editor-az0PkUZQ.js} +1 -1
  59. package/dist/client/assets/{auth-catchall-OgqNGUQu.js → auth-catchall-DBwvY4WS.js} +1 -1
  60. package/dist/client/assets/{auth-entry-Bu-wAE4C.js → auth-entry-BPBAWmPC.js} +1 -1
  61. package/dist/client/assets/{auth-split-layout-BPjEQYcT.js → auth-split-layout-DDWwxUG2.js} +1 -1
  62. package/dist/client/assets/{auth-DrixEdZV.js → auth-uUmd_yUz.js} +1 -1
  63. package/dist/client/assets/{authenticate-and-persist-oauth-trH0piDT.js → authenticate-and-persist-oauth-nQ-5iboz.js} +1 -1
  64. package/dist/client/assets/{automation-list-row-Hhbhn6Ve.js → automation-list-row-DLSYuPO0.js} +1 -1
  65. package/dist/client/assets/{automation-runs-Cl8NKzOf.js → automation-runs-BvVxkEL_.js} +1 -1
  66. package/dist/client/assets/{automations-C0XROIdQ.js → automations-Dg5iM9D-.js} +1 -1
  67. package/dist/client/assets/{autosend-bk9SGLB7.js → autosend-DNGUJUeU.js} +1 -1
  68. package/dist/client/assets/{avatar-TfVrzXcD.js → avatar-yTPDq5I2.js} +1 -1
  69. package/dist/client/assets/{badge-Dq8tKfND.js → badge-BYYz59-0.js} +1 -1
  70. package/dist/client/assets/{block-document-CSSMbpaN.js → block-document-D_2P8u2S.js} +1 -1
  71. package/dist/client/assets/{brand-context-BpSXT9j1.js → brand-context-BdmZewbA.js} +1 -1
  72. package/dist/client/assets/{buckets-CSQzXH56.js → buckets-BalCtIX4.js} +1 -1
  73. package/dist/client/assets/{bulk-category-panel-BnemcYrz.js → bulk-category-panel-CziXKZ4f.js} +1 -1
  74. package/dist/client/assets/{calendar-C4A-LflQ.js → calendar-DWFDhFNo.js} +1 -1
  75. package/dist/client/assets/{capability-load-error-BVansliv.js → capability-load-error-BVSx_lmj.js} +1 -1
  76. package/dist/client/assets/{card-CYIXg6Tz.js → card-C3QUqs2n.js} +1 -1
  77. package/dist/client/assets/{category-editor-CQlm8YTD.js → category-editor-yjOQrzEJ.js} +1 -1
  78. package/dist/client/assets/{chat-context-C0qm1cNd.js → chat-context-DZnGXN4a.js} +1 -1
  79. package/dist/client/assets/{checkbox-CJlLtjz4.js → checkbox-CBFK8MAq.js} +1 -1
  80. package/dist/client/assets/{cli-auth-success-xyy-6T0v.js → cli-auth-success-2A3RVtIL.js} +1 -1
  81. package/dist/client/assets/{collection-detail-Ber5gOC6.js → collection-detail-Fw_SCIDN.js} +1 -1
  82. package/dist/client/assets/{collection-display-button-_9VLEjYD.js → collection-display-button-CMt3Z67p.js} +1 -1
  83. package/dist/client/assets/{collection-search-DMVP7tq9.js → collection-search-B9mHZ3UO.js} +1 -1
  84. package/dist/client/assets/{collection-table-wrapper-CfaNknkJ.js → collection-table-wrapper-C2UsHzHD.js} +1 -1
  85. package/dist/client/assets/{collection-tabs-BYtcgqcY.js → collection-tabs-BDkyuUR4.js} +1 -1
  86. package/dist/client/assets/{command-55Q776qF.js → command-BPpRMP2H.js} +1 -1
  87. package/dist/client/assets/{commerce-onboarding-CwQohRCA.js → commerce-onboarding-C0k3wy77.js} +1 -1
  88. package/dist/client/assets/{companions-core-BsogTMm0.js → companions-core-DiyBwoGG.js} +1 -1
  89. package/dist/client/assets/{connect-Dzubmbm6.js → connect-D2oqeqWc.js} +1 -1
  90. package/dist/client/assets/{connect-desktop-dialog-BRyqkebt.js → connect-desktop-dialog-DNUW6BIf.js} +1 -1
  91. package/dist/client/assets/{connection-card-CnHj36QW.js → connection-card-QCEeFg-E.js} +1 -1
  92. package/dist/client/assets/{connection-detail-DioIwvgq.js → connection-detail-BuvcWRak.js} +1 -1
  93. package/dist/client/assets/{connection-form-helpers-C36oVpDa.js → connection-form-helpers--HrBI-cC.js} +1 -1
  94. package/dist/client/assets/{connections-CMhMeidX.js → connections-CWtydlE_.js} +1 -1
  95. package/dist/client/assets/{decopilot-sse-pool-DbXyz4b2.js → decopilot-sse-pool-D68vKjC2.js} +1 -1
  96. package/dist/client/assets/{dialog-Mssh4wvU.js → dialog-CrWMCat9.js} +1 -1
  97. package/dist/client/assets/{domain-settings-D5jbLq0-.js → domain-settings-qXQKOoeU.js} +1 -1
  98. package/dist/client/assets/{drawer-Df2dZjAh.js → drawer-DVTkiBrG.js} +1 -1
  99. package/dist/client/assets/{dropdown-menu-BOgizJmB.js → dropdown-menu-CWVq2kdv.js} +1 -1
  100. package/dist/client/assets/{empty-state-CajaBMj9.js → empty-state-BtX-gDuD.js} +1 -1
  101. package/dist/client/assets/{extract-connection-data-Bd7ZbKmz.js → extract-connection-data-DfO_43Ui.js} +1 -1
  102. package/dist/client/assets/{file-explorer-C0-F0HB8.js → file-explorer-nlzTvV0U.js} +1 -1
  103. package/dist/client/assets/{file-type-icon-DeZBzLiN.js → file-type-icon-Blhm8rpp.js} +1 -1
  104. package/dist/client/assets/{files-DMRbcRYD.js → files-CB-VCQ9J.js} +1 -1
  105. package/dist/client/assets/{form-a5EhWS__.js → form-JvR3caoV.js} +1 -1
  106. package/dist/client/assets/{general-BXzwd9kr.js → general-ofhGwPwk.js} +1 -1
  107. package/dist/client/assets/{github-repo-picker-BF2G7ylb.js → github-repo-picker-BzqT9Pn1.js} +1 -1
  108. package/dist/client/assets/{hooks-BYKqudQZ.js → hooks-CX-tJdCi.js} +1 -1
  109. package/dist/client/assets/{index-DKYptawH.js → index-BF9MIXYh.js} +1 -1
  110. package/dist/client/assets/{index-i4iJK1qu.js → index-BQKAFkvb.js} +3 -3
  111. package/dist/client/assets/{index-wa1mGSJt.js → index-Bl8jlw7D.js} +5 -5
  112. package/dist/client/assets/{index-D3QnFu3t.js → index-Bm91_nbV.js} +3 -3
  113. package/dist/client/assets/{index-D6Qe38nY.js → index-BuHs6OTD.js} +1 -1
  114. package/dist/client/assets/{index-D0XkAkng.js → index-CZGf-QlT.js} +1 -1
  115. package/dist/client/assets/{index-D8_uS6ju.js → index-CdqOC8p4.js} +1 -1
  116. package/dist/client/assets/{index-ChR3SC6w.js → index-D8itVaOh.js} +1 -1
  117. package/dist/client/assets/{index-Dd318vVc.js → index-DeAa7cPD.js} +1 -1
  118. package/dist/client/assets/{index-CDAhksmq.js → index-TgTbYxQM.js} +1 -1
  119. package/dist/client/assets/{index-BjFrw_Cz.js → index-cM-0JEJy.js} +1 -1
  120. package/dist/client/assets/{index-BvXIjHT6.js → index-jrZjRdSI.js} +1 -1
  121. package/dist/client/assets/{index-BzKhWus-.js → index-k2B6oHDy.js} +1 -1
  122. package/dist/client/assets/{index-redirect-DAwJl3u9.js → index-redirect-pd-pFoY5.js} +1 -1
  123. package/dist/client/assets/{input-DBTIXVeB.js → input-CfDoPzy7.js} +1 -1
  124. package/dist/client/assets/{integration-icon-Cws5p9F1.js → integration-icon-ChBrp2uX.js} +1 -1
  125. package/dist/client/assets/{invite-member-dialog-U14K8dLP.js → invite-member-dialog-7T9uI3o5.js} +1 -1
  126. package/dist/client/assets/{label-hZbHKQe4.js → label-Br-zNLTG.js} +1 -1
  127. package/dist/client/assets/{layout-BbmfwSeT.js → layout-DMOlkuOh.js} +1 -1
  128. package/dist/client/assets/{login-CYk7QqzO.js → login-CWIddfiC.js} +1 -1
  129. package/dist/client/assets/{mcp-oauth-BBJ-dCGK.js → mcp-oauth-DhzxU0XK.js} +1 -1
  130. package/dist/client/assets/{members-Br5ZzfAU.js → members-CGKVy4T3.js} +1 -1
  131. package/dist/client/assets/{monaco-editor-B7XD9jse.js → monaco-editor-BcwFx31f.js} +1 -1
  132. package/dist/client/assets/{monitoring-stats-row-CiB1VTGS.js → monitoring-stats-row-DKIXNyFS.js} +1 -1
  133. package/dist/client/assets/{multi-select-DtCSfvTi.js → multi-select-DwEYUWQk.js} +1 -1
  134. package/dist/client/assets/{oauth-callback-CuoSY6yW.js → oauth-callback-CRC-TNHK.js} +1 -1
  135. package/dist/client/assets/{oauth-callback-ai-provider-DTd9RCl8.js → oauth-callback-ai-provider-Bn5ecNQ9.js} +1 -1
  136. package/dist/client/assets/{onboarding-VI53SQy5.js → onboarding-ChQBM6P7.js} +1 -1
  137. package/dist/client/assets/{org-install-BpRHfBoz.js → org-install-B2VYuIrV.js} +1 -1
  138. package/dist/client/assets/{org-layout-Ip0hYM6i.js → org-layout-CXw1-r8T.js} +1 -1
  139. package/dist/client/assets/{organization-choice-Ccir5zvX.js → organization-choice-thMPBy_H.js} +1 -1
  140. package/dist/client/assets/{orgs-BK0nOPLw.js → orgs-DpewEJO4.js} +1 -1
  141. package/dist/client/assets/{page-seo-form-CBAWdwBB.js → page-seo-form-Bj8agFDN.js} +1 -1
  142. package/dist/client/assets/page-seo-sheet-xYyduq_3.js +1 -0
  143. package/dist/client/assets/{popover-WvXSsr2A.js → popover-PFUSi04J.js} +1 -1
  144. package/dist/client/assets/{post-editor-GEIG3Qbs.js → post-editor-fudBfEMW.js} +1 -1
  145. package/dist/client/assets/{primitives-B4b9OMlU.js → primitives-CRg4BEbe.js} +1 -1
  146. package/dist/client/assets/{profile-BJOXihUj.js → profile-krVPqEis.js} +1 -1
  147. package/dist/client/assets/project-app-view-F_105CvS.js +1 -0
  148. package/dist/client/assets/record-editor-B9z6hPr0.js +1 -0
  149. package/dist/client/assets/redirect-editor-pmxNft8I.js +1 -0
  150. package/dist/client/assets/registry-BBaBGga3.js +2 -0
  151. package/dist/client/assets/{registry-layout-CUSBCALf.js → registry-layout-D0if0uky.js} +2 -2
  152. package/dist/client/assets/{reports-CJYmnCRR.js → reports-DQRCq5Dl.js} +2 -2
  153. package/dist/client/assets/{require-capability-BOqOfzCO.js → require-capability-lUm3WxQW.js} +1 -1
  154. package/dist/client/assets/{required-auth-layout-C1iQaX9e.js → required-auth-layout-zgA3qXU6.js} +1 -1
  155. package/dist/client/assets/{reset-password-ChmXlYVK.js → reset-password-d6_AkYAQ.js} +1 -1
  156. package/dist/client/assets/{roles-CuzTIzcA.js → roles-B_zG47r7.js} +1 -1
  157. package/dist/client/assets/{search-input-Di_KVfz5.js → search-input-Im3obJ_5.js} +1 -1
  158. package/dist/client/assets/{secrets-Cwnb5SFR.js → secrets-DZpWBr7n.js} +1 -1
  159. package/dist/client/assets/{sections-editor-BnUP7eos.js → sections-editor-D7TakwFG.js} +1 -1
  160. package/dist/client/assets/{select-CS3vGjLf.js → select-BDOR27tE.js} +1 -1
  161. package/dist/client/assets/{select-model-CBkA3Qex.js → select-model-BRQ-V94m.js} +1 -1
  162. package/dist/client/assets/{self-tool-result-olaCzjy8.js → self-tool-result-VStIScqg.js} +1 -1
  163. package/dist/client/assets/{seo-editor-BS3PrYY5.js → seo-editor-DgKKLq5W.js} +1 -1
  164. package/dist/client/assets/{settings-layout-BWiwB1ve.js → settings-layout-CxNvsg8J.js} +1 -1
  165. package/dist/client/assets/{settings-section-B42r-p4q.js → settings-section-BWS26hMF.js} +1 -1
  166. package/dist/client/assets/{shell-controls-CG47bgem.js → shell-controls-HSPoO0mS.js} +1 -1
  167. package/dist/client/assets/{shell-layout-C2jFubEc.js → shell-layout-D_sblBCw.js} +1 -1
  168. package/dist/client/assets/{sidebar-DhNO0hbl.js → sidebar-BvGzib5A.js} +1 -1
  169. package/dist/client/assets/{skeleton-CkFFLL1Z.js → skeleton-BUe_WzkR.js} +1 -1
  170. package/dist/client/assets/{sso-DvIYBwsX.js → sso-dMXAkSfn.js} +1 -1
  171. package/dist/client/assets/{store-D2kZokQ2.js → store-qzvEGiXH.js} +1 -1
  172. package/dist/client/assets/store-registry-C0M7zBzp.js +2 -0
  173. package/dist/client/assets/{studio-tools-Dj_suUV-.js → studio-tools-CvoMFYCt.js} +1 -1
  174. package/dist/client/assets/{switch-CWGgmiWZ.js → switch-muGjhkBJ.js} +1 -1
  175. package/dist/client/assets/{table-B7Z84RDB.js → table-BUQ1sil8.js} +1 -1
  176. package/dist/client/assets/{tabs-CSjEyx_g.js → tabs-DHpcGpHH.js} +1 -1
  177. package/dist/client/assets/{textarea-DNrJISFS.js → textarea-Bt_QtOk0.js} +1 -1
  178. package/dist/client/assets/{toggle-group-DngQXFC1.js → toggle-group-CQKX4oUd.js} +1 -1
  179. package/dist/client/assets/{toolbar-BJAhXpws.js → toolbar-0DwtxERz.js} +1 -1
  180. package/dist/client/assets/{toolbar-icon-button-BPZ8JgHL.js → toolbar-icon-button-DZhVI9-2.js} +1 -1
  181. package/dist/client/assets/{tooltip-BoYfeb4r.js → tooltip-BigwhDSP.js} +1 -1
  182. package/dist/client/assets/{use-ai-providers-B0uEL6GU.js → use-ai-providers-WKbvbsVL.js} +1 -1
  183. package/dist/client/assets/{use-api-keys-BUXdsmWE.js → use-api-keys-Te5PgtxD.js} +1 -1
  184. package/dist/client/assets/{use-automations-BX-f2xPQ.js → use-automations--GMik9NX.js} +1 -1
  185. package/dist/client/assets/{use-autosave-D2xExJSi.js → use-autosave-M2ceoril.js} +1 -1
  186. package/dist/client/assets/{use-capability-zn_dFQCr.js → use-capability-Bh8YlueK.js} +1 -1
  187. package/dist/client/assets/{use-clock-tick-Daz3W4ZL.js → use-clock-tick-IRvpmO0_.js} +1 -1
  188. package/dist/client/assets/{use-connection-CI4KVjBL.js → use-connection-COZgUeU0.js} +1 -1
  189. package/dist/client/assets/{use-copy-BFe-yhR7.js → use-copy-CFyLSHsK.js} +1 -1
  190. package/dist/client/assets/{use-create-virtual-mcp-BruuOj8R.js → use-create-virtual-mcp-VVjBeALb.js} +1 -1
  191. package/dist/client/assets/{use-debounced-autosave-C18-WjK7.js → use-debounced-autosave-BxkO-_ca.js} +1 -1
  192. package/dist/client/assets/{use-debounced-value-CgLjUKeF.js → use-debounced-value-DmIl8W6n.js} +1 -1
  193. package/dist/client/assets/{use-deco-credits-Cl6XjjTb.js → use-deco-credits-CmiQbTPM.js} +1 -1
  194. package/dist/client/assets/{use-decopilot-events-Opg95yOG.js → use-decopilot-events-O1Gk-ETR.js} +1 -1
  195. package/dist/client/assets/{use-delete-connection-CkYrHV-n.js → use-delete-connection-B5quwMM9.js} +1 -1
  196. package/dist/client/assets/{use-deployment-admin-CWMJlws-.js → use-deployment-admin-BElTs8M7.js} +1 -1
  197. package/dist/client/assets/{use-file-configs-CU2Y0Emb.js → use-file-configs-B0d07k9Y.js} +1 -1
  198. package/dist/client/assets/{use-infinite-scroll-mXDq9sbk.js → use-infinite-scroll-BZlKDm5N.js} +1 -1
  199. package/dist/client/assets/{use-join-requests-zFCwv89L.js → use-join-requests-CZ3onEZJ.js} +1 -1
  200. package/dist/client/assets/{use-mcp-auth-status-BoHM8OB0.js → use-mcp-auth-status-BeMiAxE7.js} +1 -1
  201. package/dist/client/assets/{use-mcp-client-DL89siIV.js → use-mcp-client-CZsvR6c7.js} +1 -1
  202. package/dist/client/assets/{use-mcp-tools-C4CClJFZ.js → use-mcp-tools-C86d_75c.js} +1 -1
  203. package/dist/client/assets/{use-members-A3agoGMA.js → use-members-DmoF-3Ie.js} +1 -1
  204. package/dist/client/assets/{use-mobile-BwfgD4pT.js → use-mobile-BVFGUH1V.js} +1 -1
  205. package/dist/client/assets/{use-navigate-to-agent-Bc0CpSD2.js → use-navigate-to-agent-CID4qRVq.js} +1 -1
  206. package/dist/client/assets/{use-org-auth-client-BTfVRkCO.js → use-org-auth-client-CcOUerBq.js} +1 -1
  207. package/dist/client/assets/{use-org-sso-DYo24v3_.js → use-org-sso-DK1YMh-o.js} +1 -1
  208. package/dist/client/assets/{use-organization-roles-DYKLAq-n.js → use-organization-roles-DGfdPMyJ.js} +1 -1
  209. package/dist/client/assets/{use-organization-settings-DoCpZun-.js → use-organization-settings-C8zNTcuC.js} +1 -1
  210. package/dist/client/assets/{use-registry-app-nEihaLca.js → use-registry-app-DOaPd1Kq.js} +1 -1
  211. package/dist/client/assets/{use-registry-connections-DuneVuyO.js → use-registry-connections-BLLrfs0c.js} +1 -1
  212. package/dist/client/assets/{use-secrets-CG9MzH4M.js → use-secrets-CmLaq4UW.js} +1 -1
  213. package/dist/client/assets/{use-status-sounds-C-LWwT7t.js → use-status-sounds-C_iNgi5N.js} +1 -1
  214. package/dist/client/assets/{use-view-mode--BSnFAw6.js → use-view-mode-Be73RvXD.js} +1 -1
  215. package/dist/client/assets/{use-virtual-mcp-C6uu6xME.js → use-virtual-mcp-BGZZhgI8.js} +1 -1
  216. package/dist/client/assets/useInfiniteQuery-Cdk9mXL-.js +1 -0
  217. package/dist/client/assets/{useQueries-BT8q2MfJ.js → useQueries-C11UDtFe.js} +1 -1
  218. package/dist/client/assets/{useRouterState-BMgTcVFU.js → useRouterState-B8sLgF57.js} +1 -1
  219. package/dist/client/assets/useSuspenseInfiniteQuery-LZ9xlW1Z.js +1 -0
  220. package/dist/client/assets/{users-BXaOYgw2.js → users-B_lOVuoe.js} +1 -1
  221. package/dist/client/assets/{variant-calendar-C61DYxyp.js → variant-calendar-3-o3D_Rr.js} +1 -1
  222. package/dist/client/assets/{view-mode-toggle-C8Ikqgl7.js → view-mode-toggle-DnN-vUal.js} +1 -1
  223. package/dist/client/index.html +1 -1
  224. package/dist/client/report-og-fallback.png +0 -0
  225. package/dist/server/cli.js +680 -686
  226. package/dist/server/migrate.js +5 -5
  227. package/dist/server/node_modules/@resvg/resvg-js/LICENSE +373 -0
  228. package/dist/server/node_modules/@resvg/resvg-js/README.md +314 -0
  229. package/dist/server/node_modules/@resvg/resvg-js/index.js +23 -0
  230. package/dist/server/node_modules/@resvg/resvg-js/js-binding.js +1 -0
  231. package/dist/server/node_modules/@resvg/resvg-js/package.json +152 -0
  232. package/dist/server/node_modules/@shuding/opentype.js/LICENSE +20 -0
  233. package/dist/server/node_modules/@shuding/opentype.js/README.md +9 -0
  234. package/dist/server/node_modules/@shuding/opentype.js/RELEASES.md +272 -0
  235. package/dist/server/node_modules/@shuding/opentype.js/bin/ot +84 -0
  236. package/dist/server/node_modules/@shuding/opentype.js/bin/server.js +64 -0
  237. package/dist/server/node_modules/@shuding/opentype.js/bin/test-render +96 -0
  238. package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.js +11655 -0
  239. package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.min.js +2 -0
  240. package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.module.js +11639 -0
  241. package/dist/server/node_modules/@shuding/opentype.js/package.json +73 -0
  242. package/dist/server/node_modules/@shuding/opentype.js/src/bbox.js +158 -0
  243. package/dist/server/node_modules/@shuding/opentype.js/src/bidi.js +243 -0
  244. package/dist/server/node_modules/@shuding/opentype.js/src/char.js +43 -0
  245. package/dist/server/node_modules/@shuding/opentype.js/src/check.js +16 -0
  246. package/dist/server/node_modules/@shuding/opentype.js/src/encoding.js +1032 -0
  247. package/dist/server/node_modules/@shuding/opentype.js/src/features/applySubstitution.js +74 -0
  248. package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/arabicPresentationForms.js +83 -0
  249. package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/arabicRequiredLigatures.js +41 -0
  250. package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/contextCheck/arabicSentence.js +43 -0
  251. package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/contextCheck/arabicWord.js +31 -0
  252. package/dist/server/node_modules/@shuding/opentype.js/src/features/featureQuery.js +483 -0
  253. package/dist/server/node_modules/@shuding/opentype.js/src/features/latn/contextCheck/latinWord.js +31 -0
  254. package/dist/server/node_modules/@shuding/opentype.js/src/features/latn/latinLigatures.js +40 -0
  255. package/dist/server/node_modules/@shuding/opentype.js/src/font.js +433 -0
  256. package/dist/server/node_modules/@shuding/opentype.js/src/glyph.js +274 -0
  257. package/dist/server/node_modules/@shuding/opentype.js/src/glyphset.js +150 -0
  258. package/dist/server/node_modules/@shuding/opentype.js/src/hintingtt.js +3062 -0
  259. package/dist/server/node_modules/@shuding/opentype.js/src/index.js +5 -0
  260. package/dist/server/node_modules/@shuding/opentype.js/src/layout.js +357 -0
  261. package/dist/server/node_modules/@shuding/opentype.js/src/opentype.js +375 -0
  262. package/dist/server/node_modules/@shuding/opentype.js/src/parse.js +628 -0
  263. package/dist/server/node_modules/@shuding/opentype.js/src/path.js +212 -0
  264. package/dist/server/node_modules/@shuding/opentype.js/src/position.js +77 -0
  265. package/dist/server/node_modules/@shuding/opentype.js/src/substitution.js +447 -0
  266. package/dist/server/node_modules/@shuding/opentype.js/src/table.js +215 -0
  267. package/dist/server/node_modules/@shuding/opentype.js/src/tables/cff.js +1156 -0
  268. package/dist/server/node_modules/@shuding/opentype.js/src/tables/cmap.js +145 -0
  269. package/dist/server/node_modules/@shuding/opentype.js/src/tables/fvar.js +71 -0
  270. package/dist/server/node_modules/@shuding/opentype.js/src/tables/gdef.js +62 -0
  271. package/dist/server/node_modules/@shuding/opentype.js/src/tables/glyf.js +349 -0
  272. package/dist/server/node_modules/@shuding/opentype.js/src/tables/gpos.js +146 -0
  273. package/dist/server/node_modules/@shuding/opentype.js/src/tables/gsub.js +251 -0
  274. package/dist/server/node_modules/@shuding/opentype.js/src/tables/head.js +35 -0
  275. package/dist/server/node_modules/@shuding/opentype.js/src/tables/hhea.js +27 -0
  276. package/dist/server/node_modules/@shuding/opentype.js/src/tables/hmtx.js +51 -0
  277. package/dist/server/node_modules/@shuding/opentype.js/src/tables/kern.js +69 -0
  278. package/dist/server/node_modules/@shuding/opentype.js/src/tables/loca.js +31 -0
  279. package/dist/server/node_modules/@shuding/opentype.js/src/tables/ltag.js +33 -0
  280. package/dist/server/node_modules/@shuding/opentype.js/src/tables/maxp.js +32 -0
  281. package/dist/server/node_modules/@shuding/opentype.js/src/tables/meta.js +30 -0
  282. package/dist/server/node_modules/@shuding/opentype.js/src/tables/name.js +680 -0
  283. package/dist/server/node_modules/@shuding/opentype.js/src/tables/os2.js +65 -0
  284. package/dist/server/node_modules/@shuding/opentype.js/src/tables/post.js +41 -0
  285. package/dist/server/node_modules/@shuding/opentype.js/src/tokenizer.js +522 -0
  286. package/dist/server/node_modules/@shuding/opentype.js/src/types.js +976 -0
  287. package/dist/server/node_modules/@shuding/opentype.js/src/util.js +17 -0
  288. package/dist/server/node_modules/base64-js/.travis.yml +5 -0
  289. package/dist/server/node_modules/base64-js/LICENSE.MIT +21 -0
  290. package/dist/server/node_modules/base64-js/README.md +31 -0
  291. package/dist/server/node_modules/base64-js/bench/bench.js +19 -0
  292. package/dist/server/node_modules/base64-js/lib/b64.js +124 -0
  293. package/dist/server/node_modules/base64-js/package.json +34 -0
  294. package/dist/server/node_modules/base64-js/test/convert.js +51 -0
  295. package/dist/server/node_modules/base64-js/test/url-safe.js +18 -0
  296. package/dist/server/node_modules/camelize/.eslintrc +24 -0
  297. package/dist/server/node_modules/camelize/.github/FUNDING.yml +12 -0
  298. package/dist/server/node_modules/camelize/CHANGELOG.md +64 -0
  299. package/dist/server/node_modules/camelize/LICENSE +18 -0
  300. package/dist/server/node_modules/camelize/README.md +81 -0
  301. package/dist/server/node_modules/camelize/example/camel.js +12 -0
  302. package/dist/server/node_modules/camelize/index.js +61 -0
  303. package/dist/server/node_modules/camelize/package.json +84 -0
  304. package/dist/server/node_modules/camelize/test/camel.js +48 -0
  305. package/dist/server/node_modules/color-name/LICENSE +8 -0
  306. package/dist/server/node_modules/color-name/README.md +11 -0
  307. package/dist/server/node_modules/color-name/index.js +152 -0
  308. package/dist/server/node_modules/color-name/package.json +28 -0
  309. package/dist/server/node_modules/css-background-parser/LICENSE +22 -0
  310. package/dist/server/node_modules/css-background-parser/README.md +149 -0
  311. package/dist/server/node_modules/css-background-parser/index.js +162 -0
  312. package/dist/server/node_modules/css-background-parser/package.json +19 -0
  313. package/dist/server/node_modules/css-box-shadow/README.md +27 -0
  314. package/dist/server/node_modules/css-box-shadow/index.js +64 -0
  315. package/dist/server/node_modules/css-box-shadow/package.json +14 -0
  316. package/dist/server/node_modules/css-box-shadow/test.js +204 -0
  317. package/dist/server/node_modules/css-color-keywords/LICENSE +15 -0
  318. package/dist/server/node_modules/css-color-keywords/README.md +47 -0
  319. package/dist/server/node_modules/css-color-keywords/colors.json +148 -0
  320. package/dist/server/node_modules/css-color-keywords/index.js +3 -0
  321. package/dist/server/node_modules/css-color-keywords/package.json +27 -0
  322. package/dist/server/node_modules/css-gradient-parser/LICENSE +21 -0
  323. package/dist/server/node_modules/css-gradient-parser/README.md +75 -0
  324. package/dist/server/node_modules/css-gradient-parser/dist/index.cjs +2 -0
  325. package/dist/server/node_modules/css-gradient-parser/dist/index.js +2 -0
  326. package/dist/server/node_modules/css-gradient-parser/package.json +54 -0
  327. package/dist/server/node_modules/css-to-react-native/LICENSE.md +21 -0
  328. package/dist/server/node_modules/css-to-react-native/README.md +115 -0
  329. package/dist/server/node_modules/css-to-react-native/index.js +886 -0
  330. package/dist/server/node_modules/css-to-react-native/package.json +65 -0
  331. package/dist/server/node_modules/css-to-react-native/src/TokenStream.js +74 -0
  332. package/dist/server/node_modules/css-to-react-native/src/__tests__/aspectRatio.js +23 -0
  333. package/dist/server/node_modules/css-to-react-native/src/__tests__/border.js +85 -0
  334. package/dist/server/node_modules/css-to-react-native/src/__tests__/borderColor.js +37 -0
  335. package/dist/server/node_modules/css-to-react-native/src/__tests__/boxModel.js +136 -0
  336. package/dist/server/node_modules/css-to-react-native/src/__tests__/boxShadow.js +83 -0
  337. package/dist/server/node_modules/css-to-react-native/src/__tests__/colors.js +31 -0
  338. package/dist/server/node_modules/css-to-react-native/src/__tests__/flex.js +122 -0
  339. package/dist/server/node_modules/css-to-react-native/src/__tests__/flexFlow.js +22 -0
  340. package/dist/server/node_modules/css-to-react-native/src/__tests__/font.js +117 -0
  341. package/dist/server/node_modules/css-to-react-native/src/__tests__/fontFamily.js +43 -0
  342. package/dist/server/node_modules/css-to-react-native/src/__tests__/fontVariant.js +15 -0
  343. package/dist/server/node_modules/css-to-react-native/src/__tests__/fontWeight.js +8 -0
  344. package/dist/server/node_modules/css-to-react-native/src/__tests__/index.js +204 -0
  345. package/dist/server/node_modules/css-to-react-native/src/__tests__/placeContent.js +19 -0
  346. package/dist/server/node_modules/css-to-react-native/src/__tests__/shadowOffsets.js +13 -0
  347. package/dist/server/node_modules/css-to-react-native/src/__tests__/textDecoration.js +103 -0
  348. package/dist/server/node_modules/css-to-react-native/src/__tests__/textDecorationLine.js +23 -0
  349. package/dist/server/node_modules/css-to-react-native/src/__tests__/textShadow.js +30 -0
  350. package/dist/server/node_modules/css-to-react-native/src/__tests__/transform.js +55 -0
  351. package/dist/server/node_modules/css-to-react-native/src/__tests__/units.js +132 -0
  352. package/dist/server/node_modules/css-to-react-native/src/devPropertiesWithoutUnitsRegExp.js +19 -0
  353. package/dist/server/node_modules/css-to-react-native/src/index.js +90 -0
  354. package/dist/server/node_modules/css-to-react-native/src/tokenTypes.js +75 -0
  355. package/dist/server/node_modules/css-to-react-native/src/transforms/aspectRatio.js +12 -0
  356. package/dist/server/node_modules/css-to-react-native/src/transforms/border.js +53 -0
  357. package/dist/server/node_modules/css-to-react-native/src/transforms/boxShadow.js +11 -0
  358. package/dist/server/node_modules/css-to-react-native/src/transforms/flex.js +65 -0
  359. package/dist/server/node_modules/css-to-react-native/src/transforms/flexFlow.js +37 -0
  360. package/dist/server/node_modules/css-to-react-native/src/transforms/font.js +63 -0
  361. package/dist/server/node_modules/css-to-react-native/src/transforms/fontFamily.js +20 -0
  362. package/dist/server/node_modules/css-to-react-native/src/transforms/fontVariant.js +14 -0
  363. package/dist/server/node_modules/css-to-react-native/src/transforms/index.js +77 -0
  364. package/dist/server/node_modules/css-to-react-native/src/transforms/placeContent.js +24 -0
  365. package/dist/server/node_modules/css-to-react-native/src/transforms/textDecoration.js +53 -0
  366. package/dist/server/node_modules/css-to-react-native/src/transforms/textDecorationLine.js +18 -0
  367. package/dist/server/node_modules/css-to-react-native/src/transforms/textShadow.js +10 -0
  368. package/dist/server/node_modules/css-to-react-native/src/transforms/transform.js +74 -0
  369. package/dist/server/node_modules/css-to-react-native/src/transforms/util.js +99 -0
  370. package/dist/server/node_modules/hex-rgb/index.js +47 -0
  371. package/dist/server/node_modules/hex-rgb/license +9 -0
  372. package/dist/server/node_modules/hex-rgb/package.json +39 -0
  373. package/dist/server/node_modules/hex-rgb/readme.md +86 -0
  374. package/dist/server/node_modules/linebreak/LICENSE +21 -0
  375. package/dist/server/node_modules/linebreak/dist/main.cjs +1369 -0
  376. package/dist/server/node_modules/linebreak/dist/module.mjs +1368 -0
  377. package/dist/server/node_modules/linebreak/package.json +57 -0
  378. package/dist/server/node_modules/linebreak/readme.md +62 -0
  379. package/dist/server/node_modules/parse-css-color/CHANGELOG.md +54 -0
  380. package/dist/server/node_modules/parse-css-color/LICENSE +21 -0
  381. package/dist/server/node_modules/parse-css-color/README.md +110 -0
  382. package/dist/server/node_modules/parse-css-color/dist/index.cjs.js +171 -0
  383. package/dist/server/node_modules/parse-css-color/dist/index.esm.js +167 -0
  384. package/dist/server/node_modules/parse-css-color/dist/index.umd.js +7 -0
  385. package/dist/server/node_modules/parse-css-color/package.json +55 -0
  386. package/dist/server/node_modules/postcss-value-parser/LICENSE +22 -0
  387. package/dist/server/node_modules/postcss-value-parser/README.md +263 -0
  388. package/dist/server/node_modules/postcss-value-parser/lib/index.js +28 -0
  389. package/dist/server/node_modules/postcss-value-parser/lib/parse.js +321 -0
  390. package/dist/server/node_modules/postcss-value-parser/lib/stringify.js +48 -0
  391. package/dist/server/node_modules/postcss-value-parser/lib/unit.js +120 -0
  392. package/dist/server/node_modules/postcss-value-parser/lib/walk.js +22 -0
  393. package/dist/server/node_modules/postcss-value-parser/package.json +58 -0
  394. package/dist/server/node_modules/satori/LICENSE +373 -0
  395. package/dist/server/node_modules/satori/README.md +516 -0
  396. package/dist/server/node_modules/satori/dist/index.cjs +8 -0
  397. package/dist/server/node_modules/satori/dist/index.cjs.LEGAL.txt +4 -0
  398. package/dist/server/node_modules/satori/dist/index.js +8 -0
  399. package/dist/server/node_modules/satori/dist/index.js.LEGAL.txt +4 -0
  400. package/dist/server/node_modules/satori/dist/jsx/index.cjs +2 -0
  401. package/dist/server/node_modules/satori/dist/jsx/index.cjs.LEGAL.txt +0 -0
  402. package/dist/server/node_modules/satori/dist/jsx/index.js +2 -0
  403. package/dist/server/node_modules/satori/dist/jsx/index.js.LEGAL.txt +0 -0
  404. package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.cjs +2 -0
  405. package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.cjs.LEGAL.txt +0 -0
  406. package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.js +2 -0
  407. package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.js.LEGAL.txt +0 -0
  408. package/dist/server/node_modules/satori/dist/standalone.cjs +8 -0
  409. package/dist/server/node_modules/satori/dist/standalone.cjs.LEGAL.txt +4 -0
  410. package/dist/server/node_modules/satori/dist/standalone.js +8 -0
  411. package/dist/server/node_modules/satori/dist/standalone.js.LEGAL.txt +4 -0
  412. package/dist/server/node_modules/satori/package.json +149 -0
  413. package/dist/server/node_modules/satori/yoga.wasm +0 -0
  414. package/dist/server/node_modules/tiny-inflate/LICENSE +21 -0
  415. package/dist/server/node_modules/tiny-inflate/index.js +375 -0
  416. package/dist/server/node_modules/tiny-inflate/package.json +28 -0
  417. package/dist/server/node_modules/tiny-inflate/readme.md +31 -0
  418. package/dist/server/node_modules/tiny-inflate/test/index.js +75 -0
  419. package/dist/server/node_modules/tiny-inflate/test/lorem.txt +199 -0
  420. package/dist/server/node_modules/unicode-trie/LICENSE +8 -0
  421. package/dist/server/node_modules/unicode-trie/README.md +77 -0
  422. package/dist/server/node_modules/unicode-trie/builder.js +966 -0
  423. package/dist/server/node_modules/unicode-trie/index.js +136 -0
  424. package/dist/server/node_modules/unicode-trie/package.json +27 -0
  425. package/dist/server/node_modules/unicode-trie/swap.js +25 -0
  426. package/dist/server/node_modules/unicode-trie/test/mocha.opts +1 -0
  427. package/dist/server/node_modules/unicode-trie/test/test.js +243 -0
  428. package/dist/server/server.js +664 -670
  429. package/package.json +3 -1
  430. package/dist/client/assets/page-seo-sheet-BVOTKmAi.js +0 -1
  431. package/dist/client/assets/project-app-view-BJPw6BEN.js +0 -1
  432. package/dist/client/assets/record-editor-DGNLZeof.js +0 -1
  433. package/dist/client/assets/redirect-editor-rNADegcF.js +0 -1
  434. package/dist/client/assets/registry-DSHcnwR4.js +0 -2
  435. package/dist/client/assets/store-registry-q7deglpz.js +0 -2
  436. package/dist/client/assets/useInfiniteQuery-DVl8ILZo.js +0 -1
  437. package/dist/client/assets/useSuspenseInfiniteQuery-ClimnWE2.js +0 -1
@@ -0,0 +1,447 @@
1
+ // The Substitution object provides utility methods to manipulate
2
+ // the GSUB substitution table.
3
+
4
+ import check from './check';
5
+ import Layout from './layout';
6
+
7
+ /**
8
+ * @exports opentype.Substitution
9
+ * @class
10
+ * @extends opentype.Layout
11
+ * @param {opentype.Font}
12
+ * @constructor
13
+ */
14
+ function Substitution(font) {
15
+ Layout.call(this, font, 'gsub');
16
+ }
17
+
18
+ // Check if 2 arrays of primitives are equal.
19
+ function arraysEqual(ar1, ar2) {
20
+ const n = ar1.length;
21
+ if (n !== ar2.length) {
22
+ return false;
23
+ }
24
+ for (let i = 0; i < n; i++) {
25
+ if (ar1[i] !== ar2[i]) {
26
+ return false;
27
+ }
28
+ }
29
+ return true;
30
+ }
31
+
32
+ // Find the first subtable of a lookup table in a particular format.
33
+ function getSubstFormat(lookupTable, format, defaultSubtable) {
34
+ const subtables = lookupTable.subtables;
35
+ for (let i = 0; i < subtables.length; i++) {
36
+ const subtable = subtables[i];
37
+ if (subtable.substFormat === format) {
38
+ return subtable;
39
+ }
40
+ }
41
+ if (defaultSubtable) {
42
+ subtables.push(defaultSubtable);
43
+ return defaultSubtable;
44
+ }
45
+ return undefined;
46
+ }
47
+
48
+ Substitution.prototype = Layout.prototype;
49
+
50
+ /**
51
+ * Create a default GSUB table.
52
+ * @return {Object} gsub - The GSUB table.
53
+ */
54
+ Substitution.prototype.createDefaultTable = function () {
55
+ // Generate a default empty GSUB table with just a DFLT script and dflt lang sys.
56
+ return {
57
+ version: 1,
58
+ scripts: [
59
+ {
60
+ tag: 'DFLT',
61
+ script: {
62
+ defaultLangSys: {
63
+ reserved: 0,
64
+ reqFeatureIndex: 0xffff,
65
+ featureIndexes: [],
66
+ },
67
+ langSysRecords: [],
68
+ },
69
+ },
70
+ ],
71
+ features: [],
72
+ lookups: [],
73
+ };
74
+ };
75
+
76
+ /**
77
+ * List all single substitutions (lookup type 1) for a given script, language, and feature.
78
+ * @param {string} [script='DFLT']
79
+ * @param {string} [language='dflt']
80
+ * @param {string} feature - 4-character feature name ('aalt', 'salt', 'ss01'...)
81
+ * @return {Array} substitutions - The list of substitutions.
82
+ */
83
+ Substitution.prototype.getSingle = function (feature, script, language) {
84
+ const substitutions = [];
85
+ const lookupTables = this.getLookupTables(script, language, feature, 1);
86
+ for (let idx = 0; idx < lookupTables.length; idx++) {
87
+ const subtables = lookupTables[idx].subtables;
88
+ for (let i = 0; i < subtables.length; i++) {
89
+ const subtable = subtables[i];
90
+ const glyphs = this.expandCoverage(subtable.coverage);
91
+ let j;
92
+ if (subtable.substFormat === 1) {
93
+ const delta = subtable.deltaGlyphId;
94
+ for (j = 0; j < glyphs.length; j++) {
95
+ const glyph = glyphs[j];
96
+ substitutions.push({ sub: glyph, by: glyph + delta });
97
+ }
98
+ } else {
99
+ const substitute = subtable.substitute;
100
+ for (j = 0; j < glyphs.length; j++) {
101
+ substitutions.push({ sub: glyphs[j], by: substitute[j] });
102
+ }
103
+ }
104
+ }
105
+ }
106
+ return substitutions;
107
+ };
108
+
109
+ /**
110
+ * List all multiple substitutions (lookup type 2) for a given script, language, and feature.
111
+ * @param {string} [script='DFLT']
112
+ * @param {string} [language='dflt']
113
+ * @param {string} feature - 4-character feature name ('ccmp', 'stch')
114
+ * @return {Array} substitutions - The list of substitutions.
115
+ */
116
+ Substitution.prototype.getMultiple = function (feature, script, language) {
117
+ const substitutions = [];
118
+ const lookupTables = this.getLookupTables(script, language, feature, 2);
119
+ for (let idx = 0; idx < lookupTables.length; idx++) {
120
+ const subtables = lookupTables[idx].subtables;
121
+ for (let i = 0; i < subtables.length; i++) {
122
+ const subtable = subtables[i];
123
+ const glyphs = this.expandCoverage(subtable.coverage);
124
+ let j;
125
+
126
+ for (j = 0; j < glyphs.length; j++) {
127
+ const glyph = glyphs[j];
128
+ const replacements = subtable.sequences[j];
129
+ substitutions.push({ sub: glyph, by: replacements });
130
+ }
131
+ }
132
+ }
133
+ return substitutions;
134
+ };
135
+
136
+ /**
137
+ * List all alternates (lookup type 3) for a given script, language, and feature.
138
+ * @param {string} [script='DFLT']
139
+ * @param {string} [language='dflt']
140
+ * @param {string} feature - 4-character feature name ('aalt', 'salt'...)
141
+ * @return {Array} alternates - The list of alternates
142
+ */
143
+ Substitution.prototype.getAlternates = function (feature, script, language) {
144
+ const alternates = [];
145
+ const lookupTables = this.getLookupTables(script, language, feature, 3);
146
+ for (let idx = 0; idx < lookupTables.length; idx++) {
147
+ const subtables = lookupTables[idx].subtables;
148
+ for (let i = 0; i < subtables.length; i++) {
149
+ const subtable = subtables[i];
150
+ const glyphs = this.expandCoverage(subtable.coverage);
151
+ const alternateSets = subtable.alternateSets;
152
+ for (let j = 0; j < glyphs.length; j++) {
153
+ alternates.push({ sub: glyphs[j], by: alternateSets[j] });
154
+ }
155
+ }
156
+ }
157
+ return alternates;
158
+ };
159
+
160
+ /**
161
+ * List all ligatures (lookup type 4) for a given script, language, and feature.
162
+ * The result is an array of ligature objects like { sub: [ids], by: id }
163
+ * @param {string} feature - 4-letter feature name ('liga', 'rlig', 'dlig'...)
164
+ * @param {string} [script='DFLT']
165
+ * @param {string} [language='dflt']
166
+ * @return {Array} ligatures - The list of ligatures.
167
+ */
168
+ Substitution.prototype.getLigatures = function (feature, script, language) {
169
+ const ligatures = [];
170
+ const lookupTables = this.getLookupTables(script, language, feature, 4);
171
+ for (let idx = 0; idx < lookupTables.length; idx++) {
172
+ const subtables = lookupTables[idx].subtables;
173
+ for (let i = 0; i < subtables.length; i++) {
174
+ const subtable = subtables[i];
175
+ const glyphs = this.expandCoverage(subtable.coverage);
176
+ const ligatureSets = subtable.ligatureSets;
177
+ for (let j = 0; j < glyphs.length; j++) {
178
+ const startGlyph = glyphs[j];
179
+ const ligSet = ligatureSets[j];
180
+ for (let k = 0; k < ligSet.length; k++) {
181
+ const lig = ligSet[k];
182
+ ligatures.push({
183
+ sub: [startGlyph].concat(lig.components),
184
+ by: lig.ligGlyph,
185
+ });
186
+ }
187
+ }
188
+ }
189
+ }
190
+ return ligatures;
191
+ };
192
+
193
+ /**
194
+ * Add or modify a single substitution (lookup type 1)
195
+ * Format 2, more flexible, is always used.
196
+ * @param {string} feature - 4-letter feature name ('liga', 'rlig', 'dlig'...)
197
+ * @param {Object} substitution - { sub: id, by: id } (format 1 is not supported)
198
+ * @param {string} [script='DFLT']
199
+ * @param {string} [language='dflt']
200
+ */
201
+ Substitution.prototype.addSingle = function (
202
+ feature,
203
+ substitution,
204
+ script,
205
+ language
206
+ ) {
207
+ const lookupTable = this.getLookupTables(
208
+ script,
209
+ language,
210
+ feature,
211
+ 1,
212
+ true
213
+ )[0];
214
+ const subtable = getSubstFormat(lookupTable, 2, {
215
+ // lookup type 1 subtable, format 2, coverage format 1
216
+ substFormat: 2,
217
+ coverage: { format: 1, glyphs: [] },
218
+ substitute: [],
219
+ });
220
+ check.assert(
221
+ subtable.coverage.format === 1,
222
+ 'Single: unable to modify coverage table format ' +
223
+ subtable.coverage.format
224
+ );
225
+ const coverageGlyph = substitution.sub;
226
+ let pos = this.binSearch(subtable.coverage.glyphs, coverageGlyph);
227
+ if (pos < 0) {
228
+ pos = -1 - pos;
229
+ subtable.coverage.glyphs.splice(pos, 0, coverageGlyph);
230
+ subtable.substitute.splice(pos, 0, 0);
231
+ }
232
+ subtable.substitute[pos] = substitution.by;
233
+ };
234
+
235
+ /**
236
+ * Add or modify a multiple substitution (lookup type 2)
237
+ * @param {string} feature - 4-letter feature name ('ccmp', 'stch')
238
+ * @param {Object} substitution - { sub: id, by: [id] } for format 2.
239
+ * @param {string} [script='DFLT']
240
+ * @param {string} [language='dflt']
241
+ */
242
+ Substitution.prototype.addMultiple = function (
243
+ feature,
244
+ substitution,
245
+ script,
246
+ language
247
+ ) {
248
+ check.assert(
249
+ substitution.by instanceof Array && substitution.by.length > 1,
250
+ 'Multiple: "by" must be an array of two or more ids'
251
+ );
252
+ const lookupTable = this.getLookupTables(
253
+ script,
254
+ language,
255
+ feature,
256
+ 2,
257
+ true
258
+ )[0];
259
+ const subtable = getSubstFormat(lookupTable, 1, {
260
+ // lookup type 2 subtable, format 1, coverage format 1
261
+ substFormat: 1,
262
+ coverage: { format: 1, glyphs: [] },
263
+ sequences: [],
264
+ });
265
+ check.assert(
266
+ subtable.coverage.format === 1,
267
+ 'Multiple: unable to modify coverage table format ' +
268
+ subtable.coverage.format
269
+ );
270
+ const coverageGlyph = substitution.sub;
271
+ let pos = this.binSearch(subtable.coverage.glyphs, coverageGlyph);
272
+ if (pos < 0) {
273
+ pos = -1 - pos;
274
+ subtable.coverage.glyphs.splice(pos, 0, coverageGlyph);
275
+ subtable.sequences.splice(pos, 0, 0);
276
+ }
277
+ subtable.sequences[pos] = substitution.by;
278
+ };
279
+
280
+ /**
281
+ * Add or modify an alternate substitution (lookup type 3)
282
+ * @param {string} feature - 4-letter feature name ('liga', 'rlig', 'dlig'...)
283
+ * @param {Object} substitution - { sub: id, by: [ids] }
284
+ * @param {string} [script='DFLT']
285
+ * @param {string} [language='dflt']
286
+ */
287
+ Substitution.prototype.addAlternate = function (
288
+ feature,
289
+ substitution,
290
+ script,
291
+ language
292
+ ) {
293
+ const lookupTable = this.getLookupTables(
294
+ script,
295
+ language,
296
+ feature,
297
+ 3,
298
+ true
299
+ )[0];
300
+ const subtable = getSubstFormat(lookupTable, 1, {
301
+ // lookup type 3 subtable, format 1, coverage format 1
302
+ substFormat: 1,
303
+ coverage: { format: 1, glyphs: [] },
304
+ alternateSets: [],
305
+ });
306
+ check.assert(
307
+ subtable.coverage.format === 1,
308
+ 'Alternate: unable to modify coverage table format ' +
309
+ subtable.coverage.format
310
+ );
311
+ const coverageGlyph = substitution.sub;
312
+ let pos = this.binSearch(subtable.coverage.glyphs, coverageGlyph);
313
+ if (pos < 0) {
314
+ pos = -1 - pos;
315
+ subtable.coverage.glyphs.splice(pos, 0, coverageGlyph);
316
+ subtable.alternateSets.splice(pos, 0, 0);
317
+ }
318
+ subtable.alternateSets[pos] = substitution.by;
319
+ };
320
+
321
+ /**
322
+ * Add a ligature (lookup type 4)
323
+ * Ligatures with more components must be stored ahead of those with fewer components in order to be found
324
+ * @param {string} feature - 4-letter feature name ('liga', 'rlig', 'dlig'...)
325
+ * @param {Object} ligature - { sub: [ids], by: id }
326
+ * @param {string} [script='DFLT']
327
+ * @param {string} [language='dflt']
328
+ */
329
+ Substitution.prototype.addLigature = function (
330
+ feature,
331
+ ligature,
332
+ script,
333
+ language
334
+ ) {
335
+ const lookupTable = this.getLookupTables(
336
+ script,
337
+ language,
338
+ feature,
339
+ 4,
340
+ true
341
+ )[0];
342
+ let subtable = lookupTable.subtables[0];
343
+ if (!subtable) {
344
+ subtable = {
345
+ // lookup type 4 subtable, format 1, coverage format 1
346
+ substFormat: 1,
347
+ coverage: { format: 1, glyphs: [] },
348
+ ligatureSets: [],
349
+ };
350
+ lookupTable.subtables[0] = subtable;
351
+ }
352
+ check.assert(
353
+ subtable.coverage.format === 1,
354
+ 'Ligature: unable to modify coverage table format ' +
355
+ subtable.coverage.format
356
+ );
357
+ const coverageGlyph = ligature.sub[0];
358
+ const ligComponents = ligature.sub.slice(1);
359
+ const ligatureTable = {
360
+ ligGlyph: ligature.by,
361
+ components: ligComponents,
362
+ };
363
+ let pos = this.binSearch(subtable.coverage.glyphs, coverageGlyph);
364
+ if (pos >= 0) {
365
+ // ligatureSet already exists
366
+ const ligatureSet = subtable.ligatureSets[pos];
367
+ for (let i = 0; i < ligatureSet.length; i++) {
368
+ // If ligature already exists, return.
369
+ if (arraysEqual(ligatureSet[i].components, ligComponents)) {
370
+ return;
371
+ }
372
+ }
373
+ // ligature does not exist: add it.
374
+ ligatureSet.push(ligatureTable);
375
+ } else {
376
+ // Create a new ligatureSet and add coverage for the first glyph.
377
+ pos = -1 - pos;
378
+ subtable.coverage.glyphs.splice(pos, 0, coverageGlyph);
379
+ subtable.ligatureSets.splice(pos, 0, [ligatureTable]);
380
+ }
381
+ };
382
+
383
+ /**
384
+ * List all feature data for a given script and language.
385
+ * @param {string} feature - 4-letter feature name
386
+ * @param {string} [script='DFLT']
387
+ * @param {string} [language='dflt']
388
+ * @return {Array} substitutions - The list of substitutions.
389
+ */
390
+ Substitution.prototype.getFeature = function (feature, script, language) {
391
+ if (/ss\d\d/.test(feature)) {
392
+ // ss01 - ss20
393
+ return this.getSingle(feature, script, language);
394
+ }
395
+ switch (feature) {
396
+ case 'aalt':
397
+ case 'salt':
398
+ return this.getSingle(feature, script, language).concat(
399
+ this.getAlternates(feature, script, language)
400
+ );
401
+ case 'dlig':
402
+ case 'liga':
403
+ case 'rlig':
404
+ return this.getLigatures(feature, script, language);
405
+ case 'ccmp':
406
+ return this.getMultiple(feature, script, language).concat(
407
+ this.getLigatures(feature, script, language)
408
+ );
409
+ case 'stch':
410
+ return this.getMultiple(feature, script, language);
411
+ }
412
+ return undefined;
413
+ };
414
+
415
+ /**
416
+ * Add a substitution to a feature for a given script and language.
417
+ * @param {string} feature - 4-letter feature name
418
+ * @param {Object} sub - the substitution to add (an object like { sub: id or [ids], by: id or [ids] })
419
+ * @param {string} [script='DFLT']
420
+ * @param {string} [language='dflt']
421
+ */
422
+ Substitution.prototype.add = function (feature, sub, script, language) {
423
+ if (/ss\d\d/.test(feature)) {
424
+ // ss01 - ss20
425
+ return this.addSingle(feature, sub, script, language);
426
+ }
427
+ switch (feature) {
428
+ case 'aalt':
429
+ case 'salt':
430
+ if (typeof sub.by === 'number') {
431
+ return this.addSingle(feature, sub, script, language);
432
+ }
433
+ return this.addAlternate(feature, sub, script, language);
434
+ case 'dlig':
435
+ case 'liga':
436
+ case 'rlig':
437
+ return this.addLigature(feature, sub, script, language);
438
+ case 'ccmp':
439
+ if (sub.by instanceof Array) {
440
+ return this.addMultiple(feature, sub, script, language);
441
+ }
442
+ return this.addLigature(feature, sub, script, language);
443
+ }
444
+ return undefined;
445
+ };
446
+
447
+ export default Substitution;
@@ -0,0 +1,215 @@
1
+ // Table metadata
2
+
3
+ import check from './check';
4
+ import { encode, sizeOf } from './types';
5
+
6
+ /**
7
+ * @exports opentype.Table
8
+ * @class
9
+ * @param {string} tableName
10
+ * @param {Array} fields
11
+ * @param {Object} options
12
+ * @constructor
13
+ */
14
+ function Table(tableName, fields, options) {
15
+ // For coverage tables with coverage format 2, we do not want to add the coverage data directly to the table object,
16
+ // as this will result in wrong encoding order of the coverage data on serialization to bytes.
17
+ // The fallback of using the field values directly when not present on the table is handled in types.encode.TABLE() already.
18
+ if (fields.length && (fields[0].name !== 'coverageFormat' || fields[0].value === 1)) {
19
+ for (let i = 0; i < fields.length; i += 1) {
20
+ const field = fields[i];
21
+ this[field.name] = field.value;
22
+ }
23
+ }
24
+
25
+ this.tableName = tableName;
26
+ this.fields = fields;
27
+ if (options) {
28
+ const optionKeys = Object.keys(options);
29
+ for (let i = 0; i < optionKeys.length; i += 1) {
30
+ const k = optionKeys[i];
31
+ const v = options[k];
32
+ if (this[k] !== undefined) {
33
+ this[k] = v;
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+ /**
40
+ * Encodes the table and returns an array of bytes
41
+ * @return {Array}
42
+ */
43
+ Table.prototype.encode = function() {
44
+ return encode.TABLE(this);
45
+ };
46
+
47
+ /**
48
+ * Get the size of the table.
49
+ * @return {number}
50
+ */
51
+ Table.prototype.sizeOf = function() {
52
+ return sizeOf.TABLE(this);
53
+ };
54
+
55
+ /**
56
+ * @private
57
+ */
58
+ function ushortList(itemName, list, count) {
59
+ if (count === undefined) {
60
+ count = list.length;
61
+ }
62
+ const fields = new Array(list.length + 1);
63
+ fields[0] = {name: itemName + 'Count', type: 'USHORT', value: count};
64
+ for (let i = 0; i < list.length; i++) {
65
+ fields[i + 1] = {name: itemName + i, type: 'USHORT', value: list[i]};
66
+ }
67
+ return fields;
68
+ }
69
+
70
+ /**
71
+ * @private
72
+ */
73
+ function tableList(itemName, records, itemCallback) {
74
+ const count = records.length;
75
+ const fields = new Array(count + 1);
76
+ fields[0] = {name: itemName + 'Count', type: 'USHORT', value: count};
77
+ for (let i = 0; i < count; i++) {
78
+ fields[i + 1] = {name: itemName + i, type: 'TABLE', value: itemCallback(records[i], i)};
79
+ }
80
+ return fields;
81
+ }
82
+
83
+ /**
84
+ * @private
85
+ */
86
+ function recordList(itemName, records, itemCallback) {
87
+ const count = records.length;
88
+ let fields = [];
89
+ fields[0] = {name: itemName + 'Count', type: 'USHORT', value: count};
90
+ for (let i = 0; i < count; i++) {
91
+ fields = fields.concat(itemCallback(records[i], i));
92
+ }
93
+ return fields;
94
+ }
95
+
96
+ // Common Layout Tables
97
+
98
+ /**
99
+ * @exports opentype.Coverage
100
+ * @class
101
+ * @param {opentype.Table}
102
+ * @constructor
103
+ * @extends opentype.Table
104
+ */
105
+ function Coverage(coverageTable) {
106
+ if (coverageTable.format === 1) {
107
+ Table.call(this, 'coverageTable',
108
+ [{name: 'coverageFormat', type: 'USHORT', value: 1}]
109
+ .concat(ushortList('glyph', coverageTable.glyphs))
110
+ );
111
+ } else if (coverageTable.format === 2) {
112
+ Table.call(this, 'coverageTable',
113
+ [{name: 'coverageFormat', type: 'USHORT', value: 2}]
114
+ .concat(recordList('rangeRecord', coverageTable.ranges, function(RangeRecord) {
115
+ return [
116
+ {name: 'startGlyphID', type: 'USHORT', value: RangeRecord.start},
117
+ {name: 'endGlyphID', type: 'USHORT', value: RangeRecord.end},
118
+ {name: 'startCoverageIndex', type: 'USHORT', value: RangeRecord.index},
119
+ ];
120
+ }))
121
+ );
122
+ } else {
123
+ check.assert(false, 'Coverage format must be 1 or 2.');
124
+ }
125
+ }
126
+ Coverage.prototype = Object.create(Table.prototype);
127
+ Coverage.prototype.constructor = Coverage;
128
+
129
+ function ScriptList(scriptListTable) {
130
+ Table.call(this, 'scriptListTable',
131
+ recordList('scriptRecord', scriptListTable, function(scriptRecord, i) {
132
+ const script = scriptRecord.script;
133
+ let defaultLangSys = script.defaultLangSys;
134
+ check.assert(!!defaultLangSys, 'Unable to write GSUB: script ' + scriptRecord.tag + ' has no default language system.');
135
+ return [
136
+ {name: 'scriptTag' + i, type: 'TAG', value: scriptRecord.tag},
137
+ {name: 'script' + i, type: 'TABLE', value: new Table('scriptTable', [
138
+ {name: 'defaultLangSys', type: 'TABLE', value: new Table('defaultLangSys', [
139
+ {name: 'lookupOrder', type: 'USHORT', value: 0},
140
+ {name: 'reqFeatureIndex', type: 'USHORT', value: defaultLangSys.reqFeatureIndex}]
141
+ .concat(ushortList('featureIndex', defaultLangSys.featureIndexes)))}
142
+ ].concat(recordList('langSys', script.langSysRecords, function(langSysRecord, i) {
143
+ const langSys = langSysRecord.langSys;
144
+ return [
145
+ {name: 'langSysTag' + i, type: 'TAG', value: langSysRecord.tag},
146
+ {name: 'langSys' + i, type: 'TABLE', value: new Table('langSys', [
147
+ {name: 'lookupOrder', type: 'USHORT', value: 0},
148
+ {name: 'reqFeatureIndex', type: 'USHORT', value: langSys.reqFeatureIndex}
149
+ ].concat(ushortList('featureIndex', langSys.featureIndexes)))}
150
+ ];
151
+ })))}
152
+ ];
153
+ })
154
+ );
155
+ }
156
+ ScriptList.prototype = Object.create(Table.prototype);
157
+ ScriptList.prototype.constructor = ScriptList;
158
+
159
+ /**
160
+ * @exports opentype.FeatureList
161
+ * @class
162
+ * @param {opentype.Table}
163
+ * @constructor
164
+ * @extends opentype.Table
165
+ */
166
+ function FeatureList(featureListTable) {
167
+ Table.call(this, 'featureListTable',
168
+ recordList('featureRecord', featureListTable, function(featureRecord, i) {
169
+ const feature = featureRecord.feature;
170
+ return [
171
+ {name: 'featureTag' + i, type: 'TAG', value: featureRecord.tag},
172
+ {name: 'feature' + i, type: 'TABLE', value: new Table('featureTable', [
173
+ {name: 'featureParams', type: 'USHORT', value: feature.featureParams},
174
+ ].concat(ushortList('lookupListIndex', feature.lookupListIndexes)))}
175
+ ];
176
+ })
177
+ );
178
+ }
179
+ FeatureList.prototype = Object.create(Table.prototype);
180
+ FeatureList.prototype.constructor = FeatureList;
181
+
182
+ /**
183
+ * @exports opentype.LookupList
184
+ * @class
185
+ * @param {opentype.Table}
186
+ * @param {Object}
187
+ * @constructor
188
+ * @extends opentype.Table
189
+ */
190
+ function LookupList(lookupListTable, subtableMakers) {
191
+ Table.call(this, 'lookupListTable', tableList('lookup', lookupListTable, function(lookupTable) {
192
+ let subtableCallback = subtableMakers[lookupTable.lookupType];
193
+ check.assert(!!subtableCallback, 'Unable to write GSUB lookup type ' + lookupTable.lookupType + ' tables.');
194
+ return new Table('lookupTable', [
195
+ {name: 'lookupType', type: 'USHORT', value: lookupTable.lookupType},
196
+ {name: 'lookupFlag', type: 'USHORT', value: lookupTable.lookupFlag}
197
+ ].concat(tableList('subtable', lookupTable.subtables, subtableCallback)));
198
+ }));
199
+ }
200
+ LookupList.prototype = Object.create(Table.prototype);
201
+ LookupList.prototype.constructor = LookupList;
202
+
203
+ // Record = same as Table, but inlined (a Table has an offset and its data is further in the stream)
204
+ // Don't use offsets inside Records (probable bug), only in Tables.
205
+ export default {
206
+ Table,
207
+ Record: Table,
208
+ Coverage,
209
+ ScriptList,
210
+ FeatureList,
211
+ LookupList,
212
+ ushortList,
213
+ tableList,
214
+ recordList,
215
+ };