@ianicdev/datatables2 0.9.0 → 0.9.2
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/dist/{Columns-BcKul1XU.cjs → Columns-5FUNk8-6.cjs} +1 -1
- package/dist/{Columns-WV_XTcfk.js → Columns-lW5ifpVY.js} +1 -1
- package/dist/{Comparison-B-0lzZby.cjs → Comparison-B_jdQPdW.cjs} +1 -1
- package/dist/{Comparison-CS3dbw7-.js → Comparison-OWm3KG63.js} +1 -1
- package/dist/Datepicker-BDXMvB6Q.cjs +1 -0
- package/dist/Datepicker-D0Yzqhky.js +1272 -0
- package/dist/{Download-DObh-0qf.cjs → Download-DZv0Co50.cjs} +1 -1
- package/dist/{Download-HnSkTpjH.js → Download-Dv6nv_kh.js} +2 -2
- package/dist/{Options-B6aA6OT0.js → Options-CvAQ7vuJ.js} +2 -2
- package/dist/{Options-CrhimulB.cjs → Options-Dmq3tFGa.cjs} +1 -1
- package/dist/{RefreshTable-s7gqKe6b.cjs → RefreshTable-DQt3K_wT.cjs} +1 -1
- package/dist/{RefreshTable-Doiv_YZB.js → RefreshTable-vbz6jP_l.js} +2 -2
- package/dist/{Search-CTLGwT0r.js → Search-KNaJ43Yv.js} +2 -2
- package/dist/{Search-Dz0QZMXz.cjs → Search-w6O09lLl.cjs} +1 -1
- package/dist/{Table-ClcPfYL5.cjs → Table-Bfa_XCKK.cjs} +1 -1
- package/dist/{Table-DUoBK9K2.js → Table-P3KDor2k.js} +2 -2
- package/dist/{TableServer-DlguQn9Z.js → TableServer-C7VVLhRY.js} +3 -3
- package/dist/{TableServer-CP_gJg6t.cjs → TableServer-CraUFndq.cjs} +1 -1
- package/dist/{cellRender-DPw3VrGL.cjs → cellRender-AyOlbHkM.cjs} +1 -1
- package/dist/{cellRender-O1eaCIAB.js → cellRender-BSERCH_s.js} +2 -2
- package/dist/{dataTables-CPyO3-V6.js → dataTables-DqHE-hm9.js} +13 -20
- package/dist/{dataTables-DqovKov-.cjs → dataTables-oPwexOUF.cjs} +2 -2
- package/dist/datatables.cjs +1 -1
- package/dist/datatables.js +1 -1
- package/dist/datatables2.css +1 -1
- package/dist/escapeKeyString-CngwDxKW.js +17 -0
- package/dist/escapeKeyString-nS7kXLwu.cjs +1 -0
- package/dist/{index-CAZtJOlN.js → index-BjboPrMg.js} +1 -1
- package/dist/index-BwtJBnu1.cjs +1 -0
- package/dist/{index-BUe_gyg1.js → index-FhbzpwmS.js} +559 -552
- package/dist/{index-CBmwmlHg.cjs → index-Wzi3PVax.cjs} +1 -1
- package/lib/locale/de.js +14 -0
- package/lib/locale/index.d.ts +5 -0
- package/lib/locale/index.js +1 -0
- package/lib/locale.d.ts +5 -0
- package/package.json +7 -7
- package/dist/Datepicker-CBF5JWDm.js +0 -1246
- package/dist/Datepicker-DayGtvzT.cjs +0 -1
- package/dist/escapeKeyString-B_mzfoez.js +0 -17
- package/dist/escapeKeyString-CQVlwp30.cjs +0 -1
- package/dist/index-Bj2papn9.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./index-BwtJBnu1.cjs"),b={__name:"Selected",props:{modelValue:{},modelModifiers:{}},emits:e.mergeModels(["save"],["update:modelValue"]),setup(_,{emit:h}){const n=e.inject("table_props"),o=e.useModel(_,"modelValue"),{hardFiltersState:f}=c.useTableState(),{registerHook:u}=c.useDatatablesHooksStore(),r=e.ref([]),m=h,l=e.inject("busEmits");e.watch(r,s=>{const t={};s.forEach(a=>{let i=n.hardFilters?.[a]??null;isNaN(a)&&(i=n.hardFilters.find(v=>v.value===a)),t[a]=i}),o.value=t,l("hardFilters:update",{keys:s,filters:t}),m("save")}),e.onMounted(()=>{r.value=Object.keys(f.value),r.value.length||n.hardFilters.forEach((s,t)=>{s.active&&r.value.push(s.value??t)}),u("hardFilters:activate",d),u("hardFilters:deactivate",p)});const d=s=>{const t=JSON.parse(JSON.stringify(r.value));t.push(s),r.value=t},p=s=>{const t=JSON.parse(JSON.stringify(r.value)),a=t.findIndex(i=>i===s);a!==-1&&(t.splice(a,1),r.value=t)};return(s,t)=>(e.openBlock(),e.createBlock(c.VSheet,null,{default:e.withCtx(()=>[e.createVNode(c.VChipGroup,{modelValue:e.unref(r),"onUpdate:modelValue":t[0]||(t[0]=a=>e.isRef(r)?r.value=a:null),"selected-class":"text-primary",multiple:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n).hardFilters,(a,i)=>(e.openBlock(),e.createBlock(c.VChip,e.mergeProps({key:i,class:"my-0"},{ref_for:!0},a,{density:"comfortable"}),null,16))),128))]),_:1},8,["modelValue"])]),_:1}))}},y={__name:"index",setup(_){const h=c.useDatatablesStore(),{setData:n}=h,o=e.ref({}),f=e.inject("table_props"),u=e.ref(0),r=()=>{const m=Object.entries(o.value).filter(([,l])=>Array.isArray(l)||typeof l=="string"?l.length>0:l!=null&&l!=="").reduce((l,[d,p])=>(l[d]=p,l),{});n({table_id:f.id,name:"hardFilters",value:{query:m}})};return e.watch(()=>f.hardFilters,()=>{u.value++}),(m,l)=>{const d=b;return e.openBlock(),e.createBlock(d,{key:e.unref(u),modelValue:e.unref(o),"onUpdate:modelValue":l[0]||(l[0]=p=>e.isRef(o)?o.value=p:null),onSave:r},null,8,["modelValue"])}}};exports.default=y;
|
package/lib/locale/de.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
search: "Suche",
|
|
3
|
+
advancedFilters: "Erweiterte Filter",
|
|
4
|
+
cancel: "Abbrechen",
|
|
5
|
+
submit: "Absenden",
|
|
6
|
+
export: "Exportieren",
|
|
7
|
+
columns: "Spalten",
|
|
8
|
+
selectColumns: "Spalten auswählen",
|
|
9
|
+
print: "Drucken",
|
|
10
|
+
preparing_download_file: "Datei für den Download wird vorbereitet...",
|
|
11
|
+
download: "Herunterladen",
|
|
12
|
+
more: "Mehr",
|
|
13
|
+
refresh: "Aktualisieren",
|
|
14
|
+
};
|
package/lib/locale/index.d.ts
CHANGED
package/lib/locale/index.js
CHANGED
package/lib/locale.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ianicdev/datatables2",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -66,15 +66,15 @@
|
|
|
66
66
|
"qs": "^6.14.0",
|
|
67
67
|
"roboto-fontface": "*",
|
|
68
68
|
"sortablejs": "^1.15.6",
|
|
69
|
-
"vue": "^3.5.
|
|
69
|
+
"vue": "^3.5.24",
|
|
70
70
|
"vue-i18n": "^11.1.12",
|
|
71
|
-
"vuetify": "^3.10.
|
|
71
|
+
"vuetify": "^3.10.10",
|
|
72
72
|
"xlsx": "npm:@e965/xlsx@0.20.3"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@eslint/js": "^9.39.1",
|
|
76
|
-
"@tsconfig/node22": "^22.0.
|
|
77
|
-
"@types/node": "^24.10.
|
|
76
|
+
"@tsconfig/node22": "^22.0.3",
|
|
77
|
+
"@types/node": "^24.10.1",
|
|
78
78
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
79
79
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
80
80
|
"@vue/tsconfig": "^0.8.1",
|
|
@@ -82,13 +82,13 @@
|
|
|
82
82
|
"eslint": "^9.39.1",
|
|
83
83
|
"eslint-plugin-vue": "^10.5.1",
|
|
84
84
|
"pinia": "^3.0.4",
|
|
85
|
-
"sass": "^1.
|
|
85
|
+
"sass": "^1.94.0",
|
|
86
86
|
"typescript": "^5.9.3",
|
|
87
87
|
"unplugin-auto-import": "^20.2.0",
|
|
88
88
|
"unplugin-fonts": "^1.4.0",
|
|
89
89
|
"unplugin-vue-components": "^30.0.0",
|
|
90
90
|
"unplugin-vue-router": "^0.16.1",
|
|
91
|
-
"vite": "^7.2.
|
|
91
|
+
"vite": "^7.2.2",
|
|
92
92
|
"vite-plugin-vue-layouts-next": "^1.2.0",
|
|
93
93
|
"vite-plugin-vuetify": "^2.1.2",
|
|
94
94
|
"vue-router": "^4.6.3",
|