@ozdao/prometheus-framework 0.2.56 → 0.2.58
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_commonjsHelpers-CUmg6egw.mjs +6 -0
- package/dist/_commonjsHelpers-DHfMLFPC.js +5 -0
- package/dist/_virtual/index.cjs +1 -1
- package/dist/_virtual/index.js +2 -2
- package/dist/_virtual/index2.cjs +1 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/addMembersQuantity-B8UgqlUM.js +97 -0
- package/dist/addMembersQuantity-BXp_LeQd.mjs +98 -0
- package/dist/auth.server.js +5 -9
- package/dist/auth.server.mjs +5 -9
- package/dist/community.server.js +3 -5
- package/dist/community.server.mjs +3 -5
- package/dist/events.server.js +3 -5
- package/dist/events.server.mjs +3 -5
- package/dist/files.server.js +2 -4
- package/dist/files.server.mjs +2 -4
- package/dist/gallery.server.js +2 -4
- package/dist/gallery.server.mjs +2 -4
- package/dist/globals.server.js +2 -5
- package/dist/globals.server.mjs +2 -5
- package/dist/index-CGIn4v5E.mjs +217 -0
- package/dist/index-CL9l0HRS.js +216 -0
- package/dist/mailing-CxEcQ8NY.js +77 -0
- package/dist/mailing-DT2ZSkCD.mjs +78 -0
- package/dist/main-nO9P-mgH.js +91 -0
- package/dist/main-yJ9uXsVC.mjs +13748 -0
- package/dist/main.css +1 -1
- package/dist/metadata.schema-C_AgyVgg.mjs +210 -0
- package/dist/metadata.schema-IGS4BjqG.js +209 -0
- package/dist/middlewares.server.js +2 -4
- package/dist/middlewares.server.mjs +2 -4
- package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +1 -1
- package/dist/node_modules/@ethereumjs/rlp/dist/index.js +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +334 -332
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +3 -4
- package/dist/node_modules/eventemitter3/index.cjs +1 -0
- package/dist/node_modules/eventemitter3/index.js +117 -0
- package/dist/node_modules/eventemitter3/index2.cjs +1 -0
- package/dist/node_modules/eventemitter3/index2.js +5 -0
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
- package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/index.js +41 -40
- package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/version.js +1 -1
- package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/web3.js +50 -47
- package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +1 -0
- package/dist/node_modules/web3/lib/esm/web3_eip6963.js +50 -0
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +171 -164
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +327 -265
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +18 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +35 -20
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +53 -47
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
- package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +69 -60
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +6 -82
- package/dist/node_modules/web3-utils/lib/esm/objects.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/objects.js +9 -9
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +20 -20
- package/dist/organizations.server.js +2 -2
- package/dist/organizations.server.mjs +2 -2
- package/dist/products.server.js +2 -4
- package/dist/products.server.mjs +2 -4
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +1 -4
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3113 -3253
- package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +11 -12
- package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +14 -14
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
- package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
- package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +3 -3
- package/dist/prometheus-framework/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/formatters.js +518 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +21 -0
- package/dist/prometheus-framework/node_modules/date-fns/add.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/add.js +20 -0
- package/dist/prometheus-framework/node_modules/date-fns/addDays.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addDays.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/addHours.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addHours.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/addMilliseconds.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addMilliseconds.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/addMonths.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +21 -0
- package/dist/prometheus-framework/node_modules/date-fns/addQuarters.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addQuarters.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/addYears.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addYears.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/constants.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/constants.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/constructFrom.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/constructFrom.js +7 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarDays.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/eachDayOfInterval.js +19 -0
- package/dist/prometheus-framework/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/eachQuarterOfInterval.js +20 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfQuarter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfQuarter.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfWeek.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfYear.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/format.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/format.js +60 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDay.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDay.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDayOfYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDayOfYear.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDaysInMonth.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDaysInMonth.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDefaultOptions.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDefaultOptions.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getHours.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getHours.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISODay.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISODay.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISOWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISOWeekYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISOWeekYear.js +15 -0
- package/dist/prometheus-framework/node_modules/date-fns/getMinutes.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getMinutes.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getMonth.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getMonth.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getQuarter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getQuarter.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/getSeconds.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getSeconds.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getWeek.js +12 -0
- package/dist/prometheus-framework/node_modules/date-fns/getWeekYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/prometheus-framework/node_modules/date-fns/getYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getYear.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/isAfter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isAfter.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/isBefore.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isBefore.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/isDate.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isDate.js +7 -0
- package/dist/prometheus-framework/node_modules/date-fns/isEqual.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isEqual.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/isSameQuarter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isSameQuarter.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/isValid.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isValid.js +12 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Parser.js +22 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +40 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/constants.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers.js +67 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/utils.js +103 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse.js +90 -0
- package/dist/prometheus-framework/node_modules/date-fns/set.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/set.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/setDay.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setDay.js +12 -0
- package/dist/prometheus-framework/node_modules/date-fns/setHours.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setHours.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/setISODay.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setISODay.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/setISOWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setISOWeek.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMilliseconds.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMilliseconds.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMinutes.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMinutes.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMonth.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMonth.js +13 -0
- package/dist/prometheus-framework/node_modules/date-fns/setSeconds.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setSeconds.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/setWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setWeek.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/setYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setYear.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfDay.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeek.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfQuarter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfQuarter.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfWeekYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfYear.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/sub.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/sub.js +19 -0
- package/dist/prometheus-framework/node_modules/date-fns/subDays.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/subDays.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/subMonths.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/subMonths.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/subYears.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/subYears.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/toDate.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/toDate.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/transpose.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/transpose.js +18 -0
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +223 -2
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -225
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +13 -13
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +81 -2
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -83
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +1 -4
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +1 -4
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -72
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -97
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +40 -43
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +1 -4
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +34 -34
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +30 -92
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +29 -26
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +65 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +0 -66
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +30 -50
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +28 -48
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +26 -30
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +11 -12
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +113 -116
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/router/departments.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/departments.router.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +63 -18
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +94 -63
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +20 -22
- package/dist/prometheus-framework/src/modules/products/router/categories.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/router/categories.router.js +24 -0
- package/dist/prometheus-framework/src/modules/products/router/leftovers.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/router/leftovers.router.js +47 -0
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/router/products.router.js +38 -0
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +23 -22
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +35 -36
- package/dist/reports.server.js +2 -4
- package/dist/reports.server.mjs +2 -4
- package/dist/style.css +1 -1
- package/dist/users.server.js +2 -3
- package/dist/users.server.mjs +2 -3
- package/dist/web-YZLDTHc-.mjs +54 -0
- package/dist/web-zz-VV8RJ.js +1 -0
- package/package.json +30 -30
- package/src/components/Feed/Feed.vue +2 -1
- package/src/components/Radio/Radio.vue +0 -2
- package/src/modules/auth/components/sections/SliderFeatures.vue +37 -18
- package/src/modules/auth/controllers/auth.controller.js +0 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
- package/src/modules/backoffice/router/account.js +0 -33
- package/src/modules/backoffice/router/backoffice.js +20 -63
- package/src/modules/community/components/pages/Community.vue +7 -1
- package/src/modules/events/components/sections/SectionMainGuest.vue +1 -1
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
- package/src/modules/events/store/events.js +1 -0
- package/src/modules/landing/components/pages/Home.vue +2 -3
- package/src/modules/orders/components/pages/FormOrder.vue +15 -2
- package/src/modules/orders/components/pages/Order.vue +9 -16
- package/src/modules/orders/components/pages/Orders.vue +1 -1
- package/src/modules/orders/components/sections/FormClientDetails.vue +2 -2
- package/src/modules/orders/components/sections/FormDelivery.vue +5 -3
- package/src/modules/orders/components/sections/FormPayment.vue +1 -1
- package/src/modules/orders/controllers/orders.controller.js +1 -1
- package/src/modules/orders/models/order.model.js +1 -1
- package/src/modules/orders/router/orders.router.js +1 -1
- package/src/modules/orders/routes/orders.routes.js +4 -2
- package/src/modules/orders/store/orders.js +15 -15
- package/src/modules/organizations/components/blocks/EditArray.vue +1 -3
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +0 -1
- package/src/modules/organizations/router/departments.router.js +3 -3
- package/src/modules/organizations/router/members.router.js +6 -3
- package/src/modules/organizations/router/organizations.js +59 -12
- package/src/modules/products/components/pages/Products.vue +44 -8
- package/src/modules/products/products.client.js +0 -13
- package/src/modules/products/router/categories.router.js +24 -0
- package/src/modules/products/router/leftovers.router.js +38 -0
- package/src/modules/products/router/products.router.js +35 -0
- package/src/modules/spots/components/blocks/SpotMemberModify.vue +1 -1
- package/src/modules/spots/components/pages/SpotEdit.vue +0 -1
- package/src/styles/config.scss +4 -3
- package/src/modules/landing/components/sections/SliderFeatures.vue +0 -131
- package/src/modules/organizations/router/organizations.router.js +0 -54
- package/src/modules/organizations/router/products.router.js +0 -78
- package/src/modules/products/components/pages/ProductsBackoffice.vue +0 -90
@@ -0,0 +1,210 @@
|
|
1
|
+
import require$$0 from "mongoose";
|
2
|
+
const ObjectId = require$$0.Types.ObjectId;
|
3
|
+
function getBasicOptions(query) {
|
4
|
+
const { _id, url, status, owner, creator } = query;
|
5
|
+
const conditions = [];
|
6
|
+
if (_id) {
|
7
|
+
conditions.push({ _id: new ObjectId(_id) });
|
8
|
+
}
|
9
|
+
if (url) {
|
10
|
+
conditions.push({ url });
|
11
|
+
}
|
12
|
+
if (status) {
|
13
|
+
conditions.push({ status });
|
14
|
+
}
|
15
|
+
if (owner) {
|
16
|
+
conditions.push({ "owner.target": new ObjectId(owner) });
|
17
|
+
}
|
18
|
+
if (creator) {
|
19
|
+
conditions.push({ "creator.target": new ObjectId(creator) });
|
20
|
+
}
|
21
|
+
if (conditions.length > 0) {
|
22
|
+
return [{ $match: { $and: conditions } }];
|
23
|
+
} else {
|
24
|
+
return [];
|
25
|
+
}
|
26
|
+
}
|
27
|
+
function getTagsOptions(tags) {
|
28
|
+
if (tags && tags.length > 0) {
|
29
|
+
[{ $in: tags.split(",") }];
|
30
|
+
} else {
|
31
|
+
return [];
|
32
|
+
}
|
33
|
+
}
|
34
|
+
function getSortingOptions(param = "createdAt", order = "desc") {
|
35
|
+
let sort = {
|
36
|
+
[param]: order === "desc" ? -1 : 1,
|
37
|
+
"_id": 1
|
38
|
+
};
|
39
|
+
return [{ $sort: sort }];
|
40
|
+
}
|
41
|
+
function getPaginationOptions(skip, limit) {
|
42
|
+
let pagination = {
|
43
|
+
skip: parseInt(skip) || 0,
|
44
|
+
limit: parseInt(limit) || 20
|
45
|
+
};
|
46
|
+
return [{ $skip: pagination.skip }, { $limit: pagination.limit }];
|
47
|
+
}
|
48
|
+
function getCreatorUserLookupStage() {
|
49
|
+
return {
|
50
|
+
$lookup: {
|
51
|
+
from: "users",
|
52
|
+
localField: "creator.target",
|
53
|
+
foreignField: "_id",
|
54
|
+
as: "creatorUser"
|
55
|
+
}
|
56
|
+
};
|
57
|
+
}
|
58
|
+
function getCreatorOrganizationLookupStage() {
|
59
|
+
return {
|
60
|
+
$lookup: {
|
61
|
+
from: "organizations",
|
62
|
+
localField: "creator.target",
|
63
|
+
foreignField: "_id",
|
64
|
+
as: "creatorOrganization"
|
65
|
+
}
|
66
|
+
};
|
67
|
+
}
|
68
|
+
function getOwnerUserLookupStage() {
|
69
|
+
return {
|
70
|
+
$lookup: {
|
71
|
+
from: "users",
|
72
|
+
localField: "owner.target",
|
73
|
+
foreignField: "_id",
|
74
|
+
as: "ownerUser"
|
75
|
+
}
|
76
|
+
};
|
77
|
+
}
|
78
|
+
function getOwnerOrganizationLookupStage() {
|
79
|
+
return {
|
80
|
+
$lookup: {
|
81
|
+
from: "organizations",
|
82
|
+
localField: "owner.target",
|
83
|
+
foreignField: "_id",
|
84
|
+
as: "ownerOrganization"
|
85
|
+
}
|
86
|
+
};
|
87
|
+
}
|
88
|
+
function getAddFieldsCreatorOwnerStage() {
|
89
|
+
return {
|
90
|
+
$addFields: {
|
91
|
+
"creator.target": {
|
92
|
+
$cond: [
|
93
|
+
{ $eq: ["$creator.type", "user"] },
|
94
|
+
{ $arrayElemAt: ["$creatorUser", 0] },
|
95
|
+
{ $arrayElemAt: ["$creatorOrganization", 0] }
|
96
|
+
]
|
97
|
+
},
|
98
|
+
"owner.target": {
|
99
|
+
$cond: [
|
100
|
+
{ $eq: ["$owner.type", "user"] },
|
101
|
+
{ $arrayElemAt: ["$ownerUser", 0] },
|
102
|
+
{ $arrayElemAt: ["$ownerOrganization", 0] }
|
103
|
+
]
|
104
|
+
}
|
105
|
+
}
|
106
|
+
};
|
107
|
+
}
|
108
|
+
var queryProcessor = {
|
109
|
+
getBasicOptions,
|
110
|
+
getSortingOptions,
|
111
|
+
getPaginationOptions,
|
112
|
+
getTagsOptions,
|
113
|
+
// Creator and Owner
|
114
|
+
getCreatorUserLookupStage,
|
115
|
+
getCreatorOrganizationLookupStage,
|
116
|
+
getOwnerUserLookupStage,
|
117
|
+
getOwnerOrganizationLookupStage,
|
118
|
+
getAddFieldsCreatorOwnerStage
|
119
|
+
};
|
120
|
+
var common_schema = function applyCommonSchema(schema, db) {
|
121
|
+
schema.add({
|
122
|
+
status: {
|
123
|
+
type: String,
|
124
|
+
enum: ["draft", "published", "removed"],
|
125
|
+
default: "draft",
|
126
|
+
required: true
|
127
|
+
}
|
128
|
+
});
|
129
|
+
};
|
130
|
+
var engagement_schema = function applyEngagementSchema(schema, db) {
|
131
|
+
schema.add({ views: { type: Number, default: 0 } });
|
132
|
+
schema.post("aggregate", async function(docs) {
|
133
|
+
if (docs.length === 0)
|
134
|
+
return;
|
135
|
+
console.log("Post-aggregate hook in engagement schema triggered");
|
136
|
+
const model = this._model;
|
137
|
+
if (!model) {
|
138
|
+
console.error("No model is associated with this schema!");
|
139
|
+
return;
|
140
|
+
}
|
141
|
+
try {
|
142
|
+
await updateDocumentViews(docs, model);
|
143
|
+
} catch (error) {
|
144
|
+
console.error("Error updating views:", error);
|
145
|
+
}
|
146
|
+
});
|
147
|
+
async function updateDocumentViews(docs, model) {
|
148
|
+
const updateViewsPromises = docs.map((doc) => model.findOneAndUpdate(
|
149
|
+
{ _id: doc._id },
|
150
|
+
{ $inc: { views: 1 } }
|
151
|
+
).exec());
|
152
|
+
await Promise.all(updateViewsPromises);
|
153
|
+
}
|
154
|
+
};
|
155
|
+
var ownership_schema = function applyOwnershipSchema(schema, db) {
|
156
|
+
schema.add({
|
157
|
+
owner: {
|
158
|
+
type: {
|
159
|
+
type: String,
|
160
|
+
required: true
|
161
|
+
},
|
162
|
+
target: {
|
163
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
164
|
+
refPath: "owner.type",
|
165
|
+
required: true
|
166
|
+
}
|
167
|
+
},
|
168
|
+
creator: {
|
169
|
+
hidden: {
|
170
|
+
type: Boolean,
|
171
|
+
required: true
|
172
|
+
},
|
173
|
+
type: {
|
174
|
+
type: String,
|
175
|
+
required: true
|
176
|
+
},
|
177
|
+
target: {
|
178
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
179
|
+
refPath: "creator.type",
|
180
|
+
required: true
|
181
|
+
}
|
182
|
+
}
|
183
|
+
});
|
184
|
+
schema.index({
|
185
|
+
"owner.target": 1,
|
186
|
+
"creator.target": 1
|
187
|
+
});
|
188
|
+
};
|
189
|
+
var metadata_schema = function applyMetadataSchema(schema, db) {
|
190
|
+
schema.add({
|
191
|
+
url: {
|
192
|
+
type: String,
|
193
|
+
required: true
|
194
|
+
},
|
195
|
+
tags: [{
|
196
|
+
type: String
|
197
|
+
}]
|
198
|
+
});
|
199
|
+
schema.index({
|
200
|
+
"url": 1,
|
201
|
+
"tags": 1
|
202
|
+
});
|
203
|
+
};
|
204
|
+
export {
|
205
|
+
common_schema as c,
|
206
|
+
engagement_schema as e,
|
207
|
+
metadata_schema as m,
|
208
|
+
ownership_schema as o,
|
209
|
+
queryProcessor as q
|
210
|
+
};
|
@@ -0,0 +1,209 @@
|
|
1
|
+
"use strict";
|
2
|
+
const require$$0 = require("mongoose");
|
3
|
+
const ObjectId = require$$0.Types.ObjectId;
|
4
|
+
function getBasicOptions(query) {
|
5
|
+
const { _id, url, status, owner, creator } = query;
|
6
|
+
const conditions = [];
|
7
|
+
if (_id) {
|
8
|
+
conditions.push({ _id: new ObjectId(_id) });
|
9
|
+
}
|
10
|
+
if (url) {
|
11
|
+
conditions.push({ url });
|
12
|
+
}
|
13
|
+
if (status) {
|
14
|
+
conditions.push({ status });
|
15
|
+
}
|
16
|
+
if (owner) {
|
17
|
+
conditions.push({ "owner.target": new ObjectId(owner) });
|
18
|
+
}
|
19
|
+
if (creator) {
|
20
|
+
conditions.push({ "creator.target": new ObjectId(creator) });
|
21
|
+
}
|
22
|
+
if (conditions.length > 0) {
|
23
|
+
return [{ $match: { $and: conditions } }];
|
24
|
+
} else {
|
25
|
+
return [];
|
26
|
+
}
|
27
|
+
}
|
28
|
+
function getTagsOptions(tags) {
|
29
|
+
if (tags && tags.length > 0) {
|
30
|
+
[{ $in: tags.split(",") }];
|
31
|
+
} else {
|
32
|
+
return [];
|
33
|
+
}
|
34
|
+
}
|
35
|
+
function getSortingOptions(param = "createdAt", order = "desc") {
|
36
|
+
let sort = {
|
37
|
+
[param]: order === "desc" ? -1 : 1,
|
38
|
+
"_id": 1
|
39
|
+
};
|
40
|
+
return [{ $sort: sort }];
|
41
|
+
}
|
42
|
+
function getPaginationOptions(skip, limit) {
|
43
|
+
let pagination = {
|
44
|
+
skip: parseInt(skip) || 0,
|
45
|
+
limit: parseInt(limit) || 20
|
46
|
+
};
|
47
|
+
return [{ $skip: pagination.skip }, { $limit: pagination.limit }];
|
48
|
+
}
|
49
|
+
function getCreatorUserLookupStage() {
|
50
|
+
return {
|
51
|
+
$lookup: {
|
52
|
+
from: "users",
|
53
|
+
localField: "creator.target",
|
54
|
+
foreignField: "_id",
|
55
|
+
as: "creatorUser"
|
56
|
+
}
|
57
|
+
};
|
58
|
+
}
|
59
|
+
function getCreatorOrganizationLookupStage() {
|
60
|
+
return {
|
61
|
+
$lookup: {
|
62
|
+
from: "organizations",
|
63
|
+
localField: "creator.target",
|
64
|
+
foreignField: "_id",
|
65
|
+
as: "creatorOrganization"
|
66
|
+
}
|
67
|
+
};
|
68
|
+
}
|
69
|
+
function getOwnerUserLookupStage() {
|
70
|
+
return {
|
71
|
+
$lookup: {
|
72
|
+
from: "users",
|
73
|
+
localField: "owner.target",
|
74
|
+
foreignField: "_id",
|
75
|
+
as: "ownerUser"
|
76
|
+
}
|
77
|
+
};
|
78
|
+
}
|
79
|
+
function getOwnerOrganizationLookupStage() {
|
80
|
+
return {
|
81
|
+
$lookup: {
|
82
|
+
from: "organizations",
|
83
|
+
localField: "owner.target",
|
84
|
+
foreignField: "_id",
|
85
|
+
as: "ownerOrganization"
|
86
|
+
}
|
87
|
+
};
|
88
|
+
}
|
89
|
+
function getAddFieldsCreatorOwnerStage() {
|
90
|
+
return {
|
91
|
+
$addFields: {
|
92
|
+
"creator.target": {
|
93
|
+
$cond: [
|
94
|
+
{ $eq: ["$creator.type", "user"] },
|
95
|
+
{ $arrayElemAt: ["$creatorUser", 0] },
|
96
|
+
{ $arrayElemAt: ["$creatorOrganization", 0] }
|
97
|
+
]
|
98
|
+
},
|
99
|
+
"owner.target": {
|
100
|
+
$cond: [
|
101
|
+
{ $eq: ["$owner.type", "user"] },
|
102
|
+
{ $arrayElemAt: ["$ownerUser", 0] },
|
103
|
+
{ $arrayElemAt: ["$ownerOrganization", 0] }
|
104
|
+
]
|
105
|
+
}
|
106
|
+
}
|
107
|
+
};
|
108
|
+
}
|
109
|
+
var queryProcessor = {
|
110
|
+
getBasicOptions,
|
111
|
+
getSortingOptions,
|
112
|
+
getPaginationOptions,
|
113
|
+
getTagsOptions,
|
114
|
+
// Creator and Owner
|
115
|
+
getCreatorUserLookupStage,
|
116
|
+
getCreatorOrganizationLookupStage,
|
117
|
+
getOwnerUserLookupStage,
|
118
|
+
getOwnerOrganizationLookupStage,
|
119
|
+
getAddFieldsCreatorOwnerStage
|
120
|
+
};
|
121
|
+
var common_schema = function applyCommonSchema(schema, db) {
|
122
|
+
schema.add({
|
123
|
+
status: {
|
124
|
+
type: String,
|
125
|
+
enum: ["draft", "published", "removed"],
|
126
|
+
default: "draft",
|
127
|
+
required: true
|
128
|
+
}
|
129
|
+
});
|
130
|
+
};
|
131
|
+
var engagement_schema = function applyEngagementSchema(schema, db) {
|
132
|
+
schema.add({ views: { type: Number, default: 0 } });
|
133
|
+
schema.post("aggregate", async function(docs) {
|
134
|
+
if (docs.length === 0)
|
135
|
+
return;
|
136
|
+
console.log("Post-aggregate hook in engagement schema triggered");
|
137
|
+
const model = this._model;
|
138
|
+
if (!model) {
|
139
|
+
console.error("No model is associated with this schema!");
|
140
|
+
return;
|
141
|
+
}
|
142
|
+
try {
|
143
|
+
await updateDocumentViews(docs, model);
|
144
|
+
} catch (error) {
|
145
|
+
console.error("Error updating views:", error);
|
146
|
+
}
|
147
|
+
});
|
148
|
+
async function updateDocumentViews(docs, model) {
|
149
|
+
const updateViewsPromises = docs.map((doc) => model.findOneAndUpdate(
|
150
|
+
{ _id: doc._id },
|
151
|
+
{ $inc: { views: 1 } }
|
152
|
+
).exec());
|
153
|
+
await Promise.all(updateViewsPromises);
|
154
|
+
}
|
155
|
+
};
|
156
|
+
var ownership_schema = function applyOwnershipSchema(schema, db) {
|
157
|
+
schema.add({
|
158
|
+
owner: {
|
159
|
+
type: {
|
160
|
+
type: String,
|
161
|
+
required: true
|
162
|
+
},
|
163
|
+
target: {
|
164
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
165
|
+
refPath: "owner.type",
|
166
|
+
required: true
|
167
|
+
}
|
168
|
+
},
|
169
|
+
creator: {
|
170
|
+
hidden: {
|
171
|
+
type: Boolean,
|
172
|
+
required: true
|
173
|
+
},
|
174
|
+
type: {
|
175
|
+
type: String,
|
176
|
+
required: true
|
177
|
+
},
|
178
|
+
target: {
|
179
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
180
|
+
refPath: "creator.type",
|
181
|
+
required: true
|
182
|
+
}
|
183
|
+
}
|
184
|
+
});
|
185
|
+
schema.index({
|
186
|
+
"owner.target": 1,
|
187
|
+
"creator.target": 1
|
188
|
+
});
|
189
|
+
};
|
190
|
+
var metadata_schema = function applyMetadataSchema(schema, db) {
|
191
|
+
schema.add({
|
192
|
+
url: {
|
193
|
+
type: String,
|
194
|
+
required: true
|
195
|
+
},
|
196
|
+
tags: [{
|
197
|
+
type: String
|
198
|
+
}]
|
199
|
+
});
|
200
|
+
schema.index({
|
201
|
+
"url": 1,
|
202
|
+
"tags": 1
|
203
|
+
});
|
204
|
+
};
|
205
|
+
exports.common_schema = common_schema;
|
206
|
+
exports.engagement_schema = engagement_schema;
|
207
|
+
exports.metadata_schema = metadata_schema;
|
208
|
+
exports.ownership_schema = ownership_schema;
|
209
|
+
exports.queryProcessor = queryProcessor;
|
@@ -1,8 +1,6 @@
|
|
1
1
|
"use strict";
|
2
|
-
const _commonjsHelpers = require("./_commonjsHelpers-
|
3
|
-
const index = require("./index-
|
4
|
-
require("jsonwebtoken");
|
5
|
-
require("mongodb");
|
2
|
+
const _commonjsHelpers = require("./_commonjsHelpers-DHfMLFPC.js");
|
3
|
+
const index = require("./index-CL9l0HRS.js");
|
6
4
|
const verifyUser = index.verifyUser;
|
7
5
|
const verifyInvites = index.verifyInvites;
|
8
6
|
const authJwt = index.authJwt;
|
@@ -1,7 +1,5 @@
|
|
1
|
-
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-
|
2
|
-
import { v as verifyUser$1, a as verifyInvites$1, b as authJwt$1, c as verifySignUp$1, d as verifyCategory$1, s as server } from "./index-
|
3
|
-
import "jsonwebtoken";
|
4
|
-
import "mongodb";
|
1
|
+
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-CUmg6egw.mjs";
|
2
|
+
import { v as verifyUser$1, a as verifyInvites$1, b as authJwt$1, c as verifySignUp$1, d as verifyCategory$1, s as server } from "./index-CGIn4v5E.mjs";
|
5
3
|
const verifyUser = verifyUser$1;
|
6
4
|
const verifyInvites = verifyInvites$1;
|
7
5
|
const authJwt = authJwt$1;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("../../../../_virtual/
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("../../../../_virtual/index2.cjs");Object.defineProperty(f.__exports,"__esModule",{value:!0});exports.RLP=f.__exports.RLP=f.__exports.utils=f.__exports.decode=f.__exports.encode=void 0;function x(e){if(Array.isArray(e)){const t=[];let n=0;for(let o=0;o<e.length;o++){const i=x(e[o]);t.push(i),n+=i.length}return h(w(n,192),...t)}const r=P(e);return r.length===1&&r[0]<128?r:h(w(r.length,128),r)}f.__exports.encode=x;function d(e,r,t){if(t>e.length)throw new Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(r,t)}function y(e){if(e[0]===0)throw new Error("invalid RLP: extra zeros");return b(m(e))}function w(e,r){if(e<56)return Uint8Array.from([e+r]);const t=g(e),n=t.length/2,o=g(r+55+n);return Uint8Array.from(c(o+t))}function _(e,r=!1){if(typeof e>"u"||e===null||e.length===0)return Uint8Array.from([]);const t=P(e),n=u(t);if(r)return n;if(n.remainder.length!==0)throw new Error("invalid RLP: remainder must be zero");return n.data}f.__exports.decode=_;function u(e){let r,t,n,o,i;const s=[],l=e[0];if(l<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(l<=183){if(r=l-127,l===128?n=Uint8Array.from([]):n=d(e,1,r),r===2&&n[0]<128)throw new Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:n,remainder:e.slice(r)}}else if(l<=191){if(t=l-182,e.length-1<t)throw new Error("invalid RLP: not enough bytes for string length");if(r=y(d(e,1,t)),r<=55)throw new Error("invalid RLP: expected string length to be greater than 55");return n=d(e,t,r+t),{data:n,remainder:e.slice(r+t)}}else if(l<=247){for(r=l-191,o=d(e,1,r);o.length;)i=u(o),s.push(i.data),o=i.remainder;return{data:s,remainder:e.slice(r)}}else{if(t=l-246,r=y(d(e,1,t)),r<56)throw new Error("invalid RLP: encoded list too short");const a=t+r;if(a>e.length)throw new Error("invalid RLP: total length is larger than the data");for(o=d(e,t,a);o.length;)i=u(o),s.push(i.data),o=i.remainder;return{data:s,remainder:e.slice(a)}}}const E=Array.from({length:256},(e,r)=>r.toString(16).padStart(2,"0"));function m(e){let r="";for(let t=0;t<e.length;t++)r+=E[e[t]];return r}function b(e){const r=Number.parseInt(e,16);if(Number.isNaN(r))throw new Error("Invalid byte sequence");return r}function c(e){if(typeof e!="string")throw new TypeError("hexToBytes: expected string, got "+typeof e);if(e.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const r=new Uint8Array(e.length/2);for(let t=0;t<r.length;t++){const n=t*2;r[t]=b(e.slice(n,n+2))}return r}function h(...e){if(e.length===1)return e[0];const r=e.reduce((n,o)=>n+o.length,0),t=new Uint8Array(r);for(let n=0,o=0;n<e.length;n++){const i=e[n];t.set(i,o),o+=i.length}return t}function p(e){return new TextEncoder().encode(e)}function g(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");const r=e.toString(16);return r.length%2?`0${r}`:r}function A(e){return e.length%2?`0${e}`:e}function L(e){return e.length>=2&&e[0]==="0"&&e[1]==="x"}function R(e){return typeof e!="string"?e:L(e)?e.slice(2):e}function P(e){if(e instanceof Uint8Array)return e;if(typeof e=="string")return L(e)?c(A(R(e))):p(e);if(typeof e=="number"||typeof e=="bigint")return e?c(g(e)):Uint8Array.from([]);if(e==null)return Uint8Array.from([]);throw new Error("toBytes: received unsupported type "+typeof e)}f.__exports.utils={bytesToHex:m,concatBytes:h,hexToBytes:c,utf8ToBytes:p};exports.RLP=f.__exports.RLP={encode:x,decode:_};exports.default=f.__exports;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function o(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function i(e){if(typeof e!="boolean")throw new Error(`Expected boolean, not ${e}`)}function c(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function r(e,...t){if(!c(e))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function u(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");o(e.outputLen),o(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function f(e,t){r(e);const n=t.outputLen;if(e.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}const l={number:o,bool:i,bytes:r,hash:u,exists:s,output:f}
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function o(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function i(e){if(typeof e!="boolean")throw new Error(`Expected boolean, not ${e}`)}function c(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function r(e,...t){if(!c(e))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function u(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");o(e.outputLen),o(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function f(e,t){r(e);const n=t.outputLen;if(e.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}const l={number:o,bool:i,bytes:r,hash:u,exists:s,output:f};exports.bool=i;exports.bytes=r;exports.default=l;exports.exists=s;exports.hash=u;exports.number=o;exports.output=f;
|
@@ -15,12 +15,12 @@ function o(t, ...e) {
|
|
15
15
|
if (e.length > 0 && !e.includes(t.length))
|
16
16
|
throw new Error(`Expected Uint8Array of length ${e}, not of length=${t.length}`);
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function u(t) {
|
19
19
|
if (typeof t != "function" || typeof t.create != "function")
|
20
20
|
throw new Error("Hash should be wrapped by utils.wrapConstructor");
|
21
21
|
r(t.outputLen), r(t.blockLen);
|
22
22
|
}
|
23
|
-
function
|
23
|
+
function s(t, e = !0) {
|
24
24
|
if (t.destroyed)
|
25
25
|
throw new Error("Hash instance has been destroyed");
|
26
26
|
if (e && t.finished)
|
@@ -32,13 +32,13 @@ function c(t, e) {
|
|
32
32
|
if (t.length < n)
|
33
33
|
throw new Error(`digestInto() expects output buffer of length at least ${n}`);
|
34
34
|
}
|
35
|
-
const a = { number: r, bool: i, bytes: o, hash:
|
35
|
+
const a = { number: r, bool: i, bytes: o, hash: u, exists: s, output: c };
|
36
36
|
export {
|
37
37
|
i as bool,
|
38
38
|
o as bytes,
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
a as default,
|
40
|
+
s as exists,
|
41
|
+
u as hash,
|
42
42
|
r as number,
|
43
43
|
c as output
|
44
44
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=BigInt(2**32-1),l=BigInt(32);function s(t,o=!1){return o?{h:Number(t&e),l:Number(t>>l&e)}:{h:Number(t>>l&e)|0,l:Number(t&e)|0}}function a(t,o=!1){let r=new Uint32Array(t.length),n=new Uint32Array(t.length);for(let d=0;d<t.length;d++){const{h:c,l:w}=s(t[d],o);[r[d],n[d]]=[c,w]}return[r,n]}const i=(t,o)=>BigInt(t>>>0)<<l|BigInt(o>>>0),u=(t,o,r)=>t>>>r,H=(t,o,r)=>t<<32-r|o>>>r,L=(t,o,r)=>t>>>r|o<<32-r,B=(t,o,r)=>t<<32-r|o>>>r,S=(t,o,r)=>t<<64-r|o>>>r-32,g=(t,o,r)=>t>>>r-32|o<<64-r,h=(t,o)=>o,f=(t,o)=>t,m=(t,o,r)=>t<<r|o>>>32-r,_=(t,o,r)=>o<<r|t>>>32-r,b=(t,o,r)=>o<<r-32|t>>>64-r,A=(t,o,r)=>t<<r-32|o>>>64-r;function I(t,o,r,n){const d=(o>>>0)+(n>>>0);return{h:t+r+(d/2**32|0)|0,l:d|0}}const N=(t,o,r)=>(t>>>0)+(o>>>0)+(r>>>0),p=(t,o,r,n)=>o+r+n+(t/2**32|0)|0,y=(t,o,r,n)=>(t>>>0)+(o>>>0)+(r>>>0)+(n>>>0),M=(t,o,r,n,d)=>o+r+n+d+(t/2**32|0)|0,U=(t,o,r,n,d)=>(t>>>0)+(o>>>0)+(r>>>0)+(n>>>0)+(d>>>0),v=(t,o,r,n,d,c)=>o+r+n+d+c+(t/2**32|0)|0,j={fromBig:s,split:a,toBig:i,shrSH:u,shrSL:H,rotrSH:L,rotrSL:B,rotrBH:S,rotrBL:g,rotr32H:h,rotr32L:f,rotlSH:m,rotlSL:_,rotlBH:b,rotlBL:A,add:I,add3L:N,add3H:p,add4L:y,add4H:M,add5H:v,add5L:U}
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=BigInt(2**32-1),l=BigInt(32);function s(t,o=!1){return o?{h:Number(t&e),l:Number(t>>l&e)}:{h:Number(t>>l&e)|0,l:Number(t&e)|0}}function a(t,o=!1){let r=new Uint32Array(t.length),n=new Uint32Array(t.length);for(let d=0;d<t.length;d++){const{h:c,l:w}=s(t[d],o);[r[d],n[d]]=[c,w]}return[r,n]}const i=(t,o)=>BigInt(t>>>0)<<l|BigInt(o>>>0),u=(t,o,r)=>t>>>r,H=(t,o,r)=>t<<32-r|o>>>r,L=(t,o,r)=>t>>>r|o<<32-r,B=(t,o,r)=>t<<32-r|o>>>r,S=(t,o,r)=>t<<64-r|o>>>r-32,g=(t,o,r)=>t>>>r-32|o<<64-r,h=(t,o)=>o,f=(t,o)=>t,m=(t,o,r)=>t<<r|o>>>32-r,_=(t,o,r)=>o<<r|t>>>32-r,b=(t,o,r)=>o<<r-32|t>>>64-r,A=(t,o,r)=>t<<r-32|o>>>64-r;function I(t,o,r,n){const d=(o>>>0)+(n>>>0);return{h:t+r+(d/2**32|0)|0,l:d|0}}const N=(t,o,r)=>(t>>>0)+(o>>>0)+(r>>>0),p=(t,o,r,n)=>o+r+n+(t/2**32|0)|0,y=(t,o,r,n)=>(t>>>0)+(o>>>0)+(r>>>0)+(n>>>0),M=(t,o,r,n,d)=>o+r+n+d+(t/2**32|0)|0,U=(t,o,r,n,d)=>(t>>>0)+(o>>>0)+(r>>>0)+(n>>>0)+(d>>>0),v=(t,o,r,n,d,c)=>o+r+n+d+c+(t/2**32|0)|0,j={fromBig:s,split:a,toBig:i,shrSH:u,shrSL:H,rotrSH:L,rotrSL:B,rotrBH:S,rotrBL:g,rotr32H:h,rotr32L:f,rotlSH:m,rotlSL:_,rotlBH:b,rotlBL:A,add:I,add3L:N,add3H:p,add4L:y,add4H:M,add5H:v,add5L:U};exports.add=I;exports.add3H=p;exports.add3L=N;exports.add4H=M;exports.add4L=y;exports.add5H=v;exports.add5L=U;exports.default=j;exports.fromBig=s;exports.rotlBH=b;exports.rotlBL=A;exports.rotlSH=m;exports.rotlSL=_;exports.rotr32H=h;exports.rotr32L=f;exports.rotrBH=S;exports.rotrBL=g;exports.rotrSH=L;exports.rotrSL=B;exports.shrSH=u;exports.shrSL=H;exports.split=a;exports.toBig=i;
|
@@ -2,7 +2,7 @@ const e = /* @__PURE__ */ BigInt(4294967295), s = /* @__PURE__ */ BigInt(32);
|
|
2
2
|
function d(t, o = !1) {
|
3
3
|
return o ? { h: Number(t & e), l: Number(t >> s & e) } : { h: Number(t >> s & e) | 0, l: Number(t & e) | 0 };
|
4
4
|
}
|
5
|
-
function
|
5
|
+
function a(t, o = !1) {
|
6
6
|
let n = new Uint32Array(t.length), r = new Uint32Array(t.length);
|
7
7
|
for (let c = 0; c < t.length; c++) {
|
8
8
|
const { h: l, l: i } = d(t[c], o);
|
@@ -10,15 +10,15 @@ function u(t, o = !1) {
|
|
10
10
|
}
|
11
11
|
return [n, r];
|
12
12
|
}
|
13
|
-
const
|
13
|
+
const u = (t, o) => BigInt(t >>> 0) << s | BigInt(o >>> 0), h = (t, o, n) => t >>> n, B = (t, o, n) => t << 32 - n | o >>> n, f = (t, o, n) => t >>> n | o << 32 - n, g = (t, o, n) => t << 32 - n | o >>> n, H = (t, o, n) => t << 64 - n | o >>> n - 32, L = (t, o, n) => t >>> n - 32 | o << 64 - n, S = (t, o) => o, m = (t, o) => t, A = (t, o, n) => t << n | o >>> 32 - n, _ = (t, o, n) => o << n | t >>> 32 - n, b = (t, o, n) => o << n - 32 | t >>> 64 - n, I = (t, o, n) => t << n - 32 | o >>> 64 - n;
|
14
14
|
function N(t, o, n, r) {
|
15
15
|
const c = (o >>> 0) + (r >>> 0);
|
16
16
|
return { h: t + n + (c / 2 ** 32 | 0) | 0, l: c | 0 };
|
17
17
|
}
|
18
18
|
const U = (t, o, n) => (t >>> 0) + (o >>> 0) + (n >>> 0), p = (t, o, n, r) => o + n + r + (t / 2 ** 32 | 0) | 0, w = (t, o, n, r) => (t >>> 0) + (o >>> 0) + (n >>> 0) + (r >>> 0), y = (t, o, n, r, c) => o + n + r + c + (t / 2 ** 32 | 0) | 0, x = (t, o, n, r, c) => (t >>> 0) + (o >>> 0) + (n >>> 0) + (r >>> 0) + (c >>> 0), K = (t, o, n, r, c, l) => o + n + r + c + l + (t / 2 ** 32 | 0) | 0, M = {
|
19
19
|
fromBig: d,
|
20
|
-
split:
|
21
|
-
toBig:
|
20
|
+
split: a,
|
21
|
+
toBig: u,
|
22
22
|
shrSH: h,
|
23
23
|
shrSL: B,
|
24
24
|
rotrSH: f,
|
@@ -38,7 +38,7 @@ const U = (t, o, n) => (t >>> 0) + (o >>> 0) + (n >>> 0), p = (t, o, n, r) => o
|
|
38
38
|
add4H: y,
|
39
39
|
add5H: K,
|
40
40
|
add5L: x
|
41
|
-
}
|
41
|
+
};
|
42
42
|
export {
|
43
43
|
N as add,
|
44
44
|
p as add3H,
|
@@ -47,7 +47,7 @@ export {
|
|
47
47
|
w as add4L,
|
48
48
|
K as add5H,
|
49
49
|
x as add5L,
|
50
|
-
|
50
|
+
M as default,
|
51
51
|
d as fromBig,
|
52
52
|
b as rotlBH,
|
53
53
|
I as rotlBL,
|
@@ -61,6 +61,6 @@ export {
|
|
61
61
|
g as rotrSL,
|
62
62
|
h as shrSH,
|
63
63
|
B as shrSL,
|
64
|
-
|
65
|
-
|
64
|
+
a as split,
|
65
|
+
u as toBig
|
66
66
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./_sha2.cjs"),t=require("./_u64.cjs"),I=require("./utils.cjs"),[J,K]=
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./_sha2.cjs"),t=require("./_u64.cjs"),I=require("./utils.cjs"),[J,K]=t.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(y=>BigInt(y))),L=new Uint32Array(80),C=new Uint32Array(80);class T extends w.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:D,Al:g,Bh:a,Bl:d,Ch:l,Cl:h,Dh:s,Dl:b,Eh:u,El:n,Fh:c,Fl:f,Gh:x,Gl:i,Hh:r,Hl:o}=this;return[D,g,a,d,l,h,s,b,u,n,c,f,x,i,r,o]}set(D,g,a,d,l,h,s,b,u,n,c,f,x,i,r,o){this.Ah=D|0,this.Al=g|0,this.Bh=a|0,this.Bl=d|0,this.Ch=l|0,this.Cl=h|0,this.Dh=s|0,this.Dl=b|0,this.Eh=u|0,this.El=n|0,this.Fh=c|0,this.Fl=f|0,this.Gh=x|0,this.Gl=i|0,this.Hh=r|0,this.Hl=o|0}process(D,g){for(let e=0;e<16;e++,g+=4)L[e]=D.getUint32(g),C[e]=D.getUint32(g+=4);for(let e=16;e<80;e++){const A=L[e-15]|0,B=C[e-15]|0,m=t.default.rotrSH(A,B,1)^t.default.rotrSH(A,B,8)^t.default.shrSH(A,B,7),p=t.default.rotrSL(A,B,1)^t.default.rotrSL(A,B,8)^t.default.shrSL(A,B,7),H=L[e-2]|0,S=C[e-2]|0,G=t.default.rotrSH(H,S,19)^t.default.rotrBH(H,S,61)^t.default.shrSH(H,S,6),U=t.default.rotrSL(H,S,19)^t.default.rotrBL(H,S,61)^t.default.shrSL(H,S,6),_=t.default.add4L(p,U,C[e-7],C[e-16]),W=t.default.add4H(_,m,G,L[e-7],L[e-16]);L[e]=W|0,C[e]=_|0}let{Ah:a,Al:d,Bh:l,Bl:h,Ch:s,Cl:b,Dh:u,Dl:n,Eh:c,El:f,Fh:x,Fl:i,Gh:r,Gl:o,Hh:E,Hl:F}=this;for(let e=0;e<80;e++){const A=t.default.rotrSH(c,f,14)^t.default.rotrSH(c,f,18)^t.default.rotrBH(c,f,41),B=t.default.rotrSL(c,f,14)^t.default.rotrSL(c,f,18)^t.default.rotrBL(c,f,41),m=c&x^~c&r,p=f&i^~f&o,H=t.default.add5L(F,B,p,K[e],C[e]),S=t.default.add5H(H,E,A,m,J[e],L[e]),G=H|0,U=t.default.rotrSH(a,d,28)^t.default.rotrBH(a,d,34)^t.default.rotrBH(a,d,39),_=t.default.rotrSL(a,d,28)^t.default.rotrBL(a,d,34)^t.default.rotrBL(a,d,39),W=a&l^a&s^l&s,q=d&h^d&b^h&b;E=r|0,F=o|0,r=x|0,o=i|0,x=c|0,i=f|0,{h:c,l:f}=t.default.add(u|0,n|0,S|0,G|0),u=s|0,n=b|0,s=l|0,b=h|0,l=a|0,h=d|0;const M=t.default.add3L(G,_,q);a=t.default.add3H(M,S,U,W),d=M|0}({h:a,l:d}=t.default.add(this.Ah|0,this.Al|0,a|0,d|0)),{h:l,l:h}=t.default.add(this.Bh|0,this.Bl|0,l|0,h|0),{h:s,l:b}=t.default.add(this.Ch|0,this.Cl|0,s|0,b|0),{h:u,l:n}=t.default.add(this.Dh|0,this.Dl|0,u|0,n|0),{h:c,l:f}=t.default.add(this.Eh|0,this.El|0,c|0,f|0),{h:x,l:i}=t.default.add(this.Fh|0,this.Fl|0,x|0,i|0),{h:r,l:o}=t.default.add(this.Gh|0,this.Gl|0,r|0,o|0),{h:E,l:F}=t.default.add(this.Hh|0,this.Hl|0,E|0,F|0),this.set(a,d,l,h,s,b,u,n,c,f,x,i,r,o,E,F)}roundClean(){L.fill(0),C.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const j=I.wrapConstructor(()=>new T);exports.SHA512=T;exports.sha512=j;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { SHA2 as I } from "./_sha2.js";
|
2
2
|
import c from "./_u64.js";
|
3
3
|
import { wrapConstructor as T } from "./utils.js";
|
4
|
-
const [J, K] =
|
4
|
+
const [J, K] = c.split([
|
5
5
|
"0x428a2f98d728ae22",
|
6
6
|
"0x7137449123ef65cd",
|
7
7
|
"0xb5c0fbcfec4d3b2f",
|
@@ -82,7 +82,7 @@ const [J, K] = /* @__PURE__ */ (() => c.split([
|
|
82
82
|
"0x597f299cfc657e2a",
|
83
83
|
"0x5fcb6fab3ad6faec",
|
84
84
|
"0x6c44198c4a475817"
|
85
|
-
].map((M) => BigInt(M)))
|
85
|
+
].map((M) => BigInt(M))), C = /* @__PURE__ */ new Uint32Array(80), m = /* @__PURE__ */ new Uint32Array(80);
|
86
86
|
class j extends I {
|
87
87
|
constructor() {
|
88
88
|
super(128, 64, 16, !1), this.Ah = 1779033703, this.Al = -205731576, this.Bh = -1150833019, this.Bl = -2067093701, this.Ch = 1013904242, this.Cl = -23791573, this.Dh = -1521486534, this.Dl = 1595750129, this.Eh = 1359893119, this.El = -1377402159, this.Fh = -1694144372, this.Fl = 725511199, this.Gh = 528734635, this.Gl = -79577749, this.Hh = 1541459225, this.Hl = 327033209;
|