aloha-vue 1.0.337 → 1.0.339
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/README.md +9 -3
- package/docs/src/components/TheMenu/TheMenu.js +14 -6
- package/docs/src/mainIcons.js +8 -0
- package/docs/src/mainTranslation.js +18 -0
- package/docs/src/router/index.js +6 -1
- package/docs/src/views/PageDisclosure/PageDisclosure.js +83 -0
- package/docs/src/views/PageDisclosure/PageDisclosure.pug +64 -0
- package/docs/src/views/PageDisclosure/PageDisclosure.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBasic/PageDisclosureBasic.js +42 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBasic/PageDisclosureBasic.pug +12 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBasic/PageDisclosureBasic.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBasic/compositionAPI/HtmlAPI.js +10 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBasic/compositionAPI/JsAPI.js +33 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnClass/PageDisclosureBtnClass.js +42 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnClass/PageDisclosureBtnClass.pug +15 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnClass/PageDisclosureBtnClass.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnClass/compositionAPI/HtmlAPI.js +12 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnClass/compositionAPI/JsAPI.js +33 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnIcons/PageDisclosureBtnIcons.js +42 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnIcons/PageDisclosureBtnIcons.pug +17 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnIcons/PageDisclosureBtnIcons.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnIcons/compositionAPI/HtmlAPI.js +14 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnIcons/compositionAPI/JsAPI.js +33 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTexts/PageDisclosureBtnTexts.js +42 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTexts/PageDisclosureBtnTexts.pug +15 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTexts/PageDisclosureBtnTexts.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTexts/compositionAPI/HtmlAPI.js +12 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTexts/compositionAPI/JsAPI.js +33 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTitle/PageDisclosureBtnTitle.js +42 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTitle/PageDisclosureBtnTitle.pug +15 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTitle/PageDisclosureBtnTitle.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTitle/compositionAPI/HtmlAPI.js +12 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTitle/compositionAPI/JsAPI.js +33 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTitleHtml/PageDisclosureBtnTitleHtml.js +42 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTitleHtml/PageDisclosureBtnTitleHtml.pug +24 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTitleHtml/PageDisclosureBtnTitleHtml.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTitleHtml/compositionAPI/HtmlAPI.js +21 -0
- package/docs/src/views/PageDisclosure/PageDisclosureBtnTitleHtml/compositionAPI/JsAPI.js +33 -0
- package/docs/src/views/PageDisclosure/PageDisclosureDisabled/PageDisclosureDisabled.js +42 -0
- package/docs/src/views/PageDisclosure/PageDisclosureDisabled/PageDisclosureDisabled.pug +14 -0
- package/docs/src/views/PageDisclosure/PageDisclosureDisabled/PageDisclosureDisabled.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureDisabled/compositionAPI/HtmlAPI.js +11 -0
- package/docs/src/views/PageDisclosure/PageDisclosureDisabled/compositionAPI/JsAPI.js +33 -0
- package/docs/src/views/PageDisclosure/PageDisclosureEvents/PageDisclosureEvents.js +47 -0
- package/docs/src/views/PageDisclosure/PageDisclosureEvents/PageDisclosureEvents.pug +14 -0
- package/docs/src/views/PageDisclosure/PageDisclosureEvents/PageDisclosureEvents.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureEvents/compositionAPI/HtmlAPI.js +11 -0
- package/docs/src/views/PageDisclosure/PageDisclosureEvents/compositionAPI/JsAPI.js +38 -0
- package/docs/src/views/PageDisclosure/PageDisclosureExposes/PageDisclosureExposes.js +72 -0
- package/docs/src/views/PageDisclosure/PageDisclosureExposes/PageDisclosureExposes.pug +25 -0
- package/docs/src/views/PageDisclosure/PageDisclosureExposes/PageDisclosureExposes.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureExposes/compositionAPI/HtmlAPI.js +25 -0
- package/docs/src/views/PageDisclosure/PageDisclosureExposes/compositionAPI/JsAPI.js +63 -0
- package/docs/src/views/PageDisclosure/PageDisclosureHtml/PageDisclosureHtml.js +43 -0
- package/docs/src/views/PageDisclosure/PageDisclosureHtml/PageDisclosureHtml.pug +13 -0
- package/docs/src/views/PageDisclosure/PageDisclosureHtml/PageDisclosureHtml.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureHtml/compositionAPI/HtmlAPI.js +10 -0
- package/docs/src/views/PageDisclosure/PageDisclosureHtml/compositionAPI/JsAPI.js +34 -0
- package/docs/src/views/PageDisclosure/PageDisclosureNotLess/PageDisclosureNotLess.js +42 -0
- package/docs/src/views/PageDisclosure/PageDisclosureNotLess/PageDisclosureNotLess.pug +14 -0
- package/docs/src/views/PageDisclosure/PageDisclosureNotLess/PageDisclosureNotLess.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureNotLess/compositionAPI/HtmlAPI.js +11 -0
- package/docs/src/views/PageDisclosure/PageDisclosureNotLess/compositionAPI/JsAPI.js +33 -0
- package/docs/src/views/PageDisclosure/PageDisclosureOpenDefault/PageDisclosureOpenDefault.js +42 -0
- package/docs/src/views/PageDisclosure/PageDisclosureOpenDefault/PageDisclosureOpenDefault.pug +14 -0
- package/docs/src/views/PageDisclosure/PageDisclosureOpenDefault/PageDisclosureOpenDefault.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureOpenDefault/compositionAPI/HtmlAPI.js +11 -0
- package/docs/src/views/PageDisclosure/PageDisclosureOpenDefault/compositionAPI/JsAPI.js +33 -0
- package/docs/src/views/PageDisclosure/PageDisclosureSafeHtml/PageDisclosureSafeHtml.js +43 -0
- package/docs/src/views/PageDisclosure/PageDisclosureSafeHtml/PageDisclosureSafeHtml.pug +13 -0
- package/docs/src/views/PageDisclosure/PageDisclosureSafeHtml/PageDisclosureSafeHtml.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureSafeHtml/compositionAPI/HtmlAPI.js +10 -0
- package/docs/src/views/PageDisclosure/PageDisclosureSafeHtml/compositionAPI/JsAPI.js +34 -0
- package/docs/src/views/PageDisclosure/PageDisclosureSlots/PageDisclosureSlots.js +27 -0
- package/docs/src/views/PageDisclosure/PageDisclosureSlots/PageDisclosureSlots.pug +41 -0
- package/docs/src/views/PageDisclosure/PageDisclosureSlots/PageDisclosureSlots.vue +2 -0
- package/docs/src/views/PageDisclosure/PageDisclosureSlots/compositionAPI/HtmlAPI.js +43 -0
- package/docs/src/views/PageDisclosure/PageDisclosureSlots/compositionAPI/JsAPI.js +14 -0
- package/docs/src/views/PageDisclosure/compositionAPI/EventsAPI.js +13 -0
- package/docs/src/views/PageDisclosure/compositionAPI/ExposesAPI.js +28 -0
- package/docs/src/views/PageDisclosure/compositionAPI/PageTitleAPI.js +24 -0
- package/docs/src/views/PageDisclosure/compositionAPI/PropsAPI.js +176 -0
- package/docs/src/views/PageDisclosure/compositionAPI/SlotsAPI.js +20 -0
- package/docs/src/views/PageDisclosure/compositionAPI/TranslateAPI.js +10 -0
- package/docs/src/views/PageDisclosure/i18n/PageDisclosureI18n.js +19 -0
- package/docs/src/views/PageDisclosure/i18n/ar.json +3 -0
- package/docs/src/views/PageDisclosure/i18n/de.json +3 -0
- package/docs/src/views/PageDisclosure/i18n/en.json +3 -0
- package/docs/src/views/PageDisclosure/i18n/es.json +3 -0
- package/docs/src/views/PageDisclosure/i18n/fr.json +3 -0
- package/docs/src/views/PageDisclosure/i18n/hr.json +3 -0
- package/docs/src/views/PageDisclosure/i18n/it.json +3 -0
- package/docs/src/views/PageDisclosure/i18n/ru.json +3 -0
- package/docs/src/views/PageLink/PageLinkBasic/PageLinkBasic.pug +1 -0
- package/docs/src/views/PageLink/PageLinkClass/PageLinkClass.pug +1 -0
- package/docs/src/views/PageLink/PageLinkDisabled/PageLinkDisabled.pug +1 -0
- package/docs/src/views/PageLink/PageLinkHtml/PageLinkHtml.pug +1 -0
- package/docs/src/views/PageLink/PageLinkIcons/PageLinkIcons.pug +1 -0
- package/docs/src/views/PageLink/PageLinkLoading/PageLinkLoading.pug +1 -0
- package/docs/src/views/PageLink/PageLinkOutline/PageLinkOutline.pug +1 -0
- package/docs/src/views/PageLink/PageLinkSafeHtml/PageLinkSafeHtml.pug +1 -0
- package/docs/src/views/PageLink/PageLinkSizes/PageLinkSizes.pug +1 -0
- package/docs/src/views/PageLink/PageLinkSlotAppend/PageLinkSlotAppend.pug +1 -0
- package/docs/src/views/PageLink/PageLinkSlotDefault/PageLinkSlotDefault.pug +1 -0
- package/docs/src/views/PageLink/PageLinkSlotPrepend/PageLinkSlotPrepend.pug +1 -0
- package/docs/src/views/PageLink/PageLinkSlotTitle/PageLinkSlotTitle.pug +1 -0
- package/docs/src/views/PageLink/PageLinkTextAfterBefore/PageLinkTextAfterBefore.pug +1 -0
- package/docs/src/views/PageLink/PageLinkTextObject/PageLinkTextObject.pug +1 -0
- package/docs/src/views/PageLink/PageLinkTitleArray/PageLinkTitleArray.pug +1 -0
- package/docs/src/views/PageLink/PageLinkTitleHtml/PageLinkTitleHtml.pug +1 -0
- package/docs/src/views/PageLink/i18n/en.json +79 -79
- package/docs/src/views/PageShowMore/PageShowMoreExposes/PageShowMoreExposes.pug +1 -0
- package/docs/src/views/PageTooltip/PageTooltip.js +61 -0
- package/docs/src/views/PageTooltip/PageTooltip.pug +46 -0
- package/docs/src/views/PageTooltip/PageTooltip.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipArrowPadding/PageTooltipArrowPadding.js +27 -0
- package/docs/src/views/PageTooltip/PageTooltipArrowPadding/PageTooltipArrowPadding.pug +18 -0
- package/docs/src/views/PageTooltip/PageTooltipArrowPadding/PageTooltipArrowPadding.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipArrowPadding/compositionAPI/HtmlAPI.js +19 -0
- package/docs/src/views/PageTooltip/PageTooltipArrowPadding/compositionAPI/JsAPI.js +14 -0
- package/docs/src/views/PageTooltip/PageTooltipArrowPaddingFunction/PageTooltipArrowPaddingFunction.js +39 -0
- package/docs/src/views/PageTooltip/PageTooltipArrowPaddingFunction/PageTooltipArrowPaddingFunction.pug +18 -0
- package/docs/src/views/PageTooltip/PageTooltipArrowPaddingFunction/PageTooltipArrowPaddingFunction.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipArrowPaddingFunction/compositionAPI/HtmlAPI.js +19 -0
- package/docs/src/views/PageTooltip/PageTooltipArrowPaddingFunction/compositionAPI/JsAPI.js +30 -0
- package/docs/src/views/PageTooltip/PageTooltipBasic/PageTooltipBasic.js +27 -0
- package/docs/src/views/PageTooltip/PageTooltipBasic/PageTooltipBasic.pug +13 -0
- package/docs/src/views/PageTooltip/PageTooltipBasic/PageTooltipBasic.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipBasic/compositionAPI/HtmlAPI.js +15 -0
- package/docs/src/views/PageTooltip/PageTooltipBasic/compositionAPI/JsAPI.js +14 -0
- package/docs/src/views/PageTooltip/PageTooltipHideArrow/PageTooltipHideArrow.js +27 -0
- package/docs/src/views/PageTooltip/PageTooltipHideArrow/PageTooltipHideArrow.pug +18 -0
- package/docs/src/views/PageTooltip/PageTooltipHideArrow/PageTooltipHideArrow.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipHideArrow/compositionAPI/HtmlAPI.js +19 -0
- package/docs/src/views/PageTooltip/PageTooltipHideArrow/compositionAPI/JsAPI.js +14 -0
- package/docs/src/views/PageTooltip/PageTooltipMaxWidth/PageTooltipMaxWidth.js +40 -0
- package/docs/src/views/PageTooltip/PageTooltipMaxWidth/PageTooltipMaxWidth.pug +18 -0
- package/docs/src/views/PageTooltip/PageTooltipMaxWidth/PageTooltipMaxWidth.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipMaxWidth/compositionAPI/HtmlAPI.js +19 -0
- package/docs/src/views/PageTooltip/PageTooltipMaxWidth/compositionAPI/JsAPI.js +31 -0
- package/docs/src/views/PageTooltip/PageTooltipOffsetDistance/PageTooltipOffsetDistance.js +27 -0
- package/docs/src/views/PageTooltip/PageTooltipOffsetDistance/PageTooltipOffsetDistance.pug +54 -0
- package/docs/src/views/PageTooltip/PageTooltipOffsetDistance/PageTooltipOffsetDistance.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipOffsetDistance/compositionAPI/HtmlAPI.js +61 -0
- package/docs/src/views/PageTooltip/PageTooltipOffsetDistance/compositionAPI/JsAPI.js +14 -0
- package/docs/src/views/PageTooltip/PageTooltipOffsetSkidding/PageTooltipOffsetSkidding.js +27 -0
- package/docs/src/views/PageTooltip/PageTooltipOffsetSkidding/PageTooltipOffsetSkidding.pug +30 -0
- package/docs/src/views/PageTooltip/PageTooltipOffsetSkidding/PageTooltipOffsetSkidding.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipOffsetSkidding/compositionAPI/HtmlAPI.js +33 -0
- package/docs/src/views/PageTooltip/PageTooltipOffsetSkidding/compositionAPI/JsAPI.js +14 -0
- package/docs/src/views/PageTooltip/PageTooltipTag/PageTooltipTag.js +40 -0
- package/docs/src/views/PageTooltip/PageTooltipTag/PageTooltipTag.pug +17 -0
- package/docs/src/views/PageTooltip/PageTooltipTag/PageTooltipTag.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipTag/compositionAPI/HtmlAPI.js +18 -0
- package/docs/src/views/PageTooltip/PageTooltipTag/compositionAPI/JsAPI.js +31 -0
- package/docs/src/views/PageTooltip/PageTooltipTimeClose/PageTooltipTimeClose.js +27 -0
- package/docs/src/views/PageTooltip/PageTooltipTimeClose/PageTooltipTimeClose.pug +42 -0
- package/docs/src/views/PageTooltip/PageTooltipTimeClose/PageTooltipTimeClose.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipTimeClose/compositionAPI/HtmlAPI.js +46 -0
- package/docs/src/views/PageTooltip/PageTooltipTimeClose/compositionAPI/JsAPI.js +14 -0
- package/docs/src/views/PageTooltip/PageTooltipWidth/PageTooltipWidth.js +27 -0
- package/docs/src/views/PageTooltip/PageTooltipWidth/PageTooltipWidth.pug +30 -0
- package/docs/src/views/PageTooltip/PageTooltipWidth/PageTooltipWidth.vue +2 -0
- package/docs/src/views/PageTooltip/PageTooltipWidth/compositionAPI/HtmlAPI.js +35 -0
- package/docs/src/views/PageTooltip/PageTooltipWidth/compositionAPI/JsAPI.js +14 -0
- package/docs/src/views/PageTooltip/compositionAPI/ExposesAPI.js +28 -0
- package/docs/src/views/PageTooltip/compositionAPI/PageTitleAPI.js +24 -0
- package/docs/src/views/PageTooltip/compositionAPI/PropsAPI.js +176 -0
- package/docs/src/views/PageTooltip/compositionAPI/SlotsAPI.js +20 -0
- package/docs/src/views/PageTooltip/i18n/PageTooltipI18n.js +19 -0
- package/docs/src/views/PageTooltip/i18n/ar.json +3 -0
- package/docs/src/views/PageTooltip/i18n/de.json +3 -0
- package/docs/src/views/PageTooltip/i18n/en.json +3 -0
- package/docs/src/views/PageTooltip/i18n/es.json +3 -0
- package/docs/src/views/PageTooltip/i18n/fr.json +3 -0
- package/docs/src/views/PageTooltip/i18n/hr.json +3 -0
- package/docs/src/views/PageTooltip/i18n/it.json +3 -0
- package/docs/src/views/PageTooltip/i18n/ru.json +3 -0
- package/package.json +36 -3
- package/src/ADisclosure/ADisclosure.js +266 -0
- package/src/ADisclosure/compositionAPI/BtnAttributesAPI.js +61 -0
- package/src/ADisclosure/compositionAPI/IsOpenAPI.js +14 -0
- package/src/ADisclosure/compositionAPI/TextOrHtmlAPI.js +44 -0
- package/src/ADisclosure/compositionAPI/ToggleAPI.js +32 -0
- package/src/ADisclosure/i18n/ADisclosureI18n.js +19 -0
- package/src/ADisclosure/i18n/ar.json +4 -0
- package/src/ADisclosure/i18n/de.json +4 -0
- package/src/ADisclosure/i18n/en.json +4 -0
- package/src/ADisclosure/i18n/es.json +4 -0
- package/src/ADisclosure/i18n/fr.json +4 -0
- package/src/ADisclosure/i18n/hr.json +4 -0
- package/src/ADisclosure/i18n/it.json +4 -0
- package/src/ADisclosure/i18n/ru.json +4 -0
- package/src/ADropdown/ADropdown.js +11 -9
- package/src/ADropdown/compositionAPI/AttributesAPI.js +1 -2
- package/src/ADropdown/compositionAPI/PopoverAPI.js +2 -2
- package/src/ADropdown/compositionAPI/ToggleAPI.js +0 -2
- package/src/ATooltip/ATooltip.js +64 -26
- package/src/ATooltip/compositionAPI/AttributesAPI.js +8 -2
- package/src/ATooltip/compositionAPI/PopperAPI.js +71 -22
- package/src/compositionAPI/ANotificationAPI.js +7 -5
- package/src/i18n/allLanguages.js +9 -0
- package/docs/src/views/PageTitle/PageTitle.js +0 -15
- package/docs/src/views/PageTitle/PageTitle.pug +0 -20
- package/docs/src/views/PageTitle/PageTitle.vue +0 -2
- /package/{static → .images}/aloha_logo.png +0 -0
package/README.md
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+

|
|
2
|
+

|
|
3
|
+

|
|
1
4
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
+
# aloha-vue
|
|
6
|
+
|
|
7
|
+

|
|
5
8
|
|
|
6
9
|
---
|
|
7
10
|
|
|
@@ -31,6 +34,9 @@ The documentation can be found in the docs/ directory. Each component has a dedi
|
|
|
31
34
|
|
|
32
35
|
Aloha documentation is available in English, German, Spanish, French, Arabic, Italian, Russian and Croatian.
|
|
33
36
|
|
|
37
|
+
## Sponsor / Support
|
|
38
|
+
|
|
39
|
+
[PROUNIX](https://prounix.de/)
|
|
34
40
|
|
|
35
41
|
## License
|
|
36
42
|
aloha-vue is released under [MIT](https://github.com/ilia-brykin/aloha/blob/master/LICENSE) license.
|
|
@@ -99,6 +99,14 @@ export default {
|
|
|
99
99
|
},
|
|
100
100
|
],
|
|
101
101
|
},
|
|
102
|
+
{
|
|
103
|
+
id: "disclosure",
|
|
104
|
+
label: "Disclosure",
|
|
105
|
+
to: {
|
|
106
|
+
name: "PageDisclosure",
|
|
107
|
+
},
|
|
108
|
+
icon: "ChevronBarExpand",
|
|
109
|
+
},
|
|
102
110
|
{
|
|
103
111
|
id: "dropdown",
|
|
104
112
|
label: "Dropdown",
|
|
@@ -146,7 +154,7 @@ export default {
|
|
|
146
154
|
to: {
|
|
147
155
|
name: "PageModal",
|
|
148
156
|
},
|
|
149
|
-
icon: "
|
|
157
|
+
icon: "Window",
|
|
150
158
|
},
|
|
151
159
|
{
|
|
152
160
|
id: "notification",
|
|
@@ -178,7 +186,7 @@ export default {
|
|
|
178
186
|
to: {
|
|
179
187
|
name: "PageShowMore",
|
|
180
188
|
},
|
|
181
|
-
icon: "
|
|
189
|
+
icon: "ChevronBarExpand",
|
|
182
190
|
},
|
|
183
191
|
{
|
|
184
192
|
group: "Aloha",
|
|
@@ -241,12 +249,12 @@ export default {
|
|
|
241
249
|
icon: "SegmentedNav",
|
|
242
250
|
},
|
|
243
251
|
{
|
|
244
|
-
id: "
|
|
245
|
-
label: "
|
|
252
|
+
id: "tooltip",
|
|
253
|
+
label: "Tooltip",
|
|
246
254
|
to: {
|
|
247
255
|
name: "PageTitle",
|
|
248
256
|
},
|
|
249
|
-
icon: "
|
|
257
|
+
icon: "ChatSquareTextFill",
|
|
250
258
|
titleHtml: "PageTitle PageTitle PageTitle PageTitle PageTitle PageTitle",
|
|
251
259
|
},
|
|
252
260
|
{
|
|
@@ -263,7 +271,7 @@ export default {
|
|
|
263
271
|
to: {
|
|
264
272
|
name: "PageWizard",
|
|
265
273
|
},
|
|
266
|
-
icon: "
|
|
274
|
+
icon: "ArrowRightCircleFill",
|
|
267
275
|
},
|
|
268
276
|
{
|
|
269
277
|
id: "ui",
|
package/docs/src/mainIcons.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import ArrowRightCircleFill from "../../src/AIcon/Icons/bootstrap-1-9-1/ArrowRightCircleFill";
|
|
1
2
|
import ArrowsCollapse from "../../src/AIcon/Icons/bootstrap-1-9-1/ArrowsCollapse";
|
|
2
3
|
import Bell from "../../src/AIcon/Icons/bootstrap-1-9-1/Bell";
|
|
3
4
|
import BoxArrowUpRight from "../../src/AIcon/Icons/bootstrap-1-9-1/BoxArrowUpRight";
|
|
5
|
+
import ChatSquareTextFill from "../../src/AIcon/Icons/bootstrap-1-9-1/ChatSquareTextFill";
|
|
4
6
|
import CheckLg from "../../src/AIcon/Icons/bootstrap-1-9-1/CheckLg";
|
|
7
|
+
import ChevronBarExpand from "../../src/AIcon/Icons/bootstrap-1-9-1/ChevronBarExpand";
|
|
5
8
|
import ChevronDown from "../../src/AIcon/Icons/bootstrap-1-9-1/ChevronDown";
|
|
6
9
|
import ChevronExpand from "../../src/AIcon/Icons/bootstrap-1-9-1/ChevronExpand";
|
|
7
10
|
import ChevronRight from "../../src/AIcon/Icons/bootstrap3/ChevronRight";
|
|
@@ -25,12 +28,16 @@ import Reception2 from "../../src/AIcon/Icons/bootstrap-1-9-1/Reception2";
|
|
|
25
28
|
import SegmentedNav from "../../src/AIcon/Icons/bootstrap-1-9-1/SegmentedNav";
|
|
26
29
|
import Table from "../../src/AIcon/Icons/bootstrap-1-9-1/Table";
|
|
27
30
|
import Translate from "../../src/AIcon/Icons/bootstrap-1-9-1/Translate";
|
|
31
|
+
import Window from "../../src/AIcon/Icons/bootstrap-1-9-1/Window";
|
|
28
32
|
|
|
29
33
|
export default {
|
|
34
|
+
ArrowRightCircleFill,
|
|
30
35
|
ArrowsCollapse,
|
|
31
36
|
Bell,
|
|
32
37
|
BoxArrowUpRight,
|
|
38
|
+
ChatSquareTextFill,
|
|
33
39
|
CheckLg,
|
|
40
|
+
ChevronBarExpand,
|
|
34
41
|
ChevronDown,
|
|
35
42
|
ChevronExpand,
|
|
36
43
|
ChevronRight,
|
|
@@ -54,4 +61,5 @@ export default {
|
|
|
54
61
|
SegmentedNav,
|
|
55
62
|
Table,
|
|
56
63
|
Translate,
|
|
64
|
+
Window,
|
|
57
65
|
};
|
|
@@ -19,6 +19,8 @@ import PageTableSimpleI18n from "./views/PageTable/PageTableSimple/i18n/PageTabl
|
|
|
19
19
|
import PageTablePaginationI18n from "./views/PageTable/PageTablePagination/i18n/PageTablePaginationI18n";
|
|
20
20
|
import PageTableSortI18n from "./views/PageTable/PageTableSort/i18n/PageTableSortI18n";
|
|
21
21
|
import PageAOnHooksI18n from "./views/PageDirectives/PageOnHooks/i18n/PageAOnHooksI18n";
|
|
22
|
+
import PageDisclosureI18n from "./views/PageDisclosure/i18n/PageDisclosureI18n";
|
|
23
|
+
import PageTooltipI18n from "./views/PageTooltip/i18n/PageTooltipI18n";
|
|
22
24
|
|
|
23
25
|
export const mainTranslation = {
|
|
24
26
|
ar: {
|
|
@@ -34,6 +36,8 @@ export const mainTranslation = {
|
|
|
34
36
|
...PageTablePaginationI18n.ar,
|
|
35
37
|
...PageTableSortI18n.ar,
|
|
36
38
|
...PageAOnHooksI18n.ar,
|
|
39
|
+
...PageDisclosureI18n.ar,
|
|
40
|
+
...PageTooltipI18n.ar,
|
|
37
41
|
},
|
|
38
42
|
de: {
|
|
39
43
|
...allLanguages.de,
|
|
@@ -48,6 +52,8 @@ export const mainTranslation = {
|
|
|
48
52
|
...PageTablePaginationI18n.de,
|
|
49
53
|
...PageTableSortI18n.de,
|
|
50
54
|
...PageAOnHooksI18n.de,
|
|
55
|
+
...PageDisclosureI18n.de,
|
|
56
|
+
...PageTooltipI18n.de,
|
|
51
57
|
},
|
|
52
58
|
en: {
|
|
53
59
|
...allLanguages.en,
|
|
@@ -62,6 +68,8 @@ export const mainTranslation = {
|
|
|
62
68
|
...PageTablePaginationI18n.en,
|
|
63
69
|
...PageTableSortI18n.en,
|
|
64
70
|
...PageAOnHooksI18n.en,
|
|
71
|
+
...PageDisclosureI18n.en,
|
|
72
|
+
...PageTooltipI18n.en,
|
|
65
73
|
},
|
|
66
74
|
es: {
|
|
67
75
|
...allLanguages.es,
|
|
@@ -76,6 +84,8 @@ export const mainTranslation = {
|
|
|
76
84
|
...PageTablePaginationI18n.es,
|
|
77
85
|
...PageTableSortI18n.es,
|
|
78
86
|
...PageAOnHooksI18n.es,
|
|
87
|
+
...PageDisclosureI18n.es,
|
|
88
|
+
...PageTooltipI18n.es,
|
|
79
89
|
},
|
|
80
90
|
fr: {
|
|
81
91
|
...allLanguages.fr,
|
|
@@ -90,6 +100,8 @@ export const mainTranslation = {
|
|
|
90
100
|
...PageTablePaginationI18n.fr,
|
|
91
101
|
...PageTableSortI18n.fr,
|
|
92
102
|
...PageAOnHooksI18n.fr,
|
|
103
|
+
...PageDisclosureI18n.fr,
|
|
104
|
+
...PageTooltipI18n.fr,
|
|
93
105
|
},
|
|
94
106
|
hr: {
|
|
95
107
|
...allLanguages.hr,
|
|
@@ -104,6 +116,8 @@ export const mainTranslation = {
|
|
|
104
116
|
...PageTablePaginationI18n.hr,
|
|
105
117
|
...PageTableSortI18n.hr,
|
|
106
118
|
...PageAOnHooksI18n.hr,
|
|
119
|
+
...PageDisclosureI18n.hr,
|
|
120
|
+
...PageTooltipI18n.hr,
|
|
107
121
|
},
|
|
108
122
|
it: {
|
|
109
123
|
...allLanguages.it,
|
|
@@ -118,6 +132,8 @@ export const mainTranslation = {
|
|
|
118
132
|
...PageTablePaginationI18n.it,
|
|
119
133
|
...PageTableSortI18n.it,
|
|
120
134
|
...PageAOnHooksI18n.it,
|
|
135
|
+
...PageDisclosureI18n.it,
|
|
136
|
+
...PageTooltipI18n.it,
|
|
121
137
|
},
|
|
122
138
|
ru: {
|
|
123
139
|
...allLanguages.ru,
|
|
@@ -132,5 +148,7 @@ export const mainTranslation = {
|
|
|
132
148
|
...PageTablePaginationI18n.ru,
|
|
133
149
|
...PageTableSortI18n.ru,
|
|
134
150
|
...PageAOnHooksI18n.ru,
|
|
151
|
+
...PageDisclosureI18n.ru,
|
|
152
|
+
...PageTooltipI18n.ru,
|
|
135
153
|
},
|
|
136
154
|
};
|
package/docs/src/router/index.js
CHANGED
|
@@ -152,7 +152,7 @@ const ROUTES = [
|
|
|
152
152
|
{
|
|
153
153
|
path: "/title",
|
|
154
154
|
name: "PageTitle",
|
|
155
|
-
component: () => import(/* webpackChunkName: "PageTitle" */ "../views/
|
|
155
|
+
component: () => import(/* webpackChunkName: "PageTitle" */ "../views/PageTooltip/PageTooltip.vue"),
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
path: "/svg",
|
|
@@ -204,6 +204,11 @@ const ROUTES = [
|
|
|
204
204
|
name: "PageOnHooks",
|
|
205
205
|
component: () => import(/* webpackChunkName: "PageOnHooks" */ "../views/PageDirectives/PageOnHooks/PageOnHooks.vue"),
|
|
206
206
|
},
|
|
207
|
+
{
|
|
208
|
+
path: "/disclosure",
|
|
209
|
+
name: "PageDisclosure",
|
|
210
|
+
component: () => import(/* webpackChunkName: "PageDisclosure" */ "../views/PageDisclosure/PageDisclosure.vue"),
|
|
211
|
+
},
|
|
207
212
|
{
|
|
208
213
|
// If the routing configuration '*' reports an error, replace it with '/: catchAll(. *)'
|
|
209
214
|
// caught Error: Catch all routes ("*") must now be defined using a param with a custom regexp
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import AlohaPage from "../../global/components/AlohaPage/AlohaPage.vue";
|
|
2
|
+
import AlohaTableProps from "../../global/components/AlohaTableProps/AlohaTableProps.vue";
|
|
3
|
+
import AlohaTableTranslate from "../../global/components/AlohaTableTranslate/AlohaTableTranslate.vue";
|
|
4
|
+
import ATranslation from "../../../../src/ATranslation/ATranslation";
|
|
5
|
+
import PageDisclosureBasic from "./PageDisclosureBasic/PageDisclosureBasic.vue";
|
|
6
|
+
import PageDisclosureBtnClass from "./PageDisclosureBtnClass/PageDisclosureBtnClass.vue";
|
|
7
|
+
import PageDisclosureBtnIcons from "./PageDisclosureBtnIcons/PageDisclosureBtnIcons.vue";
|
|
8
|
+
import PageDisclosureBtnTexts from "./PageDisclosureBtnTexts/PageDisclosureBtnTexts.vue";
|
|
9
|
+
import PageDisclosureBtnTitle from "./PageDisclosureBtnTitle/PageDisclosureBtnTitle.vue";
|
|
10
|
+
import PageDisclosureBtnTitleHtml from "./PageDisclosureBtnTitleHtml/PageDisclosureBtnTitleHtml.vue";
|
|
11
|
+
import PageDisclosureDisabled from "./PageDisclosureDisabled/PageDisclosureDisabled.vue";
|
|
12
|
+
import PageDisclosureEvents from "./PageDisclosureEvents/PageDisclosureEvents.vue";
|
|
13
|
+
import PageDisclosureExposes from "./PageDisclosureExposes/PageDisclosureExposes.vue";
|
|
14
|
+
import PageDisclosureHtml from "./PageDisclosureHtml/PageDisclosureHtml.vue";
|
|
15
|
+
import PageDisclosureNotLess from "./PageDisclosureNotLess/PageDisclosureNotLess.vue";
|
|
16
|
+
import PageDisclosureOpenDefault from "./PageDisclosureOpenDefault/PageDisclosureOpenDefault.vue";
|
|
17
|
+
import PageDisclosureSafeHtml from "./PageDisclosureSafeHtml/PageDisclosureSafeHtml.vue";
|
|
18
|
+
import PageDisclosureSlots from "./PageDisclosureSlots/PageDisclosureSlots.vue";
|
|
19
|
+
|
|
20
|
+
import EventsAPI from "./compositionAPI/EventsAPI";
|
|
21
|
+
import ExposesAPI from "./compositionAPI/ExposesAPI";
|
|
22
|
+
import PageTitleAPI from "./compositionAPI/PageTitleAPI";
|
|
23
|
+
import PropsAPI from "./compositionAPI/PropsAPI";
|
|
24
|
+
import SlotsAPI from "./compositionAPI/SlotsAPI";
|
|
25
|
+
import TranslateAPI from "./compositionAPI/TranslateAPI";
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
name: "PageDisclosure",
|
|
29
|
+
components: {
|
|
30
|
+
AlohaPage,
|
|
31
|
+
AlohaTableProps,
|
|
32
|
+
AlohaTableTranslate,
|
|
33
|
+
ATranslation,
|
|
34
|
+
PageDisclosureBasic,
|
|
35
|
+
PageDisclosureBtnClass,
|
|
36
|
+
PageDisclosureBtnIcons,
|
|
37
|
+
PageDisclosureBtnTexts,
|
|
38
|
+
PageDisclosureBtnTitle,
|
|
39
|
+
PageDisclosureBtnTitleHtml,
|
|
40
|
+
PageDisclosureDisabled,
|
|
41
|
+
PageDisclosureEvents,
|
|
42
|
+
PageDisclosureExposes,
|
|
43
|
+
PageDisclosureHtml,
|
|
44
|
+
PageDisclosureNotLess,
|
|
45
|
+
PageDisclosureOpenDefault,
|
|
46
|
+
PageDisclosureSafeHtml,
|
|
47
|
+
PageDisclosureSlots,
|
|
48
|
+
},
|
|
49
|
+
setup() {
|
|
50
|
+
const {
|
|
51
|
+
pageTitle,
|
|
52
|
+
} = PageTitleAPI();
|
|
53
|
+
|
|
54
|
+
const {
|
|
55
|
+
dataProps,
|
|
56
|
+
} = PropsAPI();
|
|
57
|
+
|
|
58
|
+
const {
|
|
59
|
+
dataSlots,
|
|
60
|
+
} = SlotsAPI();
|
|
61
|
+
|
|
62
|
+
const {
|
|
63
|
+
dataEvents,
|
|
64
|
+
} = EventsAPI();
|
|
65
|
+
|
|
66
|
+
const {
|
|
67
|
+
dataExposes,
|
|
68
|
+
} = ExposesAPI();
|
|
69
|
+
|
|
70
|
+
const {
|
|
71
|
+
dataTranslate,
|
|
72
|
+
} = TranslateAPI();
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
dataEvents,
|
|
76
|
+
dataExposes,
|
|
77
|
+
dataProps,
|
|
78
|
+
dataSlots,
|
|
79
|
+
dataTranslate,
|
|
80
|
+
pageTitle,
|
|
81
|
+
};
|
|
82
|
+
},
|
|
83
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
aloha-page(
|
|
2
|
+
:page-title="pageTitle"
|
|
3
|
+
)
|
|
4
|
+
template(
|
|
5
|
+
v-slot:body
|
|
6
|
+
)
|
|
7
|
+
a-translation(
|
|
8
|
+
tag="p"
|
|
9
|
+
html="_A_DISCLOSURE_COMPONENT_DESCRIPTION_"
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
page-disclosure-basic
|
|
13
|
+
|
|
14
|
+
page-disclosure-disabled
|
|
15
|
+
|
|
16
|
+
page-disclosure-html
|
|
17
|
+
|
|
18
|
+
page-disclosure-safe-html
|
|
19
|
+
|
|
20
|
+
page-disclosure-not-less
|
|
21
|
+
|
|
22
|
+
page-disclosure-btn-class
|
|
23
|
+
|
|
24
|
+
page-disclosure-btn-icons
|
|
25
|
+
|
|
26
|
+
page-disclosure-btn-title
|
|
27
|
+
|
|
28
|
+
page-disclosure-btn-title-html
|
|
29
|
+
|
|
30
|
+
page-disclosure-btn-texts
|
|
31
|
+
|
|
32
|
+
page-disclosure-open-default
|
|
33
|
+
|
|
34
|
+
page-disclosure-slots
|
|
35
|
+
|
|
36
|
+
page-disclosure-events
|
|
37
|
+
|
|
38
|
+
page-disclosure-exposes
|
|
39
|
+
|
|
40
|
+
aloha-table-props(
|
|
41
|
+
:data="dataProps"
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
aloha-table-props(
|
|
45
|
+
table-label="Slots"
|
|
46
|
+
:data="dataSlots"
|
|
47
|
+
:columns="['name', 'description']"
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
aloha-table-props(
|
|
51
|
+
table-label="Events"
|
|
52
|
+
:data="dataEvents"
|
|
53
|
+
:columns="['name', 'type', 'description']"
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
aloha-table-props(
|
|
57
|
+
table-label="Exposes"
|
|
58
|
+
:data="dataExposes"
|
|
59
|
+
:columns="['name', 'type', 'description']"
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
aloha-table-translate(
|
|
63
|
+
:data="dataTranslate"
|
|
64
|
+
)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import AlohaExample from "../../../global/components/AlohaExample/AlohaExample.vue";
|
|
2
|
+
import ADisclosure from "../../../../../src/ADisclosure/ADisclosure";
|
|
3
|
+
|
|
4
|
+
import HtmlAPI from "./compositionAPI/HtmlAPI";
|
|
5
|
+
import JsAPI from "./compositionAPI/JsAPI";
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
name: "PageDisclosureBasic",
|
|
9
|
+
components: {
|
|
10
|
+
AlohaExample,
|
|
11
|
+
ADisclosure,
|
|
12
|
+
},
|
|
13
|
+
setup() {
|
|
14
|
+
const {
|
|
15
|
+
codeHtml,
|
|
16
|
+
} = HtmlAPI();
|
|
17
|
+
|
|
18
|
+
const {
|
|
19
|
+
codeJs,
|
|
20
|
+
} = JsAPI();
|
|
21
|
+
|
|
22
|
+
const textLess = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.";
|
|
23
|
+
const textMore = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros,
|
|
24
|
+
pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
|
|
25
|
+
Donec scelerisque sollicitudin enim eu venenatis. Duis tincidunt laoreet ex,
|
|
26
|
+
in pretium orci vestibulum eget. Class aptent taciti sociosqu ad litora torquent
|
|
27
|
+
per conubia nostra, per inceptos himenaeos. Duis pharetra luctus lacus ut
|
|
28
|
+
vestibulum. Maecenas ipsum lacus, lacinia quis posuere ut, pulvinar vitae dolor.
|
|
29
|
+
Integer eu nibh at nisi ullamcorper sagittis id vel leo. Integer feugiat
|
|
30
|
+
faucibus libero, at maximus nisl suscipit posuere. Morbi nec enim nunc.
|
|
31
|
+
Phasellus bibendum turpis ut ipsum egestas, sed sollicitudin elit convallis.
|
|
32
|
+
Cras pharetra mi tristique sapien vestibulum lobortis. Nam eget bibendum metus,
|
|
33
|
+
non dictum mauris. Nulla at tellus sagittis, viverra est a, bibendum metus.`;
|
|
34
|
+
|
|
35
|
+
return {
|
|
36
|
+
codeHtml,
|
|
37
|
+
codeJs,
|
|
38
|
+
textLess,
|
|
39
|
+
textMore,
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
aloha-example(
|
|
2
|
+
:code-html="codeHtml"
|
|
3
|
+
:code-js="codeJs"
|
|
4
|
+
header="_A_BASIC_USAGE_"
|
|
5
|
+
:props="['text-less', 'text-more']"
|
|
6
|
+
)
|
|
7
|
+
.a_columns.a_columns_count_12
|
|
8
|
+
.a_column.a_column_4.a_column_12_tablet
|
|
9
|
+
a-disclosure(
|
|
10
|
+
:text-less="textLess"
|
|
11
|
+
:text-more="textMore"
|
|
12
|
+
)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export default function JsAPI() {
|
|
2
|
+
const codeJs = `import ADisclosure from "aloha-vue/src/ADisclosure/ADisclosure";
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
name: "PageDisclosureBasic",
|
|
6
|
+
components: {
|
|
7
|
+
ADisclosure,
|
|
8
|
+
},
|
|
9
|
+
setup() {
|
|
10
|
+
const textLess = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.";
|
|
11
|
+
const textMore = \`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros,
|
|
12
|
+
pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
|
|
13
|
+
Donec scelerisque sollicitudin enim eu venenatis. Duis tincidunt laoreet ex,
|
|
14
|
+
in pretium orci vestibulum eget. Class aptent taciti sociosqu ad litora torquent
|
|
15
|
+
per conubia nostra, per inceptos himenaeos. Duis pharetra luctus lacus ut
|
|
16
|
+
vestibulum. Maecenas ipsum lacus, lacinia quis posuere ut, pulvinar vitae dolor.
|
|
17
|
+
Integer eu nibh at nisi ullamcorper sagittis id vel leo. Integer feugiat
|
|
18
|
+
faucibus libero, at maximus nisl suscipit posuere. Morbi nec enim nunc.
|
|
19
|
+
Phasellus bibendum turpis ut ipsum egestas, sed sollicitudin elit convallis.
|
|
20
|
+
Cras pharetra mi tristique sapien vestibulum lobortis. Nam eget bibendum metus,
|
|
21
|
+
non dictum mauris. Nulla at tellus sagittis, viverra est a, bibendum metus.\`;
|
|
22
|
+
|
|
23
|
+
return {
|
|
24
|
+
textLess,
|
|
25
|
+
textMore,
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
};`;
|
|
29
|
+
|
|
30
|
+
return {
|
|
31
|
+
codeJs,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import AlohaExample from "../../../global/components/AlohaExample/AlohaExample.vue";
|
|
2
|
+
import ADisclosure from "../../../../../src/ADisclosure/ADisclosure";
|
|
3
|
+
|
|
4
|
+
import HtmlAPI from "./compositionAPI/HtmlAPI";
|
|
5
|
+
import JsAPI from "./compositionAPI/JsAPI";
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
name: "PageDisclosureBtnClass",
|
|
9
|
+
components: {
|
|
10
|
+
AlohaExample,
|
|
11
|
+
ADisclosure,
|
|
12
|
+
},
|
|
13
|
+
setup() {
|
|
14
|
+
const {
|
|
15
|
+
codeHtml,
|
|
16
|
+
} = HtmlAPI();
|
|
17
|
+
|
|
18
|
+
const {
|
|
19
|
+
codeJs,
|
|
20
|
+
} = JsAPI();
|
|
21
|
+
|
|
22
|
+
const textLess = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.";
|
|
23
|
+
const textMore = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros,
|
|
24
|
+
pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
|
|
25
|
+
Donec scelerisque sollicitudin enim eu venenatis. Duis tincidunt laoreet ex,
|
|
26
|
+
in pretium orci vestibulum eget. Class aptent taciti sociosqu ad litora torquent
|
|
27
|
+
per conubia nostra, per inceptos himenaeos. Duis pharetra luctus lacus ut
|
|
28
|
+
vestibulum. Maecenas ipsum lacus, lacinia quis posuere ut, pulvinar vitae dolor.
|
|
29
|
+
Integer eu nibh at nisi ullamcorper sagittis id vel leo. Integer feugiat
|
|
30
|
+
faucibus libero, at maximus nisl suscipit posuere. Morbi nec enim nunc.
|
|
31
|
+
Phasellus bibendum turpis ut ipsum egestas, sed sollicitudin elit convallis.
|
|
32
|
+
Cras pharetra mi tristique sapien vestibulum lobortis. Nam eget bibendum metus,
|
|
33
|
+
non dictum mauris. Nulla at tellus sagittis, viverra est a, bibendum metus.`;
|
|
34
|
+
|
|
35
|
+
return {
|
|
36
|
+
codeHtml,
|
|
37
|
+
codeJs,
|
|
38
|
+
textLess,
|
|
39
|
+
textMore,
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
aloha-example(
|
|
2
|
+
:code-html="codeHtml"
|
|
3
|
+
:code-js="codeJs"
|
|
4
|
+
header="_A_DISCLOSURE_GROUP_BTN_CLASS_HEADER_"
|
|
5
|
+
description="_A_DISCLOSURE_GROUP_BTN_CLASS_DESCRIPTION_"
|
|
6
|
+
:props="['btn-class', 'btn-parent-class']"
|
|
7
|
+
)
|
|
8
|
+
.a_columns.a_columns_count_12
|
|
9
|
+
.a_column.a_column_4.a_column_12_tablet
|
|
10
|
+
a-disclosure(
|
|
11
|
+
:text-less="textLess"
|
|
12
|
+
:text-more="textMore"
|
|
13
|
+
btn-class="a_btn a_btn_primary"
|
|
14
|
+
btn-parent-class="a_text_left"
|
|
15
|
+
)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export default function JsAPI() {
|
|
2
|
+
const codeJs = `import ADisclosure from "aloha-vue/src/ADisclosure/ADisclosure";
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
name: "PageDisclosureBtnClass",
|
|
6
|
+
components: {
|
|
7
|
+
ADisclosure,
|
|
8
|
+
},
|
|
9
|
+
setup() {
|
|
10
|
+
const textLess = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.";
|
|
11
|
+
const textMore = \`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros,
|
|
12
|
+
pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
|
|
13
|
+
Donec scelerisque sollicitudin enim eu venenatis. Duis tincidunt laoreet ex,
|
|
14
|
+
in pretium orci vestibulum eget. Class aptent taciti sociosqu ad litora torquent
|
|
15
|
+
per conubia nostra, per inceptos himenaeos. Duis pharetra luctus lacus ut
|
|
16
|
+
vestibulum. Maecenas ipsum lacus, lacinia quis posuere ut, pulvinar vitae dolor.
|
|
17
|
+
Integer eu nibh at nisi ullamcorper sagittis id vel leo. Integer feugiat
|
|
18
|
+
faucibus libero, at maximus nisl suscipit posuere. Morbi nec enim nunc.
|
|
19
|
+
Phasellus bibendum turpis ut ipsum egestas, sed sollicitudin elit convallis.
|
|
20
|
+
Cras pharetra mi tristique sapien vestibulum lobortis. Nam eget bibendum metus,
|
|
21
|
+
non dictum mauris. Nulla at tellus sagittis, viverra est a, bibendum metus.\`;
|
|
22
|
+
|
|
23
|
+
return {
|
|
24
|
+
textLess,
|
|
25
|
+
textMore,
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
};`;
|
|
29
|
+
|
|
30
|
+
return {
|
|
31
|
+
codeJs,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import AlohaExample from "../../../global/components/AlohaExample/AlohaExample.vue";
|
|
2
|
+
import ADisclosure from "../../../../../src/ADisclosure/ADisclosure";
|
|
3
|
+
|
|
4
|
+
import HtmlAPI from "./compositionAPI/HtmlAPI";
|
|
5
|
+
import JsAPI from "./compositionAPI/JsAPI";
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
name: "PageDisclosureBtnIcons",
|
|
9
|
+
components: {
|
|
10
|
+
AlohaExample,
|
|
11
|
+
ADisclosure,
|
|
12
|
+
},
|
|
13
|
+
setup() {
|
|
14
|
+
const {
|
|
15
|
+
codeHtml,
|
|
16
|
+
} = HtmlAPI();
|
|
17
|
+
|
|
18
|
+
const {
|
|
19
|
+
codeJs,
|
|
20
|
+
} = JsAPI();
|
|
21
|
+
|
|
22
|
+
const textLess = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.";
|
|
23
|
+
const textMore = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros,
|
|
24
|
+
pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
|
|
25
|
+
Donec scelerisque sollicitudin enim eu venenatis. Duis tincidunt laoreet ex,
|
|
26
|
+
in pretium orci vestibulum eget. Class aptent taciti sociosqu ad litora torquent
|
|
27
|
+
per conubia nostra, per inceptos himenaeos. Duis pharetra luctus lacus ut
|
|
28
|
+
vestibulum. Maecenas ipsum lacus, lacinia quis posuere ut, pulvinar vitae dolor.
|
|
29
|
+
Integer eu nibh at nisi ullamcorper sagittis id vel leo. Integer feugiat
|
|
30
|
+
faucibus libero, at maximus nisl suscipit posuere. Morbi nec enim nunc.
|
|
31
|
+
Phasellus bibendum turpis ut ipsum egestas, sed sollicitudin elit convallis.
|
|
32
|
+
Cras pharetra mi tristique sapien vestibulum lobortis. Nam eget bibendum metus,
|
|
33
|
+
non dictum mauris. Nulla at tellus sagittis, viverra est a, bibendum metus.`;
|
|
34
|
+
|
|
35
|
+
return {
|
|
36
|
+
codeHtml,
|
|
37
|
+
codeJs,
|
|
38
|
+
textLess,
|
|
39
|
+
textMore,
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
aloha-example(
|
|
2
|
+
:code-html="codeHtml"
|
|
3
|
+
:code-js="codeJs"
|
|
4
|
+
header="_A_DISCLOSURE_GROUP_BTN_ICONS_HEADER_"
|
|
5
|
+
description="_A_DISCLOSURE_GROUP_BTN_ICONS_DESCRIPTION_"
|
|
6
|
+
:props="['btn-icon-left-less', 'btn-icon-right-less', 'btn-icon-left-more', 'btn-icon-right-more']"
|
|
7
|
+
)
|
|
8
|
+
.a_columns.a_columns_count_12
|
|
9
|
+
.a_column.a_column_4.a_column_12_tablet
|
|
10
|
+
a-disclosure(
|
|
11
|
+
:text-less="textLess"
|
|
12
|
+
:text-more="textMore"
|
|
13
|
+
btn-icon-left-less="ChevronUp"
|
|
14
|
+
btn-icon-right-less="ChevronUp"
|
|
15
|
+
btn-icon-left-more="ChevronDown"
|
|
16
|
+
btn-icon-right-more="ChevronDown"
|
|
17
|
+
)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default function HtmlAPI() {
|
|
2
|
+
const codeHtml = `<a-disclosure
|
|
3
|
+
:text-less="textLess"
|
|
4
|
+
:text-more="textMore"
|
|
5
|
+
btn-icon-left-less="ChevronUp"
|
|
6
|
+
btn-icon-right-less="ChevronUp"
|
|
7
|
+
btn-icon-left-more="ChevronDown"
|
|
8
|
+
btn-icon-right-more="ChevronDown"
|
|
9
|
+
></a-disclosure>`;
|
|
10
|
+
|
|
11
|
+
return {
|
|
12
|
+
codeHtml,
|
|
13
|
+
};
|
|
14
|
+
}
|