aloha-vue 1.2.72 → 1.2.74
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 +10 -0
- package/babel.config.js +20 -0
- package/docs/.eslintrc.js +9 -1
- package/docs/package.json +2 -1
- package/docs/src/components/TypeTranslate/TypeTranslate.js +30 -0
- package/docs/src/components/TypeTranslate/TypeTranslate.pug +4 -0
- package/docs/src/components/TypeTranslate/TypeTranslate.vue +2 -0
- package/docs/src/components/TypeTranslate/compositionAPI/TypeAPI.js +32 -0
- package/docs/src/i18n/ar.json +8 -1
- package/docs/src/i18n/de.json +8 -1
- package/docs/src/i18n/en.json +8 -1
- package/docs/src/i18n/es.json +8 -1
- package/docs/src/i18n/fr.json +8 -1
- package/docs/src/i18n/hr.json +8 -1
- package/docs/src/i18n/it.json +8 -1
- package/docs/src/i18n/ru.json +8 -1
- package/docs/src/views/Functions/Components/PageFilterArguments/PageFilterArguments.js +33 -0
- package/docs/src/views/Functions/Components/PageFilterArguments/PageFilterArguments.pug +34 -0
- package/docs/src/views/Functions/Components/PageFilterArguments/PageFilterArguments.vue +2 -0
- package/docs/src/views/Functions/Components/PageFilterArguments/compositionAPI/JsAPI.js +16 -0
- package/docs/src/views/Functions/{PageFilterBoolean/PageFilterBooleanImportCompositionApi/PageFilterBooleanImportCompositionApi.js → Components/PageFilterImportCompositionApi/PageFilterImportCompositionApi.js} +9 -3
- package/docs/src/views/Functions/Components/PageFilterImportCompositionApi/PageFilterImportCompositionApi.vue +2 -0
- package/docs/src/views/Functions/Components/PageFilterImportCompositionApi/compositionAPI/JsAPI.js +24 -0
- package/docs/src/views/Functions/{PageFilterBoolean/PageFilterBooleanArguments/PageFilterBooleanArguments.js → Components/PageFilterImportFunction/PageFilterImportFunction.js} +9 -3
- package/docs/src/views/Functions/Components/PageFilterImportFunction/PageFilterImportFunction.vue +2 -0
- package/docs/src/views/Functions/Components/PageFilterImportFunction/compositionAPI/JsAPI.js +16 -0
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBoolean.js +12 -6
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBoolean.pug +10 -3
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanExample/compositionAPI/JsAPI.js +7 -1
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanTrueFalseValues/compositionAPI/JsAPI.js +7 -1
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanUseNil/compositionAPI/JsAPI.js +7 -1
- package/docs/src/views/Functions/PageFilterBoolean/compositionAPI/ArgumentsAPI.js +36 -0
- package/docs/src/views/Functions/PageFilterBoolean/i18n/de.json +5 -2
- package/docs/src/views/Functions/PageFilterBoolean/i18n/hr.json +4 -1
- package/docs/src/views/Functions/PageFilterBoolean/i18n/ru.json +6 -3
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrency.js +12 -6
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrency.pug +10 -3
- package/docs/src/views/Functions/PageFilterCurrency/compositionAPI/ArgumentsAPI.js +37 -0
- package/docs/src/views/Functions/PageFilterCurrency/i18n/ar.json +7 -3
- package/docs/src/views/Functions/PageFilterCurrency/i18n/de.json +4 -1
- package/docs/src/views/Functions/PageFilterCurrency/i18n/en.json +7 -3
- package/docs/src/views/Functions/PageFilterCurrency/i18n/es.json +7 -3
- package/docs/src/views/Functions/PageFilterCurrency/i18n/fr.json +7 -3
- package/docs/src/views/Functions/PageFilterCurrency/i18n/hr.json +6 -2
- package/docs/src/views/Functions/PageFilterCurrency/i18n/it.json +7 -3
- package/docs/src/views/Functions/PageFilterCurrency/i18n/ru.json +5 -2
- package/docs/src/views/Functions/PageFilterDate/PageFilterDate.js +12 -6
- package/docs/src/views/Functions/PageFilterDate/PageFilterDate.pug +10 -3
- package/docs/src/views/Functions/PageFilterDate/compositionAPI/ArgumentsAPI.js +22 -0
- package/docs/src/views/Functions/PageFilterDate/i18n/ar.json +5 -3
- package/docs/src/views/Functions/PageFilterDate/i18n/de.json +3 -2
- package/docs/src/views/Functions/PageFilterDate/i18n/en.json +5 -3
- package/docs/src/views/Functions/PageFilterDate/i18n/es.json +5 -3
- package/docs/src/views/Functions/PageFilterDate/i18n/fr.json +5 -3
- package/docs/src/views/Functions/PageFilterDate/i18n/hr.json +4 -2
- package/docs/src/views/Functions/PageFilterDate/i18n/it.json +5 -3
- package/docs/src/views/Functions/PageFilterDate/i18n/ru.json +3 -2
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmpty.js +12 -6
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmpty.pug +10 -3
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/compositionAPI/ArgumentsAPI.js +22 -0
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/i18n/ar.json +2 -0
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/i18n/de.json +2 -1
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/i18n/en.json +2 -0
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/i18n/es.json +2 -0
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/i18n/fr.json +2 -0
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/i18n/hr.json +2 -0
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/i18n/it.json +2 -0
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/i18n/ru.json +2 -1
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmail.js +12 -6
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmail.pug +10 -3
- package/docs/src/views/Functions/PageFilterEmail/compositionAPI/ArgumentsAPI.js +22 -0
- package/docs/src/views/Functions/PageFilterEmail/i18n/ar.json +2 -0
- package/docs/src/views/Functions/PageFilterEmail/i18n/de.json +3 -2
- package/docs/src/views/Functions/PageFilterEmail/i18n/en.json +2 -0
- package/docs/src/views/Functions/PageFilterEmail/i18n/es.json +2 -0
- package/docs/src/views/Functions/PageFilterEmail/i18n/fr.json +2 -0
- package/docs/src/views/Functions/PageFilterEmail/i18n/hr.json +2 -0
- package/docs/src/views/Functions/PageFilterEmail/i18n/it.json +2 -0
- package/docs/src/views/Functions/PageFilterEmail/i18n/ru.json +3 -2
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSize.js +12 -6
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSize.pug +10 -3
- package/docs/src/views/Functions/PageFilterFileSize/compositionAPI/ArgumentsAPI.js +36 -0
- package/docs/src/views/Functions/PageFilterFileSize/i18n/ar.json +4 -0
- package/docs/src/views/Functions/PageFilterFileSize/i18n/de.json +4 -1
- package/docs/src/views/Functions/PageFilterFileSize/i18n/en.json +4 -0
- package/docs/src/views/Functions/PageFilterFileSize/i18n/es.json +4 -0
- package/docs/src/views/Functions/PageFilterFileSize/i18n/fr.json +4 -0
- package/docs/src/views/Functions/PageFilterFileSize/i18n/hr.json +6 -2
- package/docs/src/views/Functions/PageFilterFileSize/i18n/it.json +4 -0
- package/docs/src/views/Functions/PageFilterFileSize/i18n/ru.json +4 -1
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloat.js +12 -6
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloat.pug +10 -3
- package/docs/src/views/Functions/PageFilterFloat/compositionAPI/ArgumentsAPI.js +37 -0
- package/docs/src/views/Functions/PageFilterFloat/i18n/ar.json +7 -3
- package/docs/src/views/Functions/PageFilterFloat/i18n/de.json +5 -2
- package/docs/src/views/Functions/PageFilterFloat/i18n/en.json +7 -3
- package/docs/src/views/Functions/PageFilterFloat/i18n/es.json +7 -3
- package/docs/src/views/Functions/PageFilterFloat/i18n/fr.json +7 -3
- package/docs/src/views/Functions/PageFilterFloat/i18n/hr.json +6 -2
- package/docs/src/views/Functions/PageFilterFloat/i18n/it.json +7 -3
- package/docs/src/views/Functions/PageFilterFloat/i18n/ru.json +5 -2
- package/docs/src/views/Functions/PageFilterJson/PageFilterJson.js +12 -6
- package/docs/src/views/Functions/PageFilterJson/PageFilterJson.pug +10 -3
- package/docs/src/views/Functions/PageFilterJson/compositionAPI/ArgumentsAPI.js +31 -0
- package/docs/src/views/Functions/PageFilterJson/i18n/ar.json +3 -0
- package/docs/src/views/Functions/PageFilterJson/i18n/de.json +4 -2
- package/docs/src/views/Functions/PageFilterJson/i18n/en.json +3 -0
- package/docs/src/views/Functions/PageFilterJson/i18n/es.json +3 -0
- package/docs/src/views/Functions/PageFilterJson/i18n/fr.json +3 -0
- package/docs/src/views/Functions/PageFilterJson/i18n/hr.json +5 -2
- package/docs/src/views/Functions/PageFilterJson/i18n/it.json +3 -0
- package/docs/src/views/Functions/PageFilterJson/i18n/ru.json +4 -2
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValue.js +12 -6
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValue.pug +10 -3
- package/docs/src/views/Functions/PageFilterKeyValue/compositionAPI/ArgumentsAPI.js +15 -0
- package/docs/src/views/Functions/PageFilterKeyValue/i18n/ar.json +1 -0
- package/docs/src/views/Functions/PageFilterKeyValue/i18n/de.json +1 -1
- package/docs/src/views/Functions/PageFilterKeyValue/i18n/en.json +1 -0
- package/docs/src/views/Functions/PageFilterKeyValue/i18n/es.json +1 -0
- package/docs/src/views/Functions/PageFilterKeyValue/i18n/fr.json +1 -0
- package/docs/src/views/Functions/PageFilterKeyValue/i18n/hr.json +3 -2
- package/docs/src/views/Functions/PageFilterKeyValue/i18n/it.json +1 -0
- package/docs/src/views/Functions/PageFilterKeyValue/i18n/ru.json +1 -1
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitTo.js +12 -6
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitTo.pug +10 -3
- package/docs/src/views/Functions/PageFilterLimitTo/compositionAPI/ArgumentsAPI.js +29 -0
- package/docs/src/views/Functions/PageFilterLimitTo/i18n/ar.json +3 -0
- package/docs/src/views/Functions/PageFilterLimitTo/i18n/de.json +3 -1
- package/docs/src/views/Functions/PageFilterLimitTo/i18n/en.json +3 -0
- package/docs/src/views/Functions/PageFilterLimitTo/i18n/es.json +3 -0
- package/docs/src/views/Functions/PageFilterLimitTo/i18n/fr.json +3 -0
- package/docs/src/views/Functions/PageFilterLimitTo/i18n/hr.json +3 -0
- package/docs/src/views/Functions/PageFilterLimitTo/i18n/it.json +3 -0
- package/docs/src/views/Functions/PageFilterLimitTo/i18n/ru.json +3 -1
- package/docs/src/views/Functions/PageFilterLink/PageFilterLink.js +12 -6
- package/docs/src/views/Functions/PageFilterLink/PageFilterLink.pug +10 -3
- package/docs/src/views/Functions/PageFilterLink/compositionAPI/ArgumentsAPI.js +43 -0
- package/docs/src/views/Functions/PageFilterLink/i18n/ar.json +5 -0
- package/docs/src/views/Functions/PageFilterLink/i18n/de.json +6 -2
- package/docs/src/views/Functions/PageFilterLink/i18n/en.json +5 -0
- package/docs/src/views/Functions/PageFilterLink/i18n/es.json +5 -0
- package/docs/src/views/Functions/PageFilterLink/i18n/fr.json +5 -0
- package/docs/src/views/Functions/PageFilterLink/i18n/hr.json +7 -2
- package/docs/src/views/Functions/PageFilterLink/i18n/it.json +5 -0
- package/docs/src/views/Functions/PageFilterLink/i18n/ru.json +6 -2
- package/docs/src/views/Functions/PageFilterList/PageFilterList.js +12 -6
- package/docs/src/views/Functions/PageFilterList/PageFilterList.pug +10 -3
- package/docs/src/views/Functions/PageFilterList/PageFilterListIsSimpleArrayTree/compositionAPI/JsAPI.js +7 -1
- package/docs/src/views/Functions/PageFilterList/compositionAPI/ArgumentsAPI.js +71 -0
- package/docs/src/views/Functions/PageFilterList/i18n/ar.json +9 -0
- package/docs/src/views/Functions/PageFilterList/i18n/de.json +9 -1
- package/docs/src/views/Functions/PageFilterList/i18n/en.json +9 -0
- package/docs/src/views/Functions/PageFilterList/i18n/es.json +9 -0
- package/docs/src/views/Functions/PageFilterList/i18n/fr.json +9 -0
- package/docs/src/views/Functions/PageFilterList/i18n/hr.json +9 -0
- package/docs/src/views/Functions/PageFilterList/i18n/it.json +9 -0
- package/docs/src/views/Functions/PageFilterList/i18n/ru.json +9 -1
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValue.js +12 -6
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValue.pug +10 -3
- package/docs/src/views/Functions/PageFilterPropertyByValue/compositionAPI/ArgumentsAPI.js +29 -0
- package/docs/src/views/Functions/PageFilterPropertyByValue/i18n/ar.json +3 -0
- package/docs/src/views/Functions/PageFilterPropertyByValue/i18n/de.json +3 -1
- package/docs/src/views/Functions/PageFilterPropertyByValue/i18n/en.json +3 -0
- package/docs/src/views/Functions/PageFilterPropertyByValue/i18n/es.json +3 -0
- package/docs/src/views/Functions/PageFilterPropertyByValue/i18n/fr.json +3 -0
- package/docs/src/views/Functions/PageFilterPropertyByValue/i18n/hr.json +5 -2
- package/docs/src/views/Functions/PageFilterPropertyByValue/i18n/it.json +3 -0
- package/docs/src/views/Functions/PageFilterPropertyByValue/i18n/ru.json +3 -1
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlight.js +12 -6
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlight.pug +10 -3
- package/docs/src/views/Functions/PageFilterSearchHighlight/compositionAPI/ArgumentsAPI.js +29 -0
- package/docs/src/views/Functions/PageFilterSearchHighlight/i18n/ar.json +3 -0
- package/docs/src/views/Functions/PageFilterSearchHighlight/i18n/de.json +3 -1
- package/docs/src/views/Functions/PageFilterSearchHighlight/i18n/en.json +3 -0
- package/docs/src/views/Functions/PageFilterSearchHighlight/i18n/es.json +3 -0
- package/docs/src/views/Functions/PageFilterSearchHighlight/i18n/fr.json +3 -0
- package/docs/src/views/Functions/PageFilterSearchHighlight/i18n/hr.json +5 -2
- package/docs/src/views/Functions/PageFilterSearchHighlight/i18n/it.json +3 -0
- package/docs/src/views/Functions/PageFilterSearchHighlight/i18n/ru.json +3 -1
- package/docs/src/views/Functions/i18n/de.json +1 -1
- package/docs/src/views/Functions/i18n/ru.json +1 -1
- package/docs/src/views/PageTable/PageTableComplex/PageTableComplexExample/PageTableComplexExample.pug +1 -5
- package/jest.config.js +16 -0
- package/package.json +14 -4
- package/src/AGroupButtonDropdown/AGroupButtonDropdownItem/AGroupButtonDropdownItem.js +5 -2
- package/src/AIcon/compositionAPI/AriaLabelHiddenAPI.js +0 -1
- package/src/APagination/APagination.js +0 -1
- package/src/APagination/APaginationPages/APaginationPages.js +5 -6
- package/src/APagination/compositionAPI/ComponentsAPI.js +0 -1
- package/src/APagination/i18n/APaginationI18n.js +19 -0
- package/src/APagination/i18n/ar.json +12 -0
- package/src/APagination/i18n/de.json +12 -0
- package/src/APagination/i18n/en.json +12 -0
- package/src/APagination/i18n/es.json +12 -0
- package/src/APagination/i18n/fr.json +12 -0
- package/src/APagination/i18n/hr.json +12 -0
- package/src/APagination/i18n/it.json +12 -0
- package/src/APagination/i18n/ru.json +12 -0
- package/src/ATable/ATable.js +31 -25
- package/src/ATable/ATableHeader/ATableHeader.js +10 -5
- package/src/ATable/ATableHeaderTh/ATableHeaderTh.js +4 -3
- package/src/ATable/ATableHeaderTh/compositionAPI/AttributesAPI.js +7 -1
- package/src/ATable/ATableHeaderThAction/ATableHeaderThAction.js +2 -1
- package/src/ATable/ATableListItem/ATableListItem.js +6 -2
- package/src/ATable/ATableTd/ATableTd.js +1 -21
- package/src/ATable/ATableTd/compositionAPI/TextAPI.js +2 -2
- package/src/ATable/ATableTdAction/ATableTdAction.js +34 -31
- package/src/ATable/ATableTdAction/compositionAPI/ColumnsCountAPI.js +32 -0
- package/src/ATable/ATableTdAction/compositionAPI/RowNumberAPI.js +16 -0
- package/src/ATable/ATableTopPanel/ATableTopPanel.js +15 -11
- package/src/ATable/ATableTopPanel/compositionAPI/CountAllRowsAPI.js +22 -0
- package/src/ATable/ATableTr/ATableTr.js +2 -3
- package/src/ATable/ATableTr/compositionAPI/AttributesAPI.js +3 -1
- package/src/ATable/compositionAPI/ColumnStylesAPI.js +1 -6
- package/src/ATable/compositionAPI/ColumnsAPI.js +104 -0
- package/src/ATable/compositionAPI/MultipleActionAPI.js +9 -3
- package/src/ATable/compositionAPI/ScrollControlAPI.js +20 -22
- package/src/ATable/compositionAPI/TableAttributesAPI.js +2 -0
- package/src/ATable/compositionAPI/VariablesAPI.js +26 -0
- package/src/ATable/i18n/ar.json +6 -0
- package/src/ATable/i18n/de.json +7 -1
- package/src/ATable/i18n/en.json +6 -0
- package/src/ATable/i18n/es.json +6 -0
- package/src/ATable/i18n/fr.json +6 -0
- package/src/ATable/i18n/hr.json +6 -0
- package/src/ATable/i18n/it.json +6 -0
- package/src/ATable/i18n/ru.json +7 -1
- package/src/ATable/utils/utils.js +36 -0
- package/src/ATranslation/compositionAPI/UtilsAPI.js +1 -1
- package/src/PVP/new.txt +4 -0
- package/src/compositionAPI/AHttpAPI.js +32 -1
- package/src/filters/__tests__/filterBoolean.test.js +32 -0
- package/src/filters/__tests__/filterFileSize.test.js +32 -0
- package/src/filters/__tests__/filterFloat.test.js +68 -0
- package/src/filters/__tests__/filterList.test.js +133 -0
- package/src/filters/filterList.js +30 -33
- package/src/filters/i18n/hr.json +9 -9
- package/src/i18n/allLanguages.js +9 -0
- package/src/i18n/ar.json +0 -10
- package/src/i18n/de.json +0 -10
- package/src/i18n/en.json +2 -12
- package/src/i18n/es.json +1 -11
- package/src/i18n/fr.json +0 -10
- package/src/i18n/hr.json +0 -10
- package/src/i18n/it.json +0 -10
- package/src/i18n/ru.json +0 -10
- package/src/ui/ADatepicker/panel/APanelDate/APanelDate.js +0 -1
- package/src/ui/ADatepickerAlt/panel/APanelDate/APanelDate.js +0 -1
- package/src/ui/ASwitch/ASwitch.js +2 -2
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanArguments/PageFilterBooleanArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanArguments/PageFilterBooleanArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanImportCompositionApi/PageFilterBooleanImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanImportFunction/PageFilterBooleanImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanImportFunction/PageFilterBooleanImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyArguments/PageFilterCurrencyArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyArguments/PageFilterCurrencyArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyArguments/PageFilterCurrencyArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyImportCompositionApi/PageFilterCurrencyImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyImportCompositionApi/PageFilterCurrencyImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyImportCompositionApi/PageFilterCurrencyImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyImportFunction/PageFilterCurrencyImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyImportFunction/PageFilterCurrencyImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyImportFunction/PageFilterCurrencyImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterCurrency/PageFilterCurrencyImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateArguments/PageFilterDateArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateArguments/PageFilterDateArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateArguments/PageFilterDateArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateImportCompositionApi/PageFilterDateImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateImportCompositionApi/PageFilterDateImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateImportCompositionApi/PageFilterDateImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateImportFunction/PageFilterDateImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateImportFunction/PageFilterDateImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateImportFunction/PageFilterDateImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterDate/PageFilterDateImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyArguments/PageFilterDefaultForEmptyArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyArguments/PageFilterDefaultForEmptyArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyArguments/PageFilterDefaultForEmptyArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyImportCompositionApi/PageFilterDefaultForEmptyImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyImportCompositionApi/PageFilterDefaultForEmptyImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyImportCompositionApi/PageFilterDefaultForEmptyImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyImportFunction/PageFilterDefaultForEmptyImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyImportFunction/PageFilterDefaultForEmptyImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyImportFunction/PageFilterDefaultForEmptyImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterDefaultForEmpty/PageFilterDefaultForEmptyImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailArguments/PageFilterEmailArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailArguments/PageFilterEmailArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailArguments/PageFilterEmailArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailImportCompositionApi/PageFilterEmailImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailImportCompositionApi/PageFilterEmailImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailImportCompositionApi/PageFilterEmailImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailImportFunction/PageFilterEmailImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailImportFunction/PageFilterEmailImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailImportFunction/PageFilterEmailImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterEmail/PageFilterEmailImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeArguments/PageFilterFileSizeArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeArguments/PageFilterFileSizeArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeArguments/PageFilterFileSizeArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeImportCompositionApi/PageFilterFileSizeImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeImportCompositionApi/PageFilterFileSizeImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeImportCompositionApi/PageFilterFileSizeImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeImportFunction/PageFilterFileSizeImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeImportFunction/PageFilterFileSizeImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeImportFunction/PageFilterFileSizeImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterFileSize/PageFilterFileSizeImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatArguments/PageFilterFloatArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatArguments/PageFilterFloatArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatArguments/PageFilterFloatArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatImportCompositionApi/PageFilterFloatImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatImportCompositionApi/PageFilterFloatImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatImportCompositionApi/PageFilterFloatImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatImportFunction/PageFilterFloatImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatImportFunction/PageFilterFloatImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatImportFunction/PageFilterFloatImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterFloat/PageFilterFloatImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonArguments/PageFilterJsonArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonArguments/PageFilterJsonArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonArguments/PageFilterJsonArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonImportCompositionApi/PageFilterJsonImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonImportCompositionApi/PageFilterJsonImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonImportCompositionApi/PageFilterJsonImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonImportFunction/PageFilterJsonImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonImportFunction/PageFilterJsonImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonImportFunction/PageFilterJsonImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterJson/PageFilterJsonImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueArguments/PageFilterKeyValueArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueArguments/PageFilterKeyValueArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueArguments/PageFilterKeyValueArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueImportCompositionApi/PageFilterKeyValueImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueImportCompositionApi/PageFilterKeyValueImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueImportCompositionApi/PageFilterKeyValueImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueImportFunction/PageFilterKeyValueImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueImportFunction/PageFilterKeyValueImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueImportFunction/PageFilterKeyValueImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterKeyValue/PageFilterKeyValueImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToArguments/PageFilterLimitToArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToArguments/PageFilterLimitToArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToArguments/PageFilterLimitToArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToImportCompositionApi/PageFilterLimitToImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToImportCompositionApi/PageFilterLimitToImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToImportCompositionApi/PageFilterLimitToImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToImportFunction/PageFilterLimitToImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToImportFunction/PageFilterLimitToImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToImportFunction/PageFilterLimitToImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterLimitTo/PageFilterLimitToImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkArguments/PageFilterLinkArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkArguments/PageFilterLinkArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkArguments/PageFilterLinkArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkImportCompositionApi/PageFilterLinkImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkImportCompositionApi/PageFilterLinkImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkImportCompositionApi/PageFilterLinkImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkImportFunction/PageFilterLinkImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkImportFunction/PageFilterLinkImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkImportFunction/PageFilterLinkImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterLink/PageFilterLinkImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterList/PageFilterListArguments/PageFilterListArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterList/PageFilterListArguments/PageFilterListArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterList/PageFilterListArguments/PageFilterListArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterList/PageFilterListArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterList/PageFilterListImportCompositionApi/PageFilterListImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterList/PageFilterListImportCompositionApi/PageFilterListImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterList/PageFilterListImportCompositionApi/PageFilterListImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterList/PageFilterListImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterList/PageFilterListImportFunction/PageFilterListImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterList/PageFilterListImportFunction/PageFilterListImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterList/PageFilterListImportFunction/PageFilterListImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterList/PageFilterListImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueArguments/PageFilterPropertyByValueArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueArguments/PageFilterPropertyByValueArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueArguments/PageFilterPropertyByValueArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueImportCompositionApi/PageFilterPropertyByValueImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueImportCompositionApi/PageFilterPropertyByValueImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueImportCompositionApi/PageFilterPropertyByValueImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueImportFunction/PageFilterPropertyByValueImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueImportFunction/PageFilterPropertyByValueImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueImportFunction/PageFilterPropertyByValueImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterPropertyByValue/PageFilterPropertyByValueImportFunction/compositionAPI/JsAPI.js +0 -7
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightArguments/PageFilterSearchHighlightArguments.js +0 -19
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightArguments/PageFilterSearchHighlightArguments.pug +0 -5
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightArguments/PageFilterSearchHighlightArguments.vue +0 -2
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightArguments/compositionAPI/JsAPI.js +0 -25
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightImportCompositionApi/PageFilterSearchHighlightImportCompositionApi.js +0 -19
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightImportCompositionApi/PageFilterSearchHighlightImportCompositionApi.pug +0 -5
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightImportCompositionApi/PageFilterSearchHighlightImportCompositionApi.vue +0 -2
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightImportCompositionApi/compositionAPI/JsAPI.js +0 -15
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightImportFunction/PageFilterSearchHighlightImportFunction.js +0 -19
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightImportFunction/PageFilterSearchHighlightImportFunction.pug +0 -5
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightImportFunction/PageFilterSearchHighlightImportFunction.vue +0 -2
- package/docs/src/views/Functions/PageFilterSearchHighlight/PageFilterSearchHighlightImportFunction/compositionAPI/JsAPI.js +0 -7
- package/src/ATable/ATableTd/compositionAPI/MobileAPI.js +0 -21
- package/src/ATable/compositionAPI/ColumnVisibleAPI.js +0 -43
- package/src/ATable/compositionAPI/ColumnsIdsAPI.js +0 -47
- package/src/ATable/compositionAPI/TableColumnsAPI.js +0 -75
- package/src/ATable/compositionAPI/TableColumnsVisibleAPI.js +0 -11
- package/src/ui/input-number/__tests__/input-number.test.tsx +0 -486
- /package/docs/src/views/Functions/{PageFilterBoolean/PageFilterBooleanImportCompositionApi/PageFilterBooleanImportCompositionApi.pug → Components/PageFilterImportCompositionApi/PageFilterImportCompositionApi.pug} +0 -0
- /package/docs/src/views/Functions/{PageFilterBoolean/PageFilterBooleanImportFunction/PageFilterBooleanImportFunction.pug → Components/PageFilterImportFunction/PageFilterImportFunction.pug} +0 -0
package/README.md
CHANGED
|
@@ -35,6 +35,16 @@ The documentation can be found in [DOCS](https://ilia-brykin.github.io/aloha/).
|
|
|
35
35
|
|
|
36
36
|
[Aloha documentation](https://ilia-brykin.github.io/aloha/) is available in English, German, Spanish, French, Arabic, Italian, Russian and Croatian.
|
|
37
37
|
|
|
38
|
+
## Tests
|
|
39
|
+
|
|
40
|
+
``` bash
|
|
41
|
+
# start all tests
|
|
42
|
+
$ npm run test
|
|
43
|
+
|
|
44
|
+
# start one test
|
|
45
|
+
$ npm run test src/filters/__tests__/filterList.test.js
|
|
46
|
+
```
|
|
47
|
+
|
|
38
48
|
## Sponsor / Support
|
|
39
49
|
|
|
40
50
|
[PROUNIX](https://prounix.de/)
|
package/babel.config.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const path = require("path");
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
presets: [
|
|
5
|
+
["@babel/env"]
|
|
6
|
+
],
|
|
7
|
+
env: {
|
|
8
|
+
test: {
|
|
9
|
+
presets: [["@babel/env"]]
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
plugins: [
|
|
13
|
+
["module-resolver", {
|
|
14
|
+
root: ["./src"],
|
|
15
|
+
alias: {
|
|
16
|
+
"@": path.resolve(__dirname, "./src")
|
|
17
|
+
}
|
|
18
|
+
}]
|
|
19
|
+
]
|
|
20
|
+
};
|
package/docs/.eslintrc.js
CHANGED
|
@@ -20,7 +20,7 @@ module.exports = exports = {
|
|
|
20
20
|
jsx: false,
|
|
21
21
|
},
|
|
22
22
|
},
|
|
23
|
-
|
|
23
|
+
plugins: ["jest"],
|
|
24
24
|
extends: [
|
|
25
25
|
"eslint:recommended",
|
|
26
26
|
"plugin:vue/vue3-recommended",
|
|
@@ -183,10 +183,18 @@ module.exports = exports = {
|
|
|
183
183
|
// Vue.js
|
|
184
184
|
"vue/multi-word-component-names": OFF,
|
|
185
185
|
"vue/component-definition-name-casing": OFF, // TODO: wenn angular.js weg ist, soll WARN sein
|
|
186
|
+
|
|
187
|
+
// Jest
|
|
188
|
+
"jest/no-disabled-tests": "warn",
|
|
189
|
+
"jest/no-focused-tests": "error",
|
|
190
|
+
"jest/no-identical-title": "error",
|
|
191
|
+
"jest/prefer-to-have-length": "warn",
|
|
192
|
+
"jest/valid-expect": "error"
|
|
186
193
|
},
|
|
187
194
|
env: {
|
|
188
195
|
jquery: true,
|
|
189
196
|
es6: true,
|
|
190
197
|
browser: true,
|
|
198
|
+
"jest/globals": true,
|
|
191
199
|
}
|
|
192
200
|
};
|
package/docs/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"moment": "2.29.4",
|
|
22
22
|
"tiny-emitter": "2.1.0",
|
|
23
23
|
"tinymce": "6.6.1",
|
|
24
|
-
"vue": "3.
|
|
24
|
+
"vue": "3.4.8",
|
|
25
25
|
"vue-router": "4.2.5"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"copy-webpack-plugin": "11.0.0",
|
|
37
37
|
"css-loader": "6.8.1",
|
|
38
38
|
"eslint": "8.43.0",
|
|
39
|
+
"eslint-plugin-jest": "^27.6.1",
|
|
39
40
|
"eslint-plugin-vue": "9.15.0",
|
|
40
41
|
"eslint-webpack-plugin": "4.0.1",
|
|
41
42
|
"file-loader": "6.2.0",
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import ATranslation from "../../../../src/ATranslation/ATranslation";
|
|
2
|
+
|
|
3
|
+
import TypeAPI from "./compositionAPI/TypeAPI";
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
name: "TypeTranslate",
|
|
7
|
+
components: {
|
|
8
|
+
ATranslation,
|
|
9
|
+
},
|
|
10
|
+
props: {
|
|
11
|
+
tag: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: false,
|
|
14
|
+
default: "strong",
|
|
15
|
+
},
|
|
16
|
+
type: {
|
|
17
|
+
type: String,
|
|
18
|
+
required: true,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
setup(props) {
|
|
22
|
+
const {
|
|
23
|
+
typeLocal,
|
|
24
|
+
} = TypeAPI(props);
|
|
25
|
+
|
|
26
|
+
return {
|
|
27
|
+
typeLocal,
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
computed,
|
|
3
|
+
toRef,
|
|
4
|
+
} from "vue";
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
toLower,
|
|
8
|
+
} from "lodash-es";
|
|
9
|
+
|
|
10
|
+
export default function TypeAPI(props) {
|
|
11
|
+
const type = toRef(props, "type");
|
|
12
|
+
|
|
13
|
+
const TYPES_TRANSLATE = {
|
|
14
|
+
object: "_JS_TYPE_OBJECT_",
|
|
15
|
+
array: "_JS_TYPE_ARRAY_",
|
|
16
|
+
any: "_JS_TYPE_ANY_",
|
|
17
|
+
string: "_JS_TYPE_STRING_",
|
|
18
|
+
number: "_JS_TYPE_NUMBER_",
|
|
19
|
+
function: "_JS_TYPE_FUNCTION_",
|
|
20
|
+
boolean: "_JS_TYPE_BOOLEAN_",
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const typeLocal = computed(() => {
|
|
24
|
+
const typeText = toLower(type.value);
|
|
25
|
+
|
|
26
|
+
return TYPES_TRANSLATE[typeText] || typeText;
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
return {
|
|
30
|
+
typeLocal,
|
|
31
|
+
};
|
|
32
|
+
}
|
package/docs/src/i18n/ar.json
CHANGED
|
@@ -14,5 +14,12 @@
|
|
|
14
14
|
"_HIDE_SOURCE_": "إخفاء المصدر",
|
|
15
15
|
"_SUPPORT_FRAMEWORKS_": "التالية CSS نحن ندعم أطر",
|
|
16
16
|
"_VIEW_SOURCE_": "إظهار كود المصدر",
|
|
17
|
-
"_WELCOME_": "مرحباً"
|
|
17
|
+
"_WELCOME_": "مرحباً",
|
|
18
|
+
"_JS_TYPE_OBJECT_": "Object",
|
|
19
|
+
"_JS_TYPE_ARRAY_": "Array",
|
|
20
|
+
"_JS_TYPE_ANY_": "Any",
|
|
21
|
+
"_JS_TYPE_STRING_": "String",
|
|
22
|
+
"_JS_TYPE_NUMBER_": "Number",
|
|
23
|
+
"_JS_TYPE_FUNCTION_": "Function",
|
|
24
|
+
"_JS_TYPE_BOOLEAN_": "Boolean"
|
|
18
25
|
}
|
package/docs/src/i18n/de.json
CHANGED
|
@@ -14,5 +14,12 @@
|
|
|
14
14
|
"_ALOHA_TABLE_TRANSLATE_LABEL_": "Übersetzungen",
|
|
15
15
|
"_ALOHA_TABLE_COLUMN_TRANSLATE_PLACEHOLDER_": "Platzhalter",
|
|
16
16
|
"_ALOHA_TABLE_COLUMN_TRANSLATE_": "Übersetzung",
|
|
17
|
-
"_WELCOME_": "Willkommen"
|
|
17
|
+
"_WELCOME_": "Willkommen",
|
|
18
|
+
"_JS_TYPE_OBJECT_": "Objekt",
|
|
19
|
+
"_JS_TYPE_ARRAY_": "Array",
|
|
20
|
+
"_JS_TYPE_ANY_": "Beliebig",
|
|
21
|
+
"_JS_TYPE_STRING_": "Zeichenkette",
|
|
22
|
+
"_JS_TYPE_NUMBER_": "Zahl",
|
|
23
|
+
"_JS_TYPE_FUNCTION_": "Funktion",
|
|
24
|
+
"_JS_TYPE_BOOLEAN_": "Wahrheitswert"
|
|
18
25
|
}
|
package/docs/src/i18n/en.json
CHANGED
|
@@ -14,5 +14,12 @@
|
|
|
14
14
|
"_HIDE_SOURCE_": "Hide source",
|
|
15
15
|
"_SUPPORT_FRAMEWORKS_": "We support the following CSS-frameworks",
|
|
16
16
|
"_VIEW_SOURCE_": "View source",
|
|
17
|
-
"_WELCOME_": "Welcome"
|
|
17
|
+
"_WELCOME_": "Welcome",
|
|
18
|
+
"_JS_TYPE_OBJECT_": "Object",
|
|
19
|
+
"_JS_TYPE_ARRAY_": "Array",
|
|
20
|
+
"_JS_TYPE_ANY_": "Any",
|
|
21
|
+
"_JS_TYPE_STRING_": "String",
|
|
22
|
+
"_JS_TYPE_NUMBER_": "Number",
|
|
23
|
+
"_JS_TYPE_FUNCTION_": "Function",
|
|
24
|
+
"_JS_TYPE_BOOLEAN_": "Boolean"
|
|
18
25
|
}
|
package/docs/src/i18n/es.json
CHANGED
|
@@ -14,5 +14,12 @@
|
|
|
14
14
|
"_HIDE_SOURCE_": "Ocultar fuente",
|
|
15
15
|
"_SUPPORT_FRAMEWORKS_": "Admitimos los siguientes marcos CSS",
|
|
16
16
|
"_VIEW_SOURCE_": "Ver fuente",
|
|
17
|
-
"_WELCOME_": "Bienvenido"
|
|
17
|
+
"_WELCOME_": "Bienvenido",
|
|
18
|
+
"_JS_TYPE_OBJECT_": "Object",
|
|
19
|
+
"_JS_TYPE_ARRAY_": "Array",
|
|
20
|
+
"_JS_TYPE_ANY_": "Any",
|
|
21
|
+
"_JS_TYPE_STRING_": "String",
|
|
22
|
+
"_JS_TYPE_NUMBER_": "Number",
|
|
23
|
+
"_JS_TYPE_FUNCTION_": "Function",
|
|
24
|
+
"_JS_TYPE_BOOLEAN_": "Boolean"
|
|
18
25
|
}
|
package/docs/src/i18n/fr.json
CHANGED
|
@@ -14,5 +14,12 @@
|
|
|
14
14
|
"_HIDE_SOURCE_": "Masquer la source",
|
|
15
15
|
"_SUPPORT_FRAMEWORKS_": "Nous supportons les frameworks CSS suivants",
|
|
16
16
|
"_VIEW_SOURCE_": "Voir la source",
|
|
17
|
-
"_WELCOME_": "Bienvenu"
|
|
17
|
+
"_WELCOME_": "Bienvenu",
|
|
18
|
+
"_JS_TYPE_OBJECT_": "Object",
|
|
19
|
+
"_JS_TYPE_ARRAY_": "Array",
|
|
20
|
+
"_JS_TYPE_ANY_": "Any",
|
|
21
|
+
"_JS_TYPE_STRING_": "String",
|
|
22
|
+
"_JS_TYPE_NUMBER_": "Number",
|
|
23
|
+
"_JS_TYPE_FUNCTION_": "Function",
|
|
24
|
+
"_JS_TYPE_BOOLEAN_": "Boolean"
|
|
18
25
|
}
|
package/docs/src/i18n/hr.json
CHANGED
|
@@ -14,5 +14,12 @@
|
|
|
14
14
|
"_HIDE_SOURCE_": "Sakrij izvorni kod",
|
|
15
15
|
"_SUPPORT_FRAMEWORKS_": "Podržavamo sljedeće CSS-frameworke",
|
|
16
16
|
"_VIEW_SOURCE_": "Prikaži izvorni kod",
|
|
17
|
-
"_WELCOME_": "Dobrodošli!"
|
|
17
|
+
"_WELCOME_": "Dobrodošli!",
|
|
18
|
+
"_JS_TYPE_OBJECT_": "objekt",
|
|
19
|
+
"_JS_TYPE_ARRAY_": "niz",
|
|
20
|
+
"_JS_TYPE_ANY_": "proizvoljna vrijednost",
|
|
21
|
+
"_JS_TYPE_STRING_": "string",
|
|
22
|
+
"_JS_TYPE_NUMBER_": "cijeli broj",
|
|
23
|
+
"_JS_TYPE_FUNCTION_": "funkcija",
|
|
24
|
+
"_JS_TYPE_BOOLEAN_": "boolean"
|
|
18
25
|
}
|
package/docs/src/i18n/it.json
CHANGED
|
@@ -14,5 +14,12 @@
|
|
|
14
14
|
"_HIDE_SOURCE_": "Nascondi fonte",
|
|
15
15
|
"_SUPPORT_FRAMEWORKS_": "Supportiamo i seguenti framework CSS",
|
|
16
16
|
"_VIEW_SOURCE_": "Vedi la fonte",
|
|
17
|
-
"_WELCOME_": "Benvenuto"
|
|
17
|
+
"_WELCOME_": "Benvenuto",
|
|
18
|
+
"_JS_TYPE_OBJECT_": "Object",
|
|
19
|
+
"_JS_TYPE_ARRAY_": "Array",
|
|
20
|
+
"_JS_TYPE_ANY_": "Any",
|
|
21
|
+
"_JS_TYPE_STRING_": "String",
|
|
22
|
+
"_JS_TYPE_NUMBER_": "Number",
|
|
23
|
+
"_JS_TYPE_FUNCTION_": "Function",
|
|
24
|
+
"_JS_TYPE_BOOLEAN_": "Boolean"
|
|
18
25
|
}
|
package/docs/src/i18n/ru.json
CHANGED
|
@@ -14,5 +14,12 @@
|
|
|
14
14
|
"_HIDE_SOURCE_": "Скрыть исходный код",
|
|
15
15
|
"_SUPPORT_FRAMEWORKS_": "Мы поддерживаем следующие CSS-фреймворки",
|
|
16
16
|
"_VIEW_SOURCE_": "Посмотреть исходный код",
|
|
17
|
-
"_WELCOME_": "Добро пожаловать"
|
|
17
|
+
"_WELCOME_": "Добро пожаловать",
|
|
18
|
+
"_JS_TYPE_OBJECT_": "Объект",
|
|
19
|
+
"_JS_TYPE_ARRAY_": "Массив",
|
|
20
|
+
"_JS_TYPE_ANY_": "Любой",
|
|
21
|
+
"_JS_TYPE_STRING_": "Строка",
|
|
22
|
+
"_JS_TYPE_NUMBER_": "Число",
|
|
23
|
+
"_JS_TYPE_FUNCTION_": "Функция",
|
|
24
|
+
"_JS_TYPE_BOOLEAN_": "Логическое значение"
|
|
18
25
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import AlohaExample from "../../../../global/components/AlohaExample/AlohaExample.vue";
|
|
2
|
+
import ATranslation from "../../../../../../src/ATranslation/ATranslation";
|
|
3
|
+
import TypeTranslate from "../../../../components/TypeTranslate/TypeTranslate.vue";
|
|
4
|
+
|
|
5
|
+
import JsAPI from "./compositionAPI/JsAPI";
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
name: "PageFilterArguments",
|
|
9
|
+
components: {
|
|
10
|
+
AlohaExample,
|
|
11
|
+
ATranslation,
|
|
12
|
+
TypeTranslate,
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
argumentsText: {
|
|
16
|
+
type: Array,
|
|
17
|
+
required: true,
|
|
18
|
+
},
|
|
19
|
+
functionDescription: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: true,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
setup(props) {
|
|
25
|
+
const {
|
|
26
|
+
codeJs,
|
|
27
|
+
} = JsAPI(props);
|
|
28
|
+
|
|
29
|
+
return {
|
|
30
|
+
codeJs,
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
div
|
|
2
|
+
aloha-example(
|
|
3
|
+
:code-js="codeJs"
|
|
4
|
+
header="_PAGE_FUNCTIONS_ARGUMENTS_HEADER_"
|
|
5
|
+
:is-code-visible-default="true"
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
ul.a_list_without_styles.a_mt_3
|
|
9
|
+
li.a_mb_2(
|
|
10
|
+
v-for="obj in argumentsText"
|
|
11
|
+
:key="obj.text"
|
|
12
|
+
)
|
|
13
|
+
a-translation(
|
|
14
|
+
:text="obj.value"
|
|
15
|
+
tag="strong"
|
|
16
|
+
text-after=" "
|
|
17
|
+
)
|
|
18
|
+
span (
|
|
19
|
+
template(
|
|
20
|
+
v-for="(type, indexType) in obj.types"
|
|
21
|
+
:key="type"
|
|
22
|
+
)
|
|
23
|
+
strong(
|
|
24
|
+
v-if="indexType !== 0"
|
|
25
|
+
) |
|
|
26
|
+
type-translate(
|
|
27
|
+
:type="type"
|
|
28
|
+
)
|
|
29
|
+
span ):
|
|
30
|
+
a-translation(
|
|
31
|
+
:safe-html="obj.text"
|
|
32
|
+
tag="span"
|
|
33
|
+
text-before=" "
|
|
34
|
+
)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
computed,
|
|
3
|
+
toRef,
|
|
4
|
+
} from "vue";
|
|
5
|
+
|
|
6
|
+
export default function JsAPI(props) {
|
|
7
|
+
const functionDescription = toRef(props, "functionDescription");
|
|
8
|
+
|
|
9
|
+
const codeJs = computed(() => {
|
|
10
|
+
return `${ functionDescription.value };`;
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
return {
|
|
14
|
+
codeJs,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -3,14 +3,20 @@ import AlohaExample from "../../../../global/components/AlohaExample/AlohaExampl
|
|
|
3
3
|
import JsAPI from "./compositionAPI/JsAPI";
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
|
-
name: "
|
|
6
|
+
name: "PageFilterImportCompositionApi",
|
|
7
7
|
components: {
|
|
8
8
|
AlohaExample,
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
props: {
|
|
11
|
+
functionName: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: true,
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
setup(props) {
|
|
11
17
|
const {
|
|
12
18
|
codeJs,
|
|
13
|
-
} = JsAPI();
|
|
19
|
+
} = JsAPI(props);
|
|
14
20
|
|
|
15
21
|
return {
|
|
16
22
|
codeJs,
|
package/docs/src/views/Functions/Components/PageFilterImportCompositionApi/compositionAPI/JsAPI.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
computed,
|
|
3
|
+
toRef,
|
|
4
|
+
} from "vue";
|
|
5
|
+
|
|
6
|
+
export default function JsAPI(props) {
|
|
7
|
+
const functionName = toRef(props, "functionName");
|
|
8
|
+
|
|
9
|
+
const codeJs = computed(() => {
|
|
10
|
+
return `import AFiltersAPI from "aloha-vue/src/compositionAPI/AFiltersAPI";
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
setup() {
|
|
14
|
+
const {
|
|
15
|
+
${ functionName.value },
|
|
16
|
+
} = AFiltersAPI();
|
|
17
|
+
},
|
|
18
|
+
};`;
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
return {
|
|
22
|
+
codeJs,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -3,14 +3,20 @@ import AlohaExample from "../../../../global/components/AlohaExample/AlohaExampl
|
|
|
3
3
|
import JsAPI from "./compositionAPI/JsAPI";
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
|
-
name: "
|
|
6
|
+
name: "PageFilterImportFunction",
|
|
7
7
|
components: {
|
|
8
8
|
AlohaExample,
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
props: {
|
|
11
|
+
functionName: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: true,
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
setup(props) {
|
|
11
17
|
const {
|
|
12
18
|
codeJs,
|
|
13
|
-
} = JsAPI();
|
|
19
|
+
} = JsAPI(props);
|
|
14
20
|
|
|
15
21
|
return {
|
|
16
22
|
codeJs,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
computed,
|
|
3
|
+
toRef,
|
|
4
|
+
} from "vue";
|
|
5
|
+
|
|
6
|
+
export default function JsAPI(props) {
|
|
7
|
+
const functionName = toRef(props, "functionName");
|
|
8
|
+
|
|
9
|
+
const codeJs = computed(() => {
|
|
10
|
+
return `import ${ functionName.value } from "aloha-vue/src/filters/${ functionName.value }";`;
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
return {
|
|
14
|
+
codeJs,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import AlohaPage from "../../../global/components/AlohaPage/AlohaPage.vue";
|
|
2
2
|
import ATranslation from "../../../../../src/ATranslation/ATranslation";
|
|
3
|
-
import
|
|
3
|
+
import PageFilterArguments from "../Components/PageFilterArguments/PageFilterArguments.vue";
|
|
4
4
|
import PageFilterBooleanExample from "./PageFilterBooleanExample/PageFilterBooleanExample.vue";
|
|
5
|
-
import PageFilterBooleanImportCompositionApi from "./PageFilterBooleanImportCompositionApi/PageFilterBooleanImportCompositionApi.vue";
|
|
6
|
-
import PageFilterBooleanImportFunction from "./PageFilterBooleanImportFunction/PageFilterBooleanImportFunction.vue";
|
|
7
5
|
import PageFilterBooleanTrueFalseValues from "./PageFilterBooleanTrueFalseValues/PageFilterBooleanTrueFalseValues.vue";
|
|
8
6
|
import PageFilterBooleanUseNil from "./PageFilterBooleanUseNil/PageFilterBooleanUseNil.vue";
|
|
7
|
+
import PageFilterImportCompositionApi from "../Components/PageFilterImportCompositionApi/PageFilterImportCompositionApi.vue";
|
|
8
|
+
import PageFilterImportFunction from "../Components/PageFilterImportFunction/PageFilterImportFunction.vue";
|
|
9
9
|
|
|
10
|
+
import ArgumentsAPI from "./compositionAPI/ArgumentsAPI";
|
|
10
11
|
import PageTitleAPI from "./compositionAPI/PageTitleAPI";
|
|
11
12
|
|
|
12
13
|
export default {
|
|
@@ -14,19 +15,24 @@ export default {
|
|
|
14
15
|
components: {
|
|
15
16
|
AlohaPage,
|
|
16
17
|
ATranslation,
|
|
17
|
-
|
|
18
|
+
PageFilterArguments,
|
|
18
19
|
PageFilterBooleanExample,
|
|
19
|
-
PageFilterBooleanImportCompositionApi,
|
|
20
|
-
PageFilterBooleanImportFunction,
|
|
21
20
|
PageFilterBooleanTrueFalseValues,
|
|
22
21
|
PageFilterBooleanUseNil,
|
|
22
|
+
PageFilterImportCompositionApi,
|
|
23
|
+
PageFilterImportFunction,
|
|
23
24
|
},
|
|
24
25
|
setup() {
|
|
25
26
|
const {
|
|
26
27
|
pageTitle,
|
|
27
28
|
} = PageTitleAPI();
|
|
28
29
|
|
|
30
|
+
const {
|
|
31
|
+
argumentsText,
|
|
32
|
+
} = ArgumentsAPI();
|
|
33
|
+
|
|
29
34
|
return {
|
|
35
|
+
argumentsText,
|
|
30
36
|
pageTitle,
|
|
31
37
|
};
|
|
32
38
|
},
|
|
@@ -9,11 +9,18 @@ aloha-page(
|
|
|
9
9
|
html="_PAGE_FILTER_BOOLEAN_DESCRIPTION_"
|
|
10
10
|
)
|
|
11
11
|
|
|
12
|
-
page-filter-
|
|
12
|
+
page-filter-import-function(
|
|
13
|
+
function-name="filterBoolean"
|
|
14
|
+
)
|
|
13
15
|
|
|
14
|
-
page-filter-
|
|
16
|
+
page-filter-import-composition-api(
|
|
17
|
+
function-name="filterBoolean"
|
|
18
|
+
)
|
|
15
19
|
|
|
16
|
-
page-filter-
|
|
20
|
+
page-filter-arguments(
|
|
21
|
+
function-description="filterBoolean(value, { [trueValue=\"_YES_\"], [falseValue=\"_NO_\"], [useNil=true] })"
|
|
22
|
+
:arguments-text="argumentsText"
|
|
23
|
+
)
|
|
17
24
|
|
|
18
25
|
page-filter-boolean-example
|
|
19
26
|
|
package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanExample/compositionAPI/JsAPI.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
computed,
|
|
3
|
+
} from "vue";
|
|
4
|
+
|
|
1
5
|
import filterBoolean from "../../../../../../../src/filters/filterBoolean";
|
|
2
6
|
|
|
3
7
|
export default function JsAPI() {
|
|
4
|
-
const codeJs =
|
|
8
|
+
const codeJs = computed(() => {
|
|
9
|
+
return `filterBoolean(true);
|
|
5
10
|
// ${ filterBoolean(true) }
|
|
6
11
|
filterBoolean(false);
|
|
7
12
|
// ${ filterBoolean(false) }
|
|
@@ -15,6 +20,7 @@ filterBoolean("aloha");
|
|
|
15
20
|
// ${ filterBoolean("aloha") }
|
|
16
21
|
filterBoolean("");
|
|
17
22
|
// ${ filterBoolean("") }`;
|
|
23
|
+
});
|
|
18
24
|
|
|
19
25
|
return {
|
|
20
26
|
codeJs,
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
computed,
|
|
3
|
+
} from "vue";
|
|
4
|
+
|
|
1
5
|
import filterBoolean from "../../../../../../../src/filters/filterBoolean";
|
|
2
6
|
|
|
3
7
|
export default function JsAPI() {
|
|
4
|
-
const codeJs =
|
|
8
|
+
const codeJs = computed(() => {
|
|
9
|
+
return `filterBoolean(true, { trueValue: "1", falseValue: "0" });
|
|
5
10
|
// ${ filterBoolean(true, { trueValue: "1", falseValue: "0" }) }
|
|
6
11
|
filterBoolean(false, { trueValue: "1", falseValue: "0" });
|
|
7
12
|
// ${ filterBoolean(false, { trueValue: "1", falseValue: "0" }) }
|
|
@@ -10,6 +15,7 @@ filterBoolean(1, { trueValue: "true", falseValue: "false" });
|
|
|
10
15
|
// ${ filterBoolean(1, { trueValue: "true", falseValue: "false" }) }
|
|
11
16
|
filterBoolean(0, { trueValue: "true", falseValue: "false" });
|
|
12
17
|
// ${ filterBoolean(0, { trueValue: "true", falseValue: "false" }) }`;
|
|
18
|
+
});
|
|
13
19
|
|
|
14
20
|
return {
|
|
15
21
|
codeJs,
|
package/docs/src/views/Functions/PageFilterBoolean/PageFilterBooleanUseNil/compositionAPI/JsAPI.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
computed,
|
|
3
|
+
} from "vue";
|
|
4
|
+
|
|
1
5
|
import filterBoolean from "../../../../../../../src/filters/filterBoolean";
|
|
2
6
|
|
|
3
7
|
export default function JsAPI() {
|
|
4
|
-
const codeJs =
|
|
8
|
+
const codeJs = computed(() => {
|
|
9
|
+
return `filterBoolean(null, { useNil: true });
|
|
5
10
|
// ${ filterBoolean(null, { useNil: true }) }
|
|
6
11
|
filterBoolean(null, { useNil: false });
|
|
7
12
|
// ${ filterBoolean(null, { useNil: false }) }
|
|
@@ -20,6 +25,7 @@ filterBoolean("undefined", { useNil: true });
|
|
|
20
25
|
// ${ filterBoolean("undefined", { useNil: true }) }
|
|
21
26
|
filterBoolean("undefined", { useNil: false });
|
|
22
27
|
// ${ filterBoolean("undefined", { useNil: false }) }`;
|
|
28
|
+
});
|
|
23
29
|
|
|
24
30
|
return {
|
|
25
31
|
codeJs,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export default function ArgumentsAPI() {
|
|
2
|
+
const argumentsText = [
|
|
3
|
+
{
|
|
4
|
+
value: "value",
|
|
5
|
+
types: [
|
|
6
|
+
"Any",
|
|
7
|
+
],
|
|
8
|
+
text: "_PAGE_FILTER_BOOLEAN_ARGUMENTS_VALUE_",
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
value: "[trueValue=\"_YES_\"]",
|
|
12
|
+
types: [
|
|
13
|
+
"String",
|
|
14
|
+
],
|
|
15
|
+
text: "_PAGE_FILTER_BOOLEAN_ARGUMENTS_TRUE_VALUE_",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
value: "[falseValue=\"_NO_\"]",
|
|
19
|
+
types: [
|
|
20
|
+
"String",
|
|
21
|
+
],
|
|
22
|
+
text: "_PAGE_FILTER_BOOLEAN_ARGUMENTS_FALSE_VALUE_",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
value: "[useNil=true]",
|
|
26
|
+
types: [
|
|
27
|
+
"Boolean",
|
|
28
|
+
],
|
|
29
|
+
text: "_PAGE_FILTER_BOOLEAN_ARGUMENTS_USE_NIL_",
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
return {
|
|
34
|
+
argumentsText,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
2
|
+
"_PAGE_FILTER_BOOLEAN_ARGUMENTS_FALSE_VALUE_": "Der übersetzte Text, der für den Fall zurückgegeben wird, dass value den Wert <strong>Falsch</strong> hat",
|
|
3
|
+
"_PAGE_FILTER_BOOLEAN_ARGUMENTS_TRUE_VALUE_": "Der übersetzte Text, der für den Fall zurückgegeben wird, dass value den Wert <strong>Wahr</strong> hat",
|
|
4
|
+
"_PAGE_FILTER_BOOLEAN_ARGUMENTS_USE_NIL_": "Gibt an, ob für <strong>undefined</strong> oder <strong>null</strong> ein leerer String zurückgegeben werden soll",
|
|
5
|
+
"_PAGE_FILTER_BOOLEAN_ARGUMENTS_VALUE_": "Der Wert, der in einen übersetzten Text umgewandelt werden soll",
|
|
6
|
+
"_PAGE_FILTER_BOOLEAN_DESCRIPTION_": "Die Funktion <strong>filterBoolean</strong> wird verwendet, um einen <strong>Wahrheitswert</strong> in einen übersetzten Text umzuwandeln. Sie ermöglicht die Anpassung der Texte für <strong>Wahr</strong> und <strong>Falsch</strong> Werte sowie die Möglichkeit, für <strong>undefined</strong> oder <strong>null</strong> einen leeren String zurückzugeben."
|
|
4
7
|
}
|