@rockrms/obsidian-framework 17.0.43 → 17.2.4
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/package.json +1 -1
- package/types/Controls/Grid/Columns/attributeColumns.partial.d.ts +1 -1
- package/types/Controls/Grid/Columns/booleanColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/buttonColumn.partial.d.ts +38 -4
- package/types/Controls/Grid/Columns/column.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/copyColumn.partial.d.ts +4 -4
- package/types/Controls/Grid/Columns/currencyColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/dateColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/dateTimeColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/deleteColumn.partial.d.ts +4 -4
- package/types/Controls/Grid/Columns/editColumn.partial.d.ts +4 -4
- package/types/Controls/Grid/Columns/highlightDetailColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/htmlColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/labelColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/numberBadgeColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/numberColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/personColumn.partial.d.ts +20 -3
- package/types/Controls/Grid/Columns/reorderColumn.partial.d.ts +4 -4
- package/types/Controls/Grid/Columns/rockFieldColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/Columns/securityColumn.partial.d.ts +4 -4
- package/types/Controls/Grid/Columns/selectColumn.partial.d.ts +4 -4
- package/types/Controls/Grid/Columns/textColumn.partial.d.ts +3 -3
- package/types/Controls/Grid/grid.partial.obs.d.ts +2 -2
- package/types/Controls/Internal/EmailEditor/api.d.ts +27 -16
- package/types/Controls/Internal/EmailEditor/componentPropertyPanel.partial.obs.d.ts +12 -1
- package/types/Controls/Internal/EmailEditor/emailEditor.partial.obs.d.ts +29 -2
- package/types/Controls/Internal/EmailEditor/multiSelectButtonGroup.partial.obs.d.ts +2 -2
- package/types/Controls/Internal/EmailEditor/overlay.obs.d.ts +4 -4
- package/types/Controls/Internal/EmailEditor/properties/inlineSwitchProperty.partial.obs.d.ts +1 -1
- package/types/Controls/Internal/EmailEditor/properties/innerHtmlProperty.partial.obs.d.ts +10 -0
- package/types/Controls/Internal/EmailEditor/properties/togglablePropertyGroup.partial.obs.d.ts +1 -1
- package/types/Controls/Internal/EmailEditor/propertyPanels/buttonComponentPropertyPanel.partial.obs.d.ts +2 -0
- package/types/Controls/Internal/EmailEditor/propertyPanels/codeComponentPropertyPanel.partial.obs.d.ts +14 -1
- package/types/Controls/Internal/EmailEditor/propertyPanels/imageComponentPropertyPanel.partial.obs.d.ts +2 -0
- package/types/Controls/Internal/EmailEditor/propertyPanels/rowComponentPropertyPanel.partial.obs.d.ts +2 -0
- package/types/Controls/Internal/EmailEditor/propertyPanels/rsvpComponentPropertyPanel.partial.obs.d.ts +2 -0
- package/types/Controls/Internal/EmailEditor/propertyPanels/textComponentPropertyPanel.partial.obs.d.ts +12 -1
- package/types/Controls/Internal/EmailEditor/propertyPanels/videoComponentPropertyPanel.partial.obs.d.ts +2 -0
- package/types/Controls/Internal/EmailEditor/sidePanel.partial.obs.d.ts +21 -1
- package/types/Controls/Internal/EmailEditor/singleSelectButtonGroup.partial.obs.d.ts +3 -3
- package/types/Controls/Internal/EmailEditor/textFormatPicker.partial.obs.d.ts +1 -1
- package/types/Controls/Internal/EmailEditor/types.d.ts +1 -0
- package/types/Controls/Internal/EmailEditor/utils.partial.d.ts +32 -5
- package/types/Controls/Internal/Notes/note.partial.obs.d.ts +34 -0
- package/types/Controls/Internal/Notes/noteEditor.partial.obs.d.ts +103 -0
- package/types/Controls/Internal/Notes/noteList.partial.obs.d.ts +24 -0
- package/types/Controls/Internal/Notes/types.partial.d.ts +63 -0
- package/types/Controls/Internal/Notes/utils.partial.d.ts +93 -0
- package/types/Controls/Internal/attributeMatrixEditor.obs.d.ts +1 -1
- package/types/Controls/Internal/notesContainer.obs.d.ts +247 -0
- package/types/Controls/Internal/treeListItem.obs.d.ts +1 -1
- package/types/Controls/NoteEditor/editSourceCodePlugin.partial.obs.d.ts +1 -1
- package/types/Controls/NoteEditor/mergeFieldPlugin.partial.obs.d.ts +18 -0
- package/types/Controls/accountPicker.obs.d.ts +2 -2
- package/types/Controls/achievementTypePicker.obs.d.ts +3 -3
- package/types/Controls/adaptiveMessagePicker.obs.d.ts +3 -3
- package/types/Controls/addressControl.obs.d.ts +1 -1
- package/types/Controls/aiProviderPicker.obs.d.ts +3 -3
- package/types/Controls/assessmentTypePicker.obs.d.ts +3 -3
- package/types/Controls/assetStorageProviderPicker.obs.d.ts +3 -3
- package/types/Controls/badgeComponentPicker.obs.d.ts +3 -3
- package/types/Controls/badgePicker.obs.d.ts +3 -3
- package/types/Controls/baseAsyncPicker.obs.d.ts +6 -6
- package/types/Controls/binaryFilePicker.obs.d.ts +9 -3
- package/types/Controls/binaryFileTypePicker.obs.d.ts +3 -3
- package/types/Controls/buttonDropDownList.obs.d.ts +2 -2
- package/types/Controls/buttonGroup.obs.d.ts +2 -2
- package/types/Controls/campusAccountAmountPicker.obs.d.ts +0 -27
- package/types/Controls/campusPicker.obs.d.ts +4 -4
- package/types/Controls/categorizedValuePicker.obs.d.ts +1 -1
- package/types/Controls/categorizedValuePickerDropDownLevel.obs.d.ts +1 -1
- package/types/Controls/checkBox.obs.d.ts +1 -0
- package/types/Controls/checkBoxList.obs.d.ts +3 -3
- package/types/Controls/codeEditor.obs.d.ts +6 -6
- package/types/Controls/colorSelector.obs.d.ts +1 -1
- package/types/Controls/componentPicker.obs.d.ts +4 -4
- package/types/Controls/connectionRequestPicker.obs.d.ts +0 -8
- package/types/Controls/contentChannelItemPicker.obs.d.ts +3 -3
- package/types/Controls/contentDropDownPicker.obs.d.ts +1 -1
- package/types/Controls/copyButton.obs.d.ts +3 -3
- package/types/Controls/customSelect.obs.d.ts +52 -52
- package/types/Controls/dataViewPicker.obs.d.ts +3 -3
- package/types/Controls/datePicker.obs.d.ts +4 -4
- package/types/Controls/datePickerBase.obs.d.ts +3 -3
- package/types/Controls/dayOfWeekPicker.obs.d.ts +1 -1
- package/types/Controls/definedValuePicker.obs.d.ts +4 -4
- package/types/Controls/dropDownList.obs.d.ts +6 -6
- package/types/Controls/dropDownMenu.obs.d.ts +3 -3
- package/types/Controls/electronicSignature.obs.d.ts +44 -2
- package/types/Controls/emailEditor.d.ts +2 -2
- package/types/Controls/entityPicker.obs.d.ts +1 -1
- package/types/Controls/entityTypePicker.obs.d.ts +3 -3
- package/types/Controls/ethnicityPicker.obs.d.ts +3 -3
- package/types/Controls/eventCalendarPicker.obs.d.ts +3 -3
- package/types/Controls/eventItemPicker.obs.d.ts +4 -4
- package/types/Controls/fieldTypePicker.obs.d.ts +3 -3
- package/types/Controls/financialGatewayPicker.obs.d.ts +4 -4
- package/types/Controls/financialStatementTemplatePicker.obs.d.ts +3 -3
- package/types/Controls/genderPicker.obs.d.ts +4 -4
- package/types/Controls/geoPicker.obs.d.ts +1 -1
- package/types/Controls/gradePicker.obs.d.ts +3 -3
- package/types/Controls/groupAndRolePicker.obs.d.ts +4 -4
- package/types/Controls/groupMemberPicker.obs.d.ts +3 -3
- package/types/Controls/groupRolePicker.obs.d.ts +3 -3
- package/types/Controls/groupTypeGroupPicker.obs.d.ts +4 -4
- package/types/Controls/groupTypePicker.obs.d.ts +3 -3
- package/types/Controls/highlightLabel.obs.d.ts +6 -6
- package/types/Controls/htmlEditor.obs.d.ts +38 -1
- package/types/Controls/imageEditor.obs.d.ts +2 -2
- package/types/Controls/inlineRangeSlider.obs.d.ts +2 -2
- package/types/Controls/inlineSwitch.obs.d.ts +9 -0
- package/types/Controls/interactionChannelPicker.obs.d.ts +3 -3
- package/types/Controls/interactionComponentPicker.obs.d.ts +3 -3
- package/types/Controls/kpi.obs.d.ts +3 -3
- package/types/Controls/lavaCommandPicker.obs.d.ts +3 -3
- package/types/Controls/listBox.obs.d.ts +2 -2
- package/types/Controls/listItems.obs.d.ts +1 -1
- package/types/Controls/locationItemPicker.obs.d.ts +1 -1
- package/types/Controls/locationList.obs.d.ts +3 -3
- package/types/Controls/mediaElementPicker.obs.d.ts +4 -4
- package/types/Controls/mediaPlayer.obs.d.ts +4 -4
- package/types/Controls/mediaSelector.obs.d.ts +2 -2
- package/types/Controls/mergeFieldPicker.obs.d.ts +1 -1
- package/types/Controls/modal.obs.d.ts +19 -1
- package/types/Controls/noteTextEditor.obs.d.ts +1 -1
- package/types/Controls/numberBox.obs.d.ts +1 -1
- package/types/Controls/numberUpDown.obs.d.ts +2 -2
- package/types/Controls/pagePicker.obs.d.ts +1 -1
- package/types/Controls/panel.obs.d.ts +3 -3
- package/types/Controls/personAvatar.obs.d.ts +90 -0
- package/types/Controls/personBasicEditor.obs.d.ts +0 -11
- package/types/Controls/personLink.obs.d.ts +3 -3
- package/types/Controls/phoneNumberBox.obs.d.ts +1 -1
- package/types/Controls/phoneNumberBoxWithSms.obs.d.ts +11 -0
- package/types/Controls/popOver.obs.d.ts +6 -6
- package/types/Controls/racePicker.obs.d.ts +3 -3
- package/types/Controls/radioButton.obs.d.ts +1 -1
- package/types/Controls/radioButtonList.obs.d.ts +3 -3
- package/types/Controls/rangeSlider.obs.d.ts +3 -3
- package/types/Controls/registrationInstanceBasePicker.obs.d.ts +3 -3
- package/types/Controls/reminderTypePicker.obs.d.ts +3 -3
- package/types/Controls/remoteAuthsPicker.obs.d.ts +3 -3
- package/types/Controls/rockButton.obs.d.ts +13 -4
- package/types/Controls/rockField.obs.d.ts +23 -0
- package/types/Controls/rockForm.obs.d.ts +8 -1
- package/types/Controls/rockFormField.obs.d.ts +1 -1
- package/types/Controls/rockSuspense.obs.d.ts +1 -1
- package/types/Controls/sectionContainer.obs.d.ts +1 -1
- package/types/Controls/sectionHeader.obs.d.ts +1 -1
- package/types/Controls/smsMessageEditor.obs.d.ts +20 -2
- package/types/Controls/socialSecurityNumberBox.obs.d.ts +1 -1
- package/types/Controls/stepProgramPicker.obs.d.ts +3 -3
- package/types/Controls/stepStatusPicker.obs.d.ts +3 -3
- package/types/Controls/stepTypePicker.obs.d.ts +3 -3
- package/types/Controls/streakTypePicker.obs.d.ts +3 -3
- package/types/Controls/structuredContentEditor.obs.d.ts +2 -2
- package/types/Controls/switch.obs.d.ts +9 -0
- package/types/Controls/tabbedBar.obs.d.ts +10 -0
- package/types/Controls/textBox.obs.d.ts +2 -2
- package/types/Controls/timePicker.obs.d.ts +2 -2
- package/types/Controls/treeItemPicker.obs.d.ts +2 -2
- package/types/Controls/treeList.obs.d.ts +1 -1
- package/types/Controls/valueFilter.obs.d.ts +1 -1
- package/types/Controls/wordCloud.obs.d.ts +3 -3
- package/types/Controls/workflowBasePicker.obs.d.ts +3 -3
- package/types/Controls/workflowTypePicker.obs.d.ts +2 -2
- package/types/Controls/yearPicker.obs.d.ts +2 -2
- package/types/Core/Reporting/fieldFilter.d.ts +84 -0
- package/types/Enums/Blocks/Communication/CommunicationEntryWizard/pushOpenAction.d.ts +3 -3
- package/types/Enums/Blocks/Communication/CommunicationTemplateDetail/pushOpenAction.d.ts +15 -0
- package/types/Enums/Cms/mediaElementQuality.d.ts +28 -0
- package/types/Enums/Communication/Chat/chatNotificationMode.d.ts +13 -0
- package/types/Enums/Mobile/locationPermissionStatus.d.ts +15 -0
- package/types/Enums/Observability/featureFlags.d.ts +13 -0
- package/types/Enums/Observability/traceLevel.d.ts +24 -0
- package/types/Enums/Security/loginFailureReason.d.ts +2 -2
- package/types/Enums/Workflow/interactiveActionContinueMode.d.ts +33 -0
- package/types/Enums/Workflow/interactiveMessageType.d.ts +33 -0
- package/types/FieldTypes/financialTransactionField.partial.d.ts +7 -0
- package/types/FieldTypes/financialTransactionFieldComponents.d.ts +30 -0
- package/types/FieldTypes/htmlField.partial.d.ts +2 -1
- package/types/FieldTypes/htmlFieldComponents.d.ts +1 -0
- package/types/PageState/state.d.ts +1 -0
- package/types/SystemGuids/fieldType.d.ts +2 -0
- package/types/SystemGuids/group.d.ts +4 -0
- package/types/SystemGuids/groupRole.d.ts +4 -0
- package/types/SystemGuids/groupType.d.ts +2 -0
- package/types/SystemGuids/serviceJob.d.ts +15 -0
- package/types/Templates/detailBlock.d.ts +2 -2
- package/types/Templates/rockBlock.partial.d.ts +4 -4
- package/types/Types/Reporting/fieldFilterAttributeData.d.ts +29 -0
- package/types/Utility/block.d.ts +3 -1
- package/types/Utility/page.d.ts +1 -0
- package/types/Utility/stringUtils.d.ts +17 -0
- package/types/Utility/tooltip.d.ts +6 -0
- package/types/ViewModels/Blocks/Administration/SystemConfiguration/observabilityConfigurationBag.d.ts +7 -2
- package/types/ViewModels/Blocks/CheckIn/CheckInKiosk/webKioskBag.d.ts +6 -0
- package/types/ViewModels/Blocks/CheckIn/CheckInScheduleBuilder/cloneScheduleBag.d.ts +4 -0
- package/types/ViewModels/Blocks/CheckIn/Config/CheckinTypeDetail/checkInGeneralSettingsBag.d.ts +9 -0
- package/types/ViewModels/Blocks/CheckIn/Config/CheckinTypeDetail/checkinTypeDetailOptionsBag.d.ts +3 -0
- package/types/ViewModels/Blocks/Cms/LayoutBlockList/layoutBlockListOptionsBag.d.ts +26 -0
- package/types/ViewModels/Blocks/Cms/MediaAccountDetail/mediaAccountBag.d.ts +3 -0
- package/types/ViewModels/Blocks/Cms/MediaElementDetail/mediaElementBag.d.ts +89 -0
- package/types/ViewModels/Blocks/Cms/MediaElementDetail/mediaElementDetailOptionsBag.d.ts +26 -0
- package/types/ViewModels/Blocks/Cms/MediaElementList/mediaElementListOptionsBag.d.ts +28 -0
- package/types/ViewModels/Blocks/Communication/Chat/ChatView/chatPersonDataBag.d.ts +43 -0
- package/types/ViewModels/Blocks/Communication/Chat/ChatView/chatPersonSettingsBag.d.ts +31 -0
- package/types/ViewModels/Blocks/Communication/Chat/ChatView/chatViewConfigurationBag.d.ts +46 -0
- package/types/ViewModels/Blocks/Communication/Chat/ChatView/chatViewInitializationBox.d.ts +42 -0
- package/types/ViewModels/Blocks/Communication/CommunicationEntry/communicationEntryInitializationBox.d.ts +3 -0
- package/types/ViewModels/Blocks/Communication/CommunicationEntryWizard/communicationEntryWizardCommunicationBag.d.ts +1 -1
- package/types/ViewModels/Blocks/Communication/CommunicationTemplateDetail/communicationTemplateDetailCommunicationTemplateBag.d.ts +117 -0
- package/types/ViewModels/Blocks/Communication/CommunicationTemplateDetail/communicationTemplateDetailGetPreviewMessageRequestBag.d.ts +31 -0
- package/types/ViewModels/Blocks/Communication/CommunicationTemplateDetail/communicationTemplateDetailInitializationBox.d.ts +166 -0
- package/types/ViewModels/Blocks/Communication/SmsConversations/smsConversationsInitializationBox.d.ts +1 -1
- package/types/ViewModels/Blocks/Communication/SmsConversations/smsConversationsSaveNoteBag.d.ts +1 -1
- package/types/ViewModels/Blocks/Core/DeviceDetail/deviceBag.d.ts +3 -0
- package/types/ViewModels/Blocks/Core/DeviceDetail/deviceDetailOptionsBag.d.ts +3 -0
- package/types/ViewModels/Blocks/Core/LocationDetail/locationBag.d.ts +3 -0
- package/types/ViewModels/Blocks/Core/Notes/notesInitializationBox.d.ts +2 -2
- package/types/ViewModels/Blocks/Engagement/StepProgramList/stepProgramListOptionsBag.d.ts +2 -0
- package/types/ViewModels/Blocks/Event/RegistrationEntry/registrantBag.d.ts +3 -0
- package/types/ViewModels/Blocks/Finance/FinancialAccountDetail/financialAccountBag.d.ts +6 -0
- package/types/ViewModels/Blocks/Group/Scheduling/GroupScheduleToolbox/performScheduleRowActionRequestBag.d.ts +4 -0
- package/types/ViewModels/Blocks/{Cms/BlockList/blockListOptionsBag.d.ts → Security/LoginHistory/loginHistoryOptionsBag.d.ts} +2 -2
- package/types/ViewModels/Blocks/Tv/TvPageList/tvPageListOptionsBag.d.ts +3 -0
- package/types/ViewModels/Blocks/Workflow/WorkflowEntry/workflowEntryOptionsBag.d.ts +39 -0
- package/types/ViewModels/Blocks/blockActionContextBag.d.ts +7 -0
- package/types/ViewModels/CheckIn/kioskBag.d.ts +6 -0
- package/types/ViewModels/{Blocks/Core/Notes → Controls}/saveNoteRequestBag.d.ts +2 -2
- package/types/ViewModels/Finance/savedAccountTokenBag.d.ts +3 -0
- package/types/ViewModels/Reporting/chartNumericDataPointBag.d.ts +37 -0
- package/types/ViewModels/Rest/CheckIn/proximityBeaconBag.d.ts +49 -0
- package/types/ViewModels/Rest/CheckIn/proximityCheckInOptionsBag.d.ts +56 -0
- package/types/ViewModels/Rest/Controls/assessmentTypePickerGetAssessmentTypesOptionsBag.d.ts +3 -0
- package/types/ViewModels/Rest/Controls/assetManagerGetFilesResultsBag.d.ts +5 -2
- package/types/ViewModels/Rest/Controls/binaryFilePickerGetBinaryFilesOptionsBag.d.ts +6 -0
- package/types/ViewModels/Rest/Controls/campusAccountAmountPickerGetAccountsResultItemBag.d.ts +0 -7
- package/types/ViewModels/Rest/Controls/emailEditorCreateAttendanceOccurrenceOptionsBag.d.ts +6 -0
- package/types/ViewModels/Rest/Controls/emailEditorDeleteEmailSectionOptionsBag.d.ts +6 -0
- package/types/ViewModels/Rest/Controls/emailEditorEmailSectionBag.d.ts +6 -0
- package/types/ViewModels/Rest/Controls/emailEditorGetAllEmailSectionsOptionsBag.d.ts +31 -0
- package/types/ViewModels/Rest/Controls/emailEditorGetAttendanceOccurrenceOptionsBag.d.ts +6 -0
- package/types/ViewModels/Rest/Controls/emailEditorGetEmailSectionOptionsBag.d.ts +6 -0
- package/types/ViewModels/Rest/Controls/emailEditorGetFutureAttendanceOccurrencesOptionsBag.d.ts +6 -0
- package/types/ViewModels/Rest/Controls/emailEditorRegisterRsvpRecipientsOptionsBag.d.ts +6 -0
- package/types/ViewModels/Rest/Controls/personBasicEditorBag.d.ts +3 -0
- package/types/ViewModels/Rest/Controls/reminderTypePickerGetReminderTypesOptionsBag.d.ts +3 -0
- package/types/ViewModels/Rest/Controls/stepStatusPickerGetStepStatusesOptionsBag.d.ts +3 -0
- package/types/ViewModels/Rest/Controls/stepTypePickerGetStepTypesOptionsBag.d.ts +3 -0
- package/types/ViewModels/Workflow/entryFormButtonBag.d.ts +37 -0
- package/types/ViewModels/Workflow/entryFormFieldBag.d.ts +61 -0
- package/types/ViewModels/Workflow/entryFormSectionBag.d.ts +54 -0
- package/types/ViewModels/Workflow/interactiveActionBag.d.ts +99 -0
- package/types/ViewModels/Workflow/interactiveActionDataBag.d.ts +61 -0
- package/types/ViewModels/Workflow/interactiveActionExceptionBag.d.ts +37 -0
- package/types/ViewModels/Workflow/interactiveMessageBag.d.ts +39 -0
- package/types/ViewModels/Workflow/personEntryConfigurationBag.d.ts +128 -0
- package/types/ViewModels/Workflow/personEntryValuesBag.d.ts +44 -0
- /package/types/Enums/{Blocks/Communication/CommunicationEntryWizard → Communication}/communicationType.d.ts +0 -0
- /package/types/ViewModels/{Blocks/Core/Notes → Controls}/noteBag.d.ts +0 -0
- /package/types/ViewModels/{Blocks/Core/Notes → Controls}/noteEditBag.d.ts +0 -0
- /package/types/ViewModels/{Blocks/Core/Notes → Controls}/noteTypeBag.d.ts +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import { ExpandedNoteBag } from "./types.partial";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
note: {
|
|
5
|
+
type: PropType<ExpandedNoteBag>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
depth: {
|
|
9
|
+
type: PropType<number>;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
delete: (value: ExpandedNoteBag) => void;
|
|
14
|
+
edited: (value: ExpandedNoteBag) => void;
|
|
15
|
+
beginEditNote: () => void;
|
|
16
|
+
endEditNote: () => void;
|
|
17
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
note: {
|
|
19
|
+
type: PropType<ExpandedNoteBag>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
depth: {
|
|
23
|
+
type: PropType<number>;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
}>> & {
|
|
27
|
+
onDelete?: ((value: ExpandedNoteBag) => any) | undefined;
|
|
28
|
+
onEdited?: ((value: ExpandedNoteBag) => any) | undefined;
|
|
29
|
+
onBeginEditNote?: (() => any) | undefined;
|
|
30
|
+
onEndEditNote?: (() => any) | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
depth: number;
|
|
33
|
+
}, {}>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import { NoteEditBag } from "@Obsidian/ViewModels/Controls/noteEditBag";
|
|
3
|
+
import { NoteTypeBag } from "@Obsidian/ViewModels/Controls/noteTypeBag";
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: PropType<NoteEditBag>;
|
|
7
|
+
required: false;
|
|
8
|
+
};
|
|
9
|
+
hideCancel: {
|
|
10
|
+
type: PropType<boolean>;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
noteTypes: {
|
|
14
|
+
type: PropType<NoteTypeBag[]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
avatarUrl: {
|
|
18
|
+
type: PropType<string | null>;
|
|
19
|
+
required: false;
|
|
20
|
+
};
|
|
21
|
+
showAlert: {
|
|
22
|
+
type: PropType<boolean>;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
showDate: {
|
|
26
|
+
type: PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
showPrivate: {
|
|
30
|
+
type: PropType<boolean>;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
showSecurity: {
|
|
34
|
+
type: PropType<boolean>;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
autoSize: {
|
|
38
|
+
type: PropType<boolean>;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
autoFocus: {
|
|
42
|
+
type: PropType<boolean>;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
"update:modelValue": (value: NoteEditBag) => void;
|
|
47
|
+
save: () => void;
|
|
48
|
+
cancel: () => void;
|
|
49
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
modelValue: {
|
|
51
|
+
type: PropType<NoteEditBag>;
|
|
52
|
+
required: false;
|
|
53
|
+
};
|
|
54
|
+
hideCancel: {
|
|
55
|
+
type: PropType<boolean>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
noteTypes: {
|
|
59
|
+
type: PropType<NoteTypeBag[]>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
avatarUrl: {
|
|
63
|
+
type: PropType<string | null>;
|
|
64
|
+
required: false;
|
|
65
|
+
};
|
|
66
|
+
showAlert: {
|
|
67
|
+
type: PropType<boolean>;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
showDate: {
|
|
71
|
+
type: PropType<boolean>;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
showPrivate: {
|
|
75
|
+
type: PropType<boolean>;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
showSecurity: {
|
|
79
|
+
type: PropType<boolean>;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
autoSize: {
|
|
83
|
+
type: PropType<boolean>;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
autoFocus: {
|
|
87
|
+
type: PropType<boolean>;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
}>> & {
|
|
91
|
+
"onUpdate:modelValue"?: ((value: NoteEditBag) => any) | undefined;
|
|
92
|
+
onCancel?: (() => any) | undefined;
|
|
93
|
+
onSave?: (() => any) | undefined;
|
|
94
|
+
}, {
|
|
95
|
+
hideCancel: boolean;
|
|
96
|
+
showAlert: boolean;
|
|
97
|
+
showDate: boolean;
|
|
98
|
+
showPrivate: boolean;
|
|
99
|
+
showSecurity: boolean;
|
|
100
|
+
autoSize: boolean;
|
|
101
|
+
autoFocus: boolean;
|
|
102
|
+
}, {}>;
|
|
103
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import { ExpandedNoteBag } from "./types.partial";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
notes: {
|
|
5
|
+
type: PropType<ExpandedNoteBag[]>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
depth: {
|
|
9
|
+
type: PropType<number>;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
notes: {
|
|
14
|
+
type: PropType<ExpandedNoteBag[]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
depth: {
|
|
18
|
+
type: PropType<number>;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
depth: number;
|
|
23
|
+
}, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Component } from "vue";
|
|
2
|
+
import { NoteBag } from "@Obsidian/ViewModels/Controls/noteBag";
|
|
3
|
+
import { NoteTypeBag } from "@Obsidian/ViewModels/Controls/noteTypeBag";
|
|
4
|
+
import { NoteEditBag } from "@Obsidian/ViewModels/Controls/noteEditBag";
|
|
5
|
+
import { SaveNoteRequestBag } from "@Obsidian/ViewModels/Controls/saveNoteRequestBag";
|
|
6
|
+
/**
|
|
7
|
+
* Expanded note bag that contains some additional details that will be
|
|
8
|
+
* dynamically added to the object at run-time.
|
|
9
|
+
*/
|
|
10
|
+
export type ExpandedNoteBag = NoteBag & {
|
|
11
|
+
/** The note type of this note. */
|
|
12
|
+
noteType: NoteTypeBag;
|
|
13
|
+
/** The ordered child notes of this note. */
|
|
14
|
+
childNotes: ExpandedNoteBag[];
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Options that describe the current configuration of the block. This will be
|
|
18
|
+
* provided to all child UI components.
|
|
19
|
+
*/
|
|
20
|
+
export type NoteOptions = {
|
|
21
|
+
/**
|
|
22
|
+
* We need to provide/inject the note component so that the container can
|
|
23
|
+
* access it without causing a recursive reference when bundling.
|
|
24
|
+
*/
|
|
25
|
+
noteComponent: Component;
|
|
26
|
+
/** The note types that are configured on the block settings. */
|
|
27
|
+
noteTypes: NoteTypeBag[];
|
|
28
|
+
/** The user-selectable note types configured on the block settings. */
|
|
29
|
+
selectableNoteTypes: NoteTypeBag[];
|
|
30
|
+
/** `true` if notes should be displayed in descending order. */
|
|
31
|
+
isDescending: boolean;
|
|
32
|
+
/** `true` if the is alert option should be displayed when editing notes. */
|
|
33
|
+
showAlert: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* `true` if the created date time override should be displayed when
|
|
36
|
+
* editing notes.
|
|
37
|
+
*/
|
|
38
|
+
showCreateDate: boolean;
|
|
39
|
+
/** `true` if the note type panel header should be displayed. */
|
|
40
|
+
showNoteTypeHeading: boolean;
|
|
41
|
+
/** `true` if the private option should be displayed when editing notes. */
|
|
42
|
+
showPrivate: boolean;
|
|
43
|
+
/** `true` if the security button should be displayed when editing notes. */
|
|
44
|
+
showSecurity: boolean;
|
|
45
|
+
/** `true` if adding new notes is available. */
|
|
46
|
+
showAdd: boolean;
|
|
47
|
+
/** `true` if the person avatar should be shown when viewing notes. */
|
|
48
|
+
showAvatar: boolean;
|
|
49
|
+
/** Contains the URL of the current person's avatar. */
|
|
50
|
+
avatarUrl: string | undefined | null;
|
|
51
|
+
/** `true` if the notes block is in light mode. */
|
|
52
|
+
isLightMode: boolean;
|
|
53
|
+
/** `true` if replies should be auto expanded. */
|
|
54
|
+
autoExpandReplies: boolean;
|
|
55
|
+
/** The function to call to begin editing an existing note. */
|
|
56
|
+
editNote?: (idKey: string) => Promise<NoteEditBag> | NoteEditBag;
|
|
57
|
+
/** The function to call to watch or unwatch a note. */
|
|
58
|
+
watchNote?: (idKey: string, watching: boolean) => Promise<void> | void;
|
|
59
|
+
/** The function to call to save a new or edited note. */
|
|
60
|
+
saveNote?: (note: SaveNoteRequestBag) => Promise<NoteBag> | NoteBag;
|
|
61
|
+
/** The function to call to delete a note. */
|
|
62
|
+
deleteNote?: (idKey: string) => Promise<void> | void;
|
|
63
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ComputedRef } from "vue";
|
|
2
|
+
import { ExpandedNoteBag, NoteOptions } from "./types.partial";
|
|
3
|
+
/**
|
|
4
|
+
* Converts an input string to a CSS class name.
|
|
5
|
+
*
|
|
6
|
+
* @param input The text to be converted.
|
|
7
|
+
*
|
|
8
|
+
* @returns A string safe for use as a CSS class.
|
|
9
|
+
*/
|
|
10
|
+
export declare function toCssClass(input: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* Sorts a collection of notes in place. This should only be called if it is
|
|
13
|
+
* likely that the order will change.
|
|
14
|
+
*
|
|
15
|
+
* @param notes The array of notes to be sorted.
|
|
16
|
+
* @param descending `true` if the notes should be sorted in descending order.
|
|
17
|
+
*/
|
|
18
|
+
export declare function sortNotes(notes: ExpandedNoteBag[], descending: boolean): void;
|
|
19
|
+
/**
|
|
20
|
+
* Inserts a new note into the collection in the proper sorted position.
|
|
21
|
+
*
|
|
22
|
+
* @param expandedNote The note to be inserted.
|
|
23
|
+
* @param notes The collection of existing notes.
|
|
24
|
+
* @param descending Whether to treat the list of notes as descending or not.
|
|
25
|
+
*/
|
|
26
|
+
export declare function insertSortedPosition(expandedNote: ExpandedNoteBag, notes: ExpandedNoteBag[], descending: boolean): void;
|
|
27
|
+
/**
|
|
28
|
+
* Makes the note options object available to child components.
|
|
29
|
+
*
|
|
30
|
+
* @param options The options to be provided to child note components.
|
|
31
|
+
*/
|
|
32
|
+
export declare function provideNoteOptions(options: ComputedRef<NoteOptions>): void;
|
|
33
|
+
/**
|
|
34
|
+
* Gets the note options object for this tree of notes or throws an error if
|
|
35
|
+
* it is not available.
|
|
36
|
+
*
|
|
37
|
+
* @returns An instance of {@link NoteOptions}.
|
|
38
|
+
*/
|
|
39
|
+
export declare function useNoteOptions(): ComputedRef<NoteOptions>;
|
|
40
|
+
type NoteEventNames = "beginEdit" | "endEdit";
|
|
41
|
+
/**
|
|
42
|
+
* Creats a new {@link NoteEventEmitter} and provides it to child components.
|
|
43
|
+
*
|
|
44
|
+
* @returns The emitter that was created.
|
|
45
|
+
*/
|
|
46
|
+
export declare function provideEmitter(): NoteEventEmitter;
|
|
47
|
+
/**
|
|
48
|
+
* Uses a previously provided {@link NoteEventEmitter} from the notes component.
|
|
49
|
+
*
|
|
50
|
+
* @returns The emitter.
|
|
51
|
+
*/
|
|
52
|
+
export declare function useEmitter(): NoteEventEmitter;
|
|
53
|
+
/**
|
|
54
|
+
* A special class that handles emitting events related to the notes block.
|
|
55
|
+
*/
|
|
56
|
+
export declare class NoteEventEmitter {
|
|
57
|
+
private readonly events;
|
|
58
|
+
/**
|
|
59
|
+
* Creates a new subscriber that can then subscribe to events.
|
|
60
|
+
*
|
|
61
|
+
* @returns A new subscriber key.
|
|
62
|
+
*/
|
|
63
|
+
subscribe(): string;
|
|
64
|
+
/**
|
|
65
|
+
* Unsubscribes a subscriber from all events.
|
|
66
|
+
*
|
|
67
|
+
* @param subscriberKey The subscriber to be unsubscribed.
|
|
68
|
+
*/
|
|
69
|
+
unsubscribe(subscriberKey: string): void;
|
|
70
|
+
/**
|
|
71
|
+
* Registers a callback for a specific event.
|
|
72
|
+
*
|
|
73
|
+
* @param event The event to be registered to.
|
|
74
|
+
* @param subscriberKey The identifier of the subscriber.
|
|
75
|
+
* @param handler The function to call when the event is fired.
|
|
76
|
+
*/
|
|
77
|
+
on(event: NoteEventNames, subscriberKey: string, handler: () => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* Unregisters a callback for a specific event.
|
|
80
|
+
*
|
|
81
|
+
* @param event The event to be unregistered from.
|
|
82
|
+
* @param subscriberKey The identifier of the subscriber.
|
|
83
|
+
*/
|
|
84
|
+
off(event: NoteEventNames, subscriberKey: string): void;
|
|
85
|
+
/**
|
|
86
|
+
* Emits a single event to all subscribers except the one specified.
|
|
87
|
+
*
|
|
88
|
+
* @param event The event name to be emitted.
|
|
89
|
+
* @param exceptSubscriberKey The identifier of the subscriber that will not receive the event.
|
|
90
|
+
*/
|
|
91
|
+
emit(event: NoteEventNames, exceptSubscriberKey: string): void;
|
|
92
|
+
}
|
|
93
|
+
export {};
|
|
@@ -138,12 +138,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
138
|
}, {
|
|
139
139
|
label: string;
|
|
140
140
|
help: string;
|
|
141
|
+
modelValue: AttributeMatrixEditorPublicItemBag[];
|
|
141
142
|
disableLabel: boolean;
|
|
142
143
|
rules: import("@Obsidian/ValidationRules").ValidationRule | import("@Obsidian/ValidationRules").ValidationRule[];
|
|
143
144
|
formGroupClasses: string;
|
|
144
145
|
validationTitle: string;
|
|
145
146
|
isRequiredIndicatorHidden: boolean;
|
|
146
|
-
modelValue: AttributeMatrixEditorPublicItemBag[];
|
|
147
147
|
defaultAttributeValues: Record<string, string>;
|
|
148
148
|
minRows: number;
|
|
149
149
|
maxRows: number;
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import { NoteEditBag } from "@Obsidian/ViewModels/Controls/noteEditBag";
|
|
3
|
+
import { SaveNoteRequestBag } from "@Obsidian/ViewModels/Controls/saveNoteRequestBag";
|
|
4
|
+
import { NoteBag } from "@Obsidian/ViewModels/Controls/noteBag";
|
|
5
|
+
import { NoteTypeBag } from "@Obsidian/ViewModels/Controls/noteTypeBag";
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
/** The notes to be displayed in the container. */
|
|
8
|
+
notes: {
|
|
9
|
+
type: PropType<NoteBag[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
/** The note types that are valid to display. */
|
|
13
|
+
noteTypes: {
|
|
14
|
+
type: PropType<NoteTypeBag[]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
/** The title of the panel header surrounding the notes. */
|
|
18
|
+
title: {
|
|
19
|
+
type: PropType<string | null | undefined>;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
/** The icon CSS class that will be displayed in the header. */
|
|
23
|
+
titleIconCssClass: {
|
|
24
|
+
type: PropType<string | null | undefined>;
|
|
25
|
+
required: false;
|
|
26
|
+
};
|
|
27
|
+
/** `true` if notes should be displayed in descending order. */
|
|
28
|
+
descending: {
|
|
29
|
+
type: PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* `true` if the is alert option should be displayed when editing
|
|
34
|
+
* notes.
|
|
35
|
+
*/
|
|
36
|
+
showAlert: {
|
|
37
|
+
type: PropType<boolean>;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* `true` if the created date time override should be displayed when
|
|
42
|
+
* editing notes.
|
|
43
|
+
*/
|
|
44
|
+
showCreateDateOverride: {
|
|
45
|
+
type: PropType<boolean>;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
/** `true` if the note type panel header should be displayed. */
|
|
49
|
+
showNoteTypeHeading: {
|
|
50
|
+
type: PropType<boolean>;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* `true` if the private option should be displayed when editing notes.
|
|
55
|
+
*/
|
|
56
|
+
showPrivate: {
|
|
57
|
+
type: PropType<boolean>;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* `true` if the security button should be displayed when editing notes.
|
|
62
|
+
*/
|
|
63
|
+
showSecurity: {
|
|
64
|
+
type: PropType<boolean>;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
/** `true` if adding new notes is available. */
|
|
68
|
+
showAdd: {
|
|
69
|
+
type: PropType<boolean>;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* `true` if the add note editor should always be visible. Otherwise
|
|
74
|
+
* the person will have to click the add button to begin adding a note.
|
|
75
|
+
*/
|
|
76
|
+
alwaysShowAdd: {
|
|
77
|
+
type: PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
/** `true` if the person avatar should be shown when viewing notes. */
|
|
81
|
+
showAvatar: {
|
|
82
|
+
type: PropType<boolean>;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
/** Contains the URL of the current person's avatar. */
|
|
86
|
+
personAvatarUrl: {
|
|
87
|
+
type: PropType<string | null | undefined>;
|
|
88
|
+
required: false;
|
|
89
|
+
};
|
|
90
|
+
/** `true` if the notes container is rendered in lightweight mode. */
|
|
91
|
+
lightMode: {
|
|
92
|
+
type: PropType<boolean>;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
/** `true` if replies should be auto expanded. */
|
|
96
|
+
autoExpandReplies: {
|
|
97
|
+
type: PropType<boolean>;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
/** The function to call to begin editing an existing note. */
|
|
101
|
+
onEditNote: {
|
|
102
|
+
type: PropType<(idKey: string) => NoteEditBag | Promise<NoteEditBag>>;
|
|
103
|
+
required: false;
|
|
104
|
+
};
|
|
105
|
+
/** The function to call to watch or unwatch a note. */
|
|
106
|
+
onWatchNote: {
|
|
107
|
+
type: PropType<(idKey: string, watching: boolean) => void | Promise<void>>;
|
|
108
|
+
required: false;
|
|
109
|
+
};
|
|
110
|
+
/** The function to call to save a new or edited note. */
|
|
111
|
+
onSaveNote: {
|
|
112
|
+
type: PropType<(note: SaveNoteRequestBag) => NoteBag | Promise<NoteBag>>;
|
|
113
|
+
required: false;
|
|
114
|
+
};
|
|
115
|
+
/** The function to call to delete an existing note. */
|
|
116
|
+
onDeleteNote: {
|
|
117
|
+
type: PropType<(idKey: string) => void | Promise<void>>;
|
|
118
|
+
required: false;
|
|
119
|
+
};
|
|
120
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
+
/** The notes to be displayed in the container. */
|
|
122
|
+
notes: {
|
|
123
|
+
type: PropType<NoteBag[]>;
|
|
124
|
+
required: true;
|
|
125
|
+
};
|
|
126
|
+
/** The note types that are valid to display. */
|
|
127
|
+
noteTypes: {
|
|
128
|
+
type: PropType<NoteTypeBag[]>;
|
|
129
|
+
required: true;
|
|
130
|
+
};
|
|
131
|
+
/** The title of the panel header surrounding the notes. */
|
|
132
|
+
title: {
|
|
133
|
+
type: PropType<string | null | undefined>;
|
|
134
|
+
required: false;
|
|
135
|
+
};
|
|
136
|
+
/** The icon CSS class that will be displayed in the header. */
|
|
137
|
+
titleIconCssClass: {
|
|
138
|
+
type: PropType<string | null | undefined>;
|
|
139
|
+
required: false;
|
|
140
|
+
};
|
|
141
|
+
/** `true` if notes should be displayed in descending order. */
|
|
142
|
+
descending: {
|
|
143
|
+
type: PropType<boolean>;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* `true` if the is alert option should be displayed when editing
|
|
148
|
+
* notes.
|
|
149
|
+
*/
|
|
150
|
+
showAlert: {
|
|
151
|
+
type: PropType<boolean>;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* `true` if the created date time override should be displayed when
|
|
156
|
+
* editing notes.
|
|
157
|
+
*/
|
|
158
|
+
showCreateDateOverride: {
|
|
159
|
+
type: PropType<boolean>;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
/** `true` if the note type panel header should be displayed. */
|
|
163
|
+
showNoteTypeHeading: {
|
|
164
|
+
type: PropType<boolean>;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* `true` if the private option should be displayed when editing notes.
|
|
169
|
+
*/
|
|
170
|
+
showPrivate: {
|
|
171
|
+
type: PropType<boolean>;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* `true` if the security button should be displayed when editing notes.
|
|
176
|
+
*/
|
|
177
|
+
showSecurity: {
|
|
178
|
+
type: PropType<boolean>;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
/** `true` if adding new notes is available. */
|
|
182
|
+
showAdd: {
|
|
183
|
+
type: PropType<boolean>;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* `true` if the add note editor should always be visible. Otherwise
|
|
188
|
+
* the person will have to click the add button to begin adding a note.
|
|
189
|
+
*/
|
|
190
|
+
alwaysShowAdd: {
|
|
191
|
+
type: PropType<boolean>;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
/** `true` if the person avatar should be shown when viewing notes. */
|
|
195
|
+
showAvatar: {
|
|
196
|
+
type: PropType<boolean>;
|
|
197
|
+
default: boolean;
|
|
198
|
+
};
|
|
199
|
+
/** Contains the URL of the current person's avatar. */
|
|
200
|
+
personAvatarUrl: {
|
|
201
|
+
type: PropType<string | null | undefined>;
|
|
202
|
+
required: false;
|
|
203
|
+
};
|
|
204
|
+
/** `true` if the notes container is rendered in lightweight mode. */
|
|
205
|
+
lightMode: {
|
|
206
|
+
type: PropType<boolean>;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
/** `true` if replies should be auto expanded. */
|
|
210
|
+
autoExpandReplies: {
|
|
211
|
+
type: PropType<boolean>;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
/** The function to call to begin editing an existing note. */
|
|
215
|
+
onEditNote: {
|
|
216
|
+
type: PropType<(idKey: string) => NoteEditBag | Promise<NoteEditBag>>;
|
|
217
|
+
required: false;
|
|
218
|
+
};
|
|
219
|
+
/** The function to call to watch or unwatch a note. */
|
|
220
|
+
onWatchNote: {
|
|
221
|
+
type: PropType<(idKey: string, watching: boolean) => void | Promise<void>>;
|
|
222
|
+
required: false;
|
|
223
|
+
};
|
|
224
|
+
/** The function to call to save a new or edited note. */
|
|
225
|
+
onSaveNote: {
|
|
226
|
+
type: PropType<(note: SaveNoteRequestBag) => NoteBag | Promise<NoteBag>>;
|
|
227
|
+
required: false;
|
|
228
|
+
};
|
|
229
|
+
/** The function to call to delete an existing note. */
|
|
230
|
+
onDeleteNote: {
|
|
231
|
+
type: PropType<(idKey: string) => void | Promise<void>>;
|
|
232
|
+
required: false;
|
|
233
|
+
};
|
|
234
|
+
}>>, {
|
|
235
|
+
showAlert: boolean;
|
|
236
|
+
showPrivate: boolean;
|
|
237
|
+
showSecurity: boolean;
|
|
238
|
+
descending: boolean;
|
|
239
|
+
showCreateDateOverride: boolean;
|
|
240
|
+
showNoteTypeHeading: boolean;
|
|
241
|
+
showAdd: boolean;
|
|
242
|
+
alwaysShowAdd: boolean;
|
|
243
|
+
showAvatar: boolean;
|
|
244
|
+
lightMode: boolean;
|
|
245
|
+
autoExpandReplies: boolean;
|
|
246
|
+
}, {}>;
|
|
247
|
+
export default _default;
|
|
@@ -110,8 +110,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
110
|
"onTreeitem-expanded"?: ((value: TreeItemBag) => any) | undefined;
|
|
111
111
|
"onTreeitem-collapsed"?: ((value: TreeItemBag) => any) | undefined;
|
|
112
112
|
}, {
|
|
113
|
-
multiple: boolean;
|
|
114
113
|
modelValue: string[];
|
|
114
|
+
multiple: boolean;
|
|
115
115
|
item: TreeItemBag;
|
|
116
116
|
disableFolderSelection: boolean;
|
|
117
117
|
initiallyExpanded: string[];
|
|
@@ -133,8 +133,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
133
133
|
isPrevented: boolean;
|
|
134
134
|
}) => any) | undefined;
|
|
135
135
|
}, {
|
|
136
|
-
disabled: boolean;
|
|
137
136
|
isShown: boolean;
|
|
137
|
+
disabled: boolean;
|
|
138
138
|
editorHeight: number;
|
|
139
139
|
mergeFields: string[] | undefined;
|
|
140
140
|
startInCodeEditorMode: boolean;
|
|
@@ -51,6 +51,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
type: PropType<string[] | undefined>;
|
|
52
52
|
required: false;
|
|
53
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* A list of common merge field to show below the picker for easy access. Should be an array of strings
|
|
56
|
+
* and the strings should be in the following format: "FieldName^Label|Icon", where the FieldName is the
|
|
57
|
+
* name of the merge field, Label is the text to display on the button, and Icon is the CSS class for icon.
|
|
58
|
+
*/
|
|
59
|
+
commonMergeFields: {
|
|
60
|
+
type: PropType<string[] | undefined>;
|
|
61
|
+
required: false;
|
|
62
|
+
};
|
|
54
63
|
isIconHidden: {
|
|
55
64
|
type: PropType<boolean>;
|
|
56
65
|
default: boolean;
|
|
@@ -70,6 +79,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
79
|
type: PropType<string[] | undefined>;
|
|
71
80
|
required: false;
|
|
72
81
|
};
|
|
82
|
+
/**
|
|
83
|
+
* A list of common merge field to show below the picker for easy access. Should be an array of strings
|
|
84
|
+
* and the strings should be in the following format: "FieldName^Label|Icon", where the FieldName is the
|
|
85
|
+
* name of the merge field, Label is the text to display on the button, and Icon is the CSS class for icon.
|
|
86
|
+
*/
|
|
87
|
+
commonMergeFields: {
|
|
88
|
+
type: PropType<string[] | undefined>;
|
|
89
|
+
required: false;
|
|
90
|
+
};
|
|
73
91
|
isIconHidden: {
|
|
74
92
|
type: PropType<boolean>;
|
|
75
93
|
default: boolean;
|
|
@@ -107,16 +107,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
107
107
|
}, {
|
|
108
108
|
label: string;
|
|
109
109
|
help: string;
|
|
110
|
-
multiple: boolean;
|
|
111
110
|
disableLabel: boolean;
|
|
112
111
|
rules: import("@Obsidian/ValidationRules").ValidationRule | import("@Obsidian/ValidationRules").ValidationRule[];
|
|
113
112
|
formGroupClasses: string;
|
|
114
113
|
validationTitle: string;
|
|
115
114
|
isRequiredIndicatorHidden: boolean;
|
|
116
|
-
|
|
115
|
+
multiple: boolean;
|
|
117
116
|
displayPublicName: boolean;
|
|
118
117
|
activeOnly: boolean;
|
|
119
118
|
displayChildItemCountLabel: boolean;
|
|
119
|
+
enhanceForLongLists: boolean;
|
|
120
120
|
}, {}>, {
|
|
121
121
|
pickerContentSuperHeader?(_: {}): any;
|
|
122
122
|
prepend?(_: {
|
|
@@ -123,17 +123,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
123
123
|
}, {
|
|
124
124
|
label: string;
|
|
125
125
|
help: string;
|
|
126
|
-
columnCount: number;
|
|
127
|
-
multiple: boolean;
|
|
128
126
|
disableLabel: boolean;
|
|
129
127
|
rules: import("@Obsidian/ValidationRules").ValidationRule | import("@Obsidian/ValidationRules").ValidationRule[];
|
|
130
128
|
formGroupClasses: string;
|
|
131
129
|
validationTitle: string;
|
|
132
130
|
isRequiredIndicatorHidden: boolean;
|
|
131
|
+
multiple: boolean;
|
|
133
132
|
enhanceForLongLists: boolean;
|
|
134
|
-
lazyMode: import("@Obsidian/Enums/Controls/controlLazyMode").ControlLazyMode;
|
|
135
133
|
showBlankItem: boolean;
|
|
136
134
|
blankValue: string;
|
|
135
|
+
lazyMode: import("@Obsidian/Enums/Controls/controlLazyMode").ControlLazyMode;
|
|
137
136
|
displayStyle: import("@Obsidian/Enums/Controls/pickerDisplayStyle").PickerDisplayStyle;
|
|
137
|
+
columnCount: number;
|
|
138
138
|
}, {}>;
|
|
139
139
|
export default _default;
|