@cloudron/pankow 3.6.8 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/DateTimeInput.vue +21 -0
- package/components/TableView.vue +1 -1
- package/index.js +2 -0
- package/package.json +3 -3
- package/types/index.d.ts +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
|
|
3
|
+
const model = defineModel();
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
readonly: {
|
|
6
|
+
type: Boolean,
|
|
7
|
+
default: false
|
|
8
|
+
},
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<input class="pankow-text-input" type="datetime-local" :readonly="readonly" v-model="model"/>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<style>
|
|
18
|
+
|
|
19
|
+
/* using TextInput styles */
|
|
20
|
+
|
|
21
|
+
</style>
|
package/components/TableView.vue
CHANGED
|
@@ -126,7 +126,7 @@ onMounted(() => {
|
|
|
126
126
|
:style="{ 'text-align': columns[column].align || null, width: typeof columns[column].width === 'string' ? columns[column].width : 'auto' }"
|
|
127
127
|
:class="{ 'pankow-table-cell-hide-mobile': columns[column].hideMobile, 'pankow-table-cell-nowrap': columns[column].nowrap }"
|
|
128
128
|
>
|
|
129
|
-
<slot :name="column" v-if="$slots[column]"
|
|
129
|
+
<slot :name="column" v-if="$slots[column]" :item="item"/>
|
|
130
130
|
<span v-if="!$slots[column]">{{ (column in item) ? (item[column].label || item[column]) : `TableView Error: item has no property '${column}' nor a template with that name` }}</span>
|
|
131
131
|
</td>
|
|
132
132
|
</tr>
|
package/index.js
CHANGED
|
@@ -13,6 +13,7 @@ import ButtonGroup from './components/ButtonGroup.vue';
|
|
|
13
13
|
import ClipboardAction from './components/ClipboardAction.vue';
|
|
14
14
|
import ClipboardButton from './components/ClipboardButton.vue';
|
|
15
15
|
import Checkbox from './components/Checkbox.vue';
|
|
16
|
+
import DateTimeInput from './components/DateTimeInput.vue';
|
|
16
17
|
import Dialog from './components/Dialog.vue';
|
|
17
18
|
import DirectoryView from './components/DirectoryView.vue';
|
|
18
19
|
import EmailInput from './components/EmailInput.vue';
|
|
@@ -58,6 +59,7 @@ export {
|
|
|
58
59
|
ClipboardAction,
|
|
59
60
|
ClipboardButton,
|
|
60
61
|
Checkbox,
|
|
62
|
+
DateTimeInput,
|
|
61
63
|
Dialog,
|
|
62
64
|
DirectoryView,
|
|
63
65
|
EmailInput,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudron/pankow",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.0.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"types": "types/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "ISC",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@fontsource/inter": "^5.2.8",
|
|
26
|
-
"@fortawesome/fontawesome-free": "^7.
|
|
26
|
+
"@fortawesome/fontawesome-free": "^7.2.0",
|
|
27
27
|
"filesize": "^11.0.13",
|
|
28
28
|
"monaco-editor": "^0.55.1",
|
|
29
29
|
"online-3d-viewer": "^0.18.0"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"highlight.js": "^11.11.1",
|
|
35
35
|
"typescript": "^5.9.3",
|
|
36
36
|
"vite": "^7.3.1",
|
|
37
|
-
"vue": "^3.5.
|
|
37
|
+
"vue": "^3.5.28",
|
|
38
38
|
"vue-router": "^5.0.2"
|
|
39
39
|
}
|
|
40
40
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import gestures from './gestures.js';
|
|
|
3
3
|
import tooltip from './tooltip.js';
|
|
4
4
|
import fallbackImage from './fallbackImage.js';
|
|
5
5
|
import utils from './utils.js';
|
|
6
|
-
export { BottomBar, Breadcrumb, Button, ButtonGroup, ClipboardAction, ClipboardButton, Checkbox, Dialog, DirectoryView, EmailInput, FileUploader, FormGroup, InputGroup, Icon, InputDialog, MainLayout, MaskedInput, Menu, MenuItem, SingleSelect, MultiSelect, Notification, NumberInput, OfflineBanner, PasswordInput, Popover, ProgressBar, Radiobutton, SideBar, Spinner, Switch, TableView, TabView, TagInput, TextInput, TextInputRaw, TopBar, fetcher, gestures, tooltip, fallbackImage, utils };
|
|
6
|
+
export { BottomBar, Breadcrumb, Button, ButtonGroup, ClipboardAction, ClipboardButton, Checkbox, DateTimeInput, Dialog, DirectoryView, EmailInput, FileUploader, FormGroup, InputGroup, Icon, InputDialog, MainLayout, MaskedInput, Menu, MenuItem, SingleSelect, MultiSelect, Notification, NumberInput, OfflineBanner, PasswordInput, Popover, ProgressBar, Radiobutton, SideBar, Spinner, Switch, TableView, TabView, TagInput, TextInput, TextInputRaw, TopBar, fetcher, gestures, tooltip, fallbackImage, utils };
|