@carlonicora/nextjs-jsonapi 3.5.5 → 3.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-5T5NB53C.js → BlockNoteEditor-JSZ2YZVY.js} +19 -19
- package/dist/{BlockNoteEditor-5T5NB53C.js.map → BlockNoteEditor-JSZ2YZVY.js.map} +1 -1
- package/dist/{BlockNoteEditor-HGVFKRAX.mjs → BlockNoteEditor-PZ5HOXFK.mjs} +4 -4
- package/dist/billing/index.js +398 -398
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-X2MQ3WHX.js → chunk-B2OB3HQO.js} +7 -7
- package/dist/{chunk-X2MQ3WHX.js.map → chunk-B2OB3HQO.js.map} +1 -1
- package/dist/{chunk-2ONZSSDW.mjs → chunk-C7I6YFTA.mjs} +175 -177
- package/dist/chunk-C7I6YFTA.mjs.map +1 -0
- package/dist/{chunk-RZDY4CIF.mjs → chunk-DK5ZOPVF.mjs} +2 -2
- package/dist/{chunk-G6B7RZWJ.mjs → chunk-H37WRSBU.mjs} +2 -2
- package/dist/chunk-H37WRSBU.mjs.map +1 -0
- package/dist/{chunk-YMFHT4AP.js → chunk-N73QMKQU.js} +769 -771
- package/dist/chunk-N73QMKQU.js.map +1 -0
- package/dist/{chunk-6T6QB6K2.js → chunk-PGA2VC3S.js} +6 -6
- package/dist/chunk-PGA2VC3S.js.map +1 -0
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +101 -101
- package/dist/features/tokenusage/index.mjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/forms/EntityMultiSelector.tsx +14 -10
- package/src/features/how-to/components/containers/HowToContainer.tsx +2 -7
- package/src/features/how-to/components/forms/HowToDeleter.tsx +0 -2
- package/src/utils/italian-validators.ts +1 -1
- package/dist/chunk-2ONZSSDW.mjs.map +0 -1
- package/dist/chunk-6T6QB6K2.js.map +0 -1
- package/dist/chunk-G6B7RZWJ.mjs.map +0 -1
- package/dist/chunk-YMFHT4AP.js.map +0 -1
- /package/dist/{BlockNoteEditor-HGVFKRAX.mjs.map → BlockNoteEditor-PZ5HOXFK.mjs.map} +0 -0
- /package/dist/{chunk-RZDY4CIF.mjs.map → chunk-DK5ZOPVF.mjs.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkB2OB3HQOjs = require('./chunk-B2OB3HQO.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -226,7 +226,7 @@ var _chunkX2MQ3WHXjs = require('./chunk-X2MQ3WHX.js');
|
|
|
226
226
|
|
|
227
227
|
|
|
228
228
|
|
|
229
|
-
var
|
|
229
|
+
var _chunkPGA2VC3Sjs = require('./chunk-PGA2VC3S.js');
|
|
230
230
|
require('./chunk-LXKSUWAV.js');
|
|
231
231
|
require('./chunk-IBS6NI7D.js');
|
|
232
232
|
|
|
@@ -479,5 +479,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
479
479
|
|
|
480
480
|
|
|
481
481
|
|
|
482
|
-
exports.ACTION_TYPES = _chunkX2MQ3WHXjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk6T6QB6K2js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk6T6QB6K2js.AbstractApiData; exports.AbstractService = _chunk6T6QB6K2js.AbstractService; exports.Action = _chunk6T6QB6K2js.Action; exports.AiConnection = _chunk6T6QB6K2js.AiConnection; exports.AiConnectionFields = _chunk6T6QB6K2js.AiConnectionFields; exports.AiConnectionModule = _chunk6T6QB6K2js.AiConnectionModule; exports.AiConnectionService = _chunk6T6QB6K2js.AiConnectionService; exports.Assistant = _chunk6T6QB6K2js.Assistant; exports.AssistantAction = _chunk6T6QB6K2js.AssistantAction; exports.AssistantActionModule = _chunk6T6QB6K2js.AssistantActionModule; exports.AssistantActionService = _chunk6T6QB6K2js.AssistantActionService; exports.AssistantMessage = _chunk6T6QB6K2js.AssistantMessage; exports.AssistantMessageModule = _chunk6T6QB6K2js.AssistantMessageModule; exports.AssistantMessageService = _chunk6T6QB6K2js.AssistantMessageService; exports.AssistantModule = _chunk6T6QB6K2js.AssistantModule; exports.AssistantService = _chunk6T6QB6K2js.AssistantService; exports.AuditLog = _chunk6T6QB6K2js.AuditLog; exports.AuditLogModule = _chunk6T6QB6K2js.AuditLogModule; exports.AuditLogService = _chunk6T6QB6K2js.AuditLogService; exports.Auth = _chunk6T6QB6K2js.Auth; exports.AuthComponent = _chunk6T6QB6K2js.AuthComponent; exports.AuthModule = _chunk6T6QB6K2js.AuthModule; exports.AuthService = _chunk6T6QB6K2js.AuthService; exports.AuthorModule = _chunk6T6QB6K2js.AuthorModule; exports.BackupCodeVerify = _chunk6T6QB6K2js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk6T6QB6K2js.BackupCodeVerifyModule; exports.Billing = _chunk6T6QB6K2js.Billing; exports.BillingModule = _chunk6T6QB6K2js.BillingModule; exports.BillingService = _chunk6T6QB6K2js.BillingService; exports.BlockNoteDiffUtil = _chunk6T6QB6K2js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk6T6QB6K2js.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkX2MQ3WHXjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunk6T6QB6K2js.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunk6T6QB6K2js.Chunk; exports.ChunkModule = _chunk6T6QB6K2js.ChunkModule; exports.ClientAbstractService = _chunk6T6QB6K2js.ClientAbstractService; exports.ClientHttpMethod = _chunk6T6QB6K2js.ClientHttpMethod; exports.Company = _chunk6T6QB6K2js.Company; exports.CompanyFields = _chunk6T6QB6K2js.CompanyFields; exports.CompanyModule = _chunk6T6QB6K2js.CompanyModule; exports.CompanyService = _chunk6T6QB6K2js.CompanyService; exports.Content = _chunk6T6QB6K2js.Content; exports.ContentFields = _chunk6T6QB6K2js.ContentFields; exports.ContentModule = _chunk6T6QB6K2js.ContentModule; exports.ContentService = _chunk6T6QB6K2js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk6T6QB6K2js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkW42MYR3Yjs.DataClassRegistry; exports.DataClassRegistry = _chunkW42MYR3Yjs.DataClassRegistry; exports.ENV = _chunkW42MYR3Yjs.ENV; exports.EndpointCreator = _chunk6T6QB6K2js.EndpointCreator; exports.EntityAiStatus = _chunk6T6QB6K2js.EntityAiStatus; exports.Feature = _chunk6T6QB6K2js.Feature; exports.FeatureModule = _chunk6T6QB6K2js.FeatureModule; exports.FeatureService = _chunk6T6QB6K2js.FeatureService; exports.HowTo = _chunk6T6QB6K2js.HowTo; exports.HowToFields = _chunk6T6QB6K2js.HowToFields; exports.HowToModule = _chunk6T6QB6K2js.HowToModule; exports.HowToService = _chunk6T6QB6K2js.HowToService; exports.HttpMethod = _chunk6T6QB6K2js.HttpMethod; exports.InvoiceStatus = _chunk6T6QB6K2js.InvoiceStatus; exports.JsonApiDataFactory = _chunkW42MYR3Yjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunk6T6QB6K2js.MOBILE_BREAKPOINT; exports.Module = _chunk6T6QB6K2js.Module; exports.ModuleModule = _chunk6T6QB6K2js.ModuleModule; exports.ModulePaths = _chunk6T6QB6K2js.ModulePaths; exports.ModulePathsModule = _chunk6T6QB6K2js.ModulePathsModule; exports.ModuleRegistrar = _chunk6T6QB6K2js.ModuleRegistrar; exports.ModuleRegistry = _chunk6T6QB6K2js.ModuleRegistry; exports.Modules = _chunk6T6QB6K2js.Modules; exports.Notification = _chunk6T6QB6K2js.Notification; exports.NotificationFields = _chunk6T6QB6K2js.NotificationFields; exports.NotificationModule = _chunk6T6QB6K2js.NotificationModule; exports.NotificationService = _chunk6T6QB6K2js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk6T6QB6K2js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk6T6QB6K2js.OAuthClient; exports.OAuthModule = _chunk6T6QB6K2js.OAuthModule; exports.OAuthService = _chunk6T6QB6K2js.OAuthService; exports.Passkey = _chunk6T6QB6K2js.Passkey; exports.PasskeyAuthenticationOptions = _chunk6T6QB6K2js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk6T6QB6K2js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk6T6QB6K2js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk6T6QB6K2js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk6T6QB6K2js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk6T6QB6K2js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk6T6QB6K2js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk6T6QB6K2js.PasskeyRename; exports.PasskeyRenameModule = _chunk6T6QB6K2js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk6T6QB6K2js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk6T6QB6K2js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk6T6QB6K2js.PaymentMethod; exports.PermissionMapping = _chunk6T6QB6K2js.PermissionMapping; exports.PermissionMappingModule = _chunk6T6QB6K2js.PermissionMappingModule; exports.Push = _chunk6T6QB6K2js.Push; exports.PushModule = _chunk6T6QB6K2js.PushModule; exports.PushService = _chunk6T6QB6K2js.PushService; exports.RbacMatrixModel = _chunk6T6QB6K2js.RbacMatrixModel; exports.RbacMatrixModule = _chunk6T6QB6K2js.RbacMatrixModule; exports.RbacService = _chunkX2MQ3WHXjs.RbacService; exports.ReferralModule = _chunk6T6QB6K2js.ReferralModule; exports.ReferralService = _chunk6T6QB6K2js.ReferralService; exports.ReferralStats = _chunk6T6QB6K2js.ReferralStats; exports.ReferralStatsModule = _chunk6T6QB6K2js.ReferralStatsModule; exports.RehydrationFactory = _chunk6T6QB6K2js.RehydrationFactory; exports.Role = _chunk6T6QB6K2js.Role; exports.RoleFields = _chunk6T6QB6K2js.RoleFields; exports.RoleModule = _chunk6T6QB6K2js.RoleModule; exports.RoleService = _chunk6T6QB6K2js.RoleService; exports.S3 = _chunk6T6QB6K2js.S3; exports.S3Module = _chunk6T6QB6K2js.S3Module; exports.S3Service = _chunk6T6QB6K2js.S3Service; exports.StripeCustomer = _chunk6T6QB6K2js.StripeCustomer; exports.StripeCustomerModule = _chunk6T6QB6K2js.StripeCustomerModule; exports.StripeCustomerService = _chunk6T6QB6K2js.StripeCustomerService; exports.StripeInvoice = _chunk6T6QB6K2js.StripeInvoice; exports.StripeInvoiceModule = _chunk6T6QB6K2js.StripeInvoiceModule; exports.StripeInvoiceService = _chunk6T6QB6K2js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk6T6QB6K2js.StripePaymentMethodModule; exports.StripePrice = _chunk6T6QB6K2js.StripePrice; exports.StripePriceFields = _chunk6T6QB6K2js.StripePriceFields; exports.StripePriceModule = _chunk6T6QB6K2js.StripePriceModule; exports.StripePriceService = _chunk6T6QB6K2js.StripePriceService; exports.StripeProduct = _chunk6T6QB6K2js.StripeProduct; exports.StripeProductFields = _chunk6T6QB6K2js.StripeProductFields; exports.StripeProductModule = _chunk6T6QB6K2js.StripeProductModule; exports.StripeProductService = _chunk6T6QB6K2js.StripeProductService; exports.StripePromotionCode = _chunk6T6QB6K2js.StripePromotionCode; exports.StripePromotionCodeModule = _chunk6T6QB6K2js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk6T6QB6K2js.StripePromotionCodeService; exports.StripeSubscription = _chunk6T6QB6K2js.StripeSubscription; exports.StripeSubscriptionModule = _chunk6T6QB6K2js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk6T6QB6K2js.StripeSubscriptionService; exports.StripeUsage = _chunk6T6QB6K2js.StripeUsage; exports.StripeUsageModule = _chunk6T6QB6K2js.StripeUsageModule; exports.StripeUsageService = _chunk6T6QB6K2js.StripeUsageService; exports.SubscriptionStatus = _chunk6T6QB6K2js.SubscriptionStatus; exports.TableOptions = _chunk6T6QB6K2js.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunk6T6QB6K2js.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunk6T6QB6K2js.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunk6T6QB6K2js.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunk6T6QB6K2js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk6T6QB6K2js.TotpAuthenticatorModule; exports.TotpSetup = _chunk6T6QB6K2js.TotpSetup; exports.TotpSetupModule = _chunk6T6QB6K2js.TotpSetupModule; exports.TotpVerify = _chunk6T6QB6K2js.TotpVerify; exports.TotpVerifyLogin = _chunk6T6QB6K2js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk6T6QB6K2js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk6T6QB6K2js.TotpVerifyModule; exports.TwoFactorChallenge = _chunk6T6QB6K2js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk6T6QB6K2js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk6T6QB6K2js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk6T6QB6K2js.TwoFactorEnableModule; exports.TwoFactorService = _chunk6T6QB6K2js.TwoFactorService; exports.TwoFactorStatus = _chunk6T6QB6K2js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk6T6QB6K2js.TwoFactorStatusModule; exports.User = _chunk6T6QB6K2js.User; exports.UserFields = _chunk6T6QB6K2js.UserFields; exports.UserModule = _chunk6T6QB6K2js.UserModule; exports.UserService = _chunk6T6QB6K2js.UserService; exports.VIEWPORT_COOKIE_NAME = _chunk6T6QB6K2js.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunk6T6QB6K2js.Waitlist; exports.WaitlistModule = _chunk6T6QB6K2js.WaitlistModule; exports.WaitlistService = _chunk6T6QB6K2js.WaitlistService; exports.WaitlistStats = _chunk6T6QB6K2js.WaitlistStats; exports.WaitlistStatsModule = _chunk6T6QB6K2js.WaitlistStatsModule; exports.checkPermissions = _chunk6T6QB6K2js.checkPermissions; exports.checkPermissionsFromServer = _chunk6T6QB6K2js.checkPermissionsFromServer; exports.clearLastApiMeta = _chunk6T6QB6K2js.clearLastApiMeta; exports.clearLastApiTotal = _chunk6T6QB6K2js.clearLastApiTotal; exports.cn = _chunk6T6QB6K2js.cn; exports.composeRefs = _chunk6T6QB6K2js.composeRefs; exports.configureAuth = _chunk6T6QB6K2js.configureAuth; exports.configureI18n = _chunkX2MQ3WHXjs.configureI18n; exports.configureJsonApi = _chunkX2MQ3WHXjs.configureJsonApi; exports.configureLogin = _chunkX2MQ3WHXjs.configureLogin; exports.configureReferral = _chunkX2MQ3WHXjs.configureReferral; exports.configureRoles = _chunkX2MQ3WHXjs.configureRoles; exports.configureTokenUsage = _chunk6T6QB6K2js.configureTokenUsage; exports.configureWaitlist = _chunkX2MQ3WHXjs.configureWaitlist; exports.createJsonApiInclusion = _chunk6T6QB6K2js.createJsonApiInclusion; exports.dismissToast = _chunk6T6QB6K2js.dismissToast; exports.entityObjectSchema = _chunk6T6QB6K2js.entityObjectSchema; exports.exists = _chunk6T6QB6K2js.exists; exports.formatCodiceFiscale = _chunk6T6QB6K2js.formatCodiceFiscale; exports.formatDate = _chunk6T6QB6K2js.formatDate; exports.formatLocalDate = _chunk6T6QB6K2js.formatLocalDate; exports.formatPartitaIva = _chunk6T6QB6K2js.formatPartitaIva; exports.getApiUrl = _chunkX2MQ3WHXjs.getApiUrl; exports.getAppUrl = _chunkX2MQ3WHXjs.getAppUrl; exports.getBootstrapper = _chunkW42MYR3Yjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk6T6QB6K2js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk6T6QB6K2js.getGlobalErrorHandler; exports.getIcon = _chunk6T6QB6K2js.getIcon; exports.getIconByModule = _chunk6T6QB6K2js.getIconByModule; exports.getIconByModuleName = _chunk6T6QB6K2js.getIconByModuleName; exports.getInitials = _chunk6T6QB6K2js.getInitials; exports.getLastApiMeta = _chunk6T6QB6K2js.getLastApiMeta; exports.getLastApiTotal = _chunk6T6QB6K2js.getLastApiTotal; exports.getLucideIcon = _chunk6T6QB6K2js.getLucideIcon; exports.getLucideIconByModule = _chunk6T6QB6K2js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk6T6QB6K2js.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkX2MQ3WHXjs.getPublicApiUrl; exports.getReferralConfig = _chunkX2MQ3WHXjs.getReferralConfig; exports.getRoleId = _chunkX2MQ3WHXjs.getRoleId; exports.getStripePublishableKey = _chunkX2MQ3WHXjs.getStripePublishableKey; exports.getTableComponents = _chunk6T6QB6K2js.getTableComponents; exports.getTableOptions = _chunk6T6QB6K2js.getTableOptions; exports.getTokenHandler = _chunk6T6QB6K2js.getTokenHandler; exports.getTokenUsageCurrency = _chunk6T6QB6K2js.getTokenUsageCurrency; exports.getTrackablePages = _chunkX2MQ3WHXjs.getTrackablePages; exports.getValueFromPath = _chunk6T6QB6K2js.getValueFromPath; exports.getWaitlistConfig = _chunkX2MQ3WHXjs.getWaitlistConfig; exports.hasBootstrapper = _chunkW42MYR3Yjs.hasBootstrapper; exports.isReferralEnabled = _chunkX2MQ3WHXjs.isReferralEnabled; exports.isRemoteImageSrc = _chunk6T6QB6K2js.isRemoteImageSrc; exports.isRolesConfigured = _chunkX2MQ3WHXjs.isRolesConfigured; exports.rehydrate = _chunk6T6QB6K2js.rehydrate; exports.rehydrateList = _chunk6T6QB6K2js.rehydrateList; exports.resetBootstrapStore = _chunkW42MYR3Yjs.resetBootstrapStore; exports.setBootstrapper = _chunkW42MYR3Yjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk6T6QB6K2js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk6T6QB6K2js.setGlobalErrorHandler; exports.showCustomToast = _chunk6T6QB6K2js.showCustomToast; exports.showError = _chunk6T6QB6K2js.showError; exports.showToast = _chunk6T6QB6K2js.showToast; exports.tokenUsageModules = _chunk6T6QB6K2js.tokenUsageModules; exports.translateData = _chunkW42MYR3Yjs.translateData; exports.translateResponse = _chunkW42MYR3Yjs.translateResponse; exports.tryBootstrap = _chunkW42MYR3Yjs.tryBootstrap; exports.useComposedRefs = _chunk6T6QB6K2js.useComposedRefs; exports.useIsMobile = _chunk6T6QB6K2js.useIsMobile; exports.userObjectSchema = _chunk6T6QB6K2js.userObjectSchema; exports.validateCodiceFiscale = _chunk6T6QB6K2js.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk6T6QB6K2js.validateItalianTaxCode; exports.validatePartitaIva = _chunk6T6QB6K2js.validatePartitaIva;
|
|
482
|
+
exports.ACTION_TYPES = _chunkB2OB3HQOjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkPGA2VC3Sjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkPGA2VC3Sjs.AbstractApiData; exports.AbstractService = _chunkPGA2VC3Sjs.AbstractService; exports.Action = _chunkPGA2VC3Sjs.Action; exports.AiConnection = _chunkPGA2VC3Sjs.AiConnection; exports.AiConnectionFields = _chunkPGA2VC3Sjs.AiConnectionFields; exports.AiConnectionModule = _chunkPGA2VC3Sjs.AiConnectionModule; exports.AiConnectionService = _chunkPGA2VC3Sjs.AiConnectionService; exports.Assistant = _chunkPGA2VC3Sjs.Assistant; exports.AssistantAction = _chunkPGA2VC3Sjs.AssistantAction; exports.AssistantActionModule = _chunkPGA2VC3Sjs.AssistantActionModule; exports.AssistantActionService = _chunkPGA2VC3Sjs.AssistantActionService; exports.AssistantMessage = _chunkPGA2VC3Sjs.AssistantMessage; exports.AssistantMessageModule = _chunkPGA2VC3Sjs.AssistantMessageModule; exports.AssistantMessageService = _chunkPGA2VC3Sjs.AssistantMessageService; exports.AssistantModule = _chunkPGA2VC3Sjs.AssistantModule; exports.AssistantService = _chunkPGA2VC3Sjs.AssistantService; exports.AuditLog = _chunkPGA2VC3Sjs.AuditLog; exports.AuditLogModule = _chunkPGA2VC3Sjs.AuditLogModule; exports.AuditLogService = _chunkPGA2VC3Sjs.AuditLogService; exports.Auth = _chunkPGA2VC3Sjs.Auth; exports.AuthComponent = _chunkPGA2VC3Sjs.AuthComponent; exports.AuthModule = _chunkPGA2VC3Sjs.AuthModule; exports.AuthService = _chunkPGA2VC3Sjs.AuthService; exports.AuthorModule = _chunkPGA2VC3Sjs.AuthorModule; exports.BackupCodeVerify = _chunkPGA2VC3Sjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkPGA2VC3Sjs.BackupCodeVerifyModule; exports.Billing = _chunkPGA2VC3Sjs.Billing; exports.BillingModule = _chunkPGA2VC3Sjs.BillingModule; exports.BillingService = _chunkPGA2VC3Sjs.BillingService; exports.BlockNoteDiffUtil = _chunkPGA2VC3Sjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkPGA2VC3Sjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkB2OB3HQOjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkPGA2VC3Sjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkPGA2VC3Sjs.Chunk; exports.ChunkModule = _chunkPGA2VC3Sjs.ChunkModule; exports.ClientAbstractService = _chunkPGA2VC3Sjs.ClientAbstractService; exports.ClientHttpMethod = _chunkPGA2VC3Sjs.ClientHttpMethod; exports.Company = _chunkPGA2VC3Sjs.Company; exports.CompanyFields = _chunkPGA2VC3Sjs.CompanyFields; exports.CompanyModule = _chunkPGA2VC3Sjs.CompanyModule; exports.CompanyService = _chunkPGA2VC3Sjs.CompanyService; exports.Content = _chunkPGA2VC3Sjs.Content; exports.ContentFields = _chunkPGA2VC3Sjs.ContentFields; exports.ContentModule = _chunkPGA2VC3Sjs.ContentModule; exports.ContentService = _chunkPGA2VC3Sjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkPGA2VC3Sjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkW42MYR3Yjs.DataClassRegistry; exports.DataClassRegistry = _chunkW42MYR3Yjs.DataClassRegistry; exports.ENV = _chunkW42MYR3Yjs.ENV; exports.EndpointCreator = _chunkPGA2VC3Sjs.EndpointCreator; exports.EntityAiStatus = _chunkPGA2VC3Sjs.EntityAiStatus; exports.Feature = _chunkPGA2VC3Sjs.Feature; exports.FeatureModule = _chunkPGA2VC3Sjs.FeatureModule; exports.FeatureService = _chunkPGA2VC3Sjs.FeatureService; exports.HowTo = _chunkPGA2VC3Sjs.HowTo; exports.HowToFields = _chunkPGA2VC3Sjs.HowToFields; exports.HowToModule = _chunkPGA2VC3Sjs.HowToModule; exports.HowToService = _chunkPGA2VC3Sjs.HowToService; exports.HttpMethod = _chunkPGA2VC3Sjs.HttpMethod; exports.InvoiceStatus = _chunkPGA2VC3Sjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkW42MYR3Yjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkPGA2VC3Sjs.MOBILE_BREAKPOINT; exports.Module = _chunkPGA2VC3Sjs.Module; exports.ModuleModule = _chunkPGA2VC3Sjs.ModuleModule; exports.ModulePaths = _chunkPGA2VC3Sjs.ModulePaths; exports.ModulePathsModule = _chunkPGA2VC3Sjs.ModulePathsModule; exports.ModuleRegistrar = _chunkPGA2VC3Sjs.ModuleRegistrar; exports.ModuleRegistry = _chunkPGA2VC3Sjs.ModuleRegistry; exports.Modules = _chunkPGA2VC3Sjs.Modules; exports.Notification = _chunkPGA2VC3Sjs.Notification; exports.NotificationFields = _chunkPGA2VC3Sjs.NotificationFields; exports.NotificationModule = _chunkPGA2VC3Sjs.NotificationModule; exports.NotificationService = _chunkPGA2VC3Sjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkPGA2VC3Sjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkPGA2VC3Sjs.OAuthClient; exports.OAuthModule = _chunkPGA2VC3Sjs.OAuthModule; exports.OAuthService = _chunkPGA2VC3Sjs.OAuthService; exports.Passkey = _chunkPGA2VC3Sjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkPGA2VC3Sjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkPGA2VC3Sjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkPGA2VC3Sjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkPGA2VC3Sjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkPGA2VC3Sjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkPGA2VC3Sjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkPGA2VC3Sjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkPGA2VC3Sjs.PasskeyRename; exports.PasskeyRenameModule = _chunkPGA2VC3Sjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkPGA2VC3Sjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkPGA2VC3Sjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkPGA2VC3Sjs.PaymentMethod; exports.PermissionMapping = _chunkPGA2VC3Sjs.PermissionMapping; exports.PermissionMappingModule = _chunkPGA2VC3Sjs.PermissionMappingModule; exports.Push = _chunkPGA2VC3Sjs.Push; exports.PushModule = _chunkPGA2VC3Sjs.PushModule; exports.PushService = _chunkPGA2VC3Sjs.PushService; exports.RbacMatrixModel = _chunkPGA2VC3Sjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkPGA2VC3Sjs.RbacMatrixModule; exports.RbacService = _chunkB2OB3HQOjs.RbacService; exports.ReferralModule = _chunkPGA2VC3Sjs.ReferralModule; exports.ReferralService = _chunkPGA2VC3Sjs.ReferralService; exports.ReferralStats = _chunkPGA2VC3Sjs.ReferralStats; exports.ReferralStatsModule = _chunkPGA2VC3Sjs.ReferralStatsModule; exports.RehydrationFactory = _chunkPGA2VC3Sjs.RehydrationFactory; exports.Role = _chunkPGA2VC3Sjs.Role; exports.RoleFields = _chunkPGA2VC3Sjs.RoleFields; exports.RoleModule = _chunkPGA2VC3Sjs.RoleModule; exports.RoleService = _chunkPGA2VC3Sjs.RoleService; exports.S3 = _chunkPGA2VC3Sjs.S3; exports.S3Module = _chunkPGA2VC3Sjs.S3Module; exports.S3Service = _chunkPGA2VC3Sjs.S3Service; exports.StripeCustomer = _chunkPGA2VC3Sjs.StripeCustomer; exports.StripeCustomerModule = _chunkPGA2VC3Sjs.StripeCustomerModule; exports.StripeCustomerService = _chunkPGA2VC3Sjs.StripeCustomerService; exports.StripeInvoice = _chunkPGA2VC3Sjs.StripeInvoice; exports.StripeInvoiceModule = _chunkPGA2VC3Sjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkPGA2VC3Sjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkPGA2VC3Sjs.StripePaymentMethodModule; exports.StripePrice = _chunkPGA2VC3Sjs.StripePrice; exports.StripePriceFields = _chunkPGA2VC3Sjs.StripePriceFields; exports.StripePriceModule = _chunkPGA2VC3Sjs.StripePriceModule; exports.StripePriceService = _chunkPGA2VC3Sjs.StripePriceService; exports.StripeProduct = _chunkPGA2VC3Sjs.StripeProduct; exports.StripeProductFields = _chunkPGA2VC3Sjs.StripeProductFields; exports.StripeProductModule = _chunkPGA2VC3Sjs.StripeProductModule; exports.StripeProductService = _chunkPGA2VC3Sjs.StripeProductService; exports.StripePromotionCode = _chunkPGA2VC3Sjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkPGA2VC3Sjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkPGA2VC3Sjs.StripePromotionCodeService; exports.StripeSubscription = _chunkPGA2VC3Sjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkPGA2VC3Sjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkPGA2VC3Sjs.StripeSubscriptionService; exports.StripeUsage = _chunkPGA2VC3Sjs.StripeUsage; exports.StripeUsageModule = _chunkPGA2VC3Sjs.StripeUsageModule; exports.StripeUsageService = _chunkPGA2VC3Sjs.StripeUsageService; exports.SubscriptionStatus = _chunkPGA2VC3Sjs.SubscriptionStatus; exports.TableOptions = _chunkPGA2VC3Sjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkPGA2VC3Sjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkPGA2VC3Sjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkPGA2VC3Sjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkPGA2VC3Sjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkPGA2VC3Sjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkPGA2VC3Sjs.TotpSetup; exports.TotpSetupModule = _chunkPGA2VC3Sjs.TotpSetupModule; exports.TotpVerify = _chunkPGA2VC3Sjs.TotpVerify; exports.TotpVerifyLogin = _chunkPGA2VC3Sjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkPGA2VC3Sjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkPGA2VC3Sjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkPGA2VC3Sjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkPGA2VC3Sjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkPGA2VC3Sjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkPGA2VC3Sjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkPGA2VC3Sjs.TwoFactorService; exports.TwoFactorStatus = _chunkPGA2VC3Sjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkPGA2VC3Sjs.TwoFactorStatusModule; exports.User = _chunkPGA2VC3Sjs.User; exports.UserFields = _chunkPGA2VC3Sjs.UserFields; exports.UserModule = _chunkPGA2VC3Sjs.UserModule; exports.UserService = _chunkPGA2VC3Sjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkPGA2VC3Sjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkPGA2VC3Sjs.Waitlist; exports.WaitlistModule = _chunkPGA2VC3Sjs.WaitlistModule; exports.WaitlistService = _chunkPGA2VC3Sjs.WaitlistService; exports.WaitlistStats = _chunkPGA2VC3Sjs.WaitlistStats; exports.WaitlistStatsModule = _chunkPGA2VC3Sjs.WaitlistStatsModule; exports.checkPermissions = _chunkPGA2VC3Sjs.checkPermissions; exports.checkPermissionsFromServer = _chunkPGA2VC3Sjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkPGA2VC3Sjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkPGA2VC3Sjs.clearLastApiTotal; exports.cn = _chunkPGA2VC3Sjs.cn; exports.composeRefs = _chunkPGA2VC3Sjs.composeRefs; exports.configureAuth = _chunkPGA2VC3Sjs.configureAuth; exports.configureI18n = _chunkB2OB3HQOjs.configureI18n; exports.configureJsonApi = _chunkB2OB3HQOjs.configureJsonApi; exports.configureLogin = _chunkB2OB3HQOjs.configureLogin; exports.configureReferral = _chunkB2OB3HQOjs.configureReferral; exports.configureRoles = _chunkB2OB3HQOjs.configureRoles; exports.configureTokenUsage = _chunkPGA2VC3Sjs.configureTokenUsage; exports.configureWaitlist = _chunkB2OB3HQOjs.configureWaitlist; exports.createJsonApiInclusion = _chunkPGA2VC3Sjs.createJsonApiInclusion; exports.dismissToast = _chunkPGA2VC3Sjs.dismissToast; exports.entityObjectSchema = _chunkPGA2VC3Sjs.entityObjectSchema; exports.exists = _chunkPGA2VC3Sjs.exists; exports.formatCodiceFiscale = _chunkPGA2VC3Sjs.formatCodiceFiscale; exports.formatDate = _chunkPGA2VC3Sjs.formatDate; exports.formatLocalDate = _chunkPGA2VC3Sjs.formatLocalDate; exports.formatPartitaIva = _chunkPGA2VC3Sjs.formatPartitaIva; exports.getApiUrl = _chunkB2OB3HQOjs.getApiUrl; exports.getAppUrl = _chunkB2OB3HQOjs.getAppUrl; exports.getBootstrapper = _chunkW42MYR3Yjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkPGA2VC3Sjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkPGA2VC3Sjs.getGlobalErrorHandler; exports.getIcon = _chunkPGA2VC3Sjs.getIcon; exports.getIconByModule = _chunkPGA2VC3Sjs.getIconByModule; exports.getIconByModuleName = _chunkPGA2VC3Sjs.getIconByModuleName; exports.getInitials = _chunkPGA2VC3Sjs.getInitials; exports.getLastApiMeta = _chunkPGA2VC3Sjs.getLastApiMeta; exports.getLastApiTotal = _chunkPGA2VC3Sjs.getLastApiTotal; exports.getLucideIcon = _chunkPGA2VC3Sjs.getLucideIcon; exports.getLucideIconByModule = _chunkPGA2VC3Sjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkPGA2VC3Sjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkB2OB3HQOjs.getPublicApiUrl; exports.getReferralConfig = _chunkB2OB3HQOjs.getReferralConfig; exports.getRoleId = _chunkB2OB3HQOjs.getRoleId; exports.getStripePublishableKey = _chunkB2OB3HQOjs.getStripePublishableKey; exports.getTableComponents = _chunkPGA2VC3Sjs.getTableComponents; exports.getTableOptions = _chunkPGA2VC3Sjs.getTableOptions; exports.getTokenHandler = _chunkPGA2VC3Sjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkPGA2VC3Sjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkB2OB3HQOjs.getTrackablePages; exports.getValueFromPath = _chunkPGA2VC3Sjs.getValueFromPath; exports.getWaitlistConfig = _chunkB2OB3HQOjs.getWaitlistConfig; exports.hasBootstrapper = _chunkW42MYR3Yjs.hasBootstrapper; exports.isReferralEnabled = _chunkB2OB3HQOjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkPGA2VC3Sjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkB2OB3HQOjs.isRolesConfigured; exports.rehydrate = _chunkPGA2VC3Sjs.rehydrate; exports.rehydrateList = _chunkPGA2VC3Sjs.rehydrateList; exports.resetBootstrapStore = _chunkW42MYR3Yjs.resetBootstrapStore; exports.setBootstrapper = _chunkW42MYR3Yjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkPGA2VC3Sjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkPGA2VC3Sjs.setGlobalErrorHandler; exports.showCustomToast = _chunkPGA2VC3Sjs.showCustomToast; exports.showError = _chunkPGA2VC3Sjs.showError; exports.showToast = _chunkPGA2VC3Sjs.showToast; exports.tokenUsageModules = _chunkPGA2VC3Sjs.tokenUsageModules; exports.translateData = _chunkW42MYR3Yjs.translateData; exports.translateResponse = _chunkW42MYR3Yjs.translateResponse; exports.tryBootstrap = _chunkW42MYR3Yjs.tryBootstrap; exports.useComposedRefs = _chunkPGA2VC3Sjs.useComposedRefs; exports.useIsMobile = _chunkPGA2VC3Sjs.useIsMobile; exports.userObjectSchema = _chunkPGA2VC3Sjs.userObjectSchema; exports.validateCodiceFiscale = _chunkPGA2VC3Sjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkPGA2VC3Sjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkPGA2VC3Sjs.validatePartitaIva;
|
|
483
483
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
getWaitlistConfig,
|
|
19
19
|
isReferralEnabled,
|
|
20
20
|
isRolesConfigured
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DK5ZOPVF.mjs";
|
|
22
22
|
import {
|
|
23
23
|
AVAILABLE_OAUTH_SCOPES,
|
|
24
24
|
AbstractApiData,
|
|
@@ -226,7 +226,7 @@ import {
|
|
|
226
226
|
validateCodiceFiscale,
|
|
227
227
|
validateItalianTaxCode,
|
|
228
228
|
validatePartitaIva
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-H37WRSBU.mjs";
|
|
230
230
|
import "./chunk-AUXK7QSA.mjs";
|
|
231
231
|
import "./chunk-C7C7VY4F.mjs";
|
|
232
232
|
import {
|
package/dist/server/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkPGA2VC3Sjs = require('../chunk-PGA2VC3S.js');
|
|
19
19
|
require('../chunk-LXKSUWAV.js');
|
|
20
20
|
require('../chunk-IBS6NI7D.js');
|
|
21
21
|
|
|
@@ -87,7 +87,7 @@ var ServerSession = class {
|
|
|
87
87
|
if (!rawModules) return false;
|
|
88
88
|
const modules = JSON.parse(_pako.ungzip.call(void 0, Buffer.from(rawModules, "base64"), { toText: true }));
|
|
89
89
|
const selectedModule = modules.find((module) => module.id === params.module.moduleId);
|
|
90
|
-
return
|
|
90
|
+
return _chunkPGA2VC3Sjs.checkPermissionsFromServer.call(void 0, {
|
|
91
91
|
module: params.module,
|
|
92
92
|
action: params.action,
|
|
93
93
|
data: params.data,
|
|
@@ -297,5 +297,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
|
|
|
297
297
|
|
|
298
298
|
|
|
299
299
|
|
|
300
|
-
exports.ServerAuthService =
|
|
300
|
+
exports.ServerAuthService = _chunkPGA2VC3Sjs.AuthService; exports.ServerCompanyService = _chunkPGA2VC3Sjs.CompanyService; exports.ServerContentService = _chunkPGA2VC3Sjs.ContentService; exports.ServerFeatureService = _chunkPGA2VC3Sjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkPGA2VC3Sjs.NotificationService; exports.ServerPushService = _chunkPGA2VC3Sjs.PushService; exports.ServerRoleService = _chunkPGA2VC3Sjs.RoleService; exports.ServerS3Service = _chunkPGA2VC3Sjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkPGA2VC3Sjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
|
|
301
301
|
//# sourceMappingURL=index.js.map
|
package/dist/server/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -222,10 +222,12 @@ export function EntityMultiSelector<T extends { id: string }>({
|
|
|
222
222
|
<FormFieldWrapper form={form} name={id} label={label} isRequired={isRequired} description={description}>
|
|
223
223
|
{() => (
|
|
224
224
|
<div className="flex flex-col gap-2">
|
|
225
|
-
<Popover open={open} onOpenChange={setOpen} modal>
|
|
226
|
-
<PopoverTrigger className="w-full">
|
|
225
|
+
<Popover open={disabled ? false : open} onOpenChange={disabled ? undefined : setOpen} modal>
|
|
226
|
+
<PopoverTrigger className="w-full" disabled={disabled}>
|
|
227
227
|
<div
|
|
228
|
-
className={`bg-input/20 dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/30 focus-visible:ring-[2px] flex min-h-7 w-full items-center gap-2 rounded-md border px-2 text-sm md:text-xs/relaxed
|
|
228
|
+
className={`bg-input/20 dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/30 focus-visible:ring-[2px] flex min-h-7 w-full items-center gap-2 rounded-md border px-2 text-sm md:text-xs/relaxed ${
|
|
229
|
+
disabled ? "cursor-not-allowed opacity-50" : ""
|
|
230
|
+
}`}
|
|
229
231
|
>
|
|
230
232
|
{selectedValues.length > 0 ? (
|
|
231
233
|
<>
|
|
@@ -316,13 +318,15 @@ export function EntityMultiSelector<T extends { id: string }>({
|
|
|
316
318
|
className="h-auto gap-1.5 rounded-md px-2.5 py-1 pe-1.5 text-xs"
|
|
317
319
|
>
|
|
318
320
|
{stableGetFormValueLabel(value)}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
321
|
+
{!disabled && (
|
|
322
|
+
<button
|
|
323
|
+
type="button"
|
|
324
|
+
className="text-muted-foreground hover:text-foreground rounded-sm p-0.5 transition-colors"
|
|
325
|
+
onClick={() => removeEntity(value.id)}
|
|
326
|
+
>
|
|
327
|
+
<XIcon className="size-3" />
|
|
328
|
+
</button>
|
|
329
|
+
)}
|
|
326
330
|
</Badge>
|
|
327
331
|
))}
|
|
328
332
|
</div>
|
|
@@ -3,15 +3,10 @@
|
|
|
3
3
|
import { RoundPageContainer } from "../../../../components";
|
|
4
4
|
import { Modules } from "../../../../core";
|
|
5
5
|
import { useHowToContext } from "../../contexts/HowToContext";
|
|
6
|
-
import { HowToInterface } from "../../data/HowToInterface";
|
|
7
6
|
import HowToContent from "../details/HowToContent";
|
|
8
7
|
import HowToDetails from "../details/HowToDetails";
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
howTo: HowToInterface;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
function HowToContainerInternal({ howTo }: HowToContainerProps) {
|
|
9
|
+
function HowToContainerInternal() {
|
|
15
10
|
return (
|
|
16
11
|
<RoundPageContainer module={Modules.HowTo} details={<HowToDetails />}>
|
|
17
12
|
<HowToContent />
|
|
@@ -23,5 +18,5 @@ export default function HowToContainer() {
|
|
|
23
18
|
const { howTo } = useHowToContext();
|
|
24
19
|
if (!howTo) return null;
|
|
25
20
|
|
|
26
|
-
return <HowToContainerInternal
|
|
21
|
+
return <HowToContainerInternal />;
|
|
27
22
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { useTranslations } from "next-intl";
|
|
4
3
|
import { CommonDeleter } from "../../../../components";
|
|
5
4
|
import { Modules } from "../../../../core";
|
|
6
5
|
import { usePageUrlGenerator } from "../../../../hooks";
|
|
@@ -12,7 +11,6 @@ type HowToDeleterProps = {
|
|
|
12
11
|
};
|
|
13
12
|
|
|
14
13
|
function HowToDeleterInternal({ howTo }: HowToDeleterProps) {
|
|
15
|
-
const t = useTranslations();
|
|
16
14
|
const generateUrl = usePageUrlGenerator();
|
|
17
15
|
|
|
18
16
|
if (!howTo) return null;
|