@forgeroute/ui 0.4.98 → 0.4.99
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.
|
@@ -9494,6 +9494,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9494
9494
|
}]
|
|
9495
9495
|
}
|
|
9496
9496
|
});
|
|
9497
|
+
const UI_READ_ONLY_MODE = new InjectionToken("UI_READ_ONLY_MODE");
|
|
9498
|
+
function provideReadOnlyMode(active) {
|
|
9499
|
+
return {
|
|
9500
|
+
provide: UI_READ_ONLY_MODE,
|
|
9501
|
+
useFactory: () => ({ active: active() })
|
|
9502
|
+
};
|
|
9503
|
+
}
|
|
9504
|
+
const NEVER_READ_ONLY = computed(() => false, ...ngDevMode ? [{ debugName: "NEVER_READ_ONLY" }] : /* istanbul ignore next */ []);
|
|
9505
|
+
function injectReadOnlyMode() {
|
|
9506
|
+
return inject(UI_READ_ONLY_MODE, { optional: true })?.active ?? NEVER_READ_ONLY;
|
|
9507
|
+
}
|
|
9497
9508
|
const browserIsOnline = () => typeof navigator === "undefined" ? true : navigator.onLine !== false;
|
|
9498
9509
|
function noAnswerKind(err, online) {
|
|
9499
9510
|
const e = err;
|
|
@@ -15601,7 +15612,8 @@ var DataTableComponent = class DataTableComponent {
|
|
|
15601
15612
|
this.importExportConfig = input(null, ...ngDevMode ? [{ debugName: "importExportConfig" }] : /* istanbul ignore next */ []);
|
|
15602
15613
|
this.importSources = input(void 0, ...ngDevMode ? [{ debugName: "importSources" }] : /* istanbul ignore next */ []);
|
|
15603
15614
|
this.permission = input("full", ...ngDevMode ? [{ debugName: "permission" }] : /* istanbul ignore next */ []);
|
|
15604
|
-
this.
|
|
15615
|
+
this._readOnlyMode = injectReadOnlyMode();
|
|
15616
|
+
this._canEdit = computed(() => this.permission() === "full" && !this._readOnlyMode(), ...ngDevMode ? [{ debugName: "_canEdit" }] : /* istanbul ignore next */ []);
|
|
15605
15617
|
this.selectable = input(false, ...ngDevMode ? [{ debugName: "selectable" }] : /* istanbul ignore next */ []);
|
|
15606
15618
|
this.itemLabel = input("item", ...ngDevMode ? [{ debugName: "itemLabel" }] : /* istanbul ignore next */ []);
|
|
15607
15619
|
this.itemLabelPlural = input("", ...ngDevMode ? [{ debugName: "itemLabelPlural" }] : /* istanbul ignore next */ []);
|
|
@@ -72902,6 +72914,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
72902
72914
|
}]
|
|
72903
72915
|
}
|
|
72904
72916
|
});
|
|
72905
|
-
export { ALLOCATION_CUSTOM, ASCII_SPECIAL_PASSWORD_RULES, ActionBarComponent, AddressInputComponent, AlertComponent, AppShellComponent, AudioPlayerComponent, AvatarComponent, BADGE_VARIANT_STYLES, BadgeComponent, BankAccountFormComponent, BarRowComponent, BoardCardDirective, BoardComponent, BulkMessagePanelComponent, BusinessHoursComponent, ButtonComponent, COMMON_DETAIL_GROUP_STYLES, CalendarComponent, CardListItemComponent, ChargeFormComponent, CheckboxComponent, CheckboxTrailingDirective, ChipComponent, ChipGroupComponent, ColorInputComponent, ColumnFilterComponent, ColumnsComponent, ComboboxComponent, ConfirmAfterCheckService, ConfirmOutletComponent, ConfirmService, ContactPickerComponent, ConversationRichBodyComponent, ConversationsComponent, CopyFieldComponent, DEFAULT_ALLOCATION_MODES, DEFAULT_BANK_ACCOUNT_TYPE_OPTIONS, DEFAULT_BANK_HOLDER_TYPE_OPTIONS, DEFAULT_BANK_MANDATE_TEXT, DEFAULT_EMAIL_TEMPLATE_BLOCK_GROUPS, DEFAULT_EMAIL_TEMPLATE_VARIABLE_GROUPS, DEFAULT_PASSWORD_RULES, DEFAULT_PAYMENT_METHODS, DEFAULT_REFUND_REASONS, DETAIL_CARD_HEADER_BG, DETAIL_GROUP_HEADER_BG, DROPDOWN_GROUP, DataTableComponent, DateInputComponent, DateRangePickerComponent, DatetimeInputComponent, DetailCardComponent, DiscountSelectorComponent, DividerComponent, DropdownComponent, EMAIL_BLOCK_DRAG_TYPE, EMAIL_TEMPLATE_MAX_BODY, EMAIL_TEMPLATE_MAX_TEXT, EMAIL_TEMPLATE_START_TEXT, EMBEDDING_PARENT, EmailTemplateEditorComponent, EmptyStateComponent, ErrorComponent, ErrorStateComponent, FORGEROUTE_CONFIG, FadeComponent, FileInputComponent, FillViewportDirective, FixedFooterComponent, FormColSpanDirective, FormComponent, FormRowComponent, FormSectionComponent, HintComponent, ICON_NAMES, IDX_BEHAVIOR_SIGNALS, IDX_BEHAVIOR_SIGNALS_ES, INTEGRATION_CATALOG, INTEGRATION_FIELD_DEFS, INTEGRATION_FIELD_TEXTS_ES, INTEGRATION_GROUP_LABELS_ES, INTEGRATION_GROUP_ORDER, INTEGRATION_OPTION_DEFS, INTEGRATION_OPTION_TEXTS_ES, INTEGRATION_TEXTS_ES, IconComponent, IconPickerComponent, ImageComponent, ImageGalleryComponent, ImageGalleryDialogComponent, ImagePreviewComponent, ImageRepositionComponent, ImportExportComponent, ImportSourceGridComponent, InspectionTemplatePrintService, KanbanBoardComponent, KanbanCardDirective, KeypadComponent, KpiCardComponent, LAYOUT_GAP_PX, LISTED_SPECIAL_PASSWORD_RULES, ListComponent, ListItemComponent, LiveRegionComponent, MAX_EMAIL_ADDRESS_LENGTH, MAX_PAYMENT_AMOUNT, MIN_PAYMENT_AMOUNT, ModalComponent, ModuleLabelsRegistry, MoreMenuComponent, MultiSelectComponent, NOTES_MAX_LENGTH, NotesComponent, NotificationBellComponent, OfflineBannerComponent, OptionCardComponent, PASSWORD_MAX_BYTES, PASSWORD_MAX_LENGTH, PAYMENT_METHOD, PAYMENT_METHOD_PLUGIN, PHONE_NUMBER_AREA_CODE_LENGTH, PHONE_NUMBER_ZIP_LENGTH, PageComponent, PaginationComponent, PanelInfoListComponent, PasswordRequirementsComponent, PaymentCustomMethodComponent, PaymentMethodPlugin, PaymentSidePanelComponent, PdfHotspotComponent, PhoneNumberPickerComponent, PillTabPanelDirective, PillTabsComponent, PrintService, ProgressBarComponent, ProgressRingComponent, QrCodeComponent, QuickFilterTabsComponent, RICH_TEXT_OPTIONS, RadioComponent, RadioGroupComponent, RadioMatrixComponent, RadioOptionContentDirective, ReadonlyFieldsetComponent, RefundPanelComponent, ReminderAlertsComponent, RichTextEditorComponent, SEMANTIC_BADGE_MAP, SEMANTIC_BADGE_MAP_ES, SETUP_DONE_KEY, SETUP_INTEGRATIONS, SearchInputComponent, SectionHeaderComponent, SelectComponent, SetupWizardComponent, SetupWizardStepDirective, SetupWizardStepHeaderDirective, ShareMenuComponent, ShowComponent, SidePanelComponent, SidebarLayoutComponent, SignaturePadComponent, SkeletonComponent, SkipLinkComponent, SnackbarComponent, SnackbarService, StackComponent, StackedBarComponent, StackingPlanComponent, StarComponent, StarRatingComponent, StepperComponent, SwatchPickerComponent, TableToolbarComponent, TextComponent, TextInputComponent, TextTemplatePickerComponent, TextareaInputComponent, TimeInputComponent, TimelineComponent, ToastComponent, ToastService, ToggleBadgeComponent, ToggleComponent, TooltipDirective, TourComponent, UI_DEFAULT_LABELS, UI_FIELD_REVEAL_HOST, UI_LANGUAGE_AUTO, UI_LANGUAGE_CONFIG, UI_NOTES_QUEUE, US_LOCATIONS, US_STATES, US_STATE_OPTIONS, US_ZIP_PATTERN, UiFieldValidity, UiLabelsService, UiLanguageService, UiLanguageSwitcherComponent, acceptLabel, appShellGroupsStorageKey, assertModuleLabelParity, autoVariant, blockHasContent, buildDefaultSchedule, buildInspectionTemplateHtml, buildMapsEmbedUrl, buildMapsUrl, buildPreviewDocument, buildVideoBlockHtml, builtInActionIcon, businessTimeOptions, callHost, conversationDateLabel, conversationHtmlToText, conversationInitial, conversationMessageStatusLabel, conversationMessageStatusMark, createFieldReveal, createModuleLabels, createPasswordPolicyValidator, csvCell, csvSafeText, decodeFilterValues, defaultChargeAmount, defaultLabel, digitsOnly, downloadBlob, downloadCsv, emailShareUrl, emptyAddress, encodeFilterValue, encodeFilterValues, errorContextInterceptor, escapeHtml, facebookShareUrl, fileMatchesAccept, fileNameFromContentDisposition, formatAddress, formatAddressValue, formatAddressValueOneLine, formatAttachmentSize, formatCategoryLabel, formatConversationPhone, formatConversationTime, formatCurrency, formatDuration, formatEnum, formatFileSize, formatIsoDate, formatIsoDateTime, formatMessageTime, formatPhone, formatPhoneDisplay, formatShortDate, formatTime, formatTimeAgo, formatVideoDuration, getEligibleIds, getEligibleOptions, getErrorMessage, getInitials, gmailShareUrl, groupMessagesByDay, hostErrorMessage, humanReadableMessage, iconPath, injectModuleLabels, insideEditorBlock, inspectionTemplateStatusLabel, integrationGroupLabel, integrationPlainText, integrationsForApp, integrationsOnlyFor, isBlockDrag, isEmptyAddress, isValidAmount, isValidEmailAddress, isValidZip, isWebUrl, isoKey, issueToErrors, last4Error, linkedInShareUrl, loadUiLabels, localizeIntegration, localizeIntegrationFields, localizeIntegrationOptions, localizedAllocationModes, localizedDetailGroupStyle, localizedEmailBlockGroups, localizedEmailVariableGroups, localizedIdxBehaviorSignals, localizedIntegrationDescription, localizedIntegrationTitle, localizedPaymentMethods, maxLengthIssue, mergeDescribedBy, moduleLabelsTesting, normalizeAddress, normalizeHexColor, orderBulkOptions, outlookShareUrl, parseAddressOneLine, parseAddressValue, parseBizHours, parseIso, parseTime, passwordByteLength, passwordMeetsRules, passwordTooLongMessage, passwordWithinLimits, periodGroup, pillTabDescriptionId, pillTabId, pillTabPanelId, pillTabTitleId, pluralize, provideForgerouteToast, provideModuleLabelOverrides, provideUiLanguage, reorderItems, requiredIssue, resolveLayoutGap, resolvePreset, safeLocale, semanticBadgeVariant, serializeBizHours, serializedTextLength, setupIntegrations, splitIntro, terminalTimeoutText, terminalVerdict, timelineItemsFromEvents, toCsv, todayInTimezone, truncateConversationText, uiCurrencyFormatter, uiFormatClock, uiFormatCurrency, uiFormatDate, uiFormatHour, uiFormatNumber, uiLocale, uiMonthName, uiText, uiWeekdayName, usStateName, usStateSelectOptions, usdCurrencyDisplay, xShareUrl };
|
|
72917
|
+
export { ALLOCATION_CUSTOM, ASCII_SPECIAL_PASSWORD_RULES, ActionBarComponent, AddressInputComponent, AlertComponent, AppShellComponent, AudioPlayerComponent, AvatarComponent, BADGE_VARIANT_STYLES, BadgeComponent, BankAccountFormComponent, BarRowComponent, BoardCardDirective, BoardComponent, BulkMessagePanelComponent, BusinessHoursComponent, ButtonComponent, COMMON_DETAIL_GROUP_STYLES, CalendarComponent, CardListItemComponent, ChargeFormComponent, CheckboxComponent, CheckboxTrailingDirective, ChipComponent, ChipGroupComponent, ColorInputComponent, ColumnFilterComponent, ColumnsComponent, ComboboxComponent, ConfirmAfterCheckService, ConfirmOutletComponent, ConfirmService, ContactPickerComponent, ConversationRichBodyComponent, ConversationsComponent, CopyFieldComponent, DEFAULT_ALLOCATION_MODES, DEFAULT_BANK_ACCOUNT_TYPE_OPTIONS, DEFAULT_BANK_HOLDER_TYPE_OPTIONS, DEFAULT_BANK_MANDATE_TEXT, DEFAULT_EMAIL_TEMPLATE_BLOCK_GROUPS, DEFAULT_EMAIL_TEMPLATE_VARIABLE_GROUPS, DEFAULT_PASSWORD_RULES, DEFAULT_PAYMENT_METHODS, DEFAULT_REFUND_REASONS, DETAIL_CARD_HEADER_BG, DETAIL_GROUP_HEADER_BG, DROPDOWN_GROUP, DataTableComponent, DateInputComponent, DateRangePickerComponent, DatetimeInputComponent, DetailCardComponent, DiscountSelectorComponent, DividerComponent, DropdownComponent, EMAIL_BLOCK_DRAG_TYPE, EMAIL_TEMPLATE_MAX_BODY, EMAIL_TEMPLATE_MAX_TEXT, EMAIL_TEMPLATE_START_TEXT, EMBEDDING_PARENT, EmailTemplateEditorComponent, EmptyStateComponent, ErrorComponent, ErrorStateComponent, FORGEROUTE_CONFIG, FadeComponent, FileInputComponent, FillViewportDirective, FixedFooterComponent, FormColSpanDirective, FormComponent, FormRowComponent, FormSectionComponent, HintComponent, ICON_NAMES, IDX_BEHAVIOR_SIGNALS, IDX_BEHAVIOR_SIGNALS_ES, INTEGRATION_CATALOG, INTEGRATION_FIELD_DEFS, INTEGRATION_FIELD_TEXTS_ES, INTEGRATION_GROUP_LABELS_ES, INTEGRATION_GROUP_ORDER, INTEGRATION_OPTION_DEFS, INTEGRATION_OPTION_TEXTS_ES, INTEGRATION_TEXTS_ES, IconComponent, IconPickerComponent, ImageComponent, ImageGalleryComponent, ImageGalleryDialogComponent, ImagePreviewComponent, ImageRepositionComponent, ImportExportComponent, ImportSourceGridComponent, InspectionTemplatePrintService, KanbanBoardComponent, KanbanCardDirective, KeypadComponent, KpiCardComponent, LAYOUT_GAP_PX, LISTED_SPECIAL_PASSWORD_RULES, ListComponent, ListItemComponent, LiveRegionComponent, MAX_EMAIL_ADDRESS_LENGTH, MAX_PAYMENT_AMOUNT, MIN_PAYMENT_AMOUNT, ModalComponent, ModuleLabelsRegistry, MoreMenuComponent, MultiSelectComponent, NOTES_MAX_LENGTH, NotesComponent, NotificationBellComponent, OfflineBannerComponent, OptionCardComponent, PASSWORD_MAX_BYTES, PASSWORD_MAX_LENGTH, PAYMENT_METHOD, PAYMENT_METHOD_PLUGIN, PHONE_NUMBER_AREA_CODE_LENGTH, PHONE_NUMBER_ZIP_LENGTH, PageComponent, PaginationComponent, PanelInfoListComponent, PasswordRequirementsComponent, PaymentCustomMethodComponent, PaymentMethodPlugin, PaymentSidePanelComponent, PdfHotspotComponent, PhoneNumberPickerComponent, PillTabPanelDirective, PillTabsComponent, PrintService, ProgressBarComponent, ProgressRingComponent, QrCodeComponent, QuickFilterTabsComponent, RICH_TEXT_OPTIONS, RadioComponent, RadioGroupComponent, RadioMatrixComponent, RadioOptionContentDirective, ReadonlyFieldsetComponent, RefundPanelComponent, ReminderAlertsComponent, RichTextEditorComponent, SEMANTIC_BADGE_MAP, SEMANTIC_BADGE_MAP_ES, SETUP_DONE_KEY, SETUP_INTEGRATIONS, SearchInputComponent, SectionHeaderComponent, SelectComponent, SetupWizardComponent, SetupWizardStepDirective, SetupWizardStepHeaderDirective, ShareMenuComponent, ShowComponent, SidePanelComponent, SidebarLayoutComponent, SignaturePadComponent, SkeletonComponent, SkipLinkComponent, SnackbarComponent, SnackbarService, StackComponent, StackedBarComponent, StackingPlanComponent, StarComponent, StarRatingComponent, StepperComponent, SwatchPickerComponent, TableToolbarComponent, TextComponent, TextInputComponent, TextTemplatePickerComponent, TextareaInputComponent, TimeInputComponent, TimelineComponent, ToastComponent, ToastService, ToggleBadgeComponent, ToggleComponent, TooltipDirective, TourComponent, UI_DEFAULT_LABELS, UI_FIELD_REVEAL_HOST, UI_LANGUAGE_AUTO, UI_LANGUAGE_CONFIG, UI_NOTES_QUEUE, UI_READ_ONLY_MODE, US_LOCATIONS, US_STATES, US_STATE_OPTIONS, US_ZIP_PATTERN, UiFieldValidity, UiLabelsService, UiLanguageService, UiLanguageSwitcherComponent, acceptLabel, appShellGroupsStorageKey, assertModuleLabelParity, autoVariant, blockHasContent, buildDefaultSchedule, buildInspectionTemplateHtml, buildMapsEmbedUrl, buildMapsUrl, buildPreviewDocument, buildVideoBlockHtml, builtInActionIcon, businessTimeOptions, callHost, conversationDateLabel, conversationHtmlToText, conversationInitial, conversationMessageStatusLabel, conversationMessageStatusMark, createFieldReveal, createModuleLabels, createPasswordPolicyValidator, csvCell, csvSafeText, decodeFilterValues, defaultChargeAmount, defaultLabel, digitsOnly, downloadBlob, downloadCsv, emailShareUrl, emptyAddress, encodeFilterValue, encodeFilterValues, errorContextInterceptor, escapeHtml, facebookShareUrl, fileMatchesAccept, fileNameFromContentDisposition, formatAddress, formatAddressValue, formatAddressValueOneLine, formatAttachmentSize, formatCategoryLabel, formatConversationPhone, formatConversationTime, formatCurrency, formatDuration, formatEnum, formatFileSize, formatIsoDate, formatIsoDateTime, formatMessageTime, formatPhone, formatPhoneDisplay, formatShortDate, formatTime, formatTimeAgo, formatVideoDuration, getEligibleIds, getEligibleOptions, getErrorMessage, getInitials, gmailShareUrl, groupMessagesByDay, hostErrorMessage, humanReadableMessage, iconPath, injectModuleLabels, injectReadOnlyMode, insideEditorBlock, inspectionTemplateStatusLabel, integrationGroupLabel, integrationPlainText, integrationsForApp, integrationsOnlyFor, isBlockDrag, isEmptyAddress, isValidAmount, isValidEmailAddress, isValidZip, isWebUrl, isoKey, issueToErrors, last4Error, linkedInShareUrl, loadUiLabels, localizeIntegration, localizeIntegrationFields, localizeIntegrationOptions, localizedAllocationModes, localizedDetailGroupStyle, localizedEmailBlockGroups, localizedEmailVariableGroups, localizedIdxBehaviorSignals, localizedIntegrationDescription, localizedIntegrationTitle, localizedPaymentMethods, maxLengthIssue, mergeDescribedBy, moduleLabelsTesting, normalizeAddress, normalizeHexColor, orderBulkOptions, outlookShareUrl, parseAddressOneLine, parseAddressValue, parseBizHours, parseIso, parseTime, passwordByteLength, passwordMeetsRules, passwordTooLongMessage, passwordWithinLimits, periodGroup, pillTabDescriptionId, pillTabId, pillTabPanelId, pillTabTitleId, pluralize, provideForgerouteToast, provideModuleLabelOverrides, provideReadOnlyMode, provideUiLanguage, reorderItems, requiredIssue, resolveLayoutGap, resolvePreset, safeLocale, semanticBadgeVariant, serializeBizHours, serializedTextLength, setupIntegrations, splitIntro, terminalTimeoutText, terminalVerdict, timelineItemsFromEvents, toCsv, todayInTimezone, truncateConversationText, uiCurrencyFormatter, uiFormatClock, uiFormatCurrency, uiFormatDate, uiFormatHour, uiFormatNumber, uiLocale, uiMonthName, uiText, uiWeekdayName, usStateName, usStateSelectOptions, usdCurrencyDisplay, xShareUrl };
|
|
72906
72918
|
|
|
72907
72919
|
//# sourceMappingURL=forgeroute-ui.mjs.map
|