@flickfyi/flkr 0.0.141 → 0.0.153
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/node_modules/@flickfyi/attestation/.turbo/turbo-build.log +7 -7
- package/node_modules/@flickfyi/biscuit/.turbo/turbo-build.log +7 -7
- package/node_modules/@flickfyi/core/.oxlintrc.json +2 -1
- package/node_modules/@flickfyi/core/.turbo/turbo-build.log +499 -92
- package/node_modules/@flickfyi/core/README.md +58 -4
- package/node_modules/@flickfyi/core/dist/index.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/index.js +35 -24
- package/node_modules/@flickfyi/core/dist/kowalski/calculations.d.ts +17 -0
- package/node_modules/@flickfyi/core/dist/kowalski/calculator.d.ts +13 -0
- package/node_modules/@flickfyi/core/dist/kowalski/catalog.cjs +1 -0
- package/node_modules/@flickfyi/core/dist/kowalski/catalog.d.cts +962 -0
- package/node_modules/@flickfyi/core/dist/kowalski/catalog.d.ts +962 -0
- package/node_modules/@flickfyi/core/dist/kowalski/catalog.js +639 -0
- package/node_modules/@flickfyi/core/dist/kowalski/clocks.d.ts +4 -0
- package/node_modules/@flickfyi/core/dist/kowalski/date-time.d.ts +22 -0
- package/node_modules/@flickfyi/core/dist/kowalski/details.d.ts +7 -0
- package/node_modules/@flickfyi/core/dist/kowalski/everyday.d.ts +8 -0
- package/node_modules/@flickfyi/core/dist/kowalski/format.d.ts +4 -0
- package/node_modules/@flickfyi/core/dist/kowalski/frame.d.ts +161 -0
- package/node_modules/@flickfyi/core/dist/kowalski/index.cjs +21 -0
- package/node_modules/@flickfyi/core/dist/kowalski/index.d.cts +8 -0
- package/node_modules/@flickfyi/core/dist/kowalski/index.d.ts +8 -0
- package/node_modules/@flickfyi/core/dist/kowalski/index.js +7496 -0
- package/node_modules/@flickfyi/core/dist/kowalski/productivity.d.ts +5 -0
- package/node_modules/@flickfyi/core/dist/kowalski/recipe.d.ts +8 -0
- package/node_modules/@flickfyi/core/dist/kowalski/tools.d.ts +7 -0
- package/node_modules/@flickfyi/core/dist/kowalski/use-clock.d.ts +6 -0
- package/node_modules/@flickfyi/core/dist/kowalski/use-configured-feature.d.ts +19 -0
- package/node_modules/@flickfyi/core/dist/kowalski/use-feature-store.d.ts +15 -0
- package/node_modules/@flickfyi/core/dist/kowalski.css +506 -0
- package/node_modules/@flickfyi/core/dist/molecules/field/field.d.ts +8 -0
- package/node_modules/@flickfyi/core/dist/molecules/index.cjs +1 -1
- package/node_modules/@flickfyi/core/dist/molecules/index.d.cts +3 -0
- package/node_modules/@flickfyi/core/dist/molecules/index.d.ts +3 -0
- package/node_modules/@flickfyi/core/dist/molecules/index.js +88 -27
- package/node_modules/@flickfyi/core/dist/molecules/segmented/segmented.d.ts +10 -0
- package/node_modules/@flickfyi/core/dist/molecules/stepper/stepper.d.ts +10 -0
- package/node_modules/@flickfyi/core/dist/quantum/use-store.d.ts +7 -1
- package/node_modules/@flickfyi/core/dist/themes.css +2 -0
- package/node_modules/@flickfyi/core/examples/kowalski/bill-split/bill-split.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/bill-split/bill-split.tsx +17 -0
- package/node_modules/@flickfyi/core/examples/kowalski/bookmark/bookmark.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/bookmark/bookmark.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/budget/budget.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/budget/budget.tsx +26 -0
- package/node_modules/@flickfyi/core/examples/kowalski/calculator/calculator.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/calculator/calculator.tsx +24 -0
- package/node_modules/@flickfyi/core/examples/kowalski/checklist/checklist.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/checklist/checklist.tsx +26 -0
- package/node_modules/@flickfyi/core/examples/kowalski/color-palette/color-palette.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/color-palette/color-palette.tsx +22 -0
- package/node_modules/@flickfyi/core/examples/kowalski/contact/contact.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/contact/contact.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/countdown/countdown.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/countdown/countdown.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/event/event.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/event/event.tsx +24 -0
- package/node_modules/@flickfyi/core/examples/kowalski/expense/expense.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/expense/expense.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/goal/goal.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/goal/goal.tsx +24 -0
- package/node_modules/@flickfyi/core/examples/kowalski/habit/habit.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/habit/habit.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/ledger/ledger.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/ledger/ledger.tsx +25 -0
- package/node_modules/@flickfyi/core/examples/kowalski/note/note.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/note/note.tsx +22 -0
- package/node_modules/@flickfyi/core/examples/kowalski/poll/poll.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/poll/poll.tsx +26 -0
- package/node_modules/@flickfyi/core/examples/kowalski/random-picker/random-picker.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/random-picker/random-picker.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/rating/rating.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/rating/rating.tsx +19 -0
- package/node_modules/@flickfyi/core/examples/kowalski/recipe/recipe.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/recipe/recipe.tsx +120 -0
- package/node_modules/@flickfyi/core/examples/kowalski/reminder/reminder.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/reminder/reminder.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/rotation/rotation.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/rotation/rotation.tsx +27 -0
- package/node_modules/@flickfyi/core/examples/kowalski/scoreboard/scoreboard.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/scoreboard/scoreboard.tsx +26 -0
- package/node_modules/@flickfyi/core/examples/kowalski/shopping-list/shopping-list.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/shopping-list/shopping-list.tsx +27 -0
- package/node_modules/@flickfyi/core/examples/kowalski/task-board/task-board.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/task-board/task-board.tsx +27 -0
- package/node_modules/@flickfyi/core/examples/kowalski/theme.ts +3 -0
- package/node_modules/@flickfyi/core/examples/kowalski/time-zone/time-zone.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/time-zone/time-zone.tsx +22 -0
- package/node_modules/@flickfyi/core/examples/kowalski/timer/timer.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/timer/timer.tsx +23 -0
- package/node_modules/@flickfyi/core/examples/kowalski/trip/trip.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/trip/trip.tsx +26 -0
- package/node_modules/@flickfyi/core/examples/kowalski/unit-converter/unit-converter.stories.tsx +15 -0
- package/node_modules/@flickfyi/core/examples/kowalski/unit-converter/unit-converter.tsx +24 -0
- package/node_modules/@flickfyi/core/examples/parrott/calculator/calculator.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/checklist/checklist.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/countdown/countdown.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/counter/counter.stories.tsx +1 -0
- package/node_modules/@flickfyi/core/examples/parrott/fortune/fortune.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/grid/grid.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/kale-smoothie/kale-smoothie.stories.tsx +1 -0
- package/node_modules/@flickfyi/core/examples/parrott/list/list.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/log/log.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/timed-task/timed-task.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/examples/parrott/timer/timer.stories.tsx +3 -1
- package/node_modules/@flickfyi/core/fixtures/native/host/project.yml +3 -0
- package/node_modules/@flickfyi/core/fixtures/native/src/catalog-features.tsx +88 -0
- package/node_modules/@flickfyi/core/package.json +35 -5
- package/node_modules/@flickfyi/core/package.tsgo.json +19 -1
- package/node_modules/@flickfyi/core/scripts/vite-globals.d.ts +2 -0
- package/node_modules/@flickfyi/core/src/generated-types.d.ts +1 -0
- package/node_modules/@flickfyi/core/src/kowalski/README.md +9 -0
- package/node_modules/@flickfyi/core/src/kowalski/calculations.ts +106 -0
- package/node_modules/@flickfyi/core/src/kowalski/calculator.ts +243 -0
- package/node_modules/@flickfyi/core/src/kowalski/catalog.ts +787 -0
- package/node_modules/@flickfyi/core/src/kowalski/clocks.tsx +464 -0
- package/node_modules/@flickfyi/core/src/kowalski/date-time.tsx +469 -0
- package/node_modules/@flickfyi/core/src/kowalski/details.tsx +1387 -0
- package/node_modules/@flickfyi/core/src/kowalski/everyday.tsx +652 -0
- package/node_modules/@flickfyi/core/src/kowalski/format.ts +48 -0
- package/node_modules/@flickfyi/core/src/kowalski/frame.tsx +351 -0
- package/node_modules/@flickfyi/core/src/kowalski/index.ts +23 -0
- package/node_modules/@flickfyi/core/src/kowalski/productivity.tsx +575 -0
- package/node_modules/@flickfyi/core/src/kowalski/recipe.tsx +555 -0
- package/node_modules/@flickfyi/core/src/kowalski/stories/composition.stories.tsx +47 -0
- package/node_modules/@flickfyi/core/src/kowalski/stories/composition.tsx +100 -0
- package/node_modules/@flickfyi/core/src/kowalski/tools.tsx +1213 -0
- package/node_modules/@flickfyi/core/src/kowalski/use-clock.ts +19 -0
- package/node_modules/@flickfyi/core/src/kowalski/use-configured-feature.ts +85 -0
- package/node_modules/@flickfyi/core/src/kowalski/use-feature-store.ts +119 -0
- package/node_modules/@flickfyi/core/src/molecules/field/field.tsx +34 -0
- package/node_modules/@flickfyi/core/src/molecules/index.ts +3 -0
- package/node_modules/@flickfyi/core/src/molecules/segmented/segmented.tsx +48 -0
- package/node_modules/@flickfyi/core/src/molecules/stepper/stepper.tsx +54 -0
- package/node_modules/@flickfyi/core/src/quantum/use-store.ts +41 -16
- package/node_modules/@flickfyi/core/tests/fly.test.ts +34 -7
- package/node_modules/@flickfyi/core/tests/kowalski-calculations.test.ts +60 -0
- package/node_modules/@flickfyi/core/tests/kowalski-calculator.test.ts +142 -0
- package/node_modules/@flickfyi/core/tests/kowalski-contracts.test.ts +223 -0
- package/node_modules/@flickfyi/core/tests/kowalski-date-time.test.tsx +462 -0
- package/node_modules/@flickfyi/core/tests/kowalski-features.test.tsx +2158 -0
- package/node_modules/@flickfyi/core/tests/kowalski-store.test.tsx +514 -0
- package/node_modules/@flickfyi/core/tests/preview-build.test.ts +1 -1
- package/node_modules/@flickfyi/core/tests/quantum-use-store.test.ts +53 -1
- package/node_modules/@flickfyi/core/tests/verify-tsgo-assets.test.ts +1 -1
- package/node_modules/@flickfyi/core/tsconfig.vite-dts.json +2 -1
- package/node_modules/@flickfyi/core/tsgo.bun.lock +111 -9
- package/node_modules/@flickfyi/core/tsgo.package.json +21 -3
- package/node_modules/@flickfyi/core/vite.config.ts +9 -5
- package/node_modules/@flickfyi/core/vitest.config.ts +1 -1
- package/node_modules/@flickfyi/http-message-sig/.turbo/turbo-build.log +7 -7
- package/node_modules/@flickfyi/identity/.turbo/turbo-build.log +8 -9
- package/node_modules/@flickfyi/lens/.turbo/turbo-build.log +7 -7
- package/node_modules/@flickfyi/photon/.turbo/turbo-build.log +4 -4
- package/node_modules/@flickfyi/photon/Sources/Photon/Components/Button.swift +29 -2
- package/node_modules/@flickfyi/photon/Sources/PhotonVersion/Resources/photon-version.json +1 -1
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Components/ButtonHostTests.swift +26 -0
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/catalog-features.styles.json +1 -0
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/catalog-native.styles.json +1 -1
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/catalog-scale.styles.json +1 -1
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/catalog-theme.styles.json +1 -1
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/catalog-typography.styles.json +1 -1
- package/node_modules/@flickfyi/photon/Tests/PhotonTests/Fixtures/StyleX/stylex-calculator.styles.json +1 -1
- package/node_modules/@flickfyi/photon/dist/globals.d.ts +5 -0
- package/node_modules/@flickfyi/photon/dist/version.cjs +1 -1
- package/node_modules/@flickfyi/photon/dist/version.js +1 -1
- package/node_modules/@flickfyi/photon/generated/react-swiftui.d.ts +1 -0
- package/node_modules/@flickfyi/photon/package.json +1 -1
- package/node_modules/@flickfyi/photon/src/globals.d.ts +5 -0
- package/node_modules/@flickfyi/rwsdk-extensions/.turbo/turbo-build.log +7 -7
- package/node_modules/@formatjs/fast-memoize/LICENSE.md +9 -0
- package/node_modules/@formatjs/fast-memoize/README.md +3 -0
- package/node_modules/@formatjs/fast-memoize/index.d.ts +35 -0
- package/node_modules/@formatjs/fast-memoize/index.js +69 -0
- package/node_modules/@formatjs/fast-memoize/index.js.map +1 -0
- package/node_modules/@formatjs/fast-memoize/package.json +25 -0
- package/node_modules/@formatjs/icu-messageformat-parser/LICENSE.md +9 -0
- package/node_modules/@formatjs/icu-messageformat-parser/README.md +38 -0
- package/node_modules/@formatjs/icu-messageformat-parser/index.d.ts +393 -0
- package/node_modules/@formatjs/icu-messageformat-parser/index.js +2187 -0
- package/node_modules/@formatjs/icu-messageformat-parser/index.js.map +1 -0
- package/node_modules/@formatjs/icu-messageformat-parser/manipulator.d.ts +175 -0
- package/node_modules/@formatjs/icu-messageformat-parser/manipulator.js +209 -0
- package/node_modules/@formatjs/icu-messageformat-parser/manipulator.js.map +1 -0
- package/node_modules/@formatjs/icu-messageformat-parser/no-parser.d.ts +183 -0
- package/node_modules/@formatjs/icu-messageformat-parser/no-parser.js +162 -0
- package/node_modules/@formatjs/icu-messageformat-parser/no-parser.js.map +1 -0
- package/node_modules/@formatjs/icu-messageformat-parser/package.json +21 -0
- package/node_modules/@formatjs/icu-messageformat-parser/printer.d.ts +154 -0
- package/node_modules/@formatjs/icu-messageformat-parser/printer.js +224 -0
- package/node_modules/@formatjs/icu-messageformat-parser/printer.js.map +1 -0
- package/node_modules/@formatjs/icu-skeleton-parser/LICENSE.md +9 -0
- package/node_modules/@formatjs/icu-skeleton-parser/README.md +1 -0
- package/node_modules/@formatjs/icu-skeleton-parser/index.d.ts +67 -0
- package/node_modules/@formatjs/icu-skeleton-parser/index.js +380 -0
- package/node_modules/@formatjs/icu-skeleton-parser/index.js.map +1 -0
- package/node_modules/@formatjs/icu-skeleton-parser/package.json +15 -0
- package/node_modules/@formatjs/intl/LICENSE.md +9 -0
- package/node_modules/@formatjs/intl/README.md +3 -0
- package/node_modules/@formatjs/intl/index.d.ts +499 -0
- package/node_modules/@formatjs/intl/index.js +595 -0
- package/node_modules/@formatjs/intl/index.js.map +1 -0
- package/node_modules/@formatjs/intl/package.json +37 -0
- package/node_modules/decimal.js/LICENCE.md +23 -0
- package/node_modules/decimal.js/README.md +246 -0
- package/node_modules/decimal.js/decimal.d.ts +301 -0
- package/node_modules/decimal.js/decimal.js +4951 -0
- package/node_modules/decimal.js/decimal.mjs +4914 -0
- package/node_modules/decimal.js/package.json +55 -0
- package/node_modules/format-quantity/LICENSE +21 -0
- package/node_modules/format-quantity/README.md +181 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.development.d.ts +131 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.development.js +214 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.development.js.map +1 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.production.d.ts +131 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.production.js +2 -0
- package/node_modules/format-quantity/dist/cjs/format-quantity.cjs.production.js.map +1 -0
- package/node_modules/format-quantity/dist/cjs/index.d.ts +1 -0
- package/node_modules/format-quantity/dist/cjs/index.js +6 -0
- package/node_modules/format-quantity/dist/format-quantity.d.mts +131 -0
- package/node_modules/format-quantity/dist/format-quantity.legacy-esm.d.ts +131 -0
- package/node_modules/format-quantity/dist/format-quantity.legacy-esm.js +268 -0
- package/node_modules/format-quantity/dist/format-quantity.legacy-esm.js.map +1 -0
- package/node_modules/format-quantity/dist/format-quantity.mjs +208 -0
- package/node_modules/format-quantity/dist/format-quantity.mjs.map +1 -0
- package/node_modules/format-quantity/dist/format-quantity.production.d.mts +131 -0
- package/node_modules/format-quantity/dist/format-quantity.production.mjs +2 -0
- package/node_modules/format-quantity/dist/format-quantity.production.mjs.map +1 -0
- package/node_modules/format-quantity/dist/format-quantity.umd.min.js +3 -0
- package/node_modules/format-quantity/dist/format-quantity.umd.min.js.map +1 -0
- package/node_modules/format-quantity/package.json +81 -0
- package/node_modules/intl-messageformat/LICENSE.md +33 -0
- package/node_modules/intl-messageformat/README.md +3 -0
- package/node_modules/intl-messageformat/index.d.ts +177 -0
- package/node_modules/intl-messageformat/index.js +327 -0
- package/node_modules/intl-messageformat/index.js.map +1 -0
- package/node_modules/intl-messageformat/intl-messageformat.iife.js +2819 -0
- package/node_modules/intl-messageformat/package.json +40 -0
- package/node_modules/numeric-quantity/LICENSE +21 -0
- package/node_modules/numeric-quantity/README.md +306 -0
- package/node_modules/numeric-quantity/dist/cjs/index.d.ts +1 -0
- package/node_modules/numeric-quantity/dist/cjs/index.js +6 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.development.d.ts +293 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.development.js +579 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.development.js.map +1 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.production.d.ts +293 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.production.js +2 -0
- package/node_modules/numeric-quantity/dist/cjs/numeric-quantity.cjs.production.js.map +1 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.d.mts +293 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.iife.umd.min.js +2 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.iife.umd.min.js.map +1 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.legacy-esm.d.ts +293 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.legacy-esm.js +622 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.legacy-esm.js.map +1 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.mjs +564 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.mjs.map +1 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.production.d.mts +293 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.production.mjs +2 -0
- package/node_modules/numeric-quantity/dist/numeric-quantity.production.mjs.map +1 -0
- package/node_modules/numeric-quantity/package.json +72 -0
- package/node_modules/validator/LICENSE +20 -0
- package/node_modules/validator/README.md +269 -0
- package/node_modules/validator/es/index.js +218 -0
- package/node_modules/validator/es/lib/alpha.js +151 -0
- package/node_modules/validator/es/lib/blacklist.js +5 -0
- package/node_modules/validator/es/lib/contains.js +15 -0
- package/node_modules/validator/es/lib/equals.js +5 -0
- package/node_modules/validator/es/lib/escape.js +5 -0
- package/node_modules/validator/es/lib/isAbaRouting.js +15 -0
- package/node_modules/validator/es/lib/isAfter.js +10 -0
- package/node_modules/validator/es/lib/isAlpha.js +23 -0
- package/node_modules/validator/es/lib/isAlphanumeric.js +23 -0
- package/node_modules/validator/es/lib/isAscii.js +10 -0
- package/node_modules/validator/es/lib/isBIC.js +16 -0
- package/node_modules/validator/es/lib/isBase32.js +15 -0
- package/node_modules/validator/es/lib/isBase58.js +8 -0
- package/node_modules/validator/es/lib/isBase64.js +23 -0
- package/node_modules/validator/es/lib/isBefore.js +10 -0
- package/node_modules/validator/es/lib/isBoolean.js +15 -0
- package/node_modules/validator/es/lib/isBtcAddress.js +7 -0
- package/node_modules/validator/es/lib/isByteLength.js +19 -0
- package/node_modules/validator/es/lib/isCreditCard.js +43 -0
- package/node_modules/validator/es/lib/isCurrency.js +74 -0
- package/node_modules/validator/es/lib/isDataURI.js +31 -0
- package/node_modules/validator/es/lib/isDate.js +93 -0
- package/node_modules/validator/es/lib/isDecimal.js +22 -0
- package/node_modules/validator/es/lib/isDivisibleBy.js +6 -0
- package/node_modules/validator/es/lib/isEAN.js +70 -0
- package/node_modules/validator/es/lib/isEmail.js +165 -0
- package/node_modules/validator/es/lib/isEmpty.js +10 -0
- package/node_modules/validator/es/lib/isEthereumAddress.js +6 -0
- package/node_modules/validator/es/lib/isFQDN.js +67 -0
- package/node_modules/validator/es/lib/isFloat.js +14 -0
- package/node_modules/validator/es/lib/isFullWidth.js +6 -0
- package/node_modules/validator/es/lib/isHSL.js +13 -0
- package/node_modules/validator/es/lib/isHalfWidth.js +6 -0
- package/node_modules/validator/es/lib/isHash.js +21 -0
- package/node_modules/validator/es/lib/isHexColor.js +13 -0
- package/node_modules/validator/es/lib/isHexadecimal.js +6 -0
- package/node_modules/validator/es/lib/isIBAN.js +171 -0
- package/node_modules/validator/es/lib/isIMEI.js +40 -0
- package/node_modules/validator/es/lib/isIP.js +58 -0
- package/node_modules/validator/es/lib/isIPRange.js +41 -0
- package/node_modules/validator/es/lib/isISBN.js +47 -0
- package/node_modules/validator/es/lib/isISIN.js +55 -0
- package/node_modules/validator/es/lib/isISO15924.js +9 -0
- package/node_modules/validator/es/lib/isISO31661Alpha2.js +21 -0
- package/node_modules/validator/es/lib/isISO31661Alpha3.js +20 -0
- package/node_modules/validator/es/lib/isISO31661Numeric.js +8 -0
- package/node_modules/validator/es/lib/isISO4217.js +9 -0
- package/node_modules/validator/es/lib/isISO6346.js +28 -0
- package/node_modules/validator/es/lib/isISO6391.js +6 -0
- package/node_modules/validator/es/lib/isISO8601.js +42 -0
- package/node_modules/validator/es/lib/isISRC.js +8 -0
- package/node_modules/validator/es/lib/isISSN.js +19 -0
- package/node_modules/validator/es/lib/isIdentityCard.js +407 -0
- package/node_modules/validator/es/lib/isIn.js +23 -0
- package/node_modules/validator/es/lib/isInt.js +19 -0
- package/node_modules/validator/es/lib/isJSON.js +26 -0
- package/node_modules/validator/es/lib/isJWT.js +15 -0
- package/node_modules/validator/es/lib/isLatLong.js +21 -0
- package/node_modules/validator/es/lib/isLength.js +27 -0
- package/node_modules/validator/es/lib/isLicensePlate.js +58 -0
- package/node_modules/validator/es/lib/isLocale.js +107 -0
- package/node_modules/validator/es/lib/isLowercase.js +5 -0
- package/node_modules/validator/es/lib/isLuhnNumber.js +25 -0
- package/node_modules/validator/es/lib/isMACAddress.js +36 -0
- package/node_modules/validator/es/lib/isMD5.js +6 -0
- package/node_modules/validator/es/lib/isMagnetURI.js +9 -0
- package/node_modules/validator/es/lib/isMailtoURI.js +75 -0
- package/node_modules/validator/es/lib/isMimeType.js +40 -0
- package/node_modules/validator/es/lib/isMobilePhone.js +212 -0
- package/node_modules/validator/es/lib/isMongoId.js +6 -0
- package/node_modules/validator/es/lib/isMultibyte.js +10 -0
- package/node_modules/validator/es/lib/isNumeric.js +10 -0
- package/node_modules/validator/es/lib/isOctal.js +6 -0
- package/node_modules/validator/es/lib/isPassportNumber.js +145 -0
- package/node_modules/validator/es/lib/isPort.js +8 -0
- package/node_modules/validator/es/lib/isPostalCode.js +100 -0
- package/node_modules/validator/es/lib/isRFC3339.js +21 -0
- package/node_modules/validator/es/lib/isRgbColor.js +34 -0
- package/node_modules/validator/es/lib/isSemVer.js +14 -0
- package/node_modules/validator/es/lib/isSlug.js +6 -0
- package/node_modules/validator/es/lib/isStrongPassword.js +90 -0
- package/node_modules/validator/es/lib/isSurrogatePair.js +6 -0
- package/node_modules/validator/es/lib/isTaxID.js +1407 -0
- package/node_modules/validator/es/lib/isTime.js +22 -0
- package/node_modules/validator/es/lib/isULID.js +5 -0
- package/node_modules/validator/es/lib/isURL.js +241 -0
- package/node_modules/validator/es/lib/isUUID.js +23 -0
- package/node_modules/validator/es/lib/isUppercase.js +5 -0
- package/node_modules/validator/es/lib/isVAT.js +264 -0
- package/node_modules/validator/es/lib/isVariableWidth.js +7 -0
- package/node_modules/validator/es/lib/isWhitelisted.js +10 -0
- package/node_modules/validator/es/lib/ltrim.js +7 -0
- package/node_modules/validator/es/lib/matches.js +8 -0
- package/node_modules/validator/es/lib/normalizeEmail.js +131 -0
- package/node_modules/validator/es/lib/rtrim.js +15 -0
- package/node_modules/validator/es/lib/stripLow.js +7 -0
- package/node_modules/validator/es/lib/toBoolean.js +8 -0
- package/node_modules/validator/es/lib/toDate.js +6 -0
- package/node_modules/validator/es/lib/toFloat.js +5 -0
- package/node_modules/validator/es/lib/toInt.js +5 -0
- package/node_modules/validator/es/lib/trim.js +5 -0
- package/node_modules/validator/es/lib/unescape.js +8 -0
- package/node_modules/validator/es/lib/util/algorithms.js +79 -0
- package/node_modules/validator/es/lib/util/assertString.js +4 -0
- package/node_modules/validator/es/lib/util/checkHost.js +12 -0
- package/node_modules/validator/es/lib/util/includesArray.js +6 -0
- package/node_modules/validator/es/lib/util/includesString.js +4 -0
- package/node_modules/validator/es/lib/util/merge.js +14 -0
- package/node_modules/validator/es/lib/util/multilineRegex.js +12 -0
- package/node_modules/validator/es/lib/util/nullUndefinedCheck.js +3 -0
- package/node_modules/validator/es/lib/util/toString.js +13 -0
- package/node_modules/validator/es/lib/util/typeOf.js +10 -0
- package/node_modules/validator/es/lib/whitelist.js +5 -0
- package/node_modules/validator/index.js +229 -0
- package/node_modules/validator/lib/alpha.js +157 -0
- package/node_modules/validator/lib/blacklist.js +14 -0
- package/node_modules/validator/lib/contains.js +24 -0
- package/node_modules/validator/lib/equals.js +14 -0
- package/node_modules/validator/lib/escape.js +14 -0
- package/node_modules/validator/lib/isAbaRouting.js +23 -0
- package/node_modules/validator/lib/isAfter.js +19 -0
- package/node_modules/validator/lib/isAlpha.js +31 -0
- package/node_modules/validator/lib/isAlphanumeric.js +31 -0
- package/node_modules/validator/lib/isAscii.js +18 -0
- package/node_modules/validator/lib/isBIC.js +24 -0
- package/node_modules/validator/lib/isBase32.js +24 -0
- package/node_modules/validator/lib/isBase58.js +16 -0
- package/node_modules/validator/lib/isBase64.js +32 -0
- package/node_modules/validator/lib/isBefore.js +19 -0
- package/node_modules/validator/lib/isBoolean.js +24 -0
- package/node_modules/validator/lib/isBtcAddress.js +16 -0
- package/node_modules/validator/lib/isByteLength.js +27 -0
- package/node_modules/validator/lib/isCreditCard.js +52 -0
- package/node_modules/validator/lib/isCurrency.js +83 -0
- package/node_modules/validator/lib/isDataURI.js +40 -0
- package/node_modules/validator/lib/isDate.js +102 -0
- package/node_modules/validator/lib/isDecimal.js +31 -0
- package/node_modules/validator/lib/isDivisibleBy.js +15 -0
- package/node_modules/validator/lib/isEAN.js +78 -0
- package/node_modules/validator/lib/isEmail.js +174 -0
- package/node_modules/validator/lib/isEmpty.js +19 -0
- package/node_modules/validator/lib/isEthereumAddress.js +15 -0
- package/node_modules/validator/lib/isFQDN.js +76 -0
- package/node_modules/validator/lib/isFloat.js +22 -0
- package/node_modules/validator/lib/isFullWidth.js +14 -0
- package/node_modules/validator/lib/isHSL.js +22 -0
- package/node_modules/validator/lib/isHalfWidth.js +14 -0
- package/node_modules/validator/lib/isHash.js +30 -0
- package/node_modules/validator/lib/isHexColor.js +22 -0
- package/node_modules/validator/lib/isHexadecimal.js +15 -0
- package/node_modules/validator/lib/isIBAN.js +178 -0
- package/node_modules/validator/lib/isIMEI.js +49 -0
- package/node_modules/validator/lib/isIP.js +67 -0
- package/node_modules/validator/lib/isIPRange.js +50 -0
- package/node_modules/validator/lib/isISBN.js +56 -0
- package/node_modules/validator/lib/isISIN.js +64 -0
- package/node_modules/validator/lib/isISO15924.js +16 -0
- package/node_modules/validator/lib/isISO31661Alpha2.js +28 -0
- package/node_modules/validator/lib/isISO31661Alpha3.js +28 -0
- package/node_modules/validator/lib/isISO31661Numeric.js +16 -0
- package/node_modules/validator/lib/isISO4217.js +16 -0
- package/node_modules/validator/lib/isISO6346.js +35 -0
- package/node_modules/validator/lib/isISO6391.js +15 -0
- package/node_modules/validator/lib/isISO8601.js +50 -0
- package/node_modules/validator/lib/isISRC.js +16 -0
- package/node_modules/validator/lib/isISSN.js +28 -0
- package/node_modules/validator/lib/isIdentityCard.js +416 -0
- package/node_modules/validator/lib/isIn.js +32 -0
- package/node_modules/validator/lib/isInt.js +28 -0
- package/node_modules/validator/lib/isJSON.js +35 -0
- package/node_modules/validator/lib/isJWT.js +24 -0
- package/node_modules/validator/lib/isLatLong.js +30 -0
- package/node_modules/validator/lib/isLength.js +35 -0
- package/node_modules/validator/lib/isLicensePlate.js +67 -0
- package/node_modules/validator/lib/isLocale.js +115 -0
- package/node_modules/validator/lib/isLowercase.js +14 -0
- package/node_modules/validator/lib/isLuhnNumber.js +34 -0
- package/node_modules/validator/lib/isMACAddress.js +45 -0
- package/node_modules/validator/lib/isMD5.js +15 -0
- package/node_modules/validator/lib/isMagnetURI.js +18 -0
- package/node_modules/validator/lib/isMailtoURI.js +84 -0
- package/node_modules/validator/lib/isMimeType.js +48 -0
- package/node_modules/validator/lib/isMobilePhone.js +219 -0
- package/node_modules/validator/lib/isMongoId.js +15 -0
- package/node_modules/validator/lib/isMultibyte.js +18 -0
- package/node_modules/validator/lib/isNumeric.js +19 -0
- package/node_modules/validator/lib/isOctal.js +15 -0
- package/node_modules/validator/lib/isPassportNumber.js +152 -0
- package/node_modules/validator/lib/isPort.js +17 -0
- package/node_modules/validator/lib/isPostalCode.js +107 -0
- package/node_modules/validator/lib/isRFC3339.js +29 -0
- package/node_modules/validator/lib/isRgbColor.js +42 -0
- package/node_modules/validator/lib/isSemVer.js +22 -0
- package/node_modules/validator/lib/isSlug.js +15 -0
- package/node_modules/validator/lib/isStrongPassword.js +99 -0
- package/node_modules/validator/lib/isSurrogatePair.js +15 -0
- package/node_modules/validator/lib/isTaxID.js +1417 -0
- package/node_modules/validator/lib/isTime.js +31 -0
- package/node_modules/validator/lib/isULID.js +14 -0
- package/node_modules/validator/lib/isURL.js +249 -0
- package/node_modules/validator/lib/isUUID.js +32 -0
- package/node_modules/validator/lib/isUppercase.js +14 -0
- package/node_modules/validator/lib/isVAT.js +274 -0
- package/node_modules/validator/lib/isVariableWidth.js +16 -0
- package/node_modules/validator/lib/isWhitelisted.js +19 -0
- package/node_modules/validator/lib/ltrim.js +16 -0
- package/node_modules/validator/lib/matches.js +17 -0
- package/node_modules/validator/lib/normalizeEmail.js +140 -0
- package/node_modules/validator/lib/rtrim.js +24 -0
- package/node_modules/validator/lib/stripLow.js +16 -0
- package/node_modules/validator/lib/toBoolean.js +17 -0
- package/node_modules/validator/lib/toDate.js +15 -0
- package/node_modules/validator/lib/toFloat.js +14 -0
- package/node_modules/validator/lib/toInt.js +14 -0
- package/node_modules/validator/lib/trim.js +14 -0
- package/node_modules/validator/lib/unescape.js +17 -0
- package/node_modules/validator/lib/util/algorithms.js +88 -0
- package/node_modules/validator/lib/util/assertString.js +12 -0
- package/node_modules/validator/lib/util/checkHost.js +20 -0
- package/node_modules/validator/lib/util/includesArray.js +14 -0
- package/node_modules/validator/lib/util/includesString.js +12 -0
- package/node_modules/validator/lib/util/merge.js +22 -0
- package/node_modules/validator/lib/util/multilineRegex.js +20 -0
- package/node_modules/validator/lib/util/nullUndefinedCheck.js +11 -0
- package/node_modules/validator/lib/util/toString.js +21 -0
- package/node_modules/validator/lib/util/typeOf.js +18 -0
- package/node_modules/validator/lib/whitelist.js +14 -0
- package/node_modules/validator/package.json +76 -0
- package/node_modules/validator/validator.js +5808 -0
- package/node_modules/validator/validator.min.js +23 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,n));let c=require("validator/lib/isURL.js");c=s(c,1);let l=require("zod/v4");var u=l.z.string().regex(/^[A-Za-z][A-Za-z0-9]*$/).optional(),d=l.z.enum([`private`,`public`]).default(`private`),f={budget:`spent_`,checklist:`completed_`,habit:`completed_`,poll:`vote_`,recipe:`step_`,scoreboard:`score_`,shoppingList:`got_`,taskBoard:`status_`},p=[`sunday`,`monday`,`tuesday`,`wednesday`,`thursday`,`friday`,`saturday`],m={billSplit:{description:`Split a bill equally with an optional tip, rounding in the selected currency.`,exportName:`BillSplit`,props:y({currency:b(),people:l.z.number().int().min(1).max(1e3),tipPercent:l.z.number().min(0).max(100).default(0),title:E(`Split the bill`),total:l.z.number().min(0).max(0xe8d4a51000)}),storeSchema:T({people:l.z.number().int().min(1).max(1e3).default(1),tipPercent:l.z.number().min(0).max(100).default(0),total:l.z.number().min(0).max(0xe8d4a51000).default(0)})},bookmark:{description:`Display, edit, and retain a web bookmark. No implicit metadata fetch.`,exportName:`Bookmark`,props:y({note:l.z.string().max(1e4).default(``),title:E(),url:j()}),storeSchema:T({note:M(l.z.string().max(1e4).default(``)),title:M(l.z.string().max(160).default(``)),url:M(j().nullable().default(null))})},budget:{description:`Track spending against category limits for one budget period. No bank connection or payments.`,exportName:`Budget`,props:y({categories:S({label:l.z.string().min(1).max(80),limit:l.z.number().positive().max(0xe8d4a51000)},12),currency:b(),title:E(`Budget`)}),storeSchema:x(f.budget,l.z.number().min(0).max(0xe8d4a51000),{})},calculator:{description:`A persistent keypad calculator with chained arithmetic, decimals, sign, percent, and repeated equals. Supports +, -, *, /. No executable expression strings.`,exportName:`Calculator`,props:y({left:l.z.number().default(0),operator:l.z.enum([`+`,`-`,`*`,`/`]).default(`+`),right:l.z.number().default(0),title:E(`Calculate`)}),storeSchema:T({calculation:l.z.object({entry:l.z.string().max(40).regex(/^(?:-?\d+(?:\.\d*)?(?:e[+-]?\d+)?|Error)$/),left:l.z.number(),operator:l.z.enum([`+`,`-`,`*`,`/`]),overwrite:l.z.boolean(),phase:l.z.enum([`left`,`operator`,`right`,`result`,`error`]),right:l.z.number()}).refine(e=>e.phase===`error`?e.entry===`Error`:e.entry!==`Error`&&Number.isFinite(Number(e.entry)),`Calculator entry must match its phase and represent a finite number.`).default({entry:`0`,left:0,operator:`+`,overwrite:!1,phase:`left`,right:0})})},checklist:{description:`A persistent checklist with independent completion and progress. No external actions.`,exportName:`Checklist`,props:y({items:S({label:l.z.string().min(1).max(500)},100),title:E()}),storeSchema:x(f.checklist,l.z.boolean(),{})},colorPalette:{description:`Choose and retain an sRGB color and display matching shades.`,exportName:`ColorPalette`,props:y({color:l.z.string().regex(/^#[\da-fA-F]{6}$/),title:E(`Palette`)}),storeSchema:T({color:M(l.z.string().regex(/^#[\da-fA-F]{6}$/).default(`#6366f1`))})},contact:{description:`Display, edit, and retain a contact. Does not insert into the address book.`,exportName:`Contact`,props:y({email:l.z.email().optional(),name:l.z.string().min(1).max(160),phone:l.z.string().min(1).max(80).optional()}),storeSchema:T({email:M(l.z.email().nullable().default(null)),name:M(l.z.string().max(160).default(``)),phone:M(l.z.string().min(1).max(80).nullable().default(null))})},countdown:{description:`Count down to an explicit instant. Resolve missing dates before instantiation.`,exportName:`Countdown`,props:y({target:l.z.iso.datetime({offset:!0}),timeZone:k().default(`UTC`),title:E()}),storeSchema:T({target:M(l.z.iso.datetime({offset:!0}).nullable().default(null))})},event:{description:`Save and edit event details in the app. Does not create a calendar event.`,exportName:`Event`,props:y({location:l.z.string().max(500).default(``),startsAt:l.z.iso.datetime({offset:!0}).nullable().default(null),timeZone:k().default(`UTC`),title:E()}),storeSchema:T({location:M(l.z.string().max(500).default(``)),startsAt:M(l.z.iso.datetime({offset:!0}).nullable().default(null)),title:M(l.z.string().max(160).default(``))})},expense:{description:`Edit and retain one expense. No payments, bank connection, or exchange-rate lookup.`,exportName:`Expense`,props:y({amount:l.z.number().min(0).max(0xe8d4a51000),category:l.z.string().max(80).default(`Other`),currency:b(),title:E()}),storeSchema:T({amount:l.z.number().min(0).max(0xe8d4a51000).default(0),category:M(l.z.string().max(80).default(`Other`)),title:M(l.z.string().max(160).default(``))})},goal:{description:`A personal goal with editable progress, target, and a fixed increment. Not a distributed counter.`,exportName:`Goal`,props:y({progress:l.z.number().min(0).max(0xe8d4a51000).default(0),step:l.z.number().positive().max(1e9).default(1),target:l.z.number().positive().max(0xe8d4a51000),title:E(),unit:l.z.string().max(40).default(``)}),storeSchema:T({progress:l.z.number().min(0).default(0)})},habit:{description:`Track a habit by local date and edit its weekday schedule. No notifications.`,exportName:`Habit`,props:y({timeZone:k().default(`UTC`),title:E(),weekdays:A()}),storeSchema:x(f.habit,l.z.boolean(),{weekdays:A()})},ledger:{description:`A running tab of shared costs between two people, split evenly, with settle up. No payments.`,exportName:`Ledger`,props:y({currency:b(),people:S({label:l.z.string().min(1).max(80)},2,2),title:E(`Shared tab`)}),storeSchema:T({entries:l.z.array(l.z.strictObject({amount:l.z.number().positive().max(0xe8d4a51000),id:C(),label:l.z.string().max(160),paidBy:C()})).max(200).default([])})},note:{description:`An editable persistent note. Plain text; no HTML or code execution.`,exportName:`Note`,props:y({body:l.z.string().max(2e4),title:l.z.string().max(160)}),storeSchema:T({body:M(l.z.string().max(2e4).default(``)),title:M(l.z.string().max(160).default(``))})},poll:{exportName:`Poll`,description:`Cast or change a vote and derive totals from votes. Shared voting only when explicitly requested.`,props:y({options:S({label:l.z.string().min(1).max(160)},12,2),question:l.z.string().min(1).max(500),shared:l.z.boolean().default(!1)}),storeSchema:x(f.poll,C(),{})},randomPicker:{description:`Flip a coin, roll a die, or pick from a bounded integer range or list. Retains the last result.`,exportName:`RandomPicker`,props:l.z.discriminatedUnion(`mode`,[y({mode:l.z.literal(`coin`),title:E(`Pick one`)}),y({mode:l.z.literal(`dice`),title:E(`Pick one`)}),y({maximum:l.z.number().int().min(-1e9).max(1e9),minimum:l.z.number().int().min(-1e9).max(1e9),mode:l.z.literal(`range`),title:E(`Pick one`)}).refine(e=>e.minimum<=e.maximum,{message:`Minimum cannot exceed maximum.`,path:[`maximum`]}),y({mode:l.z.literal(`list`),options:l.z.array(l.z.string().min(1).max(160)).min(1).max(100),title:E(`Pick one`)})]),storeSchema:T({result:l.z.strictObject({domain:w(),value:l.z.union([l.z.number().int(),l.z.string().max(160)])}).nullable().default(null)})},rating:{description:`Rate one thing from one to five stars and keep a short note about it.`,exportName:`Rating`,props:y({subject:l.z.string().min(1).max(160),title:E(`Your rating`)}),storeSchema:T({note:M(l.z.string().max(2e3).default(``)),stars:l.z.number().int().min(0).max(5).default(0)})},recipe:{description:`Cook a recipe whose steps follow the Recipe Graph Format (rgf/0-draft): each step uses ingredients or earlier step outputs, waits on the steps in after, and may carry a duration, doneness cue, and attention. Ingredients carry a numeric amount and unit, and meta.servings is a number, so amounts scale with servings. Shows running timers, the current step, and the next few. No nutrition or shopping lookup.`,exportName:`Recipe`,props:y({ingredients:S({amount:l.z.number().positive().max(1e6).optional(),label:l.z.string().min(1).max(160),notes:l.z.array(l.z.string().max(160)).max(10).optional(),unit:l.z.string().max(40).optional()},60),servings:l.z.number().int().min(1).max(100).optional(),steps:l.z.array(l.z.strictObject({after:l.z.array(C()).max(60).optional(),attention:l.z.enum([`active`,`passive`]).optional(),doneness:l.z.string().max(200).optional(),duration:l.z.strictObject({maxMinutes:l.z.number().nonnegative().max(10080).optional(),minMinutes:l.z.number().nonnegative().max(10080).optional(),raw:l.z.string().min(1).max(80)}).refine(e=>e.minMinutes===void 0||e.maxMinutes===void 0||e.minMinutes<=e.maxMinutes,`minMinutes cannot exceed maxMinutes.`).optional(),equipment:l.z.array(l.z.string().min(1).max(160)).max(20).optional(),id:C(),instruction:l.z.string().min(1).max(500),kind:l.z.enum([`setup`,`transform`,`wait`,`serve`]).optional(),label:l.z.string().max(80).optional(),outputs:l.z.array(l.z.strictObject({id:C(),name:l.z.string().max(160).optional()})).max(10).optional(),temperature:l.z.string().min(1).max(80).optional(),uses:l.z.array(l.z.strictObject({id:C(),portion:l.z.string().max(80).optional(),source:l.z.discriminatedUnion(`kind`,[l.z.strictObject({ingredientId:C(),kind:l.z.literal(`ingredient`)}),l.z.strictObject({kind:l.z.literal(`output`),outputId:C()})])})).max(30).default([])})).min(1).max(60),title:E(),yield:l.z.string().max(160).optional()}).superRefine((e,t)=>{let n=new Set(e.ingredients.map(e=>e.id)),r=new Set,i=new Set;for(let a of e.steps){!r.has(a.id)&&(a.after??[]).every(e=>r.has(e))&&a.uses.every(e=>e.source.kind===`ingredient`?n.has(e.source.ingredientId):i.has(e.source.outputId))||t.addIssue({code:`custom`,message:`Step ${a.id} needs a unique ID and can only use ingredients and earlier steps.`}),r.add(a.id);for(let e of a.outputs??[])i.has(e.id)&&t.addIssue({code:`custom`,message:`Output IDs must be unique.`}),i.add(e.id)}}),storeSchema:x(f.recipe,l.z.strictObject({done:l.z.boolean(),endsAt:l.z.number().nullable()}),{cooking:l.z.boolean().default(!1),servings:l.z.number().int().min(1).max(100).default(1)})},reminder:{description:`Complete, reopen, and edit an in-app reminder. Does not schedule notifications.`,exportName:`Reminder`,props:y({dueAt:l.z.iso.datetime({offset:!0}).nullable().default(null),recurrence:l.z.enum([`none`,`daily`,`weekly`]).default(`none`),timeZone:k().optional(),title:l.z.string().min(1).max(500)}),storeSchema:T({completedAt:l.z.number().nullable().default(null),dueAt:M(l.z.iso.datetime({offset:!0}).nullable().default(null)),title:M(l.z.string().max(500).default(``))})},rotation:{description:`Take turns through a fixed group in order and pass the turn on when done.`,exportName:`Rotation`,props:y({people:S({label:l.z.string().min(1).max(80)},20,2),task:l.z.string().min(1).max(160),title:E(`Whose turn`)}),storeSchema:T({completed:l.z.number().int().min(0).default(0),turn:C().nullable().default(null)})},scoreboard:{description:`Keep score for a few players with a fixed step. Not a distributed counter or a league.`,exportName:`Scoreboard`,props:y({players:S({label:l.z.string().min(1).max(80)},12,2),step:l.z.number().int().positive().max(1e3).default(1),title:E(`Scores`)}),storeSchema:x(f.scoreboard,l.z.number().int(),{})},shoppingList:{description:`Check items off a shopping list with optional prices and a running cart total. No ordering.`,exportName:`ShoppingList`,props:y({currency:b(),items:S({label:l.z.string().min(1).max(160),price:l.z.number().min(0).max(1e9).optional(),quantity:l.z.number().int().min(1).max(999).default(1)},100),title:E(`Shopping list`)}),storeSchema:x(f.shoppingList,l.z.boolean(),{})},taskBoard:{description:`Move tasks between To do, Doing, and Done. No assignees, dates, or sync.`,exportName:`TaskBoard`,props:y({tasks:S({label:l.z.string().min(1).max(500)},50),title:E(`Tasks`)}),storeSchema:x(f.taskBoard,l.z.enum([`todo`,`doing`,`done`]),{})},timeZone:{description:`Compare local times in named time zones, live or at an explicit instant.`,exportName:`TimeZone`,props:y({at:l.z.iso.datetime({offset:!0}).nullable().default(null),title:E(`World clock`),zones:l.z.array(k()).min(2).max(6)}),storeSchema:T({at:M(l.z.iso.datetime({offset:!0}).nullable().default(null))})},timer:{description:`Countdown, focus, break, or stopwatch. Start, pause, resume, reset; no background alarm.`,exportName:`Timer`,props:y({durationSeconds:l.z.number().int().min(1).max(604800).default(300),mode:l.z.enum([`countdown`,`focus`,`break`,`stopwatch`]).default(`countdown`),title:E(`Timer`)}),storeSchema:T({elapsedSeconds:l.z.number().min(0).default(0),startedAt:l.z.number().nullable().default(null)})},trip:{description:`Edit and retain trip details. No bookings or itinerary retrieval.`,exportName:`Trip`,props:y({destination:l.z.string().min(1).max(160),endDate:l.z.iso.date().nullable().default(null),origin:l.z.string().min(1).max(160),startDate:l.z.iso.date().nullable().default(null),title:E(`Trip`),transport:l.z.enum([`car`,`train`,`plane`,`walk`,`other`]).default(`other`)}).refine(e=>!e.startDate||!e.endDate||e.endDate>=e.startDate,{message:`The trip cannot end before it starts.`,path:[`endDate`]}),storeSchema:T({destination:M(l.z.string().max(160).default(``)),endDate:M(l.z.iso.date().nullable().default(null)),origin:M(l.z.string().max(160).default(``)),startDate:M(l.z.iso.date().nullable().default(null))}).refine(e=>!e.startDate.value||!e.endDate.value||e.endDate.value>=e.startDate.value,`The trip cannot end before it starts.`)},unitConverter:{description:`Convert compatible length, mass, or temperature units deterministically.`,exportName:`UnitConverter`,props:y({from:O(),title:E(`Convert`),to:O(),value:l.z.number()}).refine(({from:e,to:t})=>v[e].dimension===v[t].dimension,{message:`Source and destination units must measure the same dimension.`,path:[`to`]}),storeSchema:T({from:M(O().default(`km`)),to:M(O().default(`mi`)),value:l.z.number().default(0)}).refine(({from:e,to:t})=>v[e.value].dimension===v[t.value].dimension,`Incompatible units.`)}},h=l.z.enum(`checklist.timer.habit.goal.poll.event.reminder.trip.countdown.timeZone.colorPalette.billSplit.expense.unitConverter.calculator.randomPicker.contact.bookmark.note.budget.scoreboard.taskBoard.recipe.rotation.shoppingList.rating.ledger`.split(`.`)),g=l.z.object({configuration:l.z.string().default(``),voter:l.z.string().min(1)}),_={max_allowed_length:2048,protocols:[`http`,`https`],require_host:!0,require_protocol:!0,require_tld:!1,require_valid_protocol:!0},v={c:{dimension:`temperature`,factor:1,offset:0},f:{dimension:`temperature`,factor:5/9,offset:-32},ft:{dimension:`length`,factor:.3048,offset:0},g:{dimension:`mass`,factor:.001,offset:0},k:{dimension:`temperature`,factor:1,offset:-273.15},kg:{dimension:`mass`,factor:1,offset:0},km:{dimension:`length`,factor:1e3,offset:0},lb:{dimension:`mass`,factor:.45359237,offset:0},m:{dimension:`length`,factor:1,offset:0},mi:{dimension:`length`,factor:1609.344,offset:0}};function y(e){return l.z.strictObject({id:u,revision:l.z.number().int().min(0).default(0),scope:d,...e})}function b(){return l.z.string().regex(/^[A-Z]{3}$/).default(`USD`)}function x(e,t,n){let r=T(n),i=new Set(Object.keys(r.shape));return l.z.intersection(r.loose(),l.z.looseRecord(l.z.templateLiteral([e,l.z.string()]),t)).refine(t=>Object.keys(t).every(t=>i.has(t)||t.startsWith(e)),`Item fields must start with ${e}.`)}function S(e,t,n=1){return l.z.array(l.z.strictObject(e).extend({id:C()})).min(n).max(t).refine(D,`IDs must be unique.`)}function C(){return l.z.string().min(1).max(80).refine(e=>e!==`__proto__`)}function w(){return l.z.union([l.z.strictObject({mode:l.z.literal(`coin`)}),l.z.strictObject({mode:l.z.literal(`dice`)}),l.z.strictObject({maximum:l.z.number().int(),minimum:l.z.number().int(),mode:l.z.literal(`range`)}),l.z.strictObject({mode:l.z.literal(`list`),options:l.z.array(l.z.string().max(160)).max(100)})])}function T(e){return l.z.object({configuration:l.z.record(l.z.string(),l.z.unknown()).nullable().default(null),configurationRevision:l.z.number().int().min(0).default(0),...e})}function E(e){let t=l.z.string().min(1).max(160);return e===void 0?t:t.default(e)}function D(e){let t=e.map(e=>`id`in e?e.id:void 0);return new Set(t).size===t.length}function O(){return l.z.enum([`m`,`km`,`mi`,`ft`,`kg`,`g`,`lb`,`c`,`f`,`k`])}function k(){return l.z.string().max(80).refine(e=>{try{return new Intl.DateTimeFormat(`en`,{timeZone:e}).format(0),!0}catch{return!1}},`Use a valid IANA time zone.`)}function A(){return l.z.array(l.z.enum(p)).max(7).default([...p])}function j(){return l.z.string().max(2048).refine(e=>(0,c.default)(e,_),`Use a valid HTTP or HTTPS address.`)}function M(e){return l.z.object({value:e}).default(()=>({value:e.parse(void 0)}))}exports.entryPrefixes=f,exports.kowalskiCatalog=m,exports.kowalskiComponentSchema=h,exports.kowalskiFeatureId=u,exports.kowalskiScope=d,exports.pollVoterSchema=g,exports.unitDefinitions=v,exports.webAddressOptions=_,exports.weekdayNames=p;
|