@nextcloud/vue 8.2.0 → 8.3.0

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.
Files changed (162) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/Components/NcActionButton.cjs +3 -3
  3. package/dist/Components/NcActionButton.cjs.map +1 -1
  4. package/dist/Components/NcActionButton.mjs +9 -9
  5. package/dist/Components/NcActionButton.mjs.map +1 -1
  6. package/dist/Components/NcActionInput.cjs +1 -1
  7. package/dist/Components/NcActionInput.mjs +1 -1
  8. package/dist/Components/NcActions.cjs +8 -8
  9. package/dist/Components/NcActions.cjs.map +1 -1
  10. package/dist/Components/NcActions.mjs +21 -21
  11. package/dist/Components/NcActions.mjs.map +1 -1
  12. package/dist/Components/NcAppContent.cjs +1 -1
  13. package/dist/Components/NcAppContent.mjs +1 -1
  14. package/dist/Components/NcAppNavigation.cjs +14 -14
  15. package/dist/Components/NcAppNavigation.cjs.map +1 -1
  16. package/dist/Components/NcAppNavigation.mjs +20 -20
  17. package/dist/Components/NcAppNavigation.mjs.map +1 -1
  18. package/dist/Components/NcAppNavigationCaption.cjs +2 -2
  19. package/dist/Components/NcAppNavigationCaption.cjs.map +1 -1
  20. package/dist/Components/NcAppNavigationCaption.mjs +2 -2
  21. package/dist/Components/NcAppNavigationCaption.mjs.map +1 -1
  22. package/dist/Components/NcAppNavigationItem.cjs +3 -3
  23. package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
  24. package/dist/Components/NcAppNavigationItem.mjs +4 -4
  25. package/dist/Components/NcAppNavigationItem.mjs.map +1 -1
  26. package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
  27. package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
  28. package/dist/Components/NcAppNavigationSettings.cjs +1 -1
  29. package/dist/Components/NcAppNavigationSettings.mjs +1 -1
  30. package/dist/Components/NcAppNavigationToggle.cjs +1 -1
  31. package/dist/Components/NcAppNavigationToggle.mjs +1 -1
  32. package/dist/Components/NcAppSettingsDialog.cjs +20 -20
  33. package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
  34. package/dist/Components/NcAppSettingsDialog.mjs +13 -13
  35. package/dist/Components/NcAppSettingsDialog.mjs.map +1 -1
  36. package/dist/Components/NcAppSidebar.cjs +1 -1
  37. package/dist/Components/NcAppSidebar.mjs +1 -1
  38. package/dist/Components/NcAvatar.cjs +1 -1
  39. package/dist/Components/NcAvatar.mjs +1 -1
  40. package/dist/Components/NcCheckboxRadioSwitch.cjs +7 -7
  41. package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
  42. package/dist/Components/NcCheckboxRadioSwitch.mjs +7 -7
  43. package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
  44. package/dist/Components/NcColorPicker.cjs +6 -6
  45. package/dist/Components/NcColorPicker.cjs.map +1 -1
  46. package/dist/Components/NcColorPicker.mjs +9 -9
  47. package/dist/Components/NcColorPicker.mjs.map +1 -1
  48. package/dist/Components/NcDashboardWidget.cjs +1 -1
  49. package/dist/Components/NcDashboardWidget.mjs +2 -2
  50. package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
  51. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  52. package/dist/Components/NcDateTime.cjs +1 -1
  53. package/dist/Components/NcDateTime.mjs +1 -1
  54. package/dist/Components/NcDateTimePicker.cjs +2 -2
  55. package/dist/Components/NcDateTimePicker.mjs +4 -4
  56. package/dist/Components/NcDateTimePickerNative.cjs +1 -1
  57. package/dist/Components/NcDateTimePickerNative.mjs +1 -1
  58. package/dist/Components/NcDialog.cjs +15 -15
  59. package/dist/Components/NcDialog.cjs.map +1 -1
  60. package/dist/Components/NcDialog.mjs +13 -13
  61. package/dist/Components/NcDialog.mjs.map +1 -1
  62. package/dist/Components/NcDialogButton.cjs +1 -1
  63. package/dist/Components/NcDialogButton.cjs.map +1 -1
  64. package/dist/Components/NcDialogButton.mjs +1 -1
  65. package/dist/Components/NcDialogButton.mjs.map +1 -1
  66. package/dist/Components/NcEmojiPicker.cjs +1 -1
  67. package/dist/Components/NcEmojiPicker.mjs +1 -1
  68. package/dist/Components/NcInputField.cjs +15 -4
  69. package/dist/Components/NcInputField.cjs.map +1 -1
  70. package/dist/Components/NcInputField.mjs +18 -7
  71. package/dist/Components/NcInputField.mjs.map +1 -1
  72. package/dist/Components/NcListItem.cjs +1 -1
  73. package/dist/Components/NcListItem.mjs +1 -1
  74. package/dist/Components/NcListItemIcon.cjs +1 -1
  75. package/dist/Components/NcListItemIcon.mjs +1 -1
  76. package/dist/Components/NcModal.cjs +1 -1
  77. package/dist/Components/NcModal.mjs +3 -3
  78. package/dist/Components/NcPasswordField.cjs +1 -1
  79. package/dist/Components/NcPasswordField.mjs +1 -1
  80. package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
  81. package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
  82. package/dist/Components/NcRichContenteditable.cjs +2 -2
  83. package/dist/Components/NcRichContenteditable.mjs +2 -2
  84. package/dist/Components/NcRichText.cjs +1 -1
  85. package/dist/Components/NcRichText.mjs +3 -3
  86. package/dist/Components/NcSelect.cjs +1 -1
  87. package/dist/Components/NcSelect.mjs +2 -2
  88. package/dist/Components/NcSelectTags.cjs +1 -1
  89. package/dist/Components/NcSelectTags.mjs +1 -1
  90. package/dist/Components/NcSettingsInputText.cjs +1 -1
  91. package/dist/Components/NcSettingsInputText.mjs +1 -1
  92. package/dist/Components/NcSettingsSection.cjs +1 -1
  93. package/dist/Components/NcSettingsSection.mjs +1 -1
  94. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  95. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  96. package/dist/Components/NcTextField.cjs +1 -1
  97. package/dist/Components/NcTextField.mjs +1 -1
  98. package/dist/Components/NcTimezonePicker.cjs +1 -1
  99. package/dist/Components/NcTimezonePicker.mjs +1 -1
  100. package/dist/Components/NcUserBubble.cjs +1 -1
  101. package/dist/Components/NcUserBubble.mjs +1 -1
  102. package/dist/Functions/usernameToColor.cjs +1 -1
  103. package/dist/Functions/usernameToColor.mjs +1 -1
  104. package/dist/assets/{NcAppNavigationToggle-9e170630.css → NcAppNavigationToggle-2bc73ee8.css} +2 -2
  105. package/dist/assets/{index-a0532427.css → index-2a1ec06b.css} +42 -36
  106. package/dist/assets/{index-5c74e333.css → index-50dc154e.css} +10 -10
  107. package/dist/assets/{index-4437e6bf.css → index-5784183b.css} +8 -8
  108. package/dist/assets/{index-f8d6daf3.css → index-5e4bf286.css} +41 -41
  109. package/dist/assets/{index-a9d1ad5c.css → index-7157aefa.css} +24 -24
  110. package/dist/assets/{index-e9fce208.css → index-7868494b.css} +16 -16
  111. package/dist/assets/{index-51c1f2a9.css → index-810b8984.css} +13 -20
  112. package/dist/assets/{index-dc612aa3.css → index-9941f384.css} +15 -12
  113. package/dist/assets/{index-d1c0876d.css → index-b0a8a48c.css} +11 -11
  114. package/dist/assets/{index-db846386.css → index-e6a91529.css} +49 -45
  115. package/dist/assets/{index-edee3304.css → index-f72cef5d.css} +6 -7
  116. package/dist/chunks/{GenColors-02173e2c.mjs → GenColors-12ec1caa.mjs} +1 -1
  117. package/dist/chunks/{GenColors-02173e2c.mjs.map → GenColors-12ec1caa.mjs.map} +1 -1
  118. package/dist/chunks/{GenColors-4314c256.cjs → GenColors-a8d54566.cjs} +1 -1
  119. package/dist/chunks/{GenColors-4314c256.cjs.map → GenColors-a8d54566.cjs.map} +1 -1
  120. package/dist/chunks/{NcAppNavigationToggle-1301e882.cjs → NcAppNavigationToggle-6a975868.cjs} +21 -26
  121. package/dist/chunks/{NcAppNavigationToggle-2574bba5.mjs.map → NcAppNavigationToggle-6a975868.cjs.map} +1 -1
  122. package/dist/chunks/{NcAppNavigationToggle-2574bba5.mjs → NcAppNavigationToggle-f5591773.mjs} +25 -30
  123. package/dist/chunks/{NcAppNavigationToggle-1301e882.cjs.map → NcAppNavigationToggle-f5591773.mjs.map} +1 -1
  124. package/dist/chunks/{NcInputConfirmCancel-a612e6a3.mjs → NcInputConfirmCancel-7837eb4d.mjs} +1 -1
  125. package/dist/chunks/{NcInputConfirmCancel-a612e6a3.mjs.map → NcInputConfirmCancel-7837eb4d.mjs.map} +1 -1
  126. package/dist/chunks/{NcInputConfirmCancel-9906b563.cjs → NcInputConfirmCancel-790f5902.cjs} +1 -1
  127. package/dist/chunks/{NcInputConfirmCancel-9906b563.cjs.map → NcInputConfirmCancel-790f5902.cjs.map} +1 -1
  128. package/dist/chunks/{NcRichText-f5cfcd57.mjs → NcRichText-0db09c78.mjs} +1 -1
  129. package/dist/chunks/{NcRichText-f5cfcd57.mjs.map → NcRichText-0db09c78.mjs.map} +1 -1
  130. package/dist/chunks/{NcRichText-9f77a9c6.cjs → NcRichText-0dd96aac.cjs} +1 -1
  131. package/dist/chunks/{NcRichText-9f77a9c6.cjs.map → NcRichText-0dd96aac.cjs.map} +1 -1
  132. package/dist/chunks/{NcSettingsSelectGroup-0f71fef4.cjs → NcSettingsSelectGroup-532ba813.cjs} +1 -1
  133. package/dist/chunks/{NcSettingsSelectGroup-0f71fef4.cjs.map → NcSettingsSelectGroup-532ba813.cjs.map} +1 -1
  134. package/dist/chunks/{NcSettingsSelectGroup-091c0306.mjs → NcSettingsSelectGroup-cdd84895.mjs} +2 -2
  135. package/dist/chunks/{NcSettingsSelectGroup-091c0306.mjs.map → NcSettingsSelectGroup-cdd84895.mjs.map} +1 -1
  136. package/dist/chunks/{ScopeComponent-df4b58b1.cjs → ScopeComponent-92144d97.cjs} +1 -1
  137. package/dist/chunks/{ScopeComponent-df4b58b1.cjs.map → ScopeComponent-92144d97.cjs.map} +1 -1
  138. package/dist/chunks/{ScopeComponent-3ea00dcd.mjs → ScopeComponent-ac5265f5.mjs} +1 -1
  139. package/dist/chunks/{ScopeComponent-3ea00dcd.mjs.map → ScopeComponent-ac5265f5.mjs.map} +1 -1
  140. package/dist/chunks/{index-dc10fd2b.cjs → index-32c8b581.cjs} +1 -1
  141. package/dist/chunks/{index-dc10fd2b.cjs.map → index-32c8b581.cjs.map} +1 -1
  142. package/dist/chunks/{index-cea13a24.mjs → index-efb07851.mjs} +1 -1
  143. package/dist/chunks/{index-cea13a24.mjs.map → index-efb07851.mjs.map} +1 -1
  144. package/dist/chunks/l10n-070da9ad.cjs +29 -0
  145. package/dist/chunks/l10n-070da9ad.cjs.map +1 -0
  146. package/dist/chunks/l10n-1b905a9a.mjs +31 -0
  147. package/dist/chunks/l10n-1b905a9a.mjs.map +1 -0
  148. package/dist/chunks/{l10n-a12cdbfa.cjs → l10n-38626490.cjs} +1 -1
  149. package/dist/chunks/{l10n-a12cdbfa.cjs.map → l10n-38626490.cjs.map} +1 -1
  150. package/dist/chunks/{l10n-c603e589.mjs → l10n-6cfc1200.mjs} +1 -1
  151. package/dist/chunks/{l10n-c603e589.mjs.map → l10n-6cfc1200.mjs.map} +1 -1
  152. package/dist/chunks/{referencePickerModal-aa5d3f47.cjs → referencePickerModal-90dac0d0.cjs} +1 -1
  153. package/dist/chunks/{referencePickerModal-aa5d3f47.cjs.map → referencePickerModal-90dac0d0.cjs.map} +1 -1
  154. package/dist/chunks/{referencePickerModal-c2f33569.mjs → referencePickerModal-ded8273d.mjs} +1 -1
  155. package/dist/chunks/{referencePickerModal-c2f33569.mjs.map → referencePickerModal-ded8273d.mjs.map} +1 -1
  156. package/dist/index.cjs +4 -4
  157. package/dist/index.mjs +6 -6
  158. package/package.json +1 -1
  159. package/dist/chunks/l10n-e9ffbe5e.cjs +0 -29
  160. package/dist/chunks/l10n-e9ffbe5e.cjs.map +0 -1
  161. package/dist/chunks/l10n-ef44019c.mjs +0 -31
  162. package/dist/chunks/l10n-ef44019c.mjs.map +0 -1
@@ -1,12 +1,12 @@
1
1
  @charset "UTF-8";
2
- .material-design-icon[data-v-51c1ef39] {
2
+ .material-design-icon[data-v-bc42acb7] {
3
3
  display: flex;
4
4
  align-self: center;
5
5
  justify-self: center;
6
6
  align-items: center;
7
7
  justify-content: center;
8
8
  }
9
- .checkbox-content[data-v-51c1ef39] {
9
+ .checkbox-content[data-v-bc42acb7] {
10
10
  display: flex;
11
11
  align-items: center;
12
12
  flex-direction: row;
@@ -19,24 +19,27 @@
19
19
  width: 100%;
20
20
  max-width: fit-content;
21
21
  }
22
- .checkbox-content__text[data-v-51c1ef39]:empty {
22
+ .checkbox-content__text[data-v-bc42acb7] {
23
+ flex: 1 0;
24
+ }
25
+ .checkbox-content__text[data-v-bc42acb7]:empty {
23
26
  display: none;
24
27
  }
25
- .checkbox-content__icon > *[data-v-51c1ef39] {
28
+ .checkbox-content__icon > *[data-v-bc42acb7] {
26
29
  width: var(--icon-size);
27
30
  height: var(--icon-size);
28
31
  }
29
- .checkbox-content--button-variant .checkbox-content__icon:not(.checkbox-content__icon--checked) > *[data-v-51c1ef39] {
32
+ .checkbox-content--button-variant .checkbox-content__icon:not(.checkbox-content__icon--checked) > *[data-v-bc42acb7] {
30
33
  color: var(--color-primary-element);
31
34
  }
32
- .checkbox-content--button-variant .checkbox-content__icon--checked > *[data-v-51c1ef39] {
35
+ .checkbox-content--button-variant .checkbox-content__icon--checked > *[data-v-bc42acb7] {
33
36
  color: var(--color-primary-element-text);
34
37
  }
35
- .checkbox-content:not(.checkbox-content--button-variant) .checkbox-content__icon > *[data-v-51c1ef39] {
38
+ .checkbox-content:not(.checkbox-content--button-variant) .checkbox-content__icon > *[data-v-bc42acb7] {
36
39
  color: var(--color-primary-element);
37
40
  }
38
- .checkbox-content[data-v-51c1ef39],
39
- .checkbox-content *[data-v-51c1ef39] {
41
+ .checkbox-content[data-v-bc42acb7],
42
+ .checkbox-content *[data-v-bc42acb7] {
40
43
  cursor: pointer;
41
44
  flex-shrink: 0;
42
45
  }
@@ -61,14 +64,14 @@
61
64
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
62
65
  *
63
66
  */
64
- .material-design-icon[data-v-9005171d] {
67
+ .material-design-icon[data-v-9f4bf554] {
65
68
  display: flex;
66
69
  align-self: center;
67
70
  justify-self: center;
68
71
  align-items: center;
69
72
  justify-content: center;
70
73
  }
71
- .checkbox-radio-switch[data-v-9005171d] {
74
+ .checkbox-radio-switch[data-v-9f4bf554] {
72
75
  display: flex;
73
76
  align-items: center;
74
77
  color: var(--color-main-text);
@@ -76,8 +79,9 @@
76
79
  font-size: var(--default-font-size);
77
80
  line-height: var(--default-line-height);
78
81
  padding: 0;
82
+ position: relative;
79
83
  }
80
- .checkbox-radio-switch__input[data-v-9005171d] {
84
+ .checkbox-radio-switch__input[data-v-9f4bf554] {
81
85
  position: absolute;
82
86
  z-index: -1;
83
87
  opacity: 0 !important;
@@ -85,105 +89,105 @@
85
89
  height: var(--icon-size);
86
90
  margin: 4px 14px;
87
91
  }
88
- .checkbox-radio-switch__input:focus-visible + .checkbox-radio-switch__content[data-v-9005171d],
89
- .checkbox-radio-switch__input[data-v-9005171d]:focus-visible {
92
+ .checkbox-radio-switch__input:focus-visible + .checkbox-radio-switch__content[data-v-9f4bf554],
93
+ .checkbox-radio-switch__input[data-v-9f4bf554]:focus-visible {
90
94
  outline: 2px solid var(--color-main-text);
91
95
  border-color: var(--color-main-background);
92
96
  outline-offset: -2px;
93
97
  }
94
- .checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-9005171d] {
98
+ .checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-9f4bf554] {
95
99
  opacity: .5;
96
100
  }
97
- .checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-9005171d] .checkbox-radio-switch__icon > * {
101
+ .checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-9f4bf554] .checkbox-radio-switch__icon > * {
98
102
  color: var(--color-main-text);
99
103
  }
100
- .checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__content[data-v-9005171d],
101
- .checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked) .checkbox-radio-switch__content[data-v-9005171d]:hover {
104
+ .checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__content[data-v-9f4bf554],
105
+ .checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked) .checkbox-radio-switch__content[data-v-9f4bf554]:hover {
102
106
  background-color: var(--color-background-hover);
103
107
  }
104
- .checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-9005171d],
105
- .checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-9005171d]:hover {
108
+ .checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-9f4bf554],
109
+ .checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-9f4bf554]:hover {
106
110
  background-color: var(--color-primary-element-hover);
107
111
  }
108
- .checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-9005171d],
109
- .checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-9005171d]:hover {
112
+ .checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-9f4bf554],
113
+ .checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-9f4bf554]:hover {
110
114
  background-color: var(--color-primary-element-light-hover);
111
115
  }
112
- .checkbox-radio-switch-switch[data-v-9005171d]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon > * {
116
+ .checkbox-radio-switch-switch[data-v-9f4bf554]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon > * {
113
117
  color: var(--color-text-maxcontrast);
114
118
  }
115
- .checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked[data-v-9005171d] .checkbox-radio-switch__icon > * {
119
+ .checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked[data-v-9f4bf554] .checkbox-radio-switch__icon > * {
116
120
  color: var(--color-primary-element-light);
117
121
  }
118
- .checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-9005171d] {
122
+ .checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-9f4bf554] {
119
123
  border: 2px solid var(--color-border-maxcontrast);
120
124
  overflow: hidden;
121
125
  }
122
- .checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-9005171d] {
126
+ .checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-9f4bf554] {
123
127
  font-weight: 700;
124
128
  }
125
- .checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content[data-v-9005171d] {
129
+ .checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content[data-v-9f4bf554] {
126
130
  background-color: var(--color-primary-element);
127
131
  color: var(--color-primary-element-text);
128
132
  }
129
- .checkbox-radio-switch--button-variant[data-v-9005171d] .checkbox-radio-switch__text {
133
+ .checkbox-radio-switch--button-variant[data-v-9f4bf554] .checkbox-radio-switch__text {
130
134
  overflow: hidden;
131
135
  text-overflow: ellipsis;
132
136
  white-space: nowrap;
133
137
  width: 100%;
134
138
  }
135
- .checkbox-radio-switch--button-variant[data-v-9005171d]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon > * {
139
+ .checkbox-radio-switch--button-variant[data-v-9f4bf554]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon > * {
136
140
  color: var(--color-main-text);
137
141
  }
138
- .checkbox-radio-switch--button-variant[data-v-9005171d] .checkbox-radio-switch__icon:empty {
142
+ .checkbox-radio-switch--button-variant[data-v-9f4bf554] .checkbox-radio-switch__icon:empty {
139
143
  display: none;
140
144
  }
141
- .checkbox-radio-switch--button-variant[data-v-9005171d]:not(.checkbox-radio-switch--button-variant-v-grouped):not(.checkbox-radio-switch--button-variant-h-grouped),
142
- .checkbox-radio-switch--button-variant .checkbox-radio-switch__content[data-v-9005171d] {
145
+ .checkbox-radio-switch--button-variant[data-v-9f4bf554]:not(.checkbox-radio-switch--button-variant-v-grouped):not(.checkbox-radio-switch--button-variant-h-grouped),
146
+ .checkbox-radio-switch--button-variant .checkbox-radio-switch__content[data-v-9f4bf554] {
143
147
  border-radius: calc(var(--default-clickable-area) / 2);
144
148
  }
145
- .checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__content[data-v-9005171d] {
149
+ .checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__content[data-v-9f4bf554] {
146
150
  flex-basis: 100%;
147
151
  max-width: unset;
148
152
  }
149
- .checkbox-radio-switch--button-variant-v-grouped[data-v-9005171d]:first-of-type {
153
+ .checkbox-radio-switch--button-variant-v-grouped[data-v-9f4bf554]:first-of-type {
150
154
  border-top-left-radius: calc(var(--default-clickable-area) / 2 + 2px);
151
155
  border-top-right-radius: calc(var(--default-clickable-area) / 2 + 2px);
152
156
  }
153
- .checkbox-radio-switch--button-variant-v-grouped[data-v-9005171d]:last-of-type {
157
+ .checkbox-radio-switch--button-variant-v-grouped[data-v-9f4bf554]:last-of-type {
154
158
  border-bottom-left-radius: calc(var(--default-clickable-area) / 2 + 2px);
155
159
  border-bottom-right-radius: calc(var(--default-clickable-area) / 2 + 2px);
156
160
  }
157
- .checkbox-radio-switch--button-variant-v-grouped[data-v-9005171d]:not(:last-of-type) {
161
+ .checkbox-radio-switch--button-variant-v-grouped[data-v-9f4bf554]:not(:last-of-type) {
158
162
  border-bottom: 0 !important;
159
163
  }
160
- .checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-9005171d] {
164
+ .checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-9f4bf554] {
161
165
  margin-bottom: 2px;
162
166
  }
163
- .checkbox-radio-switch--button-variant-v-grouped[data-v-9005171d]:not(:first-of-type) {
167
+ .checkbox-radio-switch--button-variant-v-grouped[data-v-9f4bf554]:not(:first-of-type) {
164
168
  border-top: 0 !important;
165
169
  }
166
- .checkbox-radio-switch--button-variant-h-grouped[data-v-9005171d]:first-of-type {
170
+ .checkbox-radio-switch--button-variant-h-grouped[data-v-9f4bf554]:first-of-type {
167
171
  border-top-left-radius: calc(var(--default-clickable-area) / 2 + 2px);
168
172
  border-bottom-left-radius: calc(var(--default-clickable-area) / 2 + 2px);
169
173
  }
170
- .checkbox-radio-switch--button-variant-h-grouped[data-v-9005171d]:last-of-type {
174
+ .checkbox-radio-switch--button-variant-h-grouped[data-v-9f4bf554]:last-of-type {
171
175
  border-top-right-radius: calc(var(--default-clickable-area) / 2 + 2px);
172
176
  border-bottom-right-radius: calc(var(--default-clickable-area) / 2 + 2px);
173
177
  }
174
- .checkbox-radio-switch--button-variant-h-grouped[data-v-9005171d]:not(:last-of-type) {
178
+ .checkbox-radio-switch--button-variant-h-grouped[data-v-9f4bf554]:not(:last-of-type) {
175
179
  border-right: 0 !important;
176
180
  }
177
- .checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-9005171d] {
181
+ .checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-9f4bf554] {
178
182
  margin-right: 2px;
179
183
  }
180
- .checkbox-radio-switch--button-variant-h-grouped[data-v-9005171d]:not(:first-of-type) {
184
+ .checkbox-radio-switch--button-variant-h-grouped[data-v-9f4bf554]:not(:first-of-type) {
181
185
  border-left: 0 !important;
182
186
  }
183
- .checkbox-radio-switch--button-variant-h-grouped[data-v-9005171d] .checkbox-radio-switch__text {
187
+ .checkbox-radio-switch--button-variant-h-grouped[data-v-9f4bf554] .checkbox-radio-switch__text {
184
188
  text-align: center;
185
189
  }
186
- .checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__content[data-v-9005171d] {
190
+ .checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__content[data-v-9f4bf554] {
187
191
  flex-direction: column;
188
192
  justify-content: center;
189
193
  width: 100%;
@@ -20,33 +20,32 @@
20
20
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
21
  *
22
22
  */
23
- .material-design-icon[data-v-f01eb538] {
23
+ .material-design-icon[data-v-5d751802] {
24
24
  display: flex;
25
25
  align-self: center;
26
26
  justify-self: center;
27
27
  align-items: center;
28
28
  justify-content: center;
29
29
  }
30
- .app-navigation-caption[data-v-f01eb538] {
30
+ .app-navigation-caption[data-v-5d751802] {
31
31
  display: flex;
32
32
  justify-content: space-between;
33
33
  }
34
- .app-navigation-caption__name[data-v-f01eb538] {
34
+ .app-navigation-caption__name[data-v-5d751802] {
35
35
  font-weight: 700;
36
- color: var(--color-primary-element);
36
+ color: var(--color-main-text);
37
37
  font-size: var(--default-font-size);
38
38
  line-height: 44px;
39
39
  white-space: nowrap;
40
40
  overflow: hidden;
41
41
  text-overflow: ellipsis;
42
- opacity: .7;
43
42
  box-shadow: none !important;
44
43
  flex-shrink: 0;
45
44
  padding: 0 calc(var(--default-grid-baseline, 4px) * 2) 0 calc(var(--default-grid-baseline, 4px) * 3);
46
45
  }
47
- .app-navigation-caption__actions[data-v-f01eb538] {
46
+ .app-navigation-caption__actions[data-v-5d751802] {
48
47
  flex: 0 0 44px;
49
48
  }
50
- .app-navigation-caption[data-v-f01eb538]:not(:first-child) {
49
+ .app-navigation-caption[data-v-5d751802]:not(:first-child) {
51
50
  margin-top: 22px;
52
51
  }
@@ -1,4 +1,4 @@
1
- import { t as u } from "./l10n-ef44019c.mjs";
1
+ import { t as u } from "./l10n-1b905a9a.mjs";
2
2
  /**
3
3
  * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"GenColors-02173e2c.mjs","sources":["../../src/utils/GenColors.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\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\n/**\n * Originally taken from https://github.com/nextcloud/server/blob/master/core/js/placeholder.js\n */\n\nimport { t } from '../l10n.js'\n\nclass Color {\n\n\t/**\n\t * @param {number} r The red value\n\t * @param {number} g The green value\n\t * @param {number} b The blue value\n\t * @param {string} [name] The name of the color\n\t */\n\tconstructor(r, g, b, name) {\n\t\tthis.r = r\n\t\tthis.g = g\n\t\tthis.b = b\n\t\tif (name) {\n\t\t\tthis.name = name\n\t\t}\n\t}\n\n}\n\n/**\n * Calculate the number of steps\n *\n * @param {number} steps The number of steps\n * @param {Array} ends The ends\n * @return {Array} Array containing the number of steps per color\n */\nfunction stepCalc(steps, ends) {\n\tconst step = new Array(3)\n\tstep[0] = (ends[1].r - ends[0].r) / steps\n\tstep[1] = (ends[1].g - ends[0].g) / steps\n\tstep[2] = (ends[1].b - ends[0].b) / steps\n\treturn step\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param {number} steps The number of steps the palette has\n * @param {Color} color1 The first color\n * @param {Color} color2 The second color\n * @return {Array} The created palette array\n */\nfunction mixPalette(steps, color1, color2) {\n\tconst palette = []\n\tpalette.push(color1)\n\tconst step = stepCalc(steps, [color1, color2])\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + step[0] * i)\n\t\tconst g = Math.floor(color1.g + step[1] * i)\n\t\tconst b = Math.floor(color1.b + step[2] * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3)\n * if step = 6\n * 3 colors * 6 will result in 18 generated colors\n *\n * @param {number} [steps] Number of steps to go from a color to another\n * @return {object[]}\n */\nfunction GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n\nexport default GenColors\n"],"names":["Color","r","g","b","name","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","GenColors","red","t","yellow","blue","palette1","palette2","palette3"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,MAAMA,EAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQX,YAAYC,GAAGC,GAAGC,GAAGC,GAAM;AAC1B,SAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,IAAIC,GACLC,MACH,KAAK,OAAOA;AAAA,EAEb;AAEF;AASA,SAASC,EAASC,GAAOC,GAAM;AAC9B,QAAMC,IAAO,IAAI,MAAM,CAAC;AACxB,SAAAA,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GAC7BE;AACR;AAUA,SAASC,EAAWH,GAAOI,GAAQC,GAAQ;AAC1C,QAAMC,IAAU,CAAE;AAClB,EAAAA,EAAQ,KAAKF,CAAM;AACnB,QAAMF,IAAOH,EAASC,GAAO,CAACI,GAAQC,CAAM,CAAC;AAC7C,WAASE,IAAI,GAAGA,IAAIP,GAAOO,KAAK;AAC/B,UAAMZ,IAAI,KAAK,MAAMS,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCX,IAAI,KAAK,MAAMQ,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCV,IAAI,KAAK,MAAMO,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC;AAC3C,IAAAD,EAAQ,KAAK,IAAIZ,EAAMC,GAAGC,GAAGC,CAAC,CAAC;AAAA,EAC/B;AACD,SAAOS;AACR;AAWA,SAASE,EAAUR,GAAO;AACzB,EAAKA,MACJA,IAAQ;AAGT,QAAMS,IAAM,IAAIf,EAAM,KAAK,IAAI,KAAKgB,EAAE,QAAQ,CAAC,GACzCC,IAAS,IAAIjB,EAAM,KAAK,KAAK,IAAIgB,EAAE,MAAM,CAAC,GAC1CE,IAAO,IAAIlB,EAAM,GAAG,KAAK,KAAKgB,EAAE,gBAAgB,CAAC,GAEjDG,IAAWV,EAAWH,GAAOS,GAAKE,CAAM,GACxCG,IAAWX,EAAWH,GAAOW,GAAQC,CAAI,GACzCG,IAAWZ,EAAWH,GAAOY,GAAMH,CAAG;AAE5C,SAAOI,EAAS,OAAOC,CAAQ,EAAE,OAAOC,CAAQ;AACjD;"}
1
+ {"version":3,"file":"GenColors-12ec1caa.mjs","sources":["../../src/utils/GenColors.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\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\n/**\n * Originally taken from https://github.com/nextcloud/server/blob/master/core/js/placeholder.js\n */\n\nimport { t } from '../l10n.js'\n\nclass Color {\n\n\t/**\n\t * @param {number} r The red value\n\t * @param {number} g The green value\n\t * @param {number} b The blue value\n\t * @param {string} [name] The name of the color\n\t */\n\tconstructor(r, g, b, name) {\n\t\tthis.r = r\n\t\tthis.g = g\n\t\tthis.b = b\n\t\tif (name) {\n\t\t\tthis.name = name\n\t\t}\n\t}\n\n}\n\n/**\n * Calculate the number of steps\n *\n * @param {number} steps The number of steps\n * @param {Array} ends The ends\n * @return {Array} Array containing the number of steps per color\n */\nfunction stepCalc(steps, ends) {\n\tconst step = new Array(3)\n\tstep[0] = (ends[1].r - ends[0].r) / steps\n\tstep[1] = (ends[1].g - ends[0].g) / steps\n\tstep[2] = (ends[1].b - ends[0].b) / steps\n\treturn step\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param {number} steps The number of steps the palette has\n * @param {Color} color1 The first color\n * @param {Color} color2 The second color\n * @return {Array} The created palette array\n */\nfunction mixPalette(steps, color1, color2) {\n\tconst palette = []\n\tpalette.push(color1)\n\tconst step = stepCalc(steps, [color1, color2])\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + step[0] * i)\n\t\tconst g = Math.floor(color1.g + step[1] * i)\n\t\tconst b = Math.floor(color1.b + step[2] * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3)\n * if step = 6\n * 3 colors * 6 will result in 18 generated colors\n *\n * @param {number} [steps] Number of steps to go from a color to another\n * @return {object[]}\n */\nfunction GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n\nexport default GenColors\n"],"names":["Color","r","g","b","name","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","GenColors","red","t","yellow","blue","palette1","palette2","palette3"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,MAAMA,EAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQX,YAAYC,GAAGC,GAAGC,GAAGC,GAAM;AAC1B,SAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,IAAIC,GACLC,MACH,KAAK,OAAOA;AAAA,EAEb;AAEF;AASA,SAASC,EAASC,GAAOC,GAAM;AAC9B,QAAMC,IAAO,IAAI,MAAM,CAAC;AACxB,SAAAA,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GAC7BE;AACR;AAUA,SAASC,EAAWH,GAAOI,GAAQC,GAAQ;AAC1C,QAAMC,IAAU,CAAE;AAClB,EAAAA,EAAQ,KAAKF,CAAM;AACnB,QAAMF,IAAOH,EAASC,GAAO,CAACI,GAAQC,CAAM,CAAC;AAC7C,WAASE,IAAI,GAAGA,IAAIP,GAAOO,KAAK;AAC/B,UAAMZ,IAAI,KAAK,MAAMS,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCX,IAAI,KAAK,MAAMQ,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCV,IAAI,KAAK,MAAMO,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC;AAC3C,IAAAD,EAAQ,KAAK,IAAIZ,EAAMC,GAAGC,GAAGC,CAAC,CAAC;AAAA,EAC/B;AACD,SAAOS;AACR;AAWA,SAASE,EAAUR,GAAO;AACzB,EAAKA,MACJA,IAAQ;AAGT,QAAMS,IAAM,IAAIf,EAAM,KAAK,IAAI,KAAKgB,EAAE,QAAQ,CAAC,GACzCC,IAAS,IAAIjB,EAAM,KAAK,KAAK,IAAIgB,EAAE,MAAM,CAAC,GAC1CE,IAAO,IAAIlB,EAAM,GAAG,KAAK,KAAKgB,EAAE,gBAAgB,CAAC,GAEjDG,IAAWV,EAAWH,GAAOS,GAAKE,CAAM,GACxCG,IAAWX,EAAWH,GAAOW,GAAQC,CAAI,GACzCG,IAAWZ,EAAWH,GAAOY,GAAMH,CAAG;AAE5C,SAAOI,EAAS,OAAOC,CAAQ,EAAE,OAAOC,CAAQ;AACjD;"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const a = require("./l10n-e9ffbe5e.cjs");
2
+ const a = require("./l10n-070da9ad.cjs");
3
3
  /**
4
4
  * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
5
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"GenColors-4314c256.cjs","sources":["../../src/utils/GenColors.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\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\n/**\n * Originally taken from https://github.com/nextcloud/server/blob/master/core/js/placeholder.js\n */\n\nimport { t } from '../l10n.js'\n\nclass Color {\n\n\t/**\n\t * @param {number} r The red value\n\t * @param {number} g The green value\n\t * @param {number} b The blue value\n\t * @param {string} [name] The name of the color\n\t */\n\tconstructor(r, g, b, name) {\n\t\tthis.r = r\n\t\tthis.g = g\n\t\tthis.b = b\n\t\tif (name) {\n\t\t\tthis.name = name\n\t\t}\n\t}\n\n}\n\n/**\n * Calculate the number of steps\n *\n * @param {number} steps The number of steps\n * @param {Array} ends The ends\n * @return {Array} Array containing the number of steps per color\n */\nfunction stepCalc(steps, ends) {\n\tconst step = new Array(3)\n\tstep[0] = (ends[1].r - ends[0].r) / steps\n\tstep[1] = (ends[1].g - ends[0].g) / steps\n\tstep[2] = (ends[1].b - ends[0].b) / steps\n\treturn step\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param {number} steps The number of steps the palette has\n * @param {Color} color1 The first color\n * @param {Color} color2 The second color\n * @return {Array} The created palette array\n */\nfunction mixPalette(steps, color1, color2) {\n\tconst palette = []\n\tpalette.push(color1)\n\tconst step = stepCalc(steps, [color1, color2])\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + step[0] * i)\n\t\tconst g = Math.floor(color1.g + step[1] * i)\n\t\tconst b = Math.floor(color1.b + step[2] * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3)\n * if step = 6\n * 3 colors * 6 will result in 18 generated colors\n *\n * @param {number} [steps] Number of steps to go from a color to another\n * @return {object[]}\n */\nfunction GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n\nexport default GenColors\n"],"names":["Color","r","g","b","name","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","GenColors","red","t","yellow","blue","palette1","palette2","palette3"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,MAAMA,EAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQX,YAAYC,GAAGC,GAAGC,GAAGC,GAAM;AAC1B,SAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,IAAIC,GACLC,MACH,KAAK,OAAOA;AAAA,EAEb;AAEF;AASA,SAASC,EAASC,GAAOC,GAAM;AAC9B,QAAMC,IAAO,IAAI,MAAM,CAAC;AACxB,SAAAA,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GAC7BE;AACR;AAUA,SAASC,EAAWH,GAAOI,GAAQC,GAAQ;AAC1C,QAAMC,IAAU,CAAE;AAClB,EAAAA,EAAQ,KAAKF,CAAM;AACnB,QAAMF,IAAOH,EAASC,GAAO,CAACI,GAAQC,CAAM,CAAC;AAC7C,WAASE,IAAI,GAAGA,IAAIP,GAAOO,KAAK;AAC/B,UAAMZ,IAAI,KAAK,MAAMS,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCX,IAAI,KAAK,MAAMQ,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCV,IAAI,KAAK,MAAMO,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC;AAC3C,IAAAD,EAAQ,KAAK,IAAIZ,EAAMC,GAAGC,GAAGC,CAAC,CAAC;AAAA,EAC/B;AACD,SAAOS;AACR;AAWA,SAASE,EAAUR,GAAO;AACzB,EAAKA,MACJA,IAAQ;AAGT,QAAMS,IAAM,IAAIf,EAAM,KAAK,IAAI,KAAKgB,EAAAA,EAAE,QAAQ,CAAC,GACzCC,IAAS,IAAIjB,EAAM,KAAK,KAAK,IAAIgB,EAAAA,EAAE,MAAM,CAAC,GAC1CE,IAAO,IAAIlB,EAAM,GAAG,KAAK,KAAKgB,EAAAA,EAAE,gBAAgB,CAAC,GAEjDG,IAAWV,EAAWH,GAAOS,GAAKE,CAAM,GACxCG,IAAWX,EAAWH,GAAOW,GAAQC,CAAI,GACzCG,IAAWZ,EAAWH,GAAOY,GAAMH,CAAG;AAE5C,SAAOI,EAAS,OAAOC,CAAQ,EAAE,OAAOC,CAAQ;AACjD;;"}
1
+ {"version":3,"file":"GenColors-a8d54566.cjs","sources":["../../src/utils/GenColors.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\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\n/**\n * Originally taken from https://github.com/nextcloud/server/blob/master/core/js/placeholder.js\n */\n\nimport { t } from '../l10n.js'\n\nclass Color {\n\n\t/**\n\t * @param {number} r The red value\n\t * @param {number} g The green value\n\t * @param {number} b The blue value\n\t * @param {string} [name] The name of the color\n\t */\n\tconstructor(r, g, b, name) {\n\t\tthis.r = r\n\t\tthis.g = g\n\t\tthis.b = b\n\t\tif (name) {\n\t\t\tthis.name = name\n\t\t}\n\t}\n\n}\n\n/**\n * Calculate the number of steps\n *\n * @param {number} steps The number of steps\n * @param {Array} ends The ends\n * @return {Array} Array containing the number of steps per color\n */\nfunction stepCalc(steps, ends) {\n\tconst step = new Array(3)\n\tstep[0] = (ends[1].r - ends[0].r) / steps\n\tstep[1] = (ends[1].g - ends[0].g) / steps\n\tstep[2] = (ends[1].b - ends[0].b) / steps\n\treturn step\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param {number} steps The number of steps the palette has\n * @param {Color} color1 The first color\n * @param {Color} color2 The second color\n * @return {Array} The created palette array\n */\nfunction mixPalette(steps, color1, color2) {\n\tconst palette = []\n\tpalette.push(color1)\n\tconst step = stepCalc(steps, [color1, color2])\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + step[0] * i)\n\t\tconst g = Math.floor(color1.g + step[1] * i)\n\t\tconst b = Math.floor(color1.b + step[2] * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3)\n * if step = 6\n * 3 colors * 6 will result in 18 generated colors\n *\n * @param {number} [steps] Number of steps to go from a color to another\n * @return {object[]}\n */\nfunction GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n\nexport default GenColors\n"],"names":["Color","r","g","b","name","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","GenColors","red","t","yellow","blue","palette1","palette2","palette3"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,MAAMA,EAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQX,YAAYC,GAAGC,GAAGC,GAAGC,GAAM;AAC1B,SAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,IAAIC,GACLC,MACH,KAAK,OAAOA;AAAA,EAEb;AAEF;AASA,SAASC,EAASC,GAAOC,GAAM;AAC9B,QAAMC,IAAO,IAAI,MAAM,CAAC;AACxB,SAAAA,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GAC7BE;AACR;AAUA,SAASC,EAAWH,GAAOI,GAAQC,GAAQ;AAC1C,QAAMC,IAAU,CAAE;AAClB,EAAAA,EAAQ,KAAKF,CAAM;AACnB,QAAMF,IAAOH,EAASC,GAAO,CAACI,GAAQC,CAAM,CAAC;AAC7C,WAASE,IAAI,GAAGA,IAAIP,GAAOO,KAAK;AAC/B,UAAMZ,IAAI,KAAK,MAAMS,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCX,IAAI,KAAK,MAAMQ,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCV,IAAI,KAAK,MAAMO,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC;AAC3C,IAAAD,EAAQ,KAAK,IAAIZ,EAAMC,GAAGC,GAAGC,CAAC,CAAC;AAAA,EAC/B;AACD,SAAOS;AACR;AAWA,SAASE,EAAUR,GAAO;AACzB,EAAKA,MACJA,IAAQ;AAGT,QAAMS,IAAM,IAAIf,EAAM,KAAK,IAAI,KAAKgB,EAAAA,EAAE,QAAQ,CAAC,GACzCC,IAAS,IAAIjB,EAAM,KAAK,KAAK,IAAIgB,EAAAA,EAAE,MAAM,CAAC,GAC1CE,IAAO,IAAIlB,EAAM,GAAG,KAAK,KAAKgB,EAAAA,EAAE,gBAAgB,CAAC,GAEjDG,IAAWV,EAAWH,GAAOS,GAAKE,CAAM,GACxCG,IAAWX,EAAWH,GAAOW,GAAQC,CAAI,GACzCG,IAAWZ,EAAWH,GAAOY,GAAMH,CAAG;AAE5C,SAAOI,EAAS,OAAOC,CAAQ,EAAE,OAAOC,CAAQ;AACjD;;"}
@@ -1,7 +1,5 @@
1
- var y = require("../assets/NcAppNavigationToggle-9e170630.css");
2
- const l = require("../Components/NcButton.cjs");
3
- require("../Directives/Tooltip.cjs");
4
- const o = require("./l10n-e9ffbe5e.cjs"), i = require("./_plugin-vue2_normalizer-7f9efb60.cjs"), r = require("floating-vue"), s = {
1
+ var M = require("../assets/NcAppNavigationToggle-2bc73ee8.css");
2
+ const o = require("../Components/NcButton.cjs"), l = require("./l10n-070da9ad.cjs"), i = require("./_plugin-vue2_normalizer-7f9efb60.cjs"), r = {
5
3
  name: "MenuIcon",
6
4
  emits: ["click"],
7
5
  props: {
@@ -18,22 +16,22 @@ const o = require("./l10n-e9ffbe5e.cjs"), i = require("./_plugin-vue2_normalizer
18
16
  }
19
17
  }
20
18
  };
21
- var c = function() {
19
+ var s = function() {
22
20
  var e = this, t = e._self._c;
23
21
  return t("span", e._b({ staticClass: "material-design-icon menu-icon", attrs: { "aria-hidden": !e.title, "aria-label": e.title, role: "img" }, on: { click: function(n) {
24
22
  return e.$emit("click", n);
25
23
  } } }, "span", e.$attrs, !1), [t("svg", { staticClass: "material-design-icon__svg", attrs: { fill: e.fillColor, width: e.size, height: e.size, viewBox: "0 0 24 24" } }, [t("path", { attrs: { d: "M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z" } }, [e.title ? t("title", [e._v(e._s(e.title))]) : e._e()])])]);
26
- }, p = [], u = /* @__PURE__ */ i.normalizeComponent(
24
+ }, c = [], _ = /* @__PURE__ */ i.normalizeComponent(
25
+ r,
27
26
  s,
28
27
  c,
29
- p,
30
28
  !1,
31
29
  null,
32
30
  null,
33
31
  null,
34
32
  null
35
33
  );
36
- const _ = u.exports, g = {
34
+ const p = _.exports, u = {
37
35
  name: "MenuOpenIcon",
38
36
  emits: ["click"],
39
37
  props: {
@@ -50,30 +48,27 @@ const _ = u.exports, g = {
50
48
  }
51
49
  }
52
50
  };
53
- var m = function() {
51
+ var g = function() {
54
52
  var e = this, t = e._self._c;
55
53
  return t("span", e._b({ staticClass: "material-design-icon menu-open-icon", attrs: { "aria-hidden": !e.title, "aria-label": e.title, role: "img" }, on: { click: function(n) {
56
54
  return e.$emit("click", n);
57
55
  } } }, "span", e.$attrs, !1), [t("svg", { staticClass: "material-design-icon__svg", attrs: { fill: e.fillColor, width: e.size, height: e.size, viewBox: "0 0 24 24" } }, [t("path", { attrs: { d: "M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z" } }, [e.title ? t("title", [e._v(e._s(e.title))]) : e._e()])])]);
58
- }, v = [], f = /* @__PURE__ */ i.normalizeComponent(
56
+ }, m = [], v = /* @__PURE__ */ i.normalizeComponent(
57
+ u,
59
58
  g,
60
59
  m,
61
- v,
62
60
  !1,
63
61
  null,
64
62
  null,
65
63
  null,
66
64
  null
67
65
  );
68
- const d = f.exports;
69
- const h = {
66
+ const d = v.exports;
67
+ const f = {
70
68
  name: "NcAppNavigationToggle",
71
- directives: {
72
- tooltip: r.VTooltip
73
- },
74
69
  components: {
75
- NcButton: l,
76
- MenuIcon: _,
70
+ NcButton: o,
71
+ MenuIcon: p,
77
72
  MenuOpenIcon: d
78
73
  },
79
74
  props: {
@@ -85,7 +80,7 @@ const h = {
85
80
  emits: ["update:open"],
86
81
  computed: {
87
82
  label() {
88
- return this.open ? o.t("Close navigation") : o.t("Open navigation");
83
+ return this.open ? l.t("Close navigation") : l.t("Open navigation");
89
84
  }
90
85
  },
91
86
  methods: {
@@ -94,20 +89,20 @@ const h = {
94
89
  }
95
90
  }
96
91
  };
97
- var C = function() {
92
+ var h = function() {
98
93
  var e = this, t = e._self._c;
99
- return t("NcButton", { directives: [{ name: "tooltip", rawName: "v-tooltip.auto", value: e.label, expression: "label", modifiers: { auto: !0 } }], staticClass: "app-navigation-toggle", attrs: { type: "tertiary", "aria-expanded": e.open ? "true" : "false", "aria-label": e.label, "aria-controls": "app-navigation-vue" }, on: { click: e.toggleNavigation }, scopedSlots: e._u([{ key: "icon", fn: function() {
94
+ return t("NcButton", { staticClass: "app-navigation-toggle", attrs: { type: "tertiary", "aria-expanded": e.open ? "true" : "false", "aria-label": e.label, title: e.label, "aria-controls": "app-navigation-vue" }, on: { click: e.toggleNavigation }, scopedSlots: e._u([{ key: "icon", fn: function() {
100
95
  return [e.open ? t("MenuOpenIcon", { attrs: { size: 20 } }) : t("MenuIcon", { attrs: { size: 20 } })];
101
96
  }, proxy: !0 }]) });
102
- }, N = [], V = /* @__PURE__ */ i.normalizeComponent(
97
+ }, C = [], N = /* @__PURE__ */ i.normalizeComponent(
98
+ f,
103
99
  h,
104
100
  C,
105
- N,
106
101
  !1,
107
102
  null,
108
- "13b4f13a",
103
+ "8cb91920",
109
104
  null,
110
105
  null
111
106
  );
112
- const b = V.exports;
113
- exports.NcAppNavigationToggle = b;
107
+ const y = N.exports;
108
+ exports.NcAppNavigationToggle = y;
@@ -1 +1 @@
1
- {"version":3,"file":"NcAppNavigationToggle-2574bba5.mjs","sources":["../../node_modules/vue-material-design-icons/Menu.vue","../../node_modules/vue-material-design-icons/MenuOpen.vue","../../src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-open-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuOpenIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<!--\n - @copyright Copyright (c) 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n -\n - @author Christoph Wurst <christoph@winzerhof-wurst.at>\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n - @author Marco Ambrosini <marcoambrosini@icloud.com>\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<template>\n\t<NcButton v-tooltip.auto=\"label\"\n\t\tclass=\"app-navigation-toggle\"\n\t\ttype=\"tertiary\"\n\t\t:aria-expanded=\"open ? 'true' : 'false'\"\n\t\t:aria-label=\"label\"\n\t\taria-controls=\"app-navigation-vue\"\n\t\t@click=\"toggleNavigation\">\n\t\t<template #icon>\n\t\t\t<MenuOpenIcon v-if=\"open\" :size=\"20\" />\n\t\t\t<MenuIcon v-else :size=\"20\" />\n\t\t</template>\n\t</NcButton>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport Tooltip from '../../directives/Tooltip/index.js'\nimport { t } from '../../l10n.js'\n\nimport MenuIcon from 'vue-material-design-icons/Menu.vue'\nimport MenuOpenIcon from 'vue-material-design-icons/MenuOpen.vue'\n\nexport default {\n\tname: 'NcAppNavigationToggle',\n\n\tdirectives: {\n\t\ttooltip: Tooltip,\n\t},\n\n\tcomponents: {\n\t\tNcButton,\n\t\tMenuIcon,\n\t\tMenuOpenIcon,\n\t},\n\n\tprops: {\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\temits: ['update:open'],\n\n\tcomputed: {\n\t\tlabel() {\n\t\t\treturn this.open ? t('Close navigation') : t('Open navigation')\n\t\t},\n\t},\n\tmethods: {\n\t\ttoggleNavigation() {\n\t\t\tthis.$emit('update:open', !this.open)\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\nbutton.app-navigation-toggle {\n\tposition: absolute;\n\ttop: var(--app-navigation-padding);\n\tright: calc(0px - var(--app-navigation-padding));\n\tmargin-right: - $clickable-area;\n\tbackground-color: var(--color-main-background);\n}\n</style>\n"],"names":["_sfc_main$2","_sfc_main$1","_sfc_main","VTooltip","NcButton","MenuIcon","MenuOpenIcon","t"],"mappings":";;;;;;AAoBA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;qBChBAC,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;ACUA,MAAAC,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,SAAAC;AAAA,EACA;AAAA,EAEA,YAAA;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA,CAAA,aAAA;AAAA,EAEA,UAAA;AAAA,IACA,QAAA;AACA,aAAA,KAAA,OAAAC,EAAA,kBAAA,IAAAA,EAAA,iBAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,SAAA;AAAA,IACA,mBAAA;AACA,WAAA,MAAA,eAAA,CAAA,KAAA,IAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"NcAppNavigationToggle-6a975868.cjs","sources":["../../node_modules/vue-material-design-icons/Menu.vue","../../node_modules/vue-material-design-icons/MenuOpen.vue","../../src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-open-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuOpenIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<!--\n - @copyright Copyright (c) 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n -\n - @author Christoph Wurst <christoph@winzerhof-wurst.at>\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n - @author Marco Ambrosini <marcoambrosini@icloud.com>\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<template>\n\t<NcButton class=\"app-navigation-toggle\"\n\t\ttype=\"tertiary\"\n\t\t:aria-expanded=\"open ? 'true' : 'false'\"\n\t\t:aria-label=\"label\"\n\t\t:title=\"label\"\n\t\taria-controls=\"app-navigation-vue\"\n\t\t@click=\"toggleNavigation\">\n\t\t<template #icon>\n\t\t\t<MenuOpenIcon v-if=\"open\" :size=\"20\" />\n\t\t\t<MenuIcon v-else :size=\"20\" />\n\t\t</template>\n\t</NcButton>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport { t } from '../../l10n.js'\n\nimport MenuIcon from 'vue-material-design-icons/Menu.vue'\nimport MenuOpenIcon from 'vue-material-design-icons/MenuOpen.vue'\n\nexport default {\n\tname: 'NcAppNavigationToggle',\n\n\tcomponents: {\n\t\tNcButton,\n\t\tMenuIcon,\n\t\tMenuOpenIcon,\n\t},\n\n\tprops: {\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\temits: ['update:open'],\n\n\tcomputed: {\n\t\tlabel() {\n\t\t\treturn this.open ? t('Close navigation') : t('Open navigation')\n\t\t},\n\t},\n\tmethods: {\n\t\ttoggleNavigation() {\n\t\t\tthis.$emit('update:open', !this.open)\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\nbutton.app-navigation-toggle {\n\tposition: absolute;\n\ttop: var(--app-navigation-padding);\n\tright: calc(0px - var(--app-navigation-padding));\n\tmargin-right: - $clickable-area;\n\tbackground-color: var(--color-main-background);\n}\n</style>\n"],"names":["_sfc_main$2","_sfc_main$1","_sfc_main","Components_NcButton","MenuIcon","MenuOpenIcon","l10n"],"mappings":";4IAoBAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;qBChBAC,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;ACSA,MAAAC,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA,CAAA,aAAA;AAAA,EAEA,UAAA;AAAA,IACA,QAAA;AACA,aAAA,KAAA,OAAAC,EAAA,EAAA,kBAAA,IAAAA,EAAA,EAAA,iBAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,SAAA;AAAA,IACA,mBAAA;AACA,WAAA,MAAA,eAAA,CAAA,KAAA,IAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
@@ -1,10 +1,8 @@
1
- import "../assets/NcAppNavigationToggle-9e170630.css";
2
- import l from "../Components/NcButton.mjs";
3
- import "../Directives/Tooltip.mjs";
4
- import { t as o } from "./l10n-ef44019c.mjs";
1
+ import "../assets/NcAppNavigationToggle-2bc73ee8.css";
2
+ import o from "../Components/NcButton.mjs";
3
+ import { t as l } from "./l10n-1b905a9a.mjs";
5
4
  import { n as i } from "./_plugin-vue2_normalizer-71e2aa87.mjs";
6
- import { VTooltip as r } from "floating-vue";
7
- const s = {
5
+ const r = {
8
6
  name: "MenuIcon",
9
7
  emits: ["click"],
10
8
  props: {
@@ -21,22 +19,22 @@ const s = {
21
19
  }
22
20
  }
23
21
  };
24
- var c = function() {
22
+ var s = function() {
25
23
  var t = this, e = t._self._c;
26
24
  return e("span", t._b({ staticClass: "material-design-icon menu-icon", attrs: { "aria-hidden": !t.title, "aria-label": t.title, role: "img" }, on: { click: function(n) {
27
25
  return t.$emit("click", n);
28
26
  } } }, "span", t.$attrs, !1), [e("svg", { staticClass: "material-design-icon__svg", attrs: { fill: t.fillColor, width: t.size, height: t.size, viewBox: "0 0 24 24" } }, [e("path", { attrs: { d: "M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z" } }, [t.title ? e("title", [t._v(t._s(t.title))]) : t._e()])])]);
29
- }, p = [], _ = /* @__PURE__ */ i(
27
+ }, c = [], _ = /* @__PURE__ */ i(
28
+ r,
30
29
  s,
31
30
  c,
32
- p,
33
31
  !1,
34
32
  null,
35
33
  null,
36
34
  null,
37
35
  null
38
36
  );
39
- const u = _.exports, m = {
37
+ const p = _.exports, u = {
40
38
  name: "MenuOpenIcon",
41
39
  emits: ["click"],
42
40
  props: {
@@ -53,31 +51,28 @@ const u = _.exports, m = {
53
51
  }
54
52
  }
55
53
  };
56
- var f = function() {
54
+ var m = function() {
57
55
  var t = this, e = t._self._c;
58
56
  return e("span", t._b({ staticClass: "material-design-icon menu-open-icon", attrs: { "aria-hidden": !t.title, "aria-label": t.title, role: "img" }, on: { click: function(n) {
59
57
  return t.$emit("click", n);
60
58
  } } }, "span", t.$attrs, !1), [e("svg", { staticClass: "material-design-icon__svg", attrs: { fill: t.fillColor, width: t.size, height: t.size, viewBox: "0 0 24 24" } }, [e("path", { attrs: { d: "M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z" } }, [t.title ? e("title", [t._v(t._s(t.title))]) : t._e()])])]);
61
- }, v = [], d = /* @__PURE__ */ i(
59
+ }, f = [], g = /* @__PURE__ */ i(
60
+ u,
62
61
  m,
63
62
  f,
64
- v,
65
63
  !1,
66
64
  null,
67
65
  null,
68
66
  null,
69
67
  null
70
68
  );
71
- const g = d.exports;
72
- const h = {
69
+ const d = g.exports;
70
+ const v = {
73
71
  name: "NcAppNavigationToggle",
74
- directives: {
75
- tooltip: r
76
- },
77
72
  components: {
78
- NcButton: l,
79
- MenuIcon: u,
80
- MenuOpenIcon: g
73
+ NcButton: o,
74
+ MenuIcon: p,
75
+ MenuOpenIcon: d
81
76
  },
82
77
  props: {
83
78
  open: {
@@ -88,7 +83,7 @@ const h = {
88
83
  emits: ["update:open"],
89
84
  computed: {
90
85
  label() {
91
- return this.open ? o("Close navigation") : o("Open navigation");
86
+ return this.open ? l("Close navigation") : l("Open navigation");
92
87
  }
93
88
  },
94
89
  methods: {
@@ -97,22 +92,22 @@ const h = {
97
92
  }
98
93
  }
99
94
  };
100
- var N = function() {
95
+ var h = function() {
101
96
  var t = this, e = t._self._c;
102
- return e("NcButton", { directives: [{ name: "tooltip", rawName: "v-tooltip.auto", value: t.label, expression: "label", modifiers: { auto: !0 } }], staticClass: "app-navigation-toggle", attrs: { type: "tertiary", "aria-expanded": t.open ? "true" : "false", "aria-label": t.label, "aria-controls": "app-navigation-vue" }, on: { click: t.toggleNavigation }, scopedSlots: t._u([{ key: "icon", fn: function() {
97
+ return e("NcButton", { staticClass: "app-navigation-toggle", attrs: { type: "tertiary", "aria-expanded": t.open ? "true" : "false", "aria-label": t.label, title: t.label, "aria-controls": "app-navigation-vue" }, on: { click: t.toggleNavigation }, scopedSlots: t._u([{ key: "icon", fn: function() {
103
98
  return [t.open ? e("MenuOpenIcon", { attrs: { size: 20 } }) : e("MenuIcon", { attrs: { size: 20 } })];
104
99
  }, proxy: !0 }]) });
105
- }, b = [], y = /* @__PURE__ */ i(
100
+ }, y = [], C = /* @__PURE__ */ i(
101
+ v,
106
102
  h,
107
- N,
108
- b,
103
+ y,
109
104
  !1,
110
105
  null,
111
- "13b4f13a",
106
+ "8cb91920",
112
107
  null,
113
108
  null
114
109
  );
115
- const z = y.exports;
110
+ const H = C.exports;
116
111
  export {
117
- z as N
112
+ H as N
118
113
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NcAppNavigationToggle-1301e882.cjs","sources":["../../node_modules/vue-material-design-icons/Menu.vue","../../node_modules/vue-material-design-icons/MenuOpen.vue","../../src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-open-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuOpenIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<!--\n - @copyright Copyright (c) 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n -\n - @author Christoph Wurst <christoph@winzerhof-wurst.at>\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n - @author Marco Ambrosini <marcoambrosini@icloud.com>\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<template>\n\t<NcButton v-tooltip.auto=\"label\"\n\t\tclass=\"app-navigation-toggle\"\n\t\ttype=\"tertiary\"\n\t\t:aria-expanded=\"open ? 'true' : 'false'\"\n\t\t:aria-label=\"label\"\n\t\taria-controls=\"app-navigation-vue\"\n\t\t@click=\"toggleNavigation\">\n\t\t<template #icon>\n\t\t\t<MenuOpenIcon v-if=\"open\" :size=\"20\" />\n\t\t\t<MenuIcon v-else :size=\"20\" />\n\t\t</template>\n\t</NcButton>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport Tooltip from '../../directives/Tooltip/index.js'\nimport { t } from '../../l10n.js'\n\nimport MenuIcon from 'vue-material-design-icons/Menu.vue'\nimport MenuOpenIcon from 'vue-material-design-icons/MenuOpen.vue'\n\nexport default {\n\tname: 'NcAppNavigationToggle',\n\n\tdirectives: {\n\t\ttooltip: Tooltip,\n\t},\n\n\tcomponents: {\n\t\tNcButton,\n\t\tMenuIcon,\n\t\tMenuOpenIcon,\n\t},\n\n\tprops: {\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\temits: ['update:open'],\n\n\tcomputed: {\n\t\tlabel() {\n\t\t\treturn this.open ? t('Close navigation') : t('Open navigation')\n\t\t},\n\t},\n\tmethods: {\n\t\ttoggleNavigation() {\n\t\t\tthis.$emit('update:open', !this.open)\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\nbutton.app-navigation-toggle {\n\tposition: absolute;\n\ttop: var(--app-navigation-padding);\n\tright: calc(0px - var(--app-navigation-padding));\n\tmargin-right: - $clickable-area;\n\tbackground-color: var(--color-main-background);\n}\n</style>\n"],"names":["_sfc_main$2","_sfc_main$1","_sfc_main","floatingVue","Components_NcButton","MenuIcon","MenuOpenIcon","l10n"],"mappings":";;;8HAoBAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;qBChBAC,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;ACUA,MAAAC,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,SAAAC,EAAA;AAAA,EACA;AAAA,EAEA,YAAA;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA,CAAA,aAAA;AAAA,EAEA,UAAA;AAAA,IACA,QAAA;AACA,aAAA,KAAA,OAAAC,EAAA,EAAA,kBAAA,IAAAA,EAAA,EAAA,iBAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,SAAA;AAAA,IACA,mBAAA;AACA,WAAA,MAAA,eAAA,CAAA,KAAA,IAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"NcAppNavigationToggle-f5591773.mjs","sources":["../../node_modules/vue-material-design-icons/Menu.vue","../../node_modules/vue-material-design-icons/MenuOpen.vue","../../src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-open-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuOpenIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<!--\n - @copyright Copyright (c) 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n -\n - @author Christoph Wurst <christoph@winzerhof-wurst.at>\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n - @author Marco Ambrosini <marcoambrosini@icloud.com>\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<template>\n\t<NcButton class=\"app-navigation-toggle\"\n\t\ttype=\"tertiary\"\n\t\t:aria-expanded=\"open ? 'true' : 'false'\"\n\t\t:aria-label=\"label\"\n\t\t:title=\"label\"\n\t\taria-controls=\"app-navigation-vue\"\n\t\t@click=\"toggleNavigation\">\n\t\t<template #icon>\n\t\t\t<MenuOpenIcon v-if=\"open\" :size=\"20\" />\n\t\t\t<MenuIcon v-else :size=\"20\" />\n\t\t</template>\n\t</NcButton>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport { t } from '../../l10n.js'\n\nimport MenuIcon from 'vue-material-design-icons/Menu.vue'\nimport MenuOpenIcon from 'vue-material-design-icons/MenuOpen.vue'\n\nexport default {\n\tname: 'NcAppNavigationToggle',\n\n\tcomponents: {\n\t\tNcButton,\n\t\tMenuIcon,\n\t\tMenuOpenIcon,\n\t},\n\n\tprops: {\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\temits: ['update:open'],\n\n\tcomputed: {\n\t\tlabel() {\n\t\t\treturn this.open ? t('Close navigation') : t('Open navigation')\n\t\t},\n\t},\n\tmethods: {\n\t\ttoggleNavigation() {\n\t\t\tthis.$emit('update:open', !this.open)\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\nbutton.app-navigation-toggle {\n\tposition: absolute;\n\ttop: var(--app-navigation-padding);\n\tright: calc(0px - var(--app-navigation-padding));\n\tmargin-right: - $clickable-area;\n\tbackground-color: var(--color-main-background);\n}\n</style>\n"],"names":["_sfc_main$2","_sfc_main$1","_sfc_main","NcButton","MenuIcon","MenuOpenIcon","t"],"mappings":";;;;AAoBA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;qBChBAC,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;ACSA,MAAAC,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA,CAAA,aAAA;AAAA,EAEA,UAAA;AAAA,IACA,QAAA;AACA,aAAA,KAAA,OAAAC,EAAA,kBAAA,IAAAA,EAAA,iBAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,SAAA;AAAA,IACA,mBAAA;AACA,WAAA,MAAA,eAAA,CAAA,KAAA,IAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
@@ -1,6 +1,6 @@
1
1
  import "../assets/NcInputConfirmCancel-45d1d76b.css";
2
2
  import o from "../Components/NcButton.mjs";
3
- import { t as a } from "./l10n-ef44019c.mjs";
3
+ import { t as a } from "./l10n-1b905a9a.mjs";
4
4
  import { A as l } from "./ArrowRight-74a9fcb2.mjs";
5
5
  import { C as i } from "./Close-271f72e2.mjs";
6
6
  import { n as c } from "./_plugin-vue2_normalizer-71e2aa87.mjs";