@flighthq/textshaper 0.5.1-next.973.788d3d7 → 0.6.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.
- package/README.md +2 -2
- package/dist/.tsbuildinfo.contract +1 -0
- package/dist/.tsbuildinfo.runtime +1 -0
- package/dist/contract.d.ts +2 -10
- package/dist/contract.d.ts.map +1 -1
- package/dist/contract.js +2 -10
- package/dist/contract.js.map +1 -1
- package/dist/contract.textshaper-types.d.ts +2 -0
- package/dist/contract.textshaper-types.d.ts.map +1 -0
- package/dist/contract.textshaper-types.js +4 -0
- package/dist/contract.textshaper-types.js.map +1 -0
- package/dist/enableTextShaperGuards.d.ts +2 -1
- package/dist/enableTextShaperGuards.d.ts.map +1 -1
- package/dist/enableTextShaperGuards.js +6 -7
- package/dist/enableTextShaperGuards.js.map +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/runtime.d.ts +10 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +9 -0
- package/dist/runtime.js.map +1 -0
- package/dist/textShaper.d.ts +9 -13
- package/dist/textShaper.d.ts.map +1 -1
- package/dist/textShaper.js +7 -37
- package/dist/textShaper.js.map +1 -1
- package/dist/textShaperCache.d.ts +4 -2
- package/dist/textShaperCache.d.ts.map +1 -1
- package/dist/textShaperCache.js +9 -14
- package/dist/textShaperCache.js.map +1 -1
- package/dist/textShaperCluster.d.ts +1 -1
- package/dist/textShaperCluster.d.ts.map +1 -1
- package/dist/textShaperItemize.d.ts +3 -2
- package/dist/textShaperItemize.d.ts.map +1 -1
- package/dist/textShaperItemize.js +3 -3
- package/dist/textShaperItemize.js.map +1 -1
- package/dist/textShaperPool.d.ts +1 -1
- package/dist/textShaperPool.d.ts.map +1 -1
- package/dist/textShaperPool.js +1 -1
- package/dist/textShaperPool.js.map +1 -1
- package/dist/textShaperRun.d.ts +21 -15
- package/dist/textShaperRun.d.ts.map +1 -1
- package/dist/textShaperRun.js +32 -42
- package/dist/textShaperRun.js.map +1 -1
- package/dist/textShaperSignals.d.ts +2 -1
- package/dist/textShaperSignals.d.ts.map +1 -1
- package/dist/textShaperSignals.js +2 -9
- package/dist/textShaperSignals.js.map +1 -1
- package/dist/textShaperTypes.d.ts +102 -0
- package/dist/textShaperTypes.d.ts.map +1 -0
- package/dist/textShaperTypes.js +16 -0
- package/dist/textShaperTypes.js.map +1 -0
- package/package.json +9 -6
- package/src/enableTextShaperGuards.test.ts +19 -15
- package/src/textShaper.test.ts +34 -115
- package/src/textShaperCache.test.ts +38 -64
- package/src/textShaperCluster.test.ts +2 -3
- package/src/textShaperItemize.test.ts +15 -27
- package/src/textShaperPool.test.ts +1 -1
- package/src/textShaperRun.test.ts +51 -113
- package/src/textShaperSignals.test.ts +1 -44
- package/dist/_textShaperHooks.d.ts +0 -4
- package/dist/_textShaperHooks.d.ts.map +0 -1
- package/dist/_textShaperHooks.js +0 -5
- package/dist/_textShaperHooks.js.map +0 -1
- package/src/_textShaperHooks.test.ts +0 -69
package/README.md
CHANGED
|
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/textshaper`. The `@f
|
|
|
13
13
|
This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
|
|
14
14
|
|
|
15
15
|
- [Flight project](https://github.com/flighthq/flight)
|
|
16
|
-
- [Source for @flighthq/textshaper@0.
|
|
17
|
-
- [License](https://github.com/flighthq/flight/blob/
|
|
16
|
+
- [Source for @flighthq/textshaper@0.6.0](https://github.com/flighthq/flight/tree/ead804bfaef3e691a2e6e43e9711ddd3fd8a84a2/packages/textshaper)
|
|
17
|
+
- [License](https://github.com/flighthq/flight/blob/ead804bfaef3e691a2e6e43e9711ddd3fd8a84a2/LICENSE.md)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":"7.0.2","root":[[92,93]],"packageJsons":["../../../node_modules/@standard-schema/spec/package.json","../../../node_modules/@testing-library/jest-dom/package.json","../../../node_modules/@types/aria-query/package.json","../../../node_modules/@types/chai/package.json","../../../node_modules/@types/deep-eql/package.json","../../../node_modules/@types/node/package.json","../../../node_modules/@vitest/coverage-v8/package.json","../../../node_modules/@vitest/expect/package.json","../../../node_modules/@vitest/mocker/package.json","../../../node_modules/@vitest/pretty-format/package.json","../../../node_modules/@vitest/runner/package.json","../../../node_modules/@vitest/snapshot/package.json","../../../node_modules/@vitest/spy/package.json","../../../node_modules/@vitest/utils/package.json","../../../node_modules/@webgpu/types/package.json","../../../node_modules/aria-query/package.json","../../../node_modules/assertion-error/package.json","../../../node_modules/chai/package.json","../../../node_modules/deep-eql/package.json","../../../node_modules/expect-type/package.json","../../../node_modules/jiti/package.json","../../../node_modules/jsdom/package.json","../../../node_modules/terser/package.json","../../../node_modules/tinybench/package.json","../../../node_modules/tinyrainbow/package.json","../../../node_modules/tsx/package.json","../../../node_modules/vite/package.json","../../../node_modules/vite/types/package.json","../../../node_modules/vitest/package.json","../../../node_modules/yaml/package.json","../../entity/package.json","../../font/package.json","../../path/package.json","../../signals/package.json","../../textformat/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/@edge-runtime/vm/package.json","../../../node_modules/@opentelemetry/api/package.json","../../../node_modules/@standard-schema/spec/dist/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/aria-query/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/jest/package.json","../../../node_modules/@testing-library/jest-dom/types/package.json","../../../node_modules/@types/jest/package.json","../../../node_modules/@types/testing-library__jest-dom/package.json","../../../node_modules/@types/vitest/globals/package.json","../../../node_modules/@types/webgpu__types/package.json","../../../node_modules/@vitest/browser-playwright/package.json","../../../node_modules/@vitest/browser-preview/package.json","../../../node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/@vitest/expect/dist/package.json","../../../node_modules/@vitest/mocker/dist/package.json","../../../node_modules/@vitest/pretty-format/dist/package.json","../../../node_modules/@vitest/runner/dist/package.json","../../../node_modules/@vitest/runner/utils/package.json","../../../node_modules/@vitest/snapshot/dist/package.json","../../../node_modules/@vitest/spy/dist/package.json","../../../node_modules/@vitest/ui/package.json","../../../node_modules/@vitest/utils/diff/package.json","../../../node_modules/@vitest/utils/display/package.json","../../../node_modules/@vitest/utils/dist/package.json","../../../node_modules/@webgpu/types/dist/package.json","../../../node_modules/expect-type/dist/package.json","../../../node_modules/happy-dom/package.json","../../../node_modules/jest/package.json","../../../node_modules/less/package.json","../../../node_modules/lightningcss/package.json","../../../node_modules/msw/package.json","../../../node_modules/sass-embedded/package.json","../../../node_modules/sass/package.json","../../../node_modules/stylus/package.json","../../../node_modules/sugarss/package.json","../../../node_modules/tinybench/dist/package.json","../../../node_modules/tinyrainbow/dist/package.json","../../../node_modules/vite/dist/node/chunks/package.json","../../../node_modules/vite/dist/node/package.json","../../../node_modules/vite/dist/package.json","../../../node_modules/vite/module-runner/package.json","../../../node_modules/vitest/dist/chunks/package.json","../../../node_modules/vitest/dist/package.json","../../../node_modules/vitest/globals/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.dom.asynciterable.d.ts","lib.webworker.importscripts.d.ts","lib.scripthost.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","lib.es2022.full.d.ts","../../entity/dist/types.d.ts","../../entity/dist/binding.d.ts","../../entity/dist/clone.d.ts","../../entity/dist/enableEntityRuntimeGuards.d.ts","../../entity/dist/entity.d.ts","../../entity/dist/entityUid.d.ts","../../entity/dist/explainEntityRuntimeWrite.d.ts","../../entity/dist/guards.d.ts","../../entity/dist/runtime.d.ts","../../entity/dist/contract.d.ts","../../path/dist/path.d.ts","../../path/dist/pathCompat.d.ts","../../path/dist/contract.path-types.d.ts","../../font/dist/types.d.ts","../../font/dist/contract.font-types.d.ts","../../signals/dist/types.d.ts","../../signals/dist/connection.d.ts","../../signals/dist/emitter.d.ts","../../signals/dist/internal.d.ts","../../signals/dist/safe.d.ts","../../signals/dist/scope.d.ts","../../signals/dist/signal.d.ts","../../signals/dist/slot.d.ts","../../signals/dist/throttle.d.ts","../../signals/dist/signalTypes.d.ts","../../signals/dist/contract.d.ts","../../textformat/dist/types.d.ts","../../textformat/dist/contract.textformat-types.d.ts","../src/textShaperTypes.ts","../src/contract.textshaper-types.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@testing-library/jest-dom/types/matchers.d.ts","../../../node_modules/@testing-library/jest-dom/types/jest.d.ts","../../../node_modules/@testing-library/jest-dom/types/index.d.ts","../../../node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/display.d.ts","../../../node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/@vitest/utils/dist/timers.d.ts","../../../node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../../../node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/@vitest/runner/dist/tasks.d-DEYaIMIu.d.ts","../../../node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/traces.d.D2T_R8rx.d.ts","../../../node_modules/vite/types/hmrPayload.d.ts","../../../node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","../../../node_modules/vite/types/customEvent.d.ts","../../../node_modules/vite/types/hot.d.ts","../../../node_modules/vite/dist/node/module-runner.d.ts","../../../node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts","../../../node_modules/@vitest/snapshot/dist/rawSnapshot.d-D_X3-62x.d.ts","../../../node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/config.d.A1h_Y6Jt.d.ts","../../../node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts","../../../node_modules/vitest/dist/chunks/rpc.d.B_8sPU0w.d.ts","../../../node_modules/vitest/dist/chunks/worker.d.ZpHpO4yb.d.ts","../../../node_modules/vitest/dist/chunks/browser.d.BcoexmFG.d.ts","../../../node_modules/@vitest/spy/optional-types.d.ts","../../../node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/tinyrainbow/dist/index.d.ts","../../../node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/assertion-error/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/tinybench/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts","../../../node_modules/vitest/dist/chunks/global.d.DVsSRdQ5.d.ts","../../../node_modules/vitest/optional-runtime-types.d.ts","../../../node_modules/@vitest/mocker/dist/types.d-BjI5eAwu.d.ts","../../../node_modules/@vitest/mocker/dist/index.d-B41z0AuW.d.ts","../../../node_modules/@vitest/mocker/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/suite.d.udJtyAgw.d.ts","../../../node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts","../../../node_modules/vitest/dist/runners.d.ts","../../../node_modules/expect-type/dist/utils.d.ts","../../../node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/expect-type/dist/branding.d.ts","../../../node_modules/expect-type/dist/messages.d.ts","../../../node_modules/expect-type/dist/index.d.ts","../../../node_modules/vitest/dist/index.d.ts","../../../node_modules/vitest/globals.d.ts","../../../node_modules/@webgpu/types/dist/index.d.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237","abad6dd56cc8caf095c165df8124d237",{"version":"2a9941db0809c9ad0e8837ed629b1dcc","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d051b93324f36bcc68d152a5ca0988cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},"0eb5b8b97bde45c8fde5cd07c33f6631","22772bc49abb63e5c9ba66ac5fb78a3d","daf7ba9e176366b3caf843bd266d163a","1cd6ad8dcb5625d764e0d55a82295469","76aca40ee07d543a14c24ba839109332","6f54f49ea7e96bdd7a9078f6c94e88fd","e9fd0536114fa9a746eacd5bc23969e5","add935c05420698ee2f670e9c7605d49","8202b77f954e4d5a21783859414fcc7c","524a08ff038d375ae8c86bf6481e17d2","9ff787c1324b2d4c07a342936293f47a","3704b193249f3c65879149dbd28eeab4","6f5dfe9f0c52d74a2a09535b96a36c6e","87e0e1408f1c61e956e140ef8a3fe417","159a106fc9eccd6c6a86cb10b0cd78b4","ac4d61d696a89bf6807b643594e36e00","921f8c08344aa1539405420fcf952a20","21a1b4607cb18ab00b1254cb35a77c57","d80705d2e260aba56aa54c416f471fbd","a821537667385a2906566c8bc69a21ed","387cee0627331c24f641f87fc905bff1","859418c3a3f1b2e9500476d829fc6093","32e33ec68ba1aa1147aab680de3b7c90","67c59d76f923f64e85a373fb5a2bbb13","5676a2feb7e6b36f973571c4a4500566","dd2bc19aa76d59fe40aa6c6fb9a33365","7ef4fc8b5166fc742b557034c24ec46b","288702a1c22e39cfa886887e892d13bf","5654b86187d34ce2ec00af70092ca419",{"version":"130d201773d1e754aecebac5b699d90b","signature":"c35b97127be31595041da9d510a32656","impliedNodeFormat":1},{"version":"2043ab49f0f74b3824c3692653b0ca93","signature":"ce3771d7ca6ac8d795bc1554cd671a0c","impliedNodeFormat":1},"56d080dfccb3c53a2d6c74c4f24252e3","75ebd62d9641cc8b34ba9b09be8283a9",{"version":"753f71e16f2994f332390bb1c997b0e3","affectsGlobalScope":true,"impliedNodeFormat":1},"8def0ea0e249f49397d74a4f5bdd45a5",{"version":"ed63d99e1e5c371dc120bef1b84057fc","impliedNodeFormat":99},{"version":"4d3fb552bfc7fb53c9195b2fafb512c0","impliedNodeFormat":99},{"version":"fbf7ba69043f86dc506ba28263e2e783","impliedNodeFormat":99},{"version":"a611eb6935df7737a77b34b01c631a4a","impliedNodeFormat":99},{"version":"6d08f6f1d0ee294c119d0e66f826331a","impliedNodeFormat":99},{"version":"d0abb8fa314728650d85450ff59db909","impliedNodeFormat":99},{"version":"abe007be89c2ad52c4d67fc2b0f6da6b","impliedNodeFormat":99},{"version":"ae1fe3925f3a2c8dfbb269ac2a50f5a6","impliedNodeFormat":99},{"version":"ee8ce731ff781ae7011350481a1af176","impliedNodeFormat":99},{"version":"08dcd98985ae16732a9be03d2b56aea6","impliedNodeFormat":99},{"version":"47f7401876f3c0a5b80bd01fbdfaed2b","impliedNodeFormat":99},"ab8e1ea59f16bc290a0451d09dc5a52e",{"version":"e9d43fb880595ac4ee66a56a364fd5fb","impliedNodeFormat":99},"24367c4ec7d778084b3a83bbdc5a23d4","edbf4843929ee5fe6521503f424e4464",{"version":"5e0eecd60ec8ccc15c22c507248ef1aa","impliedNodeFormat":99},{"version":"0221e2868d1f0d6df8321d945764aadb","impliedNodeFormat":99},{"version":"d2f6ad6f161f0a522886f64842c96a0e","impliedNodeFormat":99},{"version":"618ace1500cc84e42bc2e47c64f8c407","impliedNodeFormat":99},{"version":"9dd3c481cc870c4bf19e59d34f030a27","impliedNodeFormat":99},{"version":"b5c81396e966d59acab5a45f66b70866","impliedNodeFormat":99},{"version":"f94aa434ddb9e71f6e80395de85f6850","impliedNodeFormat":99},{"version":"3486e8f7f01b9874a793ddd451eb62a5","impliedNodeFormat":99},{"version":"cb0e7222aae349c2fb4f89b26efa81bd","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"0d7bbad7f82c886c5f36730065aec119","impliedNodeFormat":99},{"version":"369460c2755240ac2d3d006f09adb5ca","impliedNodeFormat":99},{"version":"4509fca76e721cdf9edb2d028395a117","impliedNodeFormat":99},"548472bfd4ebe2f1c8f494b960a27836",{"version":"fa98b0905a86da0a95fa8fd3e974e038","impliedNodeFormat":99},{"version":"5ede871fecbb2b6f672a99d3c3c6bee7","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"2c51637edf65b89d39356deff680ed36","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"0bf0efdacfd4bfadb631a4376097e382","impliedNodeFormat":99},{"version":"bd01f3bcdc72c9256e5cd5093d132df3","impliedNodeFormat":99},{"version":"b01bdc9acbaf3eb24eef464959e8e627","impliedNodeFormat":99},{"version":"2a75a1a065e5d0439fa1514d9c89b0eb","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"c01d22bc96b89eedc0ed1f11d8c270ab","impliedNodeFormat":99},{"version":"c15bc5b81c64386efb6f85fb596c4349","impliedNodeFormat":99},{"version":"5794a694c1f75a9cc38cb5e9c757224e","impliedNodeFormat":99},{"version":"4040d5640775a803b2ca1aa914f7a1d4","impliedNodeFormat":99},{"version":"5ed96746ee2e7eb084ad54f0e0e518bc","impliedNodeFormat":99},{"version":"eba7786b00a4e551c36bafa71bfb1876","impliedNodeFormat":99},"8d8a98bf45979ce5401d9ca4027940cd","7d98e95d38525423bbe0f05e0a508a41","96920299d013de56061cbc74a1d658b2","439adabdf29be1212ec7acc292679f21","3eb46d20ed056dcbfa5e75bad9014661",{"version":"b46aa1886055db890de9be52a97b301e","impliedNodeFormat":99},{"version":"23cbcf6109a45b21e5b22d5f36f59db4","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"851c83981c28a32944597c743f666820","affectsGlobalScope":true,"impliedNodeFormat":1}],"fileIdsList":[[96],[95],[94],[126,127],[99,105,123,124,125,128],[135],[135,136],[103,105,106],[103,105],[103],[98,103,114,115],[98,103,114],[122],[98,104],[98],[100],[98,99,100,101,102],[141,142],[141,142,143,144],[141,143],[141],[109],[109,110,111,112],[111],[107,130,131,133],[107,108,120,133],[98,105,107,108,116,133],[113],[98,107,108,116,129,132],[107,108,113,116,133],[107,130,131,132,133],[107,113,117,118,119,133],[98,103,105,107,108,113,116,117,118,119,120,121,123,129,130,131,132,133,134,137,138,139,140,145],[98,105,107,108,116,117,130,131,132,133,138],[146],[64],[64,65,66,67,68,69,70,71,72],[77],[73,76],[74,75],[73],[74],[79],[79,80,81,82,83,84,85,86,87,88],[90],[92],[73,78,89,91]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","rewriteRelativeImportExtensions":true,"rootDir":"../src","skipLibCheck":true,"strict":true,"sourceMap":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo.contract","useDefineForClassFields":true},"referencedMap":[[97,1],[96,2],[95,3],[128,4],[129,5],[136,6],[137,7],[107,8],[106,9],[130,8],[114,10],[116,11],[115,12],[123,13],[105,14],[99,15],[101,16],[103,17],[104,15],[143,18],[145,19],[144,20],[142,21],[110,22],[113,23],[111,22],[112,24],[132,25],[121,26],[117,27],[118,10],[139,28],[133,29],[119,30],[138,31],[120,32],[146,33],[140,34],[147,35],[65,36],[66,36],[73,37],[67,36],[68,36],[69,36],[70,36],[71,36],[72,36],[78,38],[77,39],[76,40],[74,41],[75,42],[80,43],[89,44],[81,43],[83,43],[84,43],[85,43],[88,43],[86,43],[87,43],[79,41],[91,45],[90,41],[93,46],[92,47]],"latestChangedDtsFile":"./contract.textshaper-types.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":"7.0.2","root":[[104,113],[163,171]],"packageJsons":["../../../node_modules/@standard-schema/spec/package.json","../../../node_modules/@testing-library/jest-dom/package.json","../../../node_modules/@types/aria-query/package.json","../../../node_modules/@types/chai/package.json","../../../node_modules/@types/deep-eql/package.json","../../../node_modules/@types/node/package.json","../../../node_modules/@vitest/coverage-v8/package.json","../../../node_modules/@vitest/expect/package.json","../../../node_modules/@vitest/mocker/package.json","../../../node_modules/@vitest/pretty-format/package.json","../../../node_modules/@vitest/runner/package.json","../../../node_modules/@vitest/snapshot/package.json","../../../node_modules/@vitest/spy/package.json","../../../node_modules/@vitest/utils/package.json","../../../node_modules/@webgpu/types/package.json","../../../node_modules/aria-query/package.json","../../../node_modules/assertion-error/package.json","../../../node_modules/chai/package.json","../../../node_modules/deep-eql/package.json","../../../node_modules/expect-type/package.json","../../../node_modules/jiti/package.json","../../../node_modules/jsdom/package.json","../../../node_modules/terser/package.json","../../../node_modules/tinybench/package.json","../../../node_modules/tinyrainbow/package.json","../../../node_modules/tsx/package.json","../../../node_modules/vite/package.json","../../../node_modules/vite/types/package.json","../../../node_modules/vitest/package.json","../../../node_modules/yaml/package.json","../../entity/package.json","../../font/package.json","../../log/package.json","../../path/package.json","../../signals/package.json","../../textformat/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/@edge-runtime/vm/package.json","../../../node_modules/@opentelemetry/api/package.json","../../../node_modules/@standard-schema/spec/dist/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/aria-query/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/jest/package.json","../../../node_modules/@testing-library/jest-dom/types/package.json","../../../node_modules/@types/jest/package.json","../../../node_modules/@types/testing-library__jest-dom/package.json","../../../node_modules/@types/vitest/globals/package.json","../../../node_modules/@types/webgpu__types/package.json","../../../node_modules/@vitest/browser-playwright/package.json","../../../node_modules/@vitest/browser-preview/package.json","../../../node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/@vitest/expect/dist/package.json","../../../node_modules/@vitest/mocker/dist/package.json","../../../node_modules/@vitest/pretty-format/dist/package.json","../../../node_modules/@vitest/runner/dist/package.json","../../../node_modules/@vitest/runner/utils/package.json","../../../node_modules/@vitest/snapshot/dist/package.json","../../../node_modules/@vitest/spy/dist/package.json","../../../node_modules/@vitest/ui/package.json","../../../node_modules/@vitest/utils/diff/package.json","../../../node_modules/@vitest/utils/display/package.json","../../../node_modules/@vitest/utils/dist/package.json","../../../node_modules/@webgpu/types/dist/package.json","../../../node_modules/expect-type/dist/package.json","../../../node_modules/happy-dom/package.json","../../../node_modules/jest/package.json","../../../node_modules/less/package.json","../../../node_modules/lightningcss/package.json","../../../node_modules/msw/package.json","../../../node_modules/sass-embedded/package.json","../../../node_modules/sass/package.json","../../../node_modules/stylus/package.json","../../../node_modules/sugarss/package.json","../../../node_modules/tinybench/dist/package.json","../../../node_modules/tinyrainbow/dist/package.json","../../../node_modules/vite/dist/node/chunks/package.json","../../../node_modules/vite/dist/node/package.json","../../../node_modules/vite/dist/package.json","../../../node_modules/vite/module-runner/package.json","../../../node_modules/vitest/dist/chunks/package.json","../../../node_modules/vitest/dist/package.json","../../../node_modules/vitest/globals/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.dom.asynciterable.d.ts","lib.webworker.importscripts.d.ts","lib.scripthost.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","lib.es2022.full.d.ts","../../entity/dist/types.d.ts","../../entity/dist/binding.d.ts","../../entity/dist/clone.d.ts","../../entity/dist/enableEntityRuntimeGuards.d.ts","../../entity/dist/entity.d.ts","../../entity/dist/entityUid.d.ts","../../entity/dist/explainEntityRuntimeWrite.d.ts","../../entity/dist/guards.d.ts","../../entity/dist/runtime.d.ts","../../entity/dist/contract.d.ts","../../path/dist/path.d.ts","../../path/dist/pathCompat.d.ts","../../path/dist/contract.path-types.d.ts","../../font/dist/types.d.ts","../../font/dist/contract.font-types.d.ts","../../signals/dist/types.d.ts","../../signals/dist/connection.d.ts","../../signals/dist/emitter.d.ts","../../signals/dist/internal.d.ts","../../signals/dist/safe.d.ts","../../signals/dist/scope.d.ts","../../signals/dist/signal.d.ts","../../signals/dist/slot.d.ts","../../signals/dist/throttle.d.ts","../../signals/dist/signalTypes.d.ts","../../signals/dist/contract.d.ts","../../textformat/dist/types.d.ts","../../textformat/dist/contract.textformat-types.d.ts","./textShaperTypes.d.ts","./contract.textshaper-types.d.ts","../../log/dist/types.d.ts","../../log/dist/log.d.ts","../../log/dist/consoleLogSink.d.ts","../../log/dist/fileLogSink.d.ts","../../log/dist/contract.d.ts","../../textformat/dist/fontVariation.d.ts","../../textformat/dist/textFormat.d.ts","../../textformat/dist/textFormatRangeRaw.d.ts","../../textformat/dist/textFormatRange.d.ts","../../textformat/dist/contract.d.ts","../src/textShaperRun.ts","../src/textShaperPool.ts","../src/enableTextShaperGuards.ts","../src/textShaper.ts","../src/textShaperCache.ts","../src/textShaperCluster.ts","../src/textShaperItemize.ts","../src/textShaperSignals.ts","../src/runtime.ts","../src/contract.ts","../../../node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/display.d.ts","../../../node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/@vitest/utils/dist/timers.d.ts","../../../node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../../../node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/@vitest/runner/dist/tasks.d-DEYaIMIu.d.ts","../../../node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/traces.d.D2T_R8rx.d.ts","../../../node_modules/vite/types/hmrPayload.d.ts","../../../node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","../../../node_modules/vite/types/customEvent.d.ts","../../../node_modules/vite/types/hot.d.ts","../../../node_modules/vite/dist/node/module-runner.d.ts","../../../node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts","../../../node_modules/@vitest/snapshot/dist/rawSnapshot.d-D_X3-62x.d.ts","../../../node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/config.d.A1h_Y6Jt.d.ts","../../../node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts","../../../node_modules/vitest/dist/chunks/rpc.d.B_8sPU0w.d.ts","../../../node_modules/vitest/dist/chunks/worker.d.ZpHpO4yb.d.ts","../../../node_modules/vitest/dist/chunks/browser.d.BcoexmFG.d.ts","../../../node_modules/@vitest/spy/optional-types.d.ts","../../../node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/tinyrainbow/dist/index.d.ts","../../../node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/assertion-error/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/tinybench/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts","../../../node_modules/vitest/dist/chunks/global.d.DVsSRdQ5.d.ts","../../../node_modules/vitest/optional-runtime-types.d.ts","../../../node_modules/@vitest/mocker/dist/types.d-BjI5eAwu.d.ts","../../../node_modules/@vitest/mocker/dist/index.d-B41z0AuW.d.ts","../../../node_modules/@vitest/mocker/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/suite.d.udJtyAgw.d.ts","../../../node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts","../../../node_modules/vitest/dist/runners.d.ts","../../../node_modules/expect-type/dist/utils.d.ts","../../../node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/expect-type/dist/branding.d.ts","../../../node_modules/expect-type/dist/messages.d.ts","../../../node_modules/expect-type/dist/index.d.ts","../../../node_modules/vitest/dist/index.d.ts","../src/enableTextShaperGuards.test.ts","../src/index.ts","../src/textShaper.test.ts","../src/textShaperCache.test.ts","../src/textShaperCluster.test.ts","../src/textShaperItemize.test.ts","../src/textShaperPool.test.ts","../src/textShaperRun.test.ts","../src/textShaperSignals.test.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@testing-library/jest-dom/types/matchers.d.ts","../../../node_modules/@testing-library/jest-dom/types/jest.d.ts","../../../node_modules/@testing-library/jest-dom/types/index.d.ts","../../../node_modules/vitest/globals.d.ts","../../../node_modules/@webgpu/types/dist/index.d.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237","abad6dd56cc8caf095c165df8124d237",{"version":"2a9941db0809c9ad0e8837ed629b1dcc","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d051b93324f36bcc68d152a5ca0988cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},"0eb5b8b97bde45c8fde5cd07c33f6631","22772bc49abb63e5c9ba66ac5fb78a3d","daf7ba9e176366b3caf843bd266d163a","1cd6ad8dcb5625d764e0d55a82295469","76aca40ee07d543a14c24ba839109332","6f54f49ea7e96bdd7a9078f6c94e88fd","e9fd0536114fa9a746eacd5bc23969e5","add935c05420698ee2f670e9c7605d49","8202b77f954e4d5a21783859414fcc7c","524a08ff038d375ae8c86bf6481e17d2","9ff787c1324b2d4c07a342936293f47a","3704b193249f3c65879149dbd28eeab4","6f5dfe9f0c52d74a2a09535b96a36c6e","87e0e1408f1c61e956e140ef8a3fe417","159a106fc9eccd6c6a86cb10b0cd78b4","ac4d61d696a89bf6807b643594e36e00","921f8c08344aa1539405420fcf952a20","21a1b4607cb18ab00b1254cb35a77c57","d80705d2e260aba56aa54c416f471fbd","a821537667385a2906566c8bc69a21ed","387cee0627331c24f641f87fc905bff1","859418c3a3f1b2e9500476d829fc6093","32e33ec68ba1aa1147aab680de3b7c90","67c59d76f923f64e85a373fb5a2bbb13","5676a2feb7e6b36f973571c4a4500566","dd2bc19aa76d59fe40aa6c6fb9a33365","7ef4fc8b5166fc742b557034c24ec46b","288702a1c22e39cfa886887e892d13bf","5654b86187d34ce2ec00af70092ca419","4bcb6e1792a4954203b5ae16ba21c0b6","fc8932077d0a85fbb8b745917ced2004","7b7ac86da6f4cee8d8019f1797f9739c","952f36610509d4b91537ef7e801ff09b","89454f6aa6b5e1c63d2f38afb594d129","1c4b4b661b3292ed090cac053108630f","1b14db2fdd7c89d2b6cebf55bff68307","8af71a925ad5fa3500bbe9ad892cc0f7","fb7a5d8482fdf494227414214a9acc48","bdb49ca61900b5af15e35871d2670ffa","f5260be9af998a7a5693d8aeead8ef18","8a34f049a06ed13435a64e89a9d3f597",{"version":"80a7ff68f3aee069a32cefb1869b897b","signature":"fcff1a04cfbfde6a001ec6188dccefe4","impliedNodeFormat":1},{"version":"b865664ae84d91102891379136f32693","signature":"37600665636fc8ac3e008ffcfbaea2ac","impliedNodeFormat":1},{"version":"80a33f51a9287ad42ea96e6c6117c563","signature":"d188f9062e85f02d747df4c25d1986da","impliedNodeFormat":1},{"version":"8d00c3e350513bfb8728e5d7ef55cb0c","signature":"89a288cdf1fd994f6c13120c1062a9c4","impliedNodeFormat":1},{"version":"7a0731584ad8e09d9f8db62c5cdc755d","signature":"592a355cd9a8eb31f4d2b5938201ac3a","impliedNodeFormat":1},{"version":"7c3bbb95ae6cf40cdc17ef616568e2a5","signature":"a88b7710ffde40963cfc63d39fcda03a","impliedNodeFormat":1},{"version":"993f8855d2b7575c6cfe9c66a4cb56dc","signature":"3a043b09f62cd19340ac5921f95653fb","impliedNodeFormat":1},{"version":"f7bcaee2467a7a8be77403da17eea3b2","signature":"5cf4e6cc129d0f0837eaa922dd719a4b","impliedNodeFormat":1},"971b32b27a11df2f3ad9c255c06d2cb7","0d3dcc82d7f3ff0a8eb40cb3cc7a181c",{"version":"ed63d99e1e5c371dc120bef1b84057fc","impliedNodeFormat":99},{"version":"4d3fb552bfc7fb53c9195b2fafb512c0","impliedNodeFormat":99},{"version":"fbf7ba69043f86dc506ba28263e2e783","impliedNodeFormat":99},{"version":"a611eb6935df7737a77b34b01c631a4a","impliedNodeFormat":99},{"version":"6d08f6f1d0ee294c119d0e66f826331a","impliedNodeFormat":99},{"version":"d0abb8fa314728650d85450ff59db909","impliedNodeFormat":99},{"version":"abe007be89c2ad52c4d67fc2b0f6da6b","impliedNodeFormat":99},{"version":"ae1fe3925f3a2c8dfbb269ac2a50f5a6","impliedNodeFormat":99},{"version":"ee8ce731ff781ae7011350481a1af176","impliedNodeFormat":99},{"version":"08dcd98985ae16732a9be03d2b56aea6","impliedNodeFormat":99},{"version":"47f7401876f3c0a5b80bd01fbdfaed2b","impliedNodeFormat":99},"ab8e1ea59f16bc290a0451d09dc5a52e",{"version":"e9d43fb880595ac4ee66a56a364fd5fb","impliedNodeFormat":99},"24367c4ec7d778084b3a83bbdc5a23d4","edbf4843929ee5fe6521503f424e4464",{"version":"5e0eecd60ec8ccc15c22c507248ef1aa","impliedNodeFormat":99},{"version":"0221e2868d1f0d6df8321d945764aadb","impliedNodeFormat":99},{"version":"d2f6ad6f161f0a522886f64842c96a0e","impliedNodeFormat":99},{"version":"618ace1500cc84e42bc2e47c64f8c407","impliedNodeFormat":99},{"version":"9dd3c481cc870c4bf19e59d34f030a27","impliedNodeFormat":99},{"version":"b5c81396e966d59acab5a45f66b70866","impliedNodeFormat":99},{"version":"f94aa434ddb9e71f6e80395de85f6850","impliedNodeFormat":99},{"version":"3486e8f7f01b9874a793ddd451eb62a5","impliedNodeFormat":99},{"version":"cb0e7222aae349c2fb4f89b26efa81bd","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"0d7bbad7f82c886c5f36730065aec119","impliedNodeFormat":99},{"version":"369460c2755240ac2d3d006f09adb5ca","impliedNodeFormat":99},{"version":"4509fca76e721cdf9edb2d028395a117","impliedNodeFormat":99},"548472bfd4ebe2f1c8f494b960a27836",{"version":"fa98b0905a86da0a95fa8fd3e974e038","impliedNodeFormat":99},{"version":"5ede871fecbb2b6f672a99d3c3c6bee7","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"2c51637edf65b89d39356deff680ed36","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"0bf0efdacfd4bfadb631a4376097e382","impliedNodeFormat":99},{"version":"bd01f3bcdc72c9256e5cd5093d132df3","impliedNodeFormat":99},{"version":"b01bdc9acbaf3eb24eef464959e8e627","impliedNodeFormat":99},{"version":"2a75a1a065e5d0439fa1514d9c89b0eb","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"c01d22bc96b89eedc0ed1f11d8c270ab","impliedNodeFormat":99},{"version":"c15bc5b81c64386efb6f85fb596c4349","impliedNodeFormat":99},{"version":"5794a694c1f75a9cc38cb5e9c757224e","impliedNodeFormat":99},{"version":"4040d5640775a803b2ca1aa914f7a1d4","impliedNodeFormat":99},{"version":"5ed96746ee2e7eb084ad54f0e0e518bc","impliedNodeFormat":99},{"version":"eba7786b00a4e551c36bafa71bfb1876","impliedNodeFormat":99},"8d8a98bf45979ce5401d9ca4027940cd","7d98e95d38525423bbe0f05e0a508a41","96920299d013de56061cbc74a1d658b2","439adabdf29be1212ec7acc292679f21","3eb46d20ed056dcbfa5e75bad9014661",{"version":"b46aa1886055db890de9be52a97b301e","impliedNodeFormat":99},{"version":"7ce995317d994ae73e77bf1ac421f281","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"e7cd34a8b244ddcbee75017c60d98227","signature":"89dc7f71f491ac7ce8aec4c9f24818f0","impliedNodeFormat":1},{"version":"1f6c2dc1674f81a1275419a7fac2b021","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"18c6772bd1d56036d2332baac85fddf3","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"bc95a81cda9534572c9906321debbd1a","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"85b1288842f88df1dad588066ab52155","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"6cb3506aef765cae66f511e413f75f6b","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"8fb50204f9684a716d61adb1cf1cf2b8","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"8333cde2b7fd69999cd9aa7feae11500","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},"56d080dfccb3c53a2d6c74c4f24252e3","75ebd62d9641cc8b34ba9b09be8283a9",{"version":"753f71e16f2994f332390bb1c997b0e3","affectsGlobalScope":true,"impliedNodeFormat":1},"8def0ea0e249f49397d74a4f5bdd45a5",{"version":"23cbcf6109a45b21e5b22d5f36f59db4","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"851c83981c28a32944597c743f666820","affectsGlobalScope":true,"impliedNodeFormat":1}],"fileIdsList":[[174],[173],[172],[142,143],[115,121,139,140,141,144],[151],[151,152],[119,121,122],[119,121],[119],[114,119,130,131],[114,119,130],[138],[114,120],[114],[116],[114,115,116,117,118],[157,158],[157,158,159,160],[157,159],[157],[125],[125,126,127,128],[127],[123,146,147,149],[123,124,136,149],[114,121,123,124,132,149],[129],[114,123,124,132,145,148],[123,124,129,132,149],[123,146,147,148,149],[123,129,133,134,135,149],[114,119,121,123,124,129,132,133,134,135,136,137,139,145,146,147,148,149,150,153,154,155,156,161],[114,121,123,124,132,133,146,147,148,149,154],[162],[64],[64,65,66,67,68,69,70,71,72],[77],[73,76],[94,95],[94,95,96,97],[73,94],[73,89],[74,75],[73],[74],[79],[79,80,81,82,83,84,85,86,87,88],[99,100,101,102],[90],[99],[73,90],[92],[73,78,89,91],[93,112],[98,105,106,162],[92,98,105],[93,104,105,106,107,108,109,110,111,113],[92,104,105,106,107,108,109,110,111],[92,107],[92,103],[92,108],[73,92,103,104],[92,109],[92,103,110],[92,103,104],[105],[92,104],[73,92,103],[111],[73,89,92]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","rewriteRelativeImportExtensions":true,"rootDir":"../src","skipLibCheck":true,"strict":true,"sourceMap":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo.runtime","useDefineForClassFields":true},"referencedMap":[[175,1],[174,2],[173,3],[144,4],[145,5],[152,6],[153,7],[123,8],[122,9],[146,8],[130,10],[132,11],[131,12],[139,13],[121,14],[115,15],[117,16],[119,17],[120,15],[159,18],[161,19],[160,20],[158,21],[126,22],[129,23],[127,22],[128,24],[148,25],[137,26],[133,27],[134,10],[155,28],[149,29],[135,30],[154,31],[136,32],[162,33],[156,34],[176,35],[65,36],[66,36],[73,37],[67,36],[68,36],[69,36],[70,36],[71,36],[72,36],[78,38],[77,39],[96,40],[98,41],[97,40],[95,42],[94,43],[76,44],[74,45],[75,46],[80,47],[89,48],[81,47],[83,47],[84,47],[85,47],[88,47],[86,47],[87,47],[79,45],[103,49],[91,50],[100,51],[102,52],[101,52],[90,45],[93,53],[92,54],[113,55],[163,56],[106,57],[164,58],[112,59],[165,60],[107,61],[166,62],[108,63],[167,64],[109,53],[168,65],[110,66],[169,67],[105,68],[170,68],[104,69],[171,70],[111,71]],"latestChangedDtsFile":"./textShaperSignals.test.d.ts"}
|
package/dist/contract.d.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './textShaperCache';
|
|
4
|
-
export * from './textShaperCluster';
|
|
5
|
-
export * from './textShaperItemize';
|
|
6
|
-
export * from './textShaperPool';
|
|
7
|
-
export * from './textShaperRun';
|
|
8
|
-
export * from './textShaperSignals';
|
|
9
|
-
export { initializeShapedRun } from './textShaperRun';
|
|
10
|
-
export { initializeTextShaperCache } from './textShaperCache';
|
|
1
|
+
export * from './contract.textshaper-types.ts';
|
|
2
|
+
export * from './runtime.ts';
|
|
11
3
|
//# sourceMappingURL=contract.d.ts.map
|
package/dist/contract.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,cAAc,CAAC"}
|
package/dist/contract.js
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './textShaperCache';
|
|
4
|
-
export * from './textShaperCluster';
|
|
5
|
-
export * from './textShaperItemize';
|
|
6
|
-
export * from './textShaperPool';
|
|
7
|
-
export * from './textShaperRun';
|
|
8
|
-
export * from './textShaperSignals';
|
|
9
|
-
export { initializeShapedRun } from './textShaperRun';
|
|
10
|
-
export { initializeTextShaperCache } from './textShaperCache';
|
|
1
|
+
export * from './contract.textshaper-types.js';
|
|
2
|
+
export * from './runtime.js';
|
|
11
3
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.textshaper-types.d.ts","sourceRoot":"","sources":["../src/contract.textshaper-types.ts"],"names":[],"mappings":"AAEA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// Acyclic build entry selected by contract-only projects through the `.textshaper-types` module suffix.
|
|
2
|
+
// The published @flighthq/textshaper/contract entry remains contract.ts, which adds the runtime barrel.
|
|
3
|
+
export * from './textShaperTypes.js';
|
|
4
|
+
//# sourceMappingURL=contract.textshaper-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.textshaper-types.js","sourceRoot":"","sources":["../src/contract.textshaper-types.ts"],"names":[],"mappings":"AAAA,wGAAwG;AACxG,wGAAwG;AACxG,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { LogState } from '@flighthq/log/contract';
|
|
1
2
|
/** Uninstalls the guard installed by `enableTextShaperGuards`. */
|
|
2
3
|
export declare function disableTextShaperGuards(): void;
|
|
3
4
|
/**
|
|
@@ -9,5 +10,5 @@ export declare function disableTextShaperGuards(): void;
|
|
|
9
10
|
* The guard warns once through `@flighthq/log`. Not importing this module costs production nothing: the
|
|
10
11
|
* message and logging dependency live only here, while the pool keeps a null callback by default.
|
|
11
12
|
*/
|
|
12
|
-
export declare function enableTextShaperGuards(): void;
|
|
13
|
+
export declare function enableTextShaperGuards(logState: LogState, clock: () => number): void;
|
|
13
14
|
//# sourceMappingURL=enableTextShaperGuards.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enableTextShaperGuards.d.ts","sourceRoot":"","sources":["../src/enableTextShaperGuards.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"enableTextShaperGuards.d.ts","sourceRoot":"","sources":["../src/enableTextShaperGuards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAMvD,kEAAkE;AAClE,wBAAgB,uBAAuB,IAAI,IAAI,CAE9C;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,MAAM,GAAG,IAAI,CAEpF"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { logOnce } from '@flighthq/log/contract';
|
|
2
|
-
import {
|
|
3
|
-
import { setShapedRunReleaseGuard } from './textShaperPool';
|
|
1
|
+
import { LogLevel, logOnce } from '@flighthq/log/contract';
|
|
2
|
+
import { setShapedRunReleaseGuard } from './textShaperPool.js';
|
|
4
3
|
/** Uninstalls the guard installed by `enableTextShaperGuards`. */
|
|
5
4
|
export function disableTextShaperGuards() {
|
|
6
5
|
setShapedRunReleaseGuard(null);
|
|
@@ -14,11 +13,11 @@ export function disableTextShaperGuards() {
|
|
|
14
13
|
* The guard warns once through `@flighthq/log`. Not importing this module costs production nothing: the
|
|
15
14
|
* message and logging dependency live only here, while the pool keeps a null callback by default.
|
|
16
15
|
*/
|
|
17
|
-
export function enableTextShaperGuards() {
|
|
18
|
-
setShapedRunReleaseGuard(warnOnDoubleRelease);
|
|
16
|
+
export function enableTextShaperGuards(logState, clock) {
|
|
17
|
+
setShapedRunReleaseGuard((run) => warnOnDoubleRelease(logState, clock(), run));
|
|
19
18
|
}
|
|
20
|
-
function warnOnDoubleRelease(_run) {
|
|
21
|
-
logOnce('textshaper:double-release', LogLevel.Warn, {
|
|
19
|
+
function warnOnDoubleRelease(logState, nowMs, _run) {
|
|
20
|
+
logOnce(logState, nowMs, 'textshaper:double-release', LogLevel.Warn, {
|
|
22
21
|
message: 'releaseShapedRun: this run is already in the pool, so it is being released twice. The repeated release was ignored to preserve the pool, but it indicates an unbalanced bracket. Every acquireShapedRun call must pair with exactly one releaseShapedRun call, and the run must not be used after release.',
|
|
23
22
|
}, 'textshaper');
|
|
24
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enableTextShaperGuards.js","sourceRoot":"","sources":["../src/enableTextShaperGuards.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"enableTextShaperGuards.js","sourceRoot":"","sources":["../src/enableTextShaperGuards.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAG/D,kEAAkE;AAClE,MAAM,UAAU,uBAAuB;IACrC,wBAAwB,CAAC,IAAI,CAAC,CAAC;AACjC,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,sBAAsB,CAAC,QAAkB,EAAE,KAAmB;IAC5E,wBAAwB,CAAC,CAAC,GAAwB,EAAQ,EAAE,CAAC,mBAAmB,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;AAC5G,CAAC;AAED,SAAS,mBAAmB,CAAC,QAAkB,EAAE,KAAa,EAAE,IAAyB;IACvF,OAAO,CACL,QAAQ,EACR,KAAK,EACL,2BAA2B,EAC3B,QAAQ,CAAC,IAAI,EACb;QACE,OAAO,EACL,4SAA4S;KAC/S,EACD,YAAY,CACb,CAAC;AACJ,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './contract.textshaper-types.ts';
|
|
2
|
+
export * from './enableTextShaperGuards.ts';
|
|
3
|
+
export * from './textShaper.ts';
|
|
4
|
+
export { clearTextShaperCache, createTextShaperCache, disposeTextShaperCache, shapeTextRunCached, } from './textShaperCache.ts';
|
|
5
|
+
export * from './textShaperCluster.ts';
|
|
6
|
+
export * from './textShaperItemize.ts';
|
|
7
|
+
export { acquireShapedRun, releaseShapedRun } from './textShaperPool.ts';
|
|
8
|
+
export { clearShapedRun, createShapedRun, getCodePointForGlyph, getFontMetrics, getFontMetricsInto, getFontUnitScale, getGlyphExtents, getGlyphExtentsBatch, getGlyphExtentsInto, getGlyphIndexForCodePoint, getGlyphName, shapeTextRun, shapeTextRunInto, } from './textShaperRun.ts';
|
|
9
|
+
export { disposeTextShaperSignals, enableTextShaperSignals, getTextShaperSignals } from './textShaperSignals.ts';
|
|
10
|
+
export type { TextMeasureFunction } from './contract.ts';
|
|
2
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EACL,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,YAAY,EACZ,YAAY,EACZ,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACjH,YAAY,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './contract.textshaper-types.js';
|
|
2
|
+
export * from './enableTextShaperGuards.js';
|
|
3
|
+
export * from './textShaper.js';
|
|
4
|
+
export { clearTextShaperCache, createTextShaperCache, disposeTextShaperCache, shapeTextRunCached, } from './textShaperCache.js';
|
|
5
|
+
export * from './textShaperCluster.js';
|
|
6
|
+
export * from './textShaperItemize.js';
|
|
7
|
+
export { acquireShapedRun, releaseShapedRun } from './textShaperPool.js';
|
|
8
|
+
export { clearShapedRun, createShapedRun, getCodePointForGlyph, getFontMetrics, getFontMetricsInto, getFontUnitScale, getGlyphExtents, getGlyphExtentsBatch, getGlyphExtentsInto, getGlyphIndexForCodePoint, getGlyphName, shapeTextRun, shapeTextRunInto, } from './textShaperRun.js';
|
|
9
|
+
export { disposeTextShaperSignals, enableTextShaperSignals, getTextShaperSignals } from './textShaperSignals.js';
|
|
2
10
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EACL,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,YAAY,EACZ,YAAY,EACZ,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './enableTextShaperGuards.ts';
|
|
2
|
+
export * from './textShaper.ts';
|
|
3
|
+
export * from './textShaperCache.ts';
|
|
4
|
+
export * from './textShaperCluster.ts';
|
|
5
|
+
export * from './textShaperItemize.ts';
|
|
6
|
+
export * from './textShaperPool.ts';
|
|
7
|
+
export * from './textShaperRun.ts';
|
|
8
|
+
export * from './textShaperSignals.ts';
|
|
9
|
+
export type { HostTextShaperCapability } from './textShaperTypes.ts';
|
|
10
|
+
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,YAAY,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/runtime.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './enableTextShaperGuards.js';
|
|
2
|
+
export * from './textShaper.js';
|
|
3
|
+
export * from './textShaperCache.js';
|
|
4
|
+
export * from './textShaperCluster.js';
|
|
5
|
+
export * from './textShaperItemize.js';
|
|
6
|
+
export * from './textShaperPool.js';
|
|
7
|
+
export * from './textShaperRun.js';
|
|
8
|
+
export * from './textShaperSignals.js';
|
|
9
|
+
//# sourceMappingURL=runtime.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}
|
package/dist/textShaper.d.ts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @deprecated Pass a HasTextShaper to the text-shaping operation. Retained for source compatibility
|
|
11
|
-
* until the legacy global path is removed.
|
|
12
|
-
*/
|
|
13
|
-
export declare function setTextShaperBackend(backend: TextShaperBackend | null): void;
|
|
1
|
+
import type { TextFormat } from '@flighthq/textformat/contract';
|
|
2
|
+
import type { HostTextShaperCapability, TextShaperOperation } from './textShaperTypes.ts';
|
|
3
|
+
export declare function explainTextShaperOperation(hostTextShaper: Readonly<HostTextShaperCapability>, operation: TextShaperOperation): {
|
|
4
|
+
implemented: boolean;
|
|
5
|
+
layer: 'custom' | 'host' | 'none' | 'sentinel';
|
|
6
|
+
operation: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function hasTextShaperOperation(hostTextShaper: Readonly<HostTextShaperCapability>, operation: TextShaperOperation): boolean;
|
|
9
|
+
export declare function measureText(hostTextShaper: Readonly<HostTextShaperCapability>, text: string, format: Readonly<TextFormat>): number;
|
|
14
10
|
//# sourceMappingURL=textShaper.d.ts.map
|
package/dist/textShaper.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textShaper.d.ts","sourceRoot":"","sources":["../src/textShaper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"textShaper.d.ts","sourceRoot":"","sources":["../src/textShaper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,KAAK,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE1F,wBAAgB,0BAA0B,CACxC,cAAc,EAAE,QAAQ,CAAC,wBAAwB,CAAC,EAClD,SAAS,EAAE,mBAAmB,GAC7B;IAAE,WAAW,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAK7F;AAED,wBAAgB,sBAAsB,CACpC,cAAc,EAAE,QAAQ,CAAC,wBAAwB,CAAC,EAClD,SAAS,EAAE,mBAAmB,GAC7B,OAAO,CAET;AAED,wBAAgB,WAAW,CACzB,cAAc,EAAE,QAAQ,CAAC,wBAAwB,CAAC,EAClD,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,GAC3B,MAAM,CAER"}
|
package/dist/textShaper.js
CHANGED
|
@@ -1,43 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export function explainTextShaperOperation(operation, host) {
|
|
5
|
-
const backend = getTextShaperBackend(host);
|
|
6
|
-
if (backend !== null && typeof backend[operation] === 'function') {
|
|
7
|
-
return { implemented: true, layer: host === undefined ? 'custom' : 'host', operation };
|
|
1
|
+
export function explainTextShaperOperation(hostTextShaper, operation) {
|
|
2
|
+
if (typeof hostTextShaper[operation] === 'function') {
|
|
3
|
+
return { implemented: true, layer: 'host', operation };
|
|
8
4
|
}
|
|
9
5
|
return { implemented: false, layer: 'none', operation };
|
|
10
6
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
// string computation, so callers must compose it into a host or install it through the legacy path.
|
|
14
|
-
export function getTextShaperBackend(host) {
|
|
15
|
-
return host?.text.shaper ?? _backend;
|
|
7
|
+
export function hasTextShaperOperation(hostTextShaper, operation) {
|
|
8
|
+
return explainTextShaperOperation(hostTextShaper, operation).implemented;
|
|
16
9
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export function hasTextShaperOperation(operation, host) {
|
|
20
|
-
return explainTextShaperOperation(operation, host).implemented;
|
|
10
|
+
export function measureText(hostTextShaper, text, format) {
|
|
11
|
+
return hostTextShaper.measureText(text, format);
|
|
21
12
|
}
|
|
22
|
-
// Measures `text` in `format` to its horizontal advance, in pixels, via the explicit host or legacy
|
|
23
|
-
// fallback. Returns the sentinel -1 when neither is available, distinguishing "unmeasurable" from a
|
|
24
|
-
// real zero-width advance.
|
|
25
|
-
export function measureText(text, format, host) {
|
|
26
|
-
const backend = getTextShaperBackend(host);
|
|
27
|
-
if (backend === null)
|
|
28
|
-
return -1;
|
|
29
|
-
return backend.measureText(text, format);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Installs the backend used by calls that omit an explicit host; pass null to clear it. Last write
|
|
33
|
-
* wins and re-registration never throws.
|
|
34
|
-
*
|
|
35
|
-
* @deprecated Pass a HasTextShaper to the text-shaping operation. Retained for source compatibility
|
|
36
|
-
* until the legacy global path is removed.
|
|
37
|
-
*/
|
|
38
|
-
export function setTextShaperBackend(backend) {
|
|
39
|
-
_backend = backend;
|
|
40
|
-
_textShaperBackendHook?.(backend);
|
|
41
|
-
}
|
|
42
|
-
let _backend = null;
|
|
43
13
|
//# sourceMappingURL=textShaper.js.map
|
package/dist/textShaper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textShaper.js","sourceRoot":"","sources":["../src/textShaper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"textShaper.js","sourceRoot":"","sources":["../src/textShaper.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,0BAA0B,CACxC,cAAkD,EAClD,SAA8B;IAE9B,IAAI,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,UAAU,EAAE,CAAC;QACpD,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IACzD,CAAC;IACD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;AAC1D,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,cAAkD,EAClD,SAA8B;IAE9B,OAAO,0BAA0B,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC,WAAW,CAAC;AAC3E,CAAC;AAED,MAAM,UAAU,WAAW,CACzB,cAAkD,EAClD,IAAY,EACZ,MAA4B;IAE5B,OAAO,cAAc,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAClD,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import type { EntityConstruction
|
|
1
|
+
import type { EntityConstruction } from '@flighthq/entity/contract';
|
|
2
|
+
import type { TextFormat } from '@flighthq/textformat/contract';
|
|
3
|
+
import type { HostTextShaperCapability, ShapeRunOptions, ShapedRun, TextShaperCache } from './textShaperTypes.ts';
|
|
2
4
|
export declare function clearTextShaperCache(cache: TextShaperCache): void;
|
|
3
5
|
export declare function createTextShaperCache(): TextShaperCache;
|
|
4
6
|
export declare function disposeTextShaperCache(cache: TextShaperCache): void;
|
|
5
7
|
export declare function initializeTextShaperCache(out: EntityConstruction<TextShaperCache>): void;
|
|
6
|
-
export declare function shapeTextRunCached(cache: TextShaperCache, text: string, format: Readonly<TextFormat>, options?: Readonly<ShapeRunOptions
|
|
8
|
+
export declare function shapeTextRunCached(hostTextShaper: Readonly<HostTextShaperCapability>, cache: TextShaperCache, text: string, format: Readonly<TextFormat>, options?: Readonly<ShapeRunOptions>): ShapedRun | null;
|
|
7
9
|
//# sourceMappingURL=textShaperCache.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textShaperCache.d.ts","sourceRoot":"","sources":["../src/textShaperCache.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"textShaperCache.d.ts","sourceRoot":"","sources":["../src/textShaperCache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAiB,MAAM,2BAA2B,CAAC;AAEnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAGhE,OAAO,KAAK,EAAE,wBAAwB,EAAE,eAAe,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAKlH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,CAEjE;AAED,wBAAgB,qBAAqB,IAAI,eAAe,CAIvD;AAKD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,CAKnE;AAGD,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,kBAAkB,CAAC,eAAe,CAAC,GAAG,IAAI,CAGxF;AAOD,wBAAgB,kBAAkB,CAChC,cAAc,EAAE,QAAQ,CAAC,wBAAwB,CAAC,EAClD,KAAK,EAAE,eAAe,EACtB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,EAC5B,OAAO,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,GAClC,SAAS,GAAG,IAAI,CASlB"}
|
package/dist/textShaperCache.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { allocateEntity,
|
|
2
|
-
import {
|
|
3
|
-
import { getTextShaperBackend } from './textShaper';
|
|
4
|
-
import { shapeTextRun } from './textShaperRun';
|
|
1
|
+
import { allocateEntity, EntityRuntimeKey } from '@flighthq/entity/contract';
|
|
2
|
+
import { shapeTextRun } from './textShaperRun.js';
|
|
5
3
|
// Clears all cached ShapedRuns from `cache`, releasing their references. The cache remains valid
|
|
6
4
|
// for continued use after clearing. Does not release the cache object itself (use
|
|
7
5
|
// `disposeTextShaperCache` for that).
|
|
@@ -11,7 +9,7 @@ export function clearTextShaperCache(cache) {
|
|
|
11
9
|
export function createTextShaperCache() {
|
|
12
10
|
const out = allocateEntity();
|
|
13
11
|
initializeTextShaperCache(out);
|
|
14
|
-
return
|
|
12
|
+
return out;
|
|
15
13
|
}
|
|
16
14
|
// Releases the `cache` object and all cached ShapedRuns. The cache must not be used after this
|
|
17
15
|
// call. Prefer `clearTextShaperCache` when you want to reuse the cache object; use
|
|
@@ -30,21 +28,18 @@ export function initializeTextShaperCache(out) {
|
|
|
30
28
|
}
|
|
31
29
|
// Shapes `text` in `format` with `options`, returning a cached ShapedRun when an equivalent call
|
|
32
30
|
// was made earlier in this cache's lifetime. Calls `shapeTextRun` on miss and stores the result.
|
|
33
|
-
// Returns null when
|
|
34
|
-
//
|
|
35
|
-
//
|
|
36
|
-
export function shapeTextRunCached(cache, text, format, options
|
|
31
|
+
// Returns null when the backend does not support shaping (same as `shapeTextRun`); null results
|
|
32
|
+
// are NOT cached so a different backend can succeed. Cache keys include provider identity so
|
|
33
|
+
// callers can safely share a cache while interleaving hosts.
|
|
34
|
+
export function shapeTextRunCached(hostTextShaper, cache, text, format, options) {
|
|
37
35
|
const runtime = _getTextShaperCacheRuntime(cache);
|
|
38
36
|
if (runtime === null)
|
|
39
37
|
return null;
|
|
40
|
-
const
|
|
41
|
-
if (backend === null)
|
|
42
|
-
return null;
|
|
43
|
-
const key = `${_getBackendCacheId(backend)}\x00${_makeCacheKey(text, format, options)}`;
|
|
38
|
+
const key = `${_getBackendCacheId(hostTextShaper)}\x00${_makeCacheKey(text, format, options)}`;
|
|
44
39
|
const existing = runtime.entries.get(key);
|
|
45
40
|
if (existing !== undefined)
|
|
46
41
|
return existing;
|
|
47
|
-
const result = shapeTextRun(text, format, options
|
|
42
|
+
const result = shapeTextRun(hostTextShaper, text, format, options);
|
|
48
43
|
if (result !== null)
|
|
49
44
|
runtime.entries.set(key, result);
|
|
50
45
|
return result;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textShaperCache.js","sourceRoot":"","sources":["../src/textShaperCache.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"textShaperCache.js","sourceRoot":"","sources":["../src/textShaperCache.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAG7E,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,iGAAiG;AACjG,kFAAkF;AAClF,sCAAsC;AACtC,MAAM,UAAU,oBAAoB,CAAC,KAAsB;IACzD,0BAA0B,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,qBAAqB;IACnC,MAAM,GAAG,GAAG,cAAc,EAAmB,CAAC;IAC9C,yBAAyB,CAAC,GAAG,CAAC,CAAC;IAC/B,OAAO,GAAG,CAAC;AACb,CAAC;AAED,+FAA+F;AAC/F,mFAAmF;AACnF,iEAAiE;AACjE,MAAM,UAAU,sBAAsB,CAAC,KAAsB;IAC3D,MAAM,OAAO,GAAG,0BAA0B,CAAC,KAAK,CAAC,CAAC;IAClD,IAAI,OAAO,KAAK,IAAI;QAAE,OAAO;IAC7B,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACxB,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;AACtC,CAAC;AAED,0CAA0C;AAC1C,MAAM,UAAU,yBAAyB,CAAC,GAAwC;IAChF,MAAM,OAAO,GAA2B,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,EAAE,CAAC;IAC9E,GAAG,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC;AAClC,CAAC;AAED,iGAAiG;AACjG,iGAAiG;AACjG,gGAAgG;AAChG,6FAA6F;AAC7F,6DAA6D;AAC7D,MAAM,UAAU,kBAAkB,CAChC,cAAkD,EAClD,KAAsB,EACtB,IAAY,EACZ,MAA4B,EAC5B,OAAmC;IAEnC,MAAM,OAAO,GAAG,0BAA0B,CAAC,KAAK,CAAC,CAAC;IAClD,IAAI,OAAO,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAClC,MAAM,GAAG,GAAG,GAAG,kBAAkB,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAC/F,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC1C,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,QAAQ,CAAC;IAC5C,MAAM,MAAM,GAAG,YAAY,CAAC,cAAc,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,IAAI,MAAM,KAAK,IAAI;QAAE,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IACtD,OAAO,MAAM,CAAC;AAChB,CAAC;AAMD,SAAS,0BAA0B,CAAC,KAAsB;IACxD,OAAQ,KAAK,CAAC,gBAAgB,CAAwC,IAAI,IAAI,CAAC;AACjF,CAAC;AAED,+FAA+F;AAC/F,mGAAmG;AACnG,MAAM,gBAAgB,GAAG,IAAI,OAAO,EAAoC,CAAC;AACzE,IAAI,mBAAmB,GAAG,CAAC,CAAC;AAE5B,SAAS,kBAAkB,CAAC,OAAiC;IAC3D,MAAM,QAAQ,GAAG,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC/C,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,QAAQ,CAAC;IAC5C,MAAM,EAAE,GAAG,mBAAmB,EAAE,CAAC;IACjC,gBAAgB,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;IAClC,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,gGAAgG;AAChG,4FAA4F;AAC5F,0DAA0D;AAC1D,SAAS,aAAa,CAAC,IAAY,EAAE,MAA4B,EAAE,OAAmC;IACpG,gGAAgG;IAChG,MAAM,GAAG,GAAG;QACV,MAAM,CAAC,IAAI,IAAI,EAAE;QACjB,MAAM,CAAC,IAAI,IAAI,EAAE;QACjB,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACnB,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrB,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtB,MAAM,CAAC,aAAa,IAAI,CAAC;KAC1B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACf,8BAA8B;IAC9B,IAAI,IAAI,GAAG,EAAE,CAAC;IACd,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,MAAM,GAAG,GAAG,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC;QACpC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC;QACpC,IAAI,GAAG,GAAG,GAAG,OAAO,MAAM,EAAE,CAAC;IAC/B,CAAC;IACD,OAAO,GAAG,IAAI,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;AACxC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShapedRun } from '
|
|
1
|
+
import type { ShapedRun } from './textShaperTypes.ts';
|
|
2
2
|
export declare function getCaretPositionsForRun(run: Readonly<ShapedRun>): number[];
|
|
3
3
|
export declare function getClusterForIndex(run: Readonly<ShapedRun>, stringIndex: number): number;
|
|
4
4
|
export declare function getIndexRangeForCluster(run: Readonly<ShapedRun>, cluster: number, stringLength?: number): readonly [number, number] | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textShaperCluster.d.ts","sourceRoot":"","sources":["../src/textShaperCluster.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"textShaperCluster.d.ts","sourceRoot":"","sources":["../src/textShaperCluster.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAUtD,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,CAAC,GAAG,MAAM,EAAE,CAW1E;AAQD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAYxF;AAUD,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,QAAQ,CAAC,SAAS,CAAC,EACxB,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,MAAM,GACpB,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAqBlC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TextFormat } from '@flighthq/textformat/contract';
|
|
2
|
+
import type { HostTextShaperCapability, ShapedRun, TextItem, TextShaperOptions } from './textShaperTypes.ts';
|
|
2
3
|
export declare function itemizeText(text: string, _format: Readonly<TextFormat>, options?: Readonly<TextShaperOptions>): readonly TextItem[];
|
|
3
|
-
export declare function shapeTextRuns(text: string, format: Readonly<TextFormat>, options?: Readonly<TextShaperOptions
|
|
4
|
+
export declare function shapeTextRuns(hostTextShaper: Readonly<HostTextShaperCapability>, text: string, format: Readonly<TextFormat>, options?: Readonly<TextShaperOptions>): readonly ShapedRun[];
|
|
4
5
|
//# sourceMappingURL=textShaperItemize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textShaperItemize.d.ts","sourceRoot":"","sources":["../src/textShaperItemize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"textShaperItemize.d.ts","sourceRoot":"","sources":["../src/textShaperItemize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAGhE,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAW7G,wBAAgB,WAAW,CACzB,IAAI,EAAE,MAAM,EAGZ,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,EAC7B,OAAO,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,GACpC,SAAS,QAAQ,EAAE,CAgDrB;AAQD,wBAAgB,aAAa,CAC3B,cAAc,EAAE,QAAQ,CAAC,wBAAwB,CAAC,EAClD,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,EAC5B,OAAO,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,GACpC,SAAS,SAAS,EAAE,CAiBtB"}
|