@nextcloud/vue 8.0.0-beta.7 → 8.0.0-beta.9
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/CHANGELOG.md +36 -0
- package/dist/Components/NcActionButton.cjs +49 -1
- package/dist/Components/NcActionButton.cjs.map +1 -1
- package/dist/Components/NcActionButton.mjs +49 -13
- package/dist/Components/NcActionButton.mjs.map +1 -1
- package/dist/Components/NcActionButtonGroup.cjs +30 -1
- package/dist/Components/NcActionButtonGroup.cjs.map +1 -1
- package/dist/Components/NcActionButtonGroup.mjs +30 -9
- package/dist/Components/NcActionButtonGroup.mjs.map +1 -1
- package/dist/Components/NcActionCaption.cjs +29 -1
- package/dist/Components/NcActionCaption.cjs.map +1 -1
- package/dist/Components/NcActionCaption.mjs +29 -9
- package/dist/Components/NcActionCaption.mjs.map +1 -1
- package/dist/Components/NcActionCheckbox.cjs +78 -1
- package/dist/Components/NcActionCheckbox.cjs.map +1 -1
- package/dist/Components/NcActionCheckbox.mjs +80 -19
- package/dist/Components/NcActionCheckbox.mjs.map +1 -1
- package/dist/Components/NcActionInput.cjs +231 -1
- package/dist/Components/NcActionInput.cjs.map +1 -1
- package/dist/Components/NcActionInput.mjs +235 -70
- package/dist/Components/NcActionInput.mjs.map +1 -1
- package/dist/Components/NcActionLink.cjs +69 -1
- package/dist/Components/NcActionLink.cjs.map +1 -1
- package/dist/Components/NcActionLink.mjs +66 -14
- package/dist/Components/NcActionLink.mjs.map +1 -1
- package/dist/Components/NcActionRadio.cjs +85 -1
- package/dist/Components/NcActionRadio.cjs.map +1 -1
- package/dist/Components/NcActionRadio.mjs +87 -19
- package/dist/Components/NcActionRadio.mjs.map +1 -1
- package/dist/Components/NcActionRouter.cjs +42 -1
- package/dist/Components/NcActionRouter.cjs.map +1 -1
- package/dist/Components/NcActionRouter.mjs +41 -12
- package/dist/Components/NcActionRouter.mjs.map +1 -1
- package/dist/Components/NcActionSeparator.cjs +20 -1
- package/dist/Components/NcActionSeparator.cjs.map +1 -1
- package/dist/Components/NcActionSeparator.mjs +20 -9
- package/dist/Components/NcActionSeparator.mjs.map +1 -1
- package/dist/Components/NcActionText.cjs +23 -1
- package/dist/Components/NcActionText.cjs.map +1 -1
- package/dist/Components/NcActionText.mjs +21 -9
- package/dist/Components/NcActionText.mjs.map +1 -1
- package/dist/Components/NcActionTextEditable.cjs +81 -1
- package/dist/Components/NcActionTextEditable.cjs.map +1 -1
- package/dist/Components/NcActionTextEditable.mjs +79 -22
- package/dist/Components/NcActionTextEditable.mjs.map +1 -1
- package/dist/Components/NcActions.cjs +459 -1
- package/dist/Components/NcActions.cjs.map +1 -1
- package/dist/Components/NcActions.mjs +463 -100
- package/dist/Components/NcActions.mjs.map +1 -1
- package/dist/Components/NcAppContent.cjs +218 -1
- package/dist/Components/NcAppContent.cjs.map +1 -1
- package/dist/Components/NcAppContent.mjs +220 -66
- package/dist/Components/NcAppContent.mjs.map +1 -1
- package/dist/Components/NcAppContentDetails.cjs +19 -1
- package/dist/Components/NcAppContentDetails.cjs.map +1 -1
- package/dist/Components/NcAppContentDetails.mjs +18 -7
- package/dist/Components/NcAppContentDetails.mjs.map +1 -1
- package/dist/Components/NcAppContentList.cjs +29 -1
- package/dist/Components/NcAppContentList.cjs.map +1 -1
- package/dist/Components/NcAppContentList.mjs +29 -8
- package/dist/Components/NcAppContentList.mjs.map +1 -1
- package/dist/Components/NcAppNavigation.cjs +66 -1
- package/dist/Components/NcAppNavigation.cjs.map +1 -1
- package/dist/Components/NcAppNavigation.mjs +67 -28
- package/dist/Components/NcAppNavigation.mjs.map +1 -1
- package/dist/Components/NcAppNavigationCaption.cjs +44 -1
- package/dist/Components/NcAppNavigationCaption.cjs.map +1 -1
- package/dist/Components/NcAppNavigationCaption.mjs +40 -9
- package/dist/Components/NcAppNavigationCaption.mjs.map +1 -1
- package/dist/Components/NcAppNavigationIconBullet.cjs +40 -1
- package/dist/Components/NcAppNavigationIconBullet.cjs.map +1 -1
- package/dist/Components/NcAppNavigationIconBullet.mjs +40 -15
- package/dist/Components/NcAppNavigationIconBullet.mjs.map +1 -1
- package/dist/Components/NcAppNavigationItem.cjs +386 -1
- package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
- package/dist/Components/NcAppNavigationItem.mjs +382 -81
- package/dist/Components/NcAppNavigationItem.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNew.cjs +50 -1
- package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
- package/dist/Components/NcAppNavigationNew.mjs +51 -14
- package/dist/Components/NcAppNavigationNew.mjs.map +1 -1
- package/dist/Components/NcAppNavigationNewItem.cjs +87 -1
- package/dist/Components/NcAppNavigationNewItem.cjs.map +1 -1
- package/dist/Components/NcAppNavigationNewItem.mjs +83 -17
- package/dist/Components/NcAppNavigationNewItem.mjs.map +1 -1
- package/dist/Components/NcAppNavigationSettings.cjs +69 -1
- package/dist/Components/NcAppNavigationSettings.cjs.map +1 -1
- package/dist/Components/NcAppNavigationSettings.mjs +60 -21
- package/dist/Components/NcAppNavigationSettings.mjs.map +1 -1
- package/dist/Components/NcAppNavigationSpacer.cjs +20 -1
- package/dist/Components/NcAppNavigationSpacer.cjs.map +1 -1
- package/dist/Components/NcAppNavigationSpacer.mjs +20 -9
- package/dist/Components/NcAppNavigationSpacer.mjs.map +1 -1
- package/dist/Components/NcAppNavigationToggle.cjs +25 -1
- package/dist/Components/NcAppNavigationToggle.cjs.map +1 -1
- package/dist/Components/NcAppNavigationToggle.mjs +21 -1
- package/dist/Components/NcAppNavigationToggle.mjs.map +1 -1
- package/dist/Components/NcAppSettingsDialog.cjs +156 -1
- package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
- package/dist/Components/NcAppSettingsDialog.mjs +160 -50
- package/dist/Components/NcAppSettingsDialog.mjs.map +1 -1
- package/dist/Components/NcAppSettingsSection.cjs +39 -1
- package/dist/Components/NcAppSettingsSection.cjs.map +1 -1
- package/dist/Components/NcAppSettingsSection.mjs +39 -13
- package/dist/Components/NcAppSettingsSection.mjs.map +1 -1
- package/dist/Components/NcAppSidebar.cjs +443 -1
- package/dist/Components/NcAppSidebar.cjs.map +1 -1
- package/dist/Components/NcAppSidebar.mjs +409 -92
- package/dist/Components/NcAppSidebar.mjs.map +1 -1
- package/dist/Components/NcAppSidebarTab.cjs +83 -1
- package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
- package/dist/Components/NcAppSidebarTab.mjs +83 -20
- package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
- package/dist/Components/NcAvatar.cjs +3 -1
- package/dist/Components/NcAvatar.cjs.map +1 -1
- package/dist/Components/NcAvatar.mjs +1 -1
- package/dist/Components/NcBreadcrumb.cjs +175 -1
- package/dist/Components/NcBreadcrumb.cjs.map +1 -1
- package/dist/Components/NcBreadcrumb.mjs +175 -35
- package/dist/Components/NcBreadcrumb.mjs.map +1 -1
- package/dist/Components/NcBreadcrumbs.cjs +372 -1
- package/dist/Components/NcBreadcrumbs.cjs.map +1 -1
- package/dist/Components/NcBreadcrumbs.mjs +373 -142
- package/dist/Components/NcBreadcrumbs.mjs.map +1 -1
- package/dist/Components/NcButton.cjs +226 -1
- package/dist/Components/NcButton.cjs.map +1 -1
- package/dist/Components/NcButton.mjs +226 -24
- package/dist/Components/NcButton.mjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +352 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.mjs +360 -59
- package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
- package/dist/Components/NcColorPicker.cjs +118 -1
- package/dist/Components/NcColorPicker.cjs.map +1 -1
- package/dist/Components/NcColorPicker.mjs +124 -46
- package/dist/Components/NcColorPicker.mjs.map +1 -1
- package/dist/Components/NcContent.cjs +25 -1
- package/dist/Components/NcContent.cjs.map +1 -1
- package/dist/Components/NcContent.mjs +24 -8
- package/dist/Components/NcContent.mjs.map +1 -1
- package/dist/Components/NcCounterBubble.cjs +47 -1
- package/dist/Components/NcCounterBubble.cjs.map +1 -1
- package/dist/Components/NcCounterBubble.mjs +46 -12
- package/dist/Components/NcCounterBubble.mjs.map +1 -1
- package/dist/Components/NcDashboardWidget.cjs +133 -1
- package/dist/Components/NcDashboardWidget.cjs.map +1 -1
- package/dist/Components/NcDashboardWidget.mjs +128 -39
- package/dist/Components/NcDashboardWidget.mjs.map +1 -1
- package/dist/Components/NcDashboardWidgetItem.cjs +138 -1
- package/dist/Components/NcDashboardWidgetItem.cjs.map +1 -1
- package/dist/Components/NcDashboardWidgetItem.mjs +130 -23
- package/dist/Components/NcDashboardWidgetItem.mjs.map +1 -1
- package/dist/Components/NcDateTime.cjs +125 -1
- package/dist/Components/NcDateTime.cjs.map +1 -1
- package/dist/Components/NcDateTime.mjs +126 -41
- package/dist/Components/NcDateTime.mjs.map +1 -1
- package/dist/Components/NcDateTimePicker.cjs +217 -1
- package/dist/Components/NcDateTimePicker.cjs.map +1 -1
- package/dist/Components/NcDateTimePicker.mjs +212 -53
- package/dist/Components/NcDateTimePicker.mjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.cjs +199 -1
- package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +195 -58
- package/dist/Components/NcDateTimePickerNative.mjs.map +1 -1
- package/dist/Components/NcDialog.cjs +171 -0
- package/dist/Components/NcDialog.cjs.map +1 -0
- package/dist/Components/NcDialog.mjs +177 -0
- package/dist/Components/NcDialog.mjs.map +1 -0
- package/dist/Components/NcDialogButton.cjs +69 -0
- package/dist/Components/NcDialogButton.cjs.map +1 -0
- package/dist/Components/NcDialogButton.mjs +74 -0
- package/dist/Components/NcDialogButton.mjs.map +1 -0
- package/dist/Components/NcEllipsisedOption.cjs +74 -1
- package/dist/Components/NcEllipsisedOption.cjs.map +1 -1
- package/dist/Components/NcEllipsisedOption.mjs +73 -20
- package/dist/Components/NcEllipsisedOption.mjs.map +1 -1
- package/dist/Components/NcEmojiPicker.cjs +175 -1
- package/dist/Components/NcEmojiPicker.cjs.map +1 -1
- package/dist/Components/NcEmojiPicker.mjs +172 -52
- package/dist/Components/NcEmojiPicker.mjs.map +1 -1
- package/dist/Components/NcEmptyContent.cjs +54 -1
- package/dist/Components/NcEmptyContent.cjs.map +1 -1
- package/dist/Components/NcEmptyContent.mjs +46 -10
- package/dist/Components/NcEmptyContent.mjs.map +1 -1
- package/dist/Components/NcGuestContent.cjs +26 -1
- package/dist/Components/NcGuestContent.cjs.map +1 -1
- package/dist/Components/NcGuestContent.mjs +24 -11
- package/dist/Components/NcGuestContent.mjs.map +1 -1
- package/dist/Components/NcHeaderMenu.cjs +167 -1
- package/dist/Components/NcHeaderMenu.cjs.map +1 -1
- package/dist/Components/NcHeaderMenu.mjs +161 -49
- package/dist/Components/NcHeaderMenu.mjs.map +1 -1
- package/dist/Components/NcHighlight.cjs +3 -1
- package/dist/Components/NcHighlight.cjs.map +1 -1
- package/dist/Components/NcHighlight.mjs +1 -1
- package/dist/Components/NcIconSvgWrapper.cjs +59 -1
- package/dist/Components/NcIconSvgWrapper.cjs.map +1 -1
- package/dist/Components/NcIconSvgWrapper.mjs +60 -12
- package/dist/Components/NcIconSvgWrapper.mjs.map +1 -1
- package/dist/Components/NcInputField.cjs +210 -1
- package/dist/Components/NcInputField.cjs.map +1 -1
- package/dist/Components/NcInputField.mjs +211 -38
- package/dist/Components/NcInputField.mjs.map +1 -1
- package/dist/Components/NcListItem.cjs +237 -1
- package/dist/Components/NcListItem.cjs.map +1 -1
- package/dist/Components/NcListItem.mjs +233 -57
- package/dist/Components/NcListItem.mjs.map +1 -1
- package/dist/Components/NcListItemIcon.cjs +158 -1
- package/dist/Components/NcListItemIcon.cjs.map +1 -1
- package/dist/Components/NcListItemIcon.mjs +154 -30
- package/dist/Components/NcListItemIcon.mjs.map +1 -1
- package/dist/Components/NcLoadingIcon.cjs +54 -1
- package/dist/Components/NcLoadingIcon.cjs.map +1 -1
- package/dist/Components/NcLoadingIcon.mjs +54 -14
- package/dist/Components/NcLoadingIcon.mjs.map +1 -1
- package/dist/Components/NcModal.cjs +403 -1
- package/dist/Components/NcModal.cjs.map +1 -1
- package/dist/Components/NcModal.mjs +392 -96
- package/dist/Components/NcModal.mjs.map +1 -1
- package/dist/Components/NcNoteCard.cjs +71 -1
- package/dist/Components/NcNoteCard.cjs.map +1 -1
- package/dist/Components/NcNoteCard.mjs +72 -38
- package/dist/Components/NcNoteCard.mjs.map +1 -1
- package/dist/Components/NcPasswordField.cjs +163 -1
- package/dist/Components/NcPasswordField.cjs.map +1 -1
- package/dist/Components/NcPasswordField.mjs +169 -54
- package/dist/Components/NcPasswordField.mjs.map +1 -1
- package/dist/Components/NcPopover.cjs +125 -1
- package/dist/Components/NcPopover.cjs.map +1 -1
- package/dist/Components/NcPopover.mjs +124 -41
- package/dist/Components/NcPopover.mjs.map +1 -1
- package/dist/Components/NcProgressBar.cjs +57 -1
- package/dist/Components/NcProgressBar.cjs.map +1 -1
- package/dist/Components/NcProgressBar.mjs +57 -15
- package/dist/Components/NcProgressBar.mjs.map +1 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs +184 -1
- package/dist/Components/NcRelatedResourcesPanel.cjs.map +1 -1
- package/dist/Components/NcRelatedResourcesPanel.mjs +183 -61
- package/dist/Components/NcRelatedResourcesPanel.mjs.map +1 -1
- package/dist/Components/NcRichContenteditable.cjs +478 -1
- package/dist/Components/NcRichContenteditable.cjs.map +1 -1
- package/dist/Components/NcRichContenteditable.mjs +447 -127
- package/dist/Components/NcRichContenteditable.mjs.map +1 -1
- package/dist/Components/NcRichText.cjs +44 -1
- package/dist/Components/NcRichText.cjs.map +1 -1
- package/dist/Components/NcRichText.mjs +25 -4
- package/dist/Components/NcRichText.mjs.map +1 -1
- package/dist/Components/NcSavingIndicatorIcon.cjs +59 -1
- package/dist/Components/NcSavingIndicatorIcon.cjs.map +1 -1
- package/dist/Components/NcSavingIndicatorIcon.mjs +56 -9
- package/dist/Components/NcSavingIndicatorIcon.mjs.map +1 -1
- package/dist/Components/NcSelect.cjs +411 -1
- package/dist/Components/NcSelect.cjs.map +1 -1
- package/dist/Components/NcSelect.mjs +405 -47
- package/dist/Components/NcSelect.mjs.map +1 -1
- package/dist/Components/NcSelectTags.cjs +251 -2
- package/dist/Components/NcSelectTags.cjs.map +1 -1
- package/dist/Components/NcSelectTags.mjs +236 -73
- package/dist/Components/NcSelectTags.mjs.map +1 -1
- package/dist/Components/NcSettingsInputText.cjs +90 -1
- package/dist/Components/NcSettingsInputText.cjs.map +1 -1
- package/dist/Components/NcSettingsInputText.mjs +88 -19
- package/dist/Components/NcSettingsInputText.mjs.map +1 -1
- package/dist/Components/NcSettingsSection.cjs +62 -1
- package/dist/Components/NcSettingsSection.cjs.map +1 -1
- package/dist/Components/NcSettingsSection.mjs +62 -15
- package/dist/Components/NcSettingsSection.mjs.map +1 -1
- package/dist/Components/NcSettingsSelectGroup.cjs +26 -1
- package/dist/Components/NcSettingsSelectGroup.cjs.map +1 -1
- package/dist/Components/NcSettingsSelectGroup.mjs +22 -1
- package/dist/Components/NcSettingsSelectGroup.mjs.map +1 -1
- package/dist/Components/NcTextArea.cjs +167 -0
- package/dist/Components/NcTextArea.cjs.map +1 -0
- package/dist/Components/NcTextArea.mjs +172 -0
- package/dist/Components/NcTextArea.mjs.map +1 -0
- package/dist/Components/NcTextField.cjs +98 -1
- package/dist/Components/NcTextField.cjs.map +1 -1
- package/dist/Components/NcTextField.mjs +102 -22
- package/dist/Components/NcTextField.mjs.map +1 -1
- package/dist/Components/NcTimezonePicker.cjs +4387 -614
- package/dist/Components/NcTimezonePicker.cjs.map +1 -1
- package/dist/Components/NcTimezonePicker.mjs +4372 -663
- package/dist/Components/NcTimezonePicker.mjs.map +1 -1
- package/dist/Components/NcUserBubble.cjs +189 -1
- package/dist/Components/NcUserBubble.cjs.map +1 -1
- package/dist/Components/NcUserBubble.mjs +190 -47
- package/dist/Components/NcUserBubble.mjs.map +1 -1
- package/dist/Components/NcVNodes.cjs +35 -1
- package/dist/Components/NcVNodes.cjs.map +1 -1
- package/dist/Components/NcVNodes.mjs +35 -8
- package/dist/Components/NcVNodes.mjs.map +1 -1
- package/dist/Directives/Focus.cjs +30 -1
- package/dist/Directives/Focus.cjs.map +1 -1
- package/dist/Directives/Focus.mjs +28 -5
- package/dist/Directives/Focus.mjs.map +1 -1
- package/dist/Directives/Linkify.cjs +8 -1
- package/dist/Directives/Linkify.cjs.map +1 -1
- package/dist/Directives/Linkify.mjs +6 -6
- package/dist/Directives/Linkify.mjs.map +1 -1
- package/dist/Directives/Tooltip.cjs +37 -1
- package/dist/Directives/Tooltip.cjs.map +1 -1
- package/dist/Directives/Tooltip.mjs +29 -4
- package/dist/Directives/Tooltip.mjs.map +1 -1
- package/dist/Functions/emoji.cjs +36 -1
- package/dist/Functions/emoji.cjs.map +1 -1
- package/dist/Functions/emoji.mjs +32 -11
- package/dist/Functions/emoji.mjs.map +1 -1
- package/dist/Functions/usernameToColor.cjs +39 -1
- package/dist/Functions/usernameToColor.cjs.map +1 -1
- package/dist/Functions/usernameToColor.mjs +32 -11
- package/dist/Functions/usernameToColor.mjs.map +1 -1
- package/dist/Mixins/clickOutsideOptions.cjs +40 -1
- package/dist/Mixins/clickOutsideOptions.cjs.map +1 -1
- package/dist/Mixins/clickOutsideOptions.mjs +39 -4
- package/dist/Mixins/clickOutsideOptions.mjs.map +1 -1
- package/dist/Mixins/isFullscreen.cjs +44 -1
- package/dist/Mixins/isFullscreen.cjs.map +1 -1
- package/dist/Mixins/isFullscreen.mjs +42 -11
- package/dist/Mixins/isFullscreen.mjs.map +1 -1
- package/dist/Mixins/isMobile.cjs +87 -1
- package/dist/Mixins/isMobile.cjs.map +1 -1
- package/dist/Mixins/isMobile.mjs +86 -11
- package/dist/Mixins/isMobile.mjs.map +1 -1
- package/dist/Mixins/richEditor.cjs +10 -1
- package/dist/Mixins/richEditor.cjs.map +1 -1
- package/dist/Mixins/richEditor.mjs +2 -2
- package/dist/assets/NcAppNavigationToggle-2cc5b864.css +35 -0
- package/dist/assets/NcInputConfirmCancel-2ba60a52.css +51 -0
- package/dist/assets/NcMentionBubble-6e887c5f.css +81 -0
- package/dist/assets/{index-23405a74.css → NcSettingsSelectGroup-0d38d76b.css} +15 -2
- package/dist/assets/index-0adc989c.css +96 -0
- package/dist/assets/index-1151d229.css +41 -0
- package/dist/assets/index-1beccc92.css +140 -0
- package/dist/assets/index-236620b0.css +150 -0
- package/dist/assets/{index-823ec431.css → index-24f6c355.css} +67 -3
- package/dist/assets/index-2a8e4ca1.css +540 -0
- package/dist/assets/{index-29421a2e.css → index-2d4de2fc.css} +19 -2
- package/dist/assets/{NcSettingsSelectGroup-e88cbf1a.css → index-30e099f7.css} +17 -2
- package/dist/assets/index-34dfc54e.css +88 -0
- package/dist/assets/index-3764a447.css +99 -0
- package/dist/assets/index-400b48a6.css +60 -0
- package/dist/assets/{index-1d28ce70.css → index-441b6552.css} +25 -2
- package/dist/assets/{NcInputConfirmCancel-c1d05dd9.css → index-4611417f.css} +31 -2
- package/dist/assets/index-4a775ba1.css +204 -0
- package/dist/assets/index-4b75fe20.css +79 -0
- package/dist/assets/index-4ebacc78.css +107 -0
- package/dist/assets/index-4ef32afd.css +128 -0
- package/dist/assets/index-50b0766d.css +202 -0
- package/dist/assets/index-574438d6.css +884 -0
- package/dist/assets/index-57b305d3.css +44 -0
- package/dist/assets/index-5ee8a575.css +295 -0
- package/dist/assets/index-5fa0ac5a.css +46 -0
- package/dist/assets/index-61b63a8f.css +57 -0
- package/dist/assets/index-6416f636.css +83 -0
- package/dist/assets/index-6c47e88a.css +46 -0
- package/dist/assets/index-6f721577.css +80 -0
- package/dist/assets/index-73867d38.css +133 -0
- package/dist/assets/index-76a58945.css +68 -0
- package/dist/assets/index-76dd9f11.css +5 -0
- package/dist/assets/index-7813bab3.css +66 -0
- package/dist/assets/index-793eae6b.css +234 -0
- package/dist/assets/index-8304db49.css +129 -0
- package/dist/assets/index-8aa4712e.css +51 -0
- package/dist/assets/{index-3e8ea1d6.css → index-8f52a20f.css} +16 -2
- package/dist/assets/index-93ad846c.css +259 -0
- package/dist/assets/index-9dcf6260.css +151 -0
- package/dist/assets/index-9e44e336.css +59 -0
- package/dist/assets/index-9e9587e1.css +45 -0
- package/dist/assets/index-a2b51bce.css +47 -0
- package/dist/assets/index-a2d55f92.css +204 -0
- package/dist/assets/index-a9e4fe04.css +46 -0
- package/dist/assets/index-abb90c97.css +164 -0
- package/dist/assets/{index-3b76db9b.css → index-af72a30b.css} +78 -3
- package/dist/assets/{NcAppNavigationToggle-110970cd.css → index-b8f13a1f.css} +13 -2
- package/dist/assets/index-b991895f.css +87 -0
- package/dist/assets/{index-25b448e3.css → index-baf8711a.css} +67 -3
- package/dist/assets/index-c06ad941.css +175 -0
- package/dist/assets/index-c5ae3bc4.css +303 -0
- package/dist/assets/index-c6f0da2e.css +69 -0
- package/dist/assets/index-d211cae8.css +93 -0
- package/dist/assets/index-d646553d.css +41 -0
- package/dist/assets/index-dc612aa3.css +112 -0
- package/dist/assets/index-e7c55791.css +243 -0
- package/dist/assets/index-e7eadba7.css +82 -0
- package/dist/assets/index-e828b286.css +76 -0
- package/dist/assets/index-ed4adf1d.css +115 -0
- package/dist/assets/{index-19f059f6.css → index-edee3304.css} +33 -2
- package/dist/assets/index-eea65531.css +129 -0
- package/dist/assets/index-f85aa003.css +78 -0
- package/dist/assets/index-fc61f2d8.css +41 -0
- package/dist/assets/referencePickerModal-3a127978.css +482 -0
- package/dist/chunks/GenColors-38246c38.mjs +46 -0
- package/dist/chunks/{GenColors-8097de04.cjs.map → GenColors-38246c38.mjs.map} +1 -1
- package/dist/chunks/GenColors-eedcc70a.cjs +45 -0
- package/dist/chunks/{GenColors-85cb6194.mjs.map → GenColors-eedcc70a.cjs.map} +1 -1
- package/dist/{assets/index-cb18d6f3.css → chunks/GenRandomId-c214d235.cjs} +8 -5
- package/dist/chunks/{GenRandomId-67df40eb.cjs.map → GenRandomId-c214d235.cjs.map} +1 -1
- package/dist/chunks/GenRandomId-cb9ccebe.mjs +25 -0
- package/dist/chunks/{GenRandomId-1e1b509a.mjs.map → GenRandomId-cb9ccebe.mjs.map} +1 -1
- package/dist/chunks/Linkify-39f20c9a.mjs +33 -0
- package/dist/chunks/{Linkify-a0faf443.mjs.map → Linkify-39f20c9a.mjs.map} +1 -1
- package/dist/chunks/Linkify-40cdd635.cjs +32 -0
- package/dist/chunks/{Linkify-a4db36a9.cjs.map → Linkify-40cdd635.cjs.map} +1 -1
- package/dist/chunks/NcAppNavigationToggle-841d3015.cjs +49 -0
- package/dist/chunks/NcAppNavigationToggle-841d3015.cjs.map +1 -0
- package/dist/chunks/NcAppNavigationToggle-e358aa47.mjs +55 -0
- package/dist/chunks/NcAppNavigationToggle-e358aa47.mjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-44052477.mjs +96 -0
- package/dist/chunks/NcInputConfirmCancel-44052477.mjs.map +1 -0
- package/dist/chunks/NcInputConfirmCancel-6bea0fdc.cjs +90 -0
- package/dist/chunks/NcInputConfirmCancel-6bea0fdc.cjs.map +1 -0
- package/dist/chunks/NcRichText-332fe454.cjs +289 -0
- package/dist/chunks/{NcRichText-bb9d3893.mjs.map → NcRichText-332fe454.cjs.map} +1 -1
- package/dist/chunks/NcRichText-8fda53c8.mjs +302 -0
- package/dist/chunks/{NcRichText-3c54a3cc.cjs.map → NcRichText-8fda53c8.mjs.map} +1 -1
- package/dist/chunks/NcSettingsSelectGroup-a5ff8c36.cjs +183 -0
- package/dist/chunks/NcSettingsSelectGroup-a5ff8c36.cjs.map +1 -0
- package/dist/chunks/NcSettingsSelectGroup-fdd3309c.mjs +192 -0
- package/dist/chunks/NcSettingsSelectGroup-fdd3309c.mjs.map +1 -0
- package/dist/chunks/ScopeComponent-9519afcc.mjs +29 -0
- package/dist/chunks/{ScopeComponent-1f3a7612.mjs.map → ScopeComponent-9519afcc.mjs.map} +1 -1
- package/dist/chunks/ScopeComponent-e060526a.cjs +28 -0
- package/dist/chunks/{ScopeComponent-4b8bd1ee.cjs.map → ScopeComponent-e060526a.cjs.map} +1 -1
- package/dist/chunks/_plugin-vue2_normalizer-71e2aa87.mjs +32 -0
- package/dist/chunks/_plugin-vue2_normalizer-71e2aa87.mjs.map +1 -0
- package/dist/chunks/_plugin-vue2_normalizer-7f9efb60.cjs +31 -0
- package/dist/chunks/_plugin-vue2_normalizer-7f9efb60.cjs.map +1 -0
- package/dist/chunks/actionGlobal-8c1c28c9.mjs +50 -0
- package/dist/chunks/{actionGlobal-cda46023.mjs.map → actionGlobal-8c1c28c9.mjs.map} +1 -1
- package/dist/chunks/actionGlobal-9e29e11b.cjs +49 -0
- package/dist/chunks/{actionGlobal-ec7003e8.cjs.map → actionGlobal-9e29e11b.cjs.map} +1 -1
- package/dist/chunks/actionText-54bc24a6.cjs +120 -0
- package/dist/chunks/{actionText-bef01778.cjs.map → actionText-54bc24a6.cjs.map} +1 -1
- package/dist/chunks/actionText-a64be267.mjs +121 -0
- package/dist/chunks/{actionText-6c35d3fc.mjs.map → actionText-a64be267.mjs.map} +1 -1
- package/dist/chunks/focusTrap-14985831.cjs +26 -0
- package/dist/chunks/{focusTrap-173aba65.mjs.map → focusTrap-14985831.cjs.map} +1 -1
- package/dist/chunks/focusTrap-5d0f71d4.mjs +27 -0
- package/dist/chunks/{focusTrap-139520e2.cjs.map → focusTrap-5d0f71d4.mjs.map} +1 -1
- package/dist/chunks/index-032137a6.cjs +468 -0
- package/dist/chunks/index-032137a6.cjs.map +1 -0
- package/dist/chunks/index-20a9ace9.mjs +149 -0
- package/dist/chunks/{index-cd3f1f8f.mjs.map → index-20a9ace9.mjs.map} +1 -1
- package/dist/chunks/index-4398f925.cjs +149 -0
- package/dist/chunks/{index-858938bd.cjs.map → index-4398f925.cjs.map} +1 -1
- package/dist/chunks/index-5f2a5f57.mjs +155 -0
- package/dist/chunks/{index-377488aa.mjs.map → index-5f2a5f57.mjs.map} +1 -1
- package/dist/chunks/index-e894376a.cjs +148 -0
- package/dist/chunks/{index-df3f51c6.cjs.map → index-e894376a.cjs.map} +1 -1
- package/dist/chunks/index-fb2ee22c.mjs +481 -0
- package/dist/chunks/index-fb2ee22c.mjs.map +1 -0
- package/dist/chunks/l10n-05a09c66.mjs +31 -0
- package/dist/chunks/l10n-05a09c66.mjs.map +1 -0
- package/dist/chunks/l10n-9aa6482d.mjs +10 -0
- package/dist/chunks/l10n-9aa6482d.mjs.map +1 -0
- package/dist/chunks/l10n-b1d264c7.cjs +29 -0
- package/dist/chunks/l10n-b1d264c7.cjs.map +1 -0
- package/dist/chunks/l10n-c7bd0ea6.cjs +8 -0
- package/dist/chunks/l10n-c7bd0ea6.cjs.map +1 -0
- package/dist/chunks/logger-3612e664.mjs +25 -0
- package/dist/chunks/{logger-01af1a78.cjs.map → logger-3612e664.mjs.map} +1 -1
- package/dist/chunks/logger-4998b668.cjs +24 -0
- package/dist/chunks/{logger-ccc7ee65.mjs.map → logger-4998b668.cjs.map} +1 -1
- package/dist/chunks/referencePickerModal-279a483d.cjs +858 -0
- package/dist/chunks/referencePickerModal-279a483d.cjs.map +1 -0
- package/dist/chunks/referencePickerModal-443a4c57.mjs +877 -0
- package/dist/chunks/referencePickerModal-443a4c57.mjs.map +1 -0
- package/dist/index.cjs +257 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +301 -150
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -4
- package/dist/assets/NcMentionBubble-67378a12.css +0 -21
- package/dist/assets/index-2cedaf24.css +0 -21
- package/dist/assets/index-30d74459.css +0 -42
- package/dist/assets/index-317f55be.css +0 -21
- package/dist/assets/index-34f6bb3f.css +0 -21
- package/dist/assets/index-37970f20.css +0 -21
- package/dist/assets/index-3aba62de.css +0 -21
- package/dist/assets/index-47fab7bf.css +0 -21
- package/dist/assets/index-49a0d570.css +0 -21
- package/dist/assets/index-4a4c1700.css +0 -21
- package/dist/assets/index-4a4c2637.css +0 -21
- package/dist/assets/index-4efbac36.css +0 -21
- package/dist/assets/index-6140ff62.css +0 -21
- package/dist/assets/index-66b19339.css +0 -21
- package/dist/assets/index-6cb0dc4a.css +0 -21
- package/dist/assets/index-6f63d18f.css +0 -42
- package/dist/assets/index-76287c8f.css +0 -21
- package/dist/assets/index-7a7195d0.css +0 -21
- package/dist/assets/index-7e084b52.css +0 -21
- package/dist/assets/index-7f55fed2.css +0 -21
- package/dist/assets/index-7ffde264.css +0 -21
- package/dist/assets/index-81f5e4c8.css +0 -21
- package/dist/assets/index-82b5969a.css +0 -21
- package/dist/assets/index-852d8576.css +0 -21
- package/dist/assets/index-8f58dd75.css +0 -21
- package/dist/assets/index-935fa6f9.css +0 -42
- package/dist/assets/index-939ba6f0.css +0 -21
- package/dist/assets/index-a17dfbc4.css +0 -21
- package/dist/assets/index-a4a40fa3.css +0 -21
- package/dist/assets/index-a50a8de6.css +0 -1
- package/dist/assets/index-a513dcd5.css +0 -21
- package/dist/assets/index-a8c5cf75.css +0 -21
- package/dist/assets/index-a999ba9f.css +0 -21
- package/dist/assets/index-afc15e11.css +0 -21
- package/dist/assets/index-b814f5fa.css +0 -21
- package/dist/assets/index-ba6ad1b4.css +0 -21
- package/dist/assets/index-bf10e8e1.css +0 -21
- package/dist/assets/index-bf46edd7.css +0 -21
- package/dist/assets/index-c6d7f3b0.css +0 -21
- package/dist/assets/index-c736204a.css +0 -21
- package/dist/assets/index-cb76ef23.css +0 -21
- package/dist/assets/index-cc70a006.css +0 -21
- package/dist/assets/index-dd464a52.css +0 -21
- package/dist/assets/index-e0ceef85.css +0 -21
- package/dist/assets/index-ecdb616f.css +0 -42
- package/dist/assets/index-ee410fad.css +0 -21
- package/dist/assets/index-ef0bca81.css +0 -42
- package/dist/assets/index-f1030e54.css +0 -21
- package/dist/assets/index-f6ca40ca.css +0 -21
- package/dist/assets/index-f8466b88.css +0 -21
- package/dist/assets/referencePickerModal-41e4705a.css +0 -21
- package/dist/chunks/GenColors-8097de04.cjs +0 -1
- package/dist/chunks/GenColors-85cb6194.mjs +0 -25
- package/dist/chunks/GenRandomId-1e1b509a.mjs +0 -4
- package/dist/chunks/GenRandomId-67df40eb.cjs +0 -1
- package/dist/chunks/IsMobileState-151fc57d.cjs +0 -1
- package/dist/chunks/IsMobileState-151fc57d.cjs.map +0 -1
- package/dist/chunks/IsMobileState-e1fe5f58.mjs +0 -15
- package/dist/chunks/IsMobileState-e1fe5f58.mjs.map +0 -1
- package/dist/chunks/Linkify-a0faf443.mjs +0 -5
- package/dist/chunks/Linkify-a4db36a9.cjs +0 -1
- package/dist/chunks/NcAppNavigationToggle-5f3b9b9a.cjs +0 -1
- package/dist/chunks/NcAppNavigationToggle-5f3b9b9a.cjs.map +0 -1
- package/dist/chunks/NcAppNavigationToggle-86cc2542.mjs +0 -23
- package/dist/chunks/NcAppNavigationToggle-86cc2542.mjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-0cd93e0e.mjs +0 -43
- package/dist/chunks/NcInputConfirmCancel-0cd93e0e.mjs.map +0 -1
- package/dist/chunks/NcInputConfirmCancel-17c8ddfb.cjs +0 -1
- package/dist/chunks/NcInputConfirmCancel-17c8ddfb.cjs.map +0 -1
- package/dist/chunks/NcMentionBubble.vue_vue_type_style_index_0_scoped_357e6d0e_lang-072bbb05.cjs.map +0 -1
- package/dist/chunks/NcMentionBubble.vue_vue_type_style_index_0_scoped_357e6d0e_lang-55016398.mjs.map +0 -1
- package/dist/chunks/NcRichText-3c54a3cc.cjs +0 -1
- package/dist/chunks/NcRichText-bb9d3893.mjs +0 -123
- package/dist/chunks/NcSettingsSelectGroup-0be1fe91.mjs +0 -58
- package/dist/chunks/NcSettingsSelectGroup-0be1fe91.mjs.map +0 -1
- package/dist/chunks/NcSettingsSelectGroup-62ca94a9.cjs +0 -1
- package/dist/chunks/NcSettingsSelectGroup-62ca94a9.cjs.map +0 -1
- package/dist/chunks/ScopeComponent-1f3a7612.mjs +0 -8
- package/dist/chunks/ScopeComponent-4b8bd1ee.cjs +0 -1
- package/dist/chunks/_plugin-vue2_normalizer-5b4c43a4.mjs +0 -24
- package/dist/chunks/_plugin-vue2_normalizer-5b4c43a4.mjs.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer-764a4c12.cjs +0 -1
- package/dist/chunks/_plugin-vue2_normalizer-764a4c12.cjs.map +0 -1
- package/dist/chunks/actionGlobal-cda46023.mjs +0 -15
- package/dist/chunks/actionGlobal-ec7003e8.cjs +0 -1
- package/dist/chunks/actionText-6c35d3fc.mjs +0 -23
- package/dist/chunks/actionText-bef01778.cjs +0 -1
- package/dist/chunks/focusTrap-139520e2.cjs +0 -1
- package/dist/chunks/focusTrap-173aba65.mjs +0 -6
- package/dist/chunks/index-197226c7.mjs +0 -171
- package/dist/chunks/index-197226c7.mjs.map +0 -1
- package/dist/chunks/index-377488aa.mjs +0 -46
- package/dist/chunks/index-858938bd.cjs +0 -3
- package/dist/chunks/index-cd3f1f8f.mjs +0 -43
- package/dist/chunks/index-cebd6e80.cjs +0 -1
- package/dist/chunks/index-cebd6e80.cjs.map +0 -1
- package/dist/chunks/index-df3f51c6.cjs +0 -1
- package/dist/chunks/l10n-05baf7da.mjs +0 -5
- package/dist/chunks/l10n-05baf7da.mjs.map +0 -1
- package/dist/chunks/l10n-46d0c1c0.cjs +0 -1
- package/dist/chunks/l10n-46d0c1c0.cjs.map +0 -1
- package/dist/chunks/l10n-9a5a6afc.mjs +0 -18
- package/dist/chunks/l10n-9a5a6afc.mjs.map +0 -1
- package/dist/chunks/l10n-dacb6440.cjs +0 -1
- package/dist/chunks/l10n-dacb6440.cjs.map +0 -1
- package/dist/chunks/logger-01af1a78.cjs +0 -1
- package/dist/chunks/logger-ccc7ee65.mjs +0 -5
- package/dist/chunks/referencePickerModal-6120a321.cjs +0 -1
- package/dist/chunks/referencePickerModal-6120a321.cjs.map +0 -1
- package/dist/chunks/referencePickerModal-d0573462.mjs +0 -428
- package/dist/chunks/referencePickerModal-d0573462.mjs.map +0 -1
|
@@ -1,10 +1,37 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { n as t } from "../chunks/_plugin-vue2_normalizer-71e2aa87.mjs";
|
|
2
|
+
const l = {
|
|
3
|
+
name: "NcVNodes",
|
|
4
|
+
props: {
|
|
5
|
+
/**
|
|
6
|
+
* The vnodes to render
|
|
7
|
+
*/
|
|
8
|
+
vnodes: {
|
|
9
|
+
type: [Array, Object],
|
|
10
|
+
default: null
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
/**
|
|
14
|
+
* The render function to display the component
|
|
15
|
+
*
|
|
16
|
+
* @param {Function} h The function to create VNodes
|
|
17
|
+
* @return {object} The created VNode
|
|
18
|
+
*/
|
|
19
|
+
render(c) {
|
|
20
|
+
var e, n, s;
|
|
21
|
+
return this.vnodes || ((e = this.$slots) == null ? void 0 : e.default) || ((s = (n = this.$scopedSlots) == null ? void 0 : n.default) == null ? void 0 : s.call(n));
|
|
22
|
+
}
|
|
23
|
+
}, o = null, r = null;
|
|
24
|
+
var a = /* @__PURE__ */ t(
|
|
25
|
+
l,
|
|
26
|
+
o,
|
|
27
|
+
r,
|
|
28
|
+
!1,
|
|
29
|
+
null,
|
|
30
|
+
null,
|
|
31
|
+
null,
|
|
32
|
+
null
|
|
33
|
+
);
|
|
34
|
+
const u = a.exports;
|
|
8
35
|
export {
|
|
9
|
-
|
|
36
|
+
u as default
|
|
10
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NcVNodes.mjs","sources":["../../src/components/NcVNodes/NcVNodes.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2023 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<script>\nexport default {\n\tname: 'NcVNodes',\n\tprops: {\n\t\t/**\n\t\t * The vnodes to render\n\t\t */\n\t\tvnodes: {\n\t\t\ttype: [Array, Object],\n\t\t\tdefault: null,\n\t\t},\n\t},\n\t/**\n\t * The render function to display the component\n\t *\n\t * @param {Function} h The function to create VNodes\n\t * @return {object} The created VNode\n\t */\n\trender(h) {\n\t\treturn this.vnodes || this.$slots?.default || this.$scopedSlots?.default?.()\n\t},\n}\n</script>\n"],"names":["_sfc_main","h","_a","_c","_b"],"mappings":";AAuBA,MAAAA,IAAA,EACA,MAAA,
|
|
1
|
+
{"version":3,"file":"NcVNodes.mjs","sources":["../../src/components/NcVNodes/NcVNodes.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2023 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<script>\nexport default {\n\tname: 'NcVNodes',\n\tprops: {\n\t\t/**\n\t\t * The vnodes to render\n\t\t */\n\t\tvnodes: {\n\t\t\ttype: [Array, Object],\n\t\t\tdefault: null,\n\t\t},\n\t},\n\t/**\n\t * The render function to display the component\n\t *\n\t * @param {Function} h The function to create VNodes\n\t * @return {object} The created VNode\n\t */\n\trender(h) {\n\t\treturn this.vnodes || this.$slots?.default || this.$scopedSlots?.default?.()\n\t},\n}\n</script>\n"],"names":["_sfc_main","h","_a","_c","_b"],"mappings":";AAuBA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,QAAA;AAAA,MACA,MAAA,CAAA,OAAA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,OAAAC,GAAA;;AACA,WAAA,KAAA,YAAAC,IAAA,KAAA,WAAA,gBAAAA,EAAA,cAAAC,KAAAC,IAAA,KAAA,iBAAA,gBAAAA,EAAA,YAAA,gBAAAD,EAAA,KAAAC;AAAA,EACA;AACA;;;;;;;;;;;;"}
|
|
@@ -1 +1,30 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: !0 }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
/**
|
|
4
|
+
* @copyright Copyright (c) 2019 Georg Ehrke
|
|
5
|
+
*
|
|
6
|
+
* @author Georg Ehrke <oc.list@georgehrke.com>
|
|
7
|
+
*
|
|
8
|
+
* @license AGPL-3.0-or-later
|
|
9
|
+
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU Affero General Public License as
|
|
12
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
13
|
+
* License, or (at your option) any later version.
|
|
14
|
+
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU Affero General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
21
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
const e = {
|
|
25
|
+
inserted(t) {
|
|
26
|
+
t.focus();
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
exports.default = e;
|
|
30
|
+
exports.directive = e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Focus.cjs","sources":["../../src/directives/Focus/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 Georg Ehrke\n *\n * @author Georg Ehrke <oc.list@georgehrke.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nexport const directive = {\n\tinserted(el) {\n\t\tel.focus()\n\t},\n}\n\nexport default directive\n"],"names":["directive","el"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Focus.cjs","sources":["../../src/directives/Focus/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 Georg Ehrke\n *\n * @author Georg Ehrke <oc.list@georgehrke.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nexport const directive = {\n\tinserted(el) {\n\t\tel.focus()\n\t},\n}\n\nexport default directive\n"],"names":["directive","el"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBY,MAACA,IAAY;AAAA,EACxB,SAASC,GAAI;AACZ,IAAAA,EAAG,MAAO;AAAA,EACV;AACF;;;"}
|
|
@@ -1,7 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @copyright Copyright (c) 2019 Georg Ehrke
|
|
3
|
+
*
|
|
4
|
+
* @author Georg Ehrke <oc.list@georgehrke.com>
|
|
5
|
+
*
|
|
6
|
+
* @license AGPL-3.0-or-later
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Affero General Public License as
|
|
10
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
11
|
+
* License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Affero General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
const t = {
|
|
23
|
+
inserted(e) {
|
|
24
|
+
e.focus();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
4
27
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
28
|
+
t as default,
|
|
29
|
+
t as directive
|
|
7
30
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Focus.mjs","sources":["../../src/directives/Focus/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 Georg Ehrke\n *\n * @author Georg Ehrke <oc.list@georgehrke.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nexport const directive = {\n\tinserted(el) {\n\t\tel.focus()\n\t},\n}\n\nexport default directive\n"],"names":["directive","el"],"mappings":"AAsBY,MAACA,IAAY,EACxB,SAASC,GAAI;
|
|
1
|
+
{"version":3,"file":"Focus.mjs","sources":["../../src/directives/Focus/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 Georg Ehrke\n *\n * @author Georg Ehrke <oc.list@georgehrke.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nexport const directive = {\n\tinserted(el) {\n\t\tel.focus()\n\t},\n}\n\nexport default directive\n"],"names":["directive","el"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBY,MAACA,IAAY;AAAA,EACxB,SAASC,GAAI;AACZ,IAAAA,EAAG,MAAO;AAAA,EACV;AACF;"}
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: !0 }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const r = require("../chunks/Linkify-40cdd635.cjs"), t = function(u, e) {
|
|
4
|
+
var i;
|
|
5
|
+
((i = e.value) == null ? void 0 : i.linkify) === !0 && (u.innerHTML = r.Linkify(e.value.text));
|
|
6
|
+
};
|
|
7
|
+
exports.default = t;
|
|
8
|
+
exports.directive = t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Linkify.cjs","sources":["../../src/directives/Linkify/index.js"],"sourcesContent":["/**\n * @author Raimund Schlüßler\n * @copyright 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE\n * License as published by the Free Software Foundation; either\n * version 3 of the License, or any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU AFFERO GENERAL PUBLIC LICENSE for more details.\n *\n * You should have received a copy of the GNU Affero General Public\n * License along with this library. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport Linkify from '../../utils/Linkify.js'\n\n// Use function shorthand for same behavior on bind and update\n// https://vuejs.org/v2/guide/custom-directive.html#Function-Shorthand\nexport const directive = function(el, binding) {\n\tif (binding.value?.linkify === true) {\n\t\tel.innerHTML = Linkify(binding.value.text)\n\t}\n}\n\nexport default directive\n"],"names":["directive","el","binding","Linkify"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Linkify.cjs","sources":["../../src/directives/Linkify/index.js"],"sourcesContent":["/**\n * @author Raimund Schlüßler\n * @copyright 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE\n * License as published by the Free Software Foundation; either\n * version 3 of the License, or any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU AFFERO GENERAL PUBLIC LICENSE for more details.\n *\n * You should have received a copy of the GNU Affero General Public\n * License along with this library. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport Linkify from '../../utils/Linkify.js'\n\n// Use function shorthand for same behavior on bind and update\n// https://vuejs.org/v2/guide/custom-directive.html#Function-Shorthand\nexport const directive = function(el, binding) {\n\tif (binding.value?.linkify === true) {\n\t\tel.innerHTML = Linkify(binding.value.text)\n\t}\n}\n\nexport default directive\n"],"names":["directive","el","binding","_a","Linkify"],"mappings":";;qDAsBaA,IAAY,SAASC,GAAIC,GAAS;;AAC9C,IAAIC,IAAAD,EAAQ,UAAR,gBAAAC,EAAe,aAAY,OAC9BF,EAAG,YAAYG,EAAAA,QAAQF,EAAQ,MAAM,IAAI;AAE3C;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { L as
|
|
2
|
-
const
|
|
3
|
-
var
|
|
4
|
-
((
|
|
1
|
+
import { L as f } from "../chunks/Linkify-39f20c9a.mjs";
|
|
2
|
+
const a = function(i, e) {
|
|
3
|
+
var t;
|
|
4
|
+
((t = e.value) == null ? void 0 : t.linkify) === !0 && (i.innerHTML = f(e.value.text));
|
|
5
5
|
};
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
a as default,
|
|
8
|
+
a as directive
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Linkify.mjs","sources":["../../src/directives/Linkify/index.js"],"sourcesContent":["/**\n * @author Raimund Schlüßler\n * @copyright 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE\n * License as published by the Free Software Foundation; either\n * version 3 of the License, or any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU AFFERO GENERAL PUBLIC LICENSE for more details.\n *\n * You should have received a copy of the GNU Affero General Public\n * License along with this library. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport Linkify from '../../utils/Linkify.js'\n\n// Use function shorthand for same behavior on bind and update\n// https://vuejs.org/v2/guide/custom-directive.html#Function-Shorthand\nexport const directive = function(el, binding) {\n\tif (binding.value?.linkify === true) {\n\t\tel.innerHTML = Linkify(binding.value.text)\n\t}\n}\n\nexport default directive\n"],"names":["directive","el","binding","Linkify"],"mappings":";AAsBY,MAACA,IAAY,SAASC,GAAIC,GAAS;;
|
|
1
|
+
{"version":3,"file":"Linkify.mjs","sources":["../../src/directives/Linkify/index.js"],"sourcesContent":["/**\n * @author Raimund Schlüßler\n * @copyright 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE\n * License as published by the Free Software Foundation; either\n * version 3 of the License, or any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU AFFERO GENERAL PUBLIC LICENSE for more details.\n *\n * You should have received a copy of the GNU Affero General Public\n * License along with this library. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport Linkify from '../../utils/Linkify.js'\n\n// Use function shorthand for same behavior on bind and update\n// https://vuejs.org/v2/guide/custom-directive.html#Function-Shorthand\nexport const directive = function(el, binding) {\n\tif (binding.value?.linkify === true) {\n\t\tel.innerHTML = Linkify(binding.value.text)\n\t}\n}\n\nexport default directive\n"],"names":["directive","el","binding","_a","Linkify"],"mappings":";AAsBY,MAACA,IAAY,SAASC,GAAIC,GAAS;;AAC9C,IAAIC,IAAAD,EAAQ,UAAR,gBAAAC,EAAe,aAAY,OAC9BF,EAAG,YAAYG,EAAQF,EAAQ,MAAM,IAAI;AAE3C;"}
|
|
@@ -1 +1,37 @@
|
|
|
1
|
-
var t=require("../assets/index-
|
|
1
|
+
var t = require("../assets/index-d211cae8.css");
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: !0 }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const e = require("floating-vue");
|
|
4
|
+
/**
|
|
5
|
+
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
|
|
6
|
+
*
|
|
7
|
+
* @author Julius Härtl <jus@bitgrid.net>
|
|
8
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
9
|
+
*
|
|
10
|
+
* @license AGPL-3.0-or-later
|
|
11
|
+
*
|
|
12
|
+
* This program is free software: you can redistribute it and/or modify
|
|
13
|
+
* it under the terms of the GNU Affero General Public License as
|
|
14
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
15
|
+
* License, or (at your option) any later version.
|
|
16
|
+
*
|
|
17
|
+
* This program is distributed in the hope that it will be useful,
|
|
18
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
+
* GNU Affero General Public License for more details.
|
|
21
|
+
*
|
|
22
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
23
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
e.options.themes.tooltip.html = !1;
|
|
27
|
+
e.options.themes.tooltip.delay = { show: 500, hide: 200 };
|
|
28
|
+
e.options.themes.tooltip.distance = 10;
|
|
29
|
+
e.options.themes.tooltip["arrow-padding"] = 3;
|
|
30
|
+
Object.defineProperty(exports, "default", {
|
|
31
|
+
enumerable: !0,
|
|
32
|
+
get: () => e.VTooltip
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "options", {
|
|
35
|
+
enumerable: !0,
|
|
36
|
+
get: () => e.options
|
|
37
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Tooltip.cjs","sources":["../../src/directives/Tooltip/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { VTooltip, options } from 'floating-vue'\nimport './index.scss'\n\noptions.themes.tooltip.html = false\noptions.themes.tooltip.delay = { show: 500, hide: 200 }\noptions.themes.tooltip.distance = 10\noptions.themes.tooltip['arrow-padding'] = 3\n\nexport default VTooltip\nexport { options }\n"],"names":["options"],"mappings":";;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyBAA,EAAAA,QAAAA,OAAAA,QAAAA,OAAAA;AACAA,EAAAA,QAAAA,OAAAA,QAAAA,QAAAA,EAAAA,MAAAA,KAAAA,MAAAA,IAAAA;AACAA,EAAAA,QAAAA,OAAAA,QAAAA,WAAAA;AACAA,EAAAA,QAAAA,OAAAA,QAAAA,eAAAA,IAAAA;;;;;;;;;"}
|
|
@@ -1,8 +1,33 @@
|
|
|
1
|
-
import "../assets/index-
|
|
1
|
+
import "../assets/index-d211cae8.css";
|
|
2
2
|
import { options as o } from "floating-vue";
|
|
3
|
-
import { VTooltip as
|
|
4
|
-
|
|
3
|
+
import { VTooltip as l, options as m } from "floating-vue";
|
|
4
|
+
/**
|
|
5
|
+
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
|
|
6
|
+
*
|
|
7
|
+
* @author Julius Härtl <jus@bitgrid.net>
|
|
8
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
9
|
+
*
|
|
10
|
+
* @license AGPL-3.0-or-later
|
|
11
|
+
*
|
|
12
|
+
* This program is free software: you can redistribute it and/or modify
|
|
13
|
+
* it under the terms of the GNU Affero General Public License as
|
|
14
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
15
|
+
* License, or (at your option) any later version.
|
|
16
|
+
*
|
|
17
|
+
* This program is distributed in the hope that it will be useful,
|
|
18
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
+
* GNU Affero General Public License for more details.
|
|
21
|
+
*
|
|
22
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
23
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
o.themes.tooltip.html = !1;
|
|
27
|
+
o.themes.tooltip.delay = { show: 500, hide: 200 };
|
|
28
|
+
o.themes.tooltip.distance = 10;
|
|
29
|
+
o.themes.tooltip["arrow-padding"] = 3;
|
|
5
30
|
export {
|
|
6
|
-
|
|
31
|
+
l as default,
|
|
7
32
|
m as options
|
|
8
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.mjs","sources":["../../src/directives/Tooltip/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { VTooltip, options } from 'floating-vue'\nimport './index.scss'\n\noptions.themes.tooltip.html = false\noptions.themes.tooltip.delay = { show: 500, hide: 200 }\noptions.themes.tooltip.distance = 10\noptions.themes.tooltip['arrow-padding'] = 3\n\nexport default VTooltip\nexport { options }\n"],"names":["options"],"mappings":";;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyBAA,EAAA,OAAA,QAAA,OAAA;AACAA,EAAA,OAAA,QAAA,QAAA,EAAA,MAAA,KAAA,MAAA,IAAA;AACAA,EAAA,OAAA,QAAA,WAAA;AACAA,EAAA,OAAA,QAAA,eAAA,IAAA;"}
|
package/dist/Functions/emoji.cjs
CHANGED
|
@@ -1 +1,36 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const r = require("emoji-mart-vue-fast/data/all.json"), c = require("emoji-mart-vue-fast"), i = (e) => e && e.__esModule ? e : { default: e }, a = /* @__PURE__ */ i(r);
|
|
4
|
+
/**
|
|
5
|
+
* @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>
|
|
6
|
+
*
|
|
7
|
+
* @author Jonas Meurer <jonas@freesources.org>
|
|
8
|
+
*
|
|
9
|
+
* @license AGPL-3.0-or-later
|
|
10
|
+
*
|
|
11
|
+
* This program is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Affero General Public License as
|
|
13
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
14
|
+
* License, or (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* This program is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Affero General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
22
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
const d = function(e, n = 10) {
|
|
26
|
+
const o = new c.EmojiIndex(a.default);
|
|
27
|
+
if (e) {
|
|
28
|
+
let t = o.search(`:${e}`, n);
|
|
29
|
+
return t.length < n && (t = t.concat(o.search(e, n - t.length))), t;
|
|
30
|
+
}
|
|
31
|
+
return c.frequently.get(n).map((t) => o.emoji(t)) || [];
|
|
32
|
+
}, u = function(e) {
|
|
33
|
+
c.frequently.add(e);
|
|
34
|
+
};
|
|
35
|
+
exports.emojiAddRecent = u;
|
|
36
|
+
exports.emojiSearch = d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji.cjs","sources":["../../src/functions/emoji/emoji.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>\n *\n * @author Jonas Meurer <jonas@freesources.org>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\n// export const allEmojis = index.buildIndex()\n\n/**\n * @param {string} query Emoji search string\n * @param {number} maxResults Maximum of returned emojis\n * @return {Array} list of found emojis\n */\nexport const emojiSearch = function(query, maxResults = 10) {\n\tconst index = new EmojiIndex(data)\n\tif (query) {\n\t\tlet results = index.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(index.search(query, maxResults - results.length))\n\t\t}\n\t\treturn results\n\t}\n\n\treturn frequently.get(maxResults).map((id) => index.emoji(id)) || []\n}\n\nexport const emojiAddRecent = function(id) {\n\tfrequently.add(id)\n}\n\nexport default { emojiSearch, emojiAddRecent }\n"],"names":["emojiSearch","query","maxResults","index","EmojiIndex","data","results","frequently","id","emojiAddRecent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"emoji.cjs","sources":["../../src/functions/emoji/emoji.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>\n *\n * @author Jonas Meurer <jonas@freesources.org>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\n// export const allEmojis = index.buildIndex()\n\n/**\n * @param {string} query Emoji search string\n * @param {number} maxResults Maximum of returned emojis\n * @return {Array} list of found emojis\n */\nexport const emojiSearch = function(query, maxResults = 10) {\n\tconst index = new EmojiIndex(data)\n\tif (query) {\n\t\tlet results = index.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(index.search(query, maxResults - results.length))\n\t\t}\n\t\treturn results\n\t}\n\n\treturn frequently.get(maxResults).map((id) => index.emoji(id)) || []\n}\n\nexport const emojiAddRecent = function(id) {\n\tfrequently.add(id)\n}\n\nexport default { emojiSearch, emojiAddRecent }\n"],"names":["emojiSearch","query","maxResults","index","EmojiIndex","data","results","frequently","id","emojiAddRecent"],"mappings":";;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgCY,MAACA,IAAc,SAASC,GAAOC,IAAa,IAAI;AAC3D,QAAMC,IAAQ,IAAIC,EAAU,WAACC,SAAI;AACjC,MAAIJ,GAAO;AACV,QAAIK,IAAUH,EAAM,OAAO,IAAIF,CAAK,IAAIC,CAAU;AAClD,WAAII,EAAQ,SAASJ,MACpBI,IAAUA,EAAQ,OAAOH,EAAM,OAAOF,GAAOC,IAAaI,EAAQ,MAAM,CAAC,IAEnEA;AAAA,EACP;AAED,SAAOC,aAAW,IAAIL,CAAU,EAAE,IAAI,CAACM,MAAOL,EAAM,MAAMK,CAAE,CAAC,KAAK,CAAE;AACrE,GAEaC,IAAiB,SAASD,GAAI;AAC1CD,EAAAA,EAAU,WAAC,IAAIC,CAAE;AAClB;;;"}
|
package/dist/Functions/emoji.mjs
CHANGED
|
@@ -1,16 +1,37 @@
|
|
|
1
1
|
import c from "emoji-mart-vue-fast/data/all.json";
|
|
2
|
-
import { EmojiIndex as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { EmojiIndex as i, frequently as r } from "emoji-mart-vue-fast";
|
|
3
|
+
/**
|
|
4
|
+
* @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>
|
|
5
|
+
*
|
|
6
|
+
* @author Jonas Meurer <jonas@freesources.org>
|
|
7
|
+
*
|
|
8
|
+
* @license AGPL-3.0-or-later
|
|
9
|
+
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU Affero General Public License as
|
|
12
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
13
|
+
* License, or (at your option) any later version.
|
|
14
|
+
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU Affero General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
21
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
const m = function(e, t = 10) {
|
|
25
|
+
const o = new i(c);
|
|
26
|
+
if (e) {
|
|
27
|
+
let n = o.search(`:${e}`, t);
|
|
28
|
+
return n.length < t && (n = n.concat(o.search(e, t - n.length))), n;
|
|
8
29
|
}
|
|
9
|
-
return
|
|
10
|
-
},
|
|
11
|
-
|
|
30
|
+
return r.get(t).map((n) => o.emoji(n)) || [];
|
|
31
|
+
}, a = function(e) {
|
|
32
|
+
r.add(e);
|
|
12
33
|
};
|
|
13
34
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
35
|
+
a as emojiAddRecent,
|
|
36
|
+
m as emojiSearch
|
|
16
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji.mjs","sources":["../../src/functions/emoji/emoji.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>\n *\n * @author Jonas Meurer <jonas@freesources.org>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\n// export const allEmojis = index.buildIndex()\n\n/**\n * @param {string} query Emoji search string\n * @param {number} maxResults Maximum of returned emojis\n * @return {Array} list of found emojis\n */\nexport const emojiSearch = function(query, maxResults = 10) {\n\tconst index = new EmojiIndex(data)\n\tif (query) {\n\t\tlet results = index.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(index.search(query, maxResults - results.length))\n\t\t}\n\t\treturn results\n\t}\n\n\treturn frequently.get(maxResults).map((id) => index.emoji(id)) || []\n}\n\nexport const emojiAddRecent = function(id) {\n\tfrequently.add(id)\n}\n\nexport default { emojiSearch, emojiAddRecent }\n"],"names":["emojiSearch","query","maxResults","index","EmojiIndex","data","results","frequently","id","emojiAddRecent"],"mappings":";;AAgCY,MAACA,IAAc,SAASC,GAAOC,IAAa,IAAI;AAC3D,QAAMC,IAAQ,IAAIC,EAAWC,CAAI;AACjC,MAAIJ,GAAO;AACV,QAAIK,IAAUH,EAAM,OAAO,IAAIF,
|
|
1
|
+
{"version":3,"file":"emoji.mjs","sources":["../../src/functions/emoji/emoji.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2021 Jonas Meurer <jonas@freesources.org>\n *\n * @author Jonas Meurer <jonas@freesources.org>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\n// export const allEmojis = index.buildIndex()\n\n/**\n * @param {string} query Emoji search string\n * @param {number} maxResults Maximum of returned emojis\n * @return {Array} list of found emojis\n */\nexport const emojiSearch = function(query, maxResults = 10) {\n\tconst index = new EmojiIndex(data)\n\tif (query) {\n\t\tlet results = index.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(index.search(query, maxResults - results.length))\n\t\t}\n\t\treturn results\n\t}\n\n\treturn frequently.get(maxResults).map((id) => index.emoji(id)) || []\n}\n\nexport const emojiAddRecent = function(id) {\n\tfrequently.add(id)\n}\n\nexport default { emojiSearch, emojiAddRecent }\n"],"names":["emojiSearch","query","maxResults","index","EmojiIndex","data","results","frequently","id","emojiAddRecent"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgCY,MAACA,IAAc,SAASC,GAAOC,IAAa,IAAI;AAC3D,QAAMC,IAAQ,IAAIC,EAAWC,CAAI;AACjC,MAAIJ,GAAO;AACV,QAAIK,IAAUH,EAAM,OAAO,IAAIF,CAAK,IAAIC,CAAU;AAClD,WAAII,EAAQ,SAASJ,MACpBI,IAAUA,EAAQ,OAAOH,EAAM,OAAOF,GAAOC,IAAaI,EAAQ,MAAM,CAAC,IAEnEA;AAAA,EACP;AAED,SAAOC,EAAW,IAAIL,CAAU,EAAE,IAAI,CAACM,MAAOL,EAAM,MAAMK,CAAE,CAAC,KAAK,CAAE;AACrE,GAEaC,IAAiB,SAASD,GAAI;AAC1C,EAAAD,EAAW,IAAIC,CAAE;AAClB;"}
|
|
@@ -1 +1,39 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
const f = require("../chunks/GenColors-eedcc70a.cjs"), i = require("md5"), p = (t) => t && t.__esModule ? t : { default: t }, d = /* @__PURE__ */ p(i);
|
|
3
|
+
/**
|
|
4
|
+
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
5
|
+
*
|
|
6
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
7
|
+
*
|
|
8
|
+
* @license AGPL-3.0-or-later
|
|
9
|
+
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU Affero General Public License as
|
|
12
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
13
|
+
* License, or (at your option) any later version.
|
|
14
|
+
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU Affero General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
21
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
const h = function(t) {
|
|
25
|
+
let e = t.toLowerCase();
|
|
26
|
+
e.match(/^([0-9a-f]{4}-?){8}$/) === null && (e = d.default(e)), e = e.replace(/[^0-9a-f]/g, "");
|
|
27
|
+
const s = 6, a = f.GenColors(s);
|
|
28
|
+
function u(r, c) {
|
|
29
|
+
let l = 0;
|
|
30
|
+
const o = [];
|
|
31
|
+
for (let n = 0; n < r.length; n++)
|
|
32
|
+
o.push(parseInt(r.charAt(n), 16) % 16);
|
|
33
|
+
for (const n in o)
|
|
34
|
+
l += o[n];
|
|
35
|
+
return parseInt(parseInt(l, 10) % c, 10);
|
|
36
|
+
}
|
|
37
|
+
return a[u(e, s * 3)];
|
|
38
|
+
};
|
|
39
|
+
module.exports = h;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usernameToColor.cjs","sources":["../../src/functions/usernameToColor/usernameToColor.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport GenColors from '../../utils/GenColors.js'\n\nimport md5 from 'md5'\n\n/**\n * Originally taken from https://github.com/nextcloud/server/blob/master/core/js/placeholder.js\n *\n * @param {string} username Display name or user id to generate from\n * @return {object} the rgb colors as {r:255, g:255, b:255}\n */\nconst usernameToColor = function(username) {\n\t// Normalize hash\n\tlet hash = username.toLowerCase()\n\n\t// Already a md5 hash?\n\tif (hash.match(/^([0-9a-f]{4}-?){8}$/) === null) {\n\t\thash = md5(hash)\n\t}\n\n\thash = hash.replace(/[^0-9a-f]/g, '')\n\n\tconst steps = 6\n\tconst finalPalette = GenColors(steps)\n\n\t/**\n\t * Convert a string to an integer evenly\n\t *\n\t * @param {string} hash The hash to convert\n\t * @param {number} maximum Largest number allowed\n\t */\n\tfunction hashToInt(hash, maximum) {\n\t\tlet finalInt = 0\n\t\tconst result = []\n\n\t\t// Splitting evenly the string\n\t\tfor (let i = 0; i < hash.length; i++) {\n\t\t\t// chars in md5 goes up to f, hex:16\n\t\t\tresult.push(parseInt(hash.charAt(i), 16) % 16)\n\t\t}\n\n\t\t// Adds up all results\n\t\tfor (const j in result) {\n\t\t\tfinalInt += result[j]\n\t\t}\n\n\t\t// chars in md5 goes up to f, hex:16\n\t\t// make sure we're always using int in our operation\n\t\treturn parseInt(parseInt(finalInt, 10) % maximum, 10)\n\t}\n\treturn finalPalette[hashToInt(hash, steps * 3)]\n}\n\nexport default usernameToColor\n"],"names":["usernameToColor","username","hash","md5","steps","finalPalette","GenColors","hashToInt","maximum","finalInt","result","i","j"],"mappings":"
|
|
1
|
+
{"version":3,"file":"usernameToColor.cjs","sources":["../../src/functions/usernameToColor/usernameToColor.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport GenColors from '../../utils/GenColors.js'\n\nimport md5 from 'md5'\n\n/**\n * Originally taken from https://github.com/nextcloud/server/blob/master/core/js/placeholder.js\n *\n * @param {string} username Display name or user id to generate from\n * @return {object} the rgb colors as {r:255, g:255, b:255}\n */\nconst usernameToColor = function(username) {\n\t// Normalize hash\n\tlet hash = username.toLowerCase()\n\n\t// Already a md5 hash?\n\tif (hash.match(/^([0-9a-f]{4}-?){8}$/) === null) {\n\t\thash = md5(hash)\n\t}\n\n\thash = hash.replace(/[^0-9a-f]/g, '')\n\n\tconst steps = 6\n\tconst finalPalette = GenColors(steps)\n\n\t/**\n\t * Convert a string to an integer evenly\n\t *\n\t * @param {string} hash The hash to convert\n\t * @param {number} maximum Largest number allowed\n\t */\n\tfunction hashToInt(hash, maximum) {\n\t\tlet finalInt = 0\n\t\tconst result = []\n\n\t\t// Splitting evenly the string\n\t\tfor (let i = 0; i < hash.length; i++) {\n\t\t\t// chars in md5 goes up to f, hex:16\n\t\t\tresult.push(parseInt(hash.charAt(i), 16) % 16)\n\t\t}\n\n\t\t// Adds up all results\n\t\tfor (const j in result) {\n\t\t\tfinalInt += result[j]\n\t\t}\n\n\t\t// chars in md5 goes up to f, hex:16\n\t\t// make sure we're always using int in our operation\n\t\treturn parseInt(parseInt(finalInt, 10) % maximum, 10)\n\t}\n\treturn finalPalette[hashToInt(hash, steps * 3)]\n}\n\nexport default usernameToColor\n"],"names":["usernameToColor","username","hash","md5","steps","finalPalette","GenColors","hashToInt","maximum","finalInt","result","i","j"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA+BK,MAACA,IAAkB,SAASC,GAAU;AAE1C,MAAIC,IAAOD,EAAS,YAAa;AAGjC,EAAIC,EAAK,MAAM,sBAAsB,MAAM,SAC1CA,IAAOC,EAAG,QAACD,CAAI,IAGhBA,IAAOA,EAAK,QAAQ,cAAc,EAAE;AAEpC,QAAME,IAAQ,GACRC,IAAeC,EAAS,UAACF,CAAK;AAQpC,WAASG,EAAUL,GAAMM,GAAS;AACjC,QAAIC,IAAW;AACf,UAAMC,IAAS,CAAE;AAGjB,aAASC,IAAI,GAAGA,IAAIT,EAAK,QAAQS;AAEhC,MAAAD,EAAO,KAAK,SAASR,EAAK,OAAOS,CAAC,GAAG,EAAE,IAAI,EAAE;AAI9C,eAAWC,KAAKF;AACf,MAAAD,KAAYC,EAAOE,CAAC;AAKrB,WAAO,SAAS,SAASH,GAAU,EAAE,IAAID,GAAS,EAAE;AAAA,EACpD;AACD,SAAOH,EAAaE,EAAUL,GAAME,IAAQ,CAAC,CAAC;AAC/C;;"}
|
|
@@ -1,19 +1,40 @@
|
|
|
1
|
-
import { G as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { G as i } from "../chunks/GenColors-38246c38.mjs";
|
|
2
|
+
import p from "md5";
|
|
3
|
+
/**
|
|
4
|
+
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
5
|
+
*
|
|
6
|
+
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
7
|
+
*
|
|
8
|
+
* @license AGPL-3.0-or-later
|
|
9
|
+
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU Affero General Public License as
|
|
12
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
13
|
+
* License, or (at your option) any later version.
|
|
14
|
+
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU Affero General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
21
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
const h = function(a) {
|
|
25
|
+
let t = a.toLowerCase();
|
|
26
|
+
t.match(/^([0-9a-f]{4}-?){8}$/) === null && (t = p(t)), t = t.replace(/[^0-9a-f]/g, "");
|
|
27
|
+
const o = 6, l = i(o);
|
|
28
|
+
function f(r, c) {
|
|
29
|
+
let s = 0;
|
|
9
30
|
const e = [];
|
|
10
31
|
for (let n = 0; n < r.length; n++)
|
|
11
32
|
e.push(parseInt(r.charAt(n), 16) % 16);
|
|
12
33
|
for (const n in e)
|
|
13
|
-
|
|
14
|
-
return parseInt(parseInt(
|
|
34
|
+
s += e[n];
|
|
35
|
+
return parseInt(parseInt(s, 10) % c, 10);
|
|
15
36
|
}
|
|
16
|
-
return f
|
|
37
|
+
return l[f(t, o * 3)];
|
|
17
38
|
};
|
|
18
39
|
export {
|
|
19
40
|
h as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usernameToColor.mjs","sources":["../../src/functions/usernameToColor/usernameToColor.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport GenColors from '../../utils/GenColors.js'\n\nimport md5 from 'md5'\n\n/**\n * Originally taken from https://github.com/nextcloud/server/blob/master/core/js/placeholder.js\n *\n * @param {string} username Display name or user id to generate from\n * @return {object} the rgb colors as {r:255, g:255, b:255}\n */\nconst usernameToColor = function(username) {\n\t// Normalize hash\n\tlet hash = username.toLowerCase()\n\n\t// Already a md5 hash?\n\tif (hash.match(/^([0-9a-f]{4}-?){8}$/) === null) {\n\t\thash = md5(hash)\n\t}\n\n\thash = hash.replace(/[^0-9a-f]/g, '')\n\n\tconst steps = 6\n\tconst finalPalette = GenColors(steps)\n\n\t/**\n\t * Convert a string to an integer evenly\n\t *\n\t * @param {string} hash The hash to convert\n\t * @param {number} maximum Largest number allowed\n\t */\n\tfunction hashToInt(hash, maximum) {\n\t\tlet finalInt = 0\n\t\tconst result = []\n\n\t\t// Splitting evenly the string\n\t\tfor (let i = 0; i < hash.length; i++) {\n\t\t\t// chars in md5 goes up to f, hex:16\n\t\t\tresult.push(parseInt(hash.charAt(i), 16) % 16)\n\t\t}\n\n\t\t// Adds up all results\n\t\tfor (const j in result) {\n\t\t\tfinalInt += result[j]\n\t\t}\n\n\t\t// chars in md5 goes up to f, hex:16\n\t\t// make sure we're always using int in our operation\n\t\treturn parseInt(parseInt(finalInt, 10) % maximum, 10)\n\t}\n\treturn finalPalette[hashToInt(hash, steps * 3)]\n}\n\nexport default usernameToColor\n"],"names":["usernameToColor","username","hash","md5","steps","finalPalette","GenColors","hashToInt","maximum","finalInt","result","i","j"],"mappings":";;AA+BK,MAACA,IAAkB,SAASC,GAAU;AAE1C,MAAIC,IAAOD,EAAS,YAAa;
|
|
1
|
+
{"version":3,"file":"usernameToColor.mjs","sources":["../../src/functions/usernameToColor/usernameToColor.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport GenColors from '../../utils/GenColors.js'\n\nimport md5 from 'md5'\n\n/**\n * Originally taken from https://github.com/nextcloud/server/blob/master/core/js/placeholder.js\n *\n * @param {string} username Display name or user id to generate from\n * @return {object} the rgb colors as {r:255, g:255, b:255}\n */\nconst usernameToColor = function(username) {\n\t// Normalize hash\n\tlet hash = username.toLowerCase()\n\n\t// Already a md5 hash?\n\tif (hash.match(/^([0-9a-f]{4}-?){8}$/) === null) {\n\t\thash = md5(hash)\n\t}\n\n\thash = hash.replace(/[^0-9a-f]/g, '')\n\n\tconst steps = 6\n\tconst finalPalette = GenColors(steps)\n\n\t/**\n\t * Convert a string to an integer evenly\n\t *\n\t * @param {string} hash The hash to convert\n\t * @param {number} maximum Largest number allowed\n\t */\n\tfunction hashToInt(hash, maximum) {\n\t\tlet finalInt = 0\n\t\tconst result = []\n\n\t\t// Splitting evenly the string\n\t\tfor (let i = 0; i < hash.length; i++) {\n\t\t\t// chars in md5 goes up to f, hex:16\n\t\t\tresult.push(parseInt(hash.charAt(i), 16) % 16)\n\t\t}\n\n\t\t// Adds up all results\n\t\tfor (const j in result) {\n\t\t\tfinalInt += result[j]\n\t\t}\n\n\t\t// chars in md5 goes up to f, hex:16\n\t\t// make sure we're always using int in our operation\n\t\treturn parseInt(parseInt(finalInt, 10) % maximum, 10)\n\t}\n\treturn finalPalette[hashToInt(hash, steps * 3)]\n}\n\nexport default usernameToColor\n"],"names":["usernameToColor","username","hash","md5","steps","finalPalette","GenColors","hashToInt","maximum","finalInt","result","i","j"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA+BK,MAACA,IAAkB,SAASC,GAAU;AAE1C,MAAIC,IAAOD,EAAS,YAAa;AAGjC,EAAIC,EAAK,MAAM,sBAAsB,MAAM,SAC1CA,IAAOC,EAAID,CAAI,IAGhBA,IAAOA,EAAK,QAAQ,cAAc,EAAE;AAEpC,QAAME,IAAQ,GACRC,IAAeC,EAAUF,CAAK;AAQpC,WAASG,EAAUL,GAAMM,GAAS;AACjC,QAAIC,IAAW;AACf,UAAMC,IAAS,CAAE;AAGjB,aAASC,IAAI,GAAGA,IAAIT,EAAK,QAAQS;AAEhC,MAAAD,EAAO,KAAK,SAASR,EAAK,OAAOS,CAAC,GAAG,EAAE,IAAI,EAAE;AAI9C,eAAWC,KAAKF;AACf,MAAAD,KAAYC,EAAOE,CAAC;AAKrB,WAAO,SAAS,SAASH,GAAU,EAAE,IAAID,GAAS,EAAE;AAAA,EACpD;AACD,SAAOH,EAAaE,EAAUL,GAAME,IAAQ,CAAC,CAAC;AAC/C;"}
|
|
@@ -1 +1,40 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @copyright Copyright (c) 2020 Georg Ehrke <georg-nextcloud@ehrke.email>
|
|
4
|
+
*
|
|
5
|
+
* @author Georg Ehrke <georg-nextcloud@ehrke.email>
|
|
6
|
+
*
|
|
7
|
+
* @license AGPL-3.0-or-later
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU Affero General Public License as
|
|
11
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
12
|
+
* License, or (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU Affero General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const e = {
|
|
24
|
+
props: {
|
|
25
|
+
/**
|
|
26
|
+
* A query-selector or an array of query-selectors
|
|
27
|
+
* to be ignored when clicking outside an element
|
|
28
|
+
*/
|
|
29
|
+
excludeClickOutsideSelectors: {
|
|
30
|
+
type: [String, Array],
|
|
31
|
+
default: () => []
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
computed: {
|
|
35
|
+
clickOutsideOptions() {
|
|
36
|
+
return { ignore: Array.isArray(this.excludeClickOutsideSelectors) ? this.excludeClickOutsideSelectors : [this.excludeClickOutsideSelectors] };
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
module.exports = e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clickOutsideOptions.cjs","sources":["../../src/mixins/clickOutsideOptions/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2020 Georg Ehrke <georg-nextcloud@ehrke.email>\n *\n * @author Georg Ehrke <georg-nextcloud@ehrke.email>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nexport default {\n\tprops: {\n\t\t/**\n\t\t * A query-selector or an array of query-selectors\n\t\t * to be ignored when clicking outside an element\n\t\t */\n\t\texcludeClickOutsideSelectors: {\n\t\t\ttype: [String, Array],\n\t\t\tdefault: () => [],\n\t\t},\n\t},\n\tcomputed: {\n\t\tclickOutsideOptions() {\n\t\t\tconst excludedQuerySelectors = Array.isArray(this.excludeClickOutsideSelectors)\n\t\t\t\t? this.excludeClickOutsideSelectors\n\t\t\t\t: [this.excludeClickOutsideSelectors]\n\n\t\t\treturn { ignore: excludedQuerySelectors }\n\t\t},\n\t},\n}\n"],"names":["clickOutsideOptions"],"mappings":"
|
|
1
|
+
{"version":3,"file":"clickOutsideOptions.cjs","sources":["../../src/mixins/clickOutsideOptions/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2020 Georg Ehrke <georg-nextcloud@ehrke.email>\n *\n * @author Georg Ehrke <georg-nextcloud@ehrke.email>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nexport default {\n\tprops: {\n\t\t/**\n\t\t * A query-selector or an array of query-selectors\n\t\t * to be ignored when clicking outside an element\n\t\t */\n\t\texcludeClickOutsideSelectors: {\n\t\t\ttype: [String, Array],\n\t\t\tdefault: () => [],\n\t\t},\n\t},\n\tcomputed: {\n\t\tclickOutsideOptions() {\n\t\t\tconst excludedQuerySelectors = Array.isArray(this.excludeClickOutsideSelectors)\n\t\t\t\t? this.excludeClickOutsideSelectors\n\t\t\t\t: [this.excludeClickOutsideSelectors]\n\n\t\t\treturn { ignore: excludedQuerySelectors }\n\t\t},\n\t},\n}\n"],"names":["clickOutsideOptions"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBA,MAAeA,IAAA;AAAA,EACd,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,IAKN,8BAA8B;AAAA,MAC7B,MAAM,CAAC,QAAQ,KAAK;AAAA,MACpB,SAAS,MAAM,CAAE;AAAA,IACjB;AAAA,EACD;AAAA,EACD,UAAU;AAAA,IACT,sBAAsB;AAKrB,aAAO,EAAE,QAJsB,MAAM,QAAQ,KAAK,4BAA4B,IAC3E,KAAK,+BACL,CAAC,KAAK,4BAA4B,EAEI;AAAA,IACzC;AAAA,EACD;AACF;;"}
|