@pequity/squirrel 11.0.5 → 11.0.6
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/cjs/p-table-td.js +3 -3
- package/dist/cjs/p-table.js +4 -4
- package/dist/es/p-table-td.js +3 -3
- package/dist/es/p-table.js +4 -4
- package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +1 -1
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +1 -1
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +1 -1
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +1 -1
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +2 -2
- package/dist/squirrel.css +3 -3
- package/package.json +37 -37
- package/squirrel/components/p-table-td/p-table-td.spec.js +2 -2
- package/squirrel/components/p-table-td/p-table-td.vue +2 -2
package/dist/cjs/p-table-td.js
CHANGED
|
@@ -55,9 +55,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
55
55
|
res.push("w-max");
|
|
56
56
|
}
|
|
57
57
|
if (currentColIsFirstColFixed) {
|
|
58
|
-
res.push("td-shadow-right flex flex-col h-full justify-center px-
|
|
58
|
+
res.push("td-shadow-right flex flex-col h-full justify-center px-4");
|
|
59
59
|
} else if (currentColIsLastColFixed) {
|
|
60
|
-
res.push("td-shadow-left flex flex-col h-full justify-center px-
|
|
60
|
+
res.push("td-shadow-left flex flex-col h-full justify-center px-4");
|
|
61
61
|
} else if (isFirstColFixed.value && isSecondCol.value) {
|
|
62
62
|
res.push("pl-4 pr-2");
|
|
63
63
|
} else if (isLastColFixed.value && isNextToLastCol.value) {
|
|
@@ -82,5 +82,5 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
|
-
const PTableTd = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
85
|
+
const PTableTd = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-bb67024f"]]);
|
|
86
86
|
module.exports = PTableTd;
|
package/dist/cjs/p-table.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const colsInjectionKey = Symbol("cols");
|
|
4
|
-
const isFirstColFixedInjectionKey = Symbol("isFirstColFixed");
|
|
5
|
-
const isLastColFixedInjectionKey = Symbol("isLastColFixed");
|
|
6
|
-
const isColsResizableInjectionKey = Symbol("isColsResizable");
|
|
3
|
+
const colsInjectionKey = /* @__PURE__ */ Symbol("cols");
|
|
4
|
+
const isFirstColFixedInjectionKey = /* @__PURE__ */ Symbol("isFirstColFixed");
|
|
5
|
+
const isLastColFixedInjectionKey = /* @__PURE__ */ Symbol("isLastColFixed");
|
|
6
|
+
const isColsResizableInjectionKey = /* @__PURE__ */ Symbol("isColsResizable");
|
|
7
7
|
const MIN_WIDTH_COL_RESIZE = 80;
|
|
8
8
|
const HEADER_CELL_ONE_LINE_HEIGHT = 20;
|
|
9
9
|
exports.HEADER_CELL_ONE_LINE_HEIGHT = HEADER_CELL_ONE_LINE_HEIGHT;
|
package/dist/es/p-table-td.js
CHANGED
|
@@ -54,9 +54,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
res.push("w-max");
|
|
55
55
|
}
|
|
56
56
|
if (currentColIsFirstColFixed) {
|
|
57
|
-
res.push("td-shadow-right flex flex-col h-full justify-center px-
|
|
57
|
+
res.push("td-shadow-right flex flex-col h-full justify-center px-4");
|
|
58
58
|
} else if (currentColIsLastColFixed) {
|
|
59
|
-
res.push("td-shadow-left flex flex-col h-full justify-center px-
|
|
59
|
+
res.push("td-shadow-left flex flex-col h-full justify-center px-4");
|
|
60
60
|
} else if (isFirstColFixed.value && isSecondCol.value) {
|
|
61
61
|
res.push("pl-4 pr-2");
|
|
62
62
|
} else if (isLastColFixed.value && isNextToLastCol.value) {
|
|
@@ -81,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
|
-
const PTableTd = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
84
|
+
const PTableTd = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bb67024f"]]);
|
|
85
85
|
export {
|
|
86
86
|
PTableTd as default
|
|
87
87
|
};
|
package/dist/es/p-table.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const colsInjectionKey = Symbol("cols");
|
|
2
|
-
const isFirstColFixedInjectionKey = Symbol("isFirstColFixed");
|
|
3
|
-
const isLastColFixedInjectionKey = Symbol("isLastColFixed");
|
|
4
|
-
const isColsResizableInjectionKey = Symbol("isColsResizable");
|
|
1
|
+
const colsInjectionKey = /* @__PURE__ */ Symbol("cols");
|
|
2
|
+
const isFirstColFixedInjectionKey = /* @__PURE__ */ Symbol("isFirstColFixed");
|
|
3
|
+
const isLastColFixedInjectionKey = /* @__PURE__ */ Symbol("isLastColFixed");
|
|
4
|
+
const isColsResizableInjectionKey = /* @__PURE__ */ Symbol("isColsResizable");
|
|
5
5
|
const MIN_WIDTH_COL_RESIZE = 80;
|
|
6
6
|
const HEADER_CELL_ONE_LINE_HEIGHT = 20;
|
|
7
7
|
export {
|
|
@@ -36,7 +36,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
36
36
|
"onUpdate:modelValue"?: ((value: import("@vuepic/vue-datepicker").ModelValue) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
name: string;
|
|
39
|
-
placeholder: string;
|
|
40
39
|
label: string;
|
|
41
40
|
required: boolean;
|
|
42
41
|
errorMsg: string;
|
|
@@ -46,6 +45,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
46
45
|
weekStart: string | number;
|
|
47
46
|
formats: Partial<import("@vuepic/vue-datepicker").FormatsConfig> | null;
|
|
48
47
|
timeConfig: Partial<import("@vuepic/vue-datepicker").TimeConfig>;
|
|
48
|
+
placeholder: string;
|
|
49
49
|
textInput: boolean | Partial<import("@vuepic/vue-datepicker").TextInputConfig>;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
@@ -374,13 +374,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
374
374
|
onCreate?: ((...args: any[]) => any) | undefined;
|
|
375
375
|
}>, {
|
|
376
376
|
size: "sm" | "md" | "lg";
|
|
377
|
-
placeholder: string;
|
|
378
377
|
label: string;
|
|
379
378
|
required: boolean;
|
|
380
379
|
modelValue: ModelValue;
|
|
381
380
|
items: AnyValue[] | AnyObject[];
|
|
382
381
|
itemText: string;
|
|
383
382
|
errorMsg: string;
|
|
383
|
+
placeholder: string;
|
|
384
384
|
clearable: boolean;
|
|
385
385
|
valueIsObject: boolean;
|
|
386
386
|
itemValue: string | number;
|
|
@@ -41,7 +41,6 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
41
41
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
42
42
|
"onUpdate:modelValue"?: ((value: import("@vuepic/vue-datepicker").ModelValue) => any) | undefined;
|
|
43
43
|
}>, {
|
|
44
|
-
placeholder: string;
|
|
45
44
|
label: string;
|
|
46
45
|
required: boolean;
|
|
47
46
|
errorMsg: string;
|
|
@@ -50,6 +49,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
50
49
|
hideOffsetDates: boolean;
|
|
51
50
|
weekStart: string | number;
|
|
52
51
|
timeConfig: Partial<import("@vuepic/vue-datepicker").TimeConfig>;
|
|
52
|
+
placeholder: string;
|
|
53
53
|
textInput: boolean | Partial<import("@vuepic/vue-datepicker").TextInputConfig>;
|
|
54
54
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
55
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -263,13 +263,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
263
263
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
264
264
|
}>, {
|
|
265
265
|
size: "sm" | "md" | "lg";
|
|
266
|
-
placeholder: string;
|
|
267
266
|
label: string;
|
|
268
267
|
required: boolean;
|
|
269
268
|
modelValue: ModelValue;
|
|
270
269
|
items: AnyValue[] | AnyObject[];
|
|
271
270
|
itemText: string;
|
|
272
271
|
errorMsg: string;
|
|
272
|
+
placeholder: string;
|
|
273
273
|
valueIsObject: boolean;
|
|
274
274
|
itemValue: string | number;
|
|
275
275
|
itemSize: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type TableCol } from './p-table.types';
|
|
2
2
|
declare const __VLS_export: <T extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
-
props: __VLS_PrettifyLocal<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
4
|
/**
|
|
5
5
|
* Array of column definitions for the table.
|
|
6
6
|
* Each column defines its display properties, filtering, and styling.
|
|
@@ -48,7 +48,7 @@ declare const __VLS_export: <T extends Record<string, unknown>>(__VLS_props: Non
|
|
|
48
48
|
onScroll?: ((val: Event) => any) | undefined;
|
|
49
49
|
"onCol-resize"?: ((colIndex: number, width: number) => any) | undefined;
|
|
50
50
|
"onClick-filter-icon"?: ((val: Event, col: any) => any) | undefined;
|
|
51
|
-
}> &
|
|
51
|
+
}> & (typeof globalThis extends {
|
|
52
52
|
__VLS_PROPS_FALLBACK: infer P;
|
|
53
53
|
} ? P : {});
|
|
54
54
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
package/dist/squirrel.css
CHANGED
|
@@ -397,15 +397,15 @@ to {
|
|
|
397
397
|
100% {
|
|
398
398
|
transform: translateX(100%);
|
|
399
399
|
}
|
|
400
|
-
}.td-shadow-right[data-v-
|
|
400
|
+
}.td-shadow-right[data-v-bb67024f] {
|
|
401
401
|
box-shadow: -1px 1px 5px 4px rgba(0, 0, 0, 0.15);
|
|
402
402
|
clip-path: inset(0px -12px 0px 0px);
|
|
403
403
|
}
|
|
404
|
-
.td-shadow-left[data-v-
|
|
404
|
+
.td-shadow-left[data-v-bb67024f] {
|
|
405
405
|
box-shadow: -2px 1px 8px rgba(0, 0, 0, 0.15);
|
|
406
406
|
clip-path: inset(0px 0px 0px -12px);
|
|
407
407
|
}
|
|
408
|
-
.td-col-fixed-border-b[data-v-
|
|
408
|
+
.td-col-fixed-border-b[data-v-bb67024f]::after {
|
|
409
409
|
position: absolute;
|
|
410
410
|
bottom: 0px;
|
|
411
411
|
left: 0px;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pequity/squirrel",
|
|
3
3
|
"description": "Squirrel component library",
|
|
4
|
-
"version": "11.0.
|
|
5
|
-
"packageManager": "pnpm@10.
|
|
4
|
+
"version": "11.0.6",
|
|
5
|
+
"packageManager": "pnpm@10.27.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"preinstall": "npx only-allow pnpm",
|
|
@@ -38,50 +38,50 @@
|
|
|
38
38
|
"main": "./dist/cjs/index.js",
|
|
39
39
|
"module": "./dist/es/index.js",
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@tanstack/vue-virtual": "^3.
|
|
42
|
-
"@vuepic/vue-datepicker": "^12.0.
|
|
41
|
+
"@tanstack/vue-virtual": "^3.13.17",
|
|
42
|
+
"@vuepic/vue-datepicker": "^12.0.5",
|
|
43
43
|
"floating-vue": "^5.2.2",
|
|
44
|
-
"iconify-icon": "^3.0.
|
|
45
|
-
"lodash-es": "^4.17.
|
|
46
|
-
"vue": "^3.
|
|
47
|
-
"vue-currency-input": "^3.
|
|
48
|
-
"vue-i18n": "^11.
|
|
49
|
-
"vue-router": "^4.4
|
|
44
|
+
"iconify-icon": "^3.0.2",
|
|
45
|
+
"lodash-es": "^4.17.22",
|
|
46
|
+
"vue": "^3.5.26",
|
|
47
|
+
"vue-currency-input": "^3.2.2",
|
|
48
|
+
"vue-i18n": "^11.2.8",
|
|
49
|
+
"vue-router": "^4.6.4",
|
|
50
50
|
"vue-toastification": "^2.0.0-rc.5"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@commitlint/cli": "^20.
|
|
54
|
-
"@commitlint/config-conventional": "^20.
|
|
53
|
+
"@commitlint/cli": "^20.3.0",
|
|
54
|
+
"@commitlint/config-conventional": "^20.3.0",
|
|
55
55
|
"@pequity/eslint-config": "^2.0.8",
|
|
56
56
|
"@playwright/test": "^1.57.0",
|
|
57
57
|
"@semantic-release/changelog": "^6.0.3",
|
|
58
58
|
"@semantic-release/git": "^10.0.1",
|
|
59
|
-
"@storybook/addon-a11y": "^10.1.
|
|
60
|
-
"@storybook/addon-docs": "^10.1.
|
|
61
|
-
"@storybook/addon-links": "^10.1.
|
|
62
|
-
"@storybook/addon-vitest": "^10.1.
|
|
63
|
-
"@storybook/vue3-vite": "^10.1.
|
|
64
|
-
"@tanstack/vue-virtual": "3.13.
|
|
59
|
+
"@storybook/addon-a11y": "^10.1.11",
|
|
60
|
+
"@storybook/addon-docs": "^10.1.11",
|
|
61
|
+
"@storybook/addon-links": "^10.1.11",
|
|
62
|
+
"@storybook/addon-vitest": "^10.1.11",
|
|
63
|
+
"@storybook/vue3-vite": "^10.1.11",
|
|
64
|
+
"@tanstack/vue-virtual": "3.13.18",
|
|
65
65
|
"@types/jsdom": "^27.0.0",
|
|
66
66
|
"@types/lodash-es": "^4.17.12",
|
|
67
|
-
"@types/node": "^25.0.
|
|
68
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
69
|
-
"@vitest/browser": "4.0.
|
|
70
|
-
"@vitest/browser-playwright": "^4.0.
|
|
71
|
-
"@vitest/coverage-v8": "^4.0.
|
|
72
|
-
"@vue/compiler-sfc": "3.5.
|
|
67
|
+
"@types/node": "^25.0.3",
|
|
68
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
69
|
+
"@vitest/browser": "4.0.16",
|
|
70
|
+
"@vitest/browser-playwright": "^4.0.16",
|
|
71
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
72
|
+
"@vue/compiler-sfc": "3.5.26",
|
|
73
73
|
"@vue/test-utils": "^2.4.6",
|
|
74
74
|
"@vuepic/vue-datepicker": "12.0.5",
|
|
75
|
-
"autoprefixer": "^10.4.
|
|
76
|
-
"eslint": "^9.39.
|
|
77
|
-
"eslint-plugin-storybook": "^10.1.
|
|
75
|
+
"autoprefixer": "^10.4.23",
|
|
76
|
+
"eslint": "^9.39.2",
|
|
77
|
+
"eslint-plugin-storybook": "^10.1.11",
|
|
78
78
|
"floating-vue": "5.2.2",
|
|
79
79
|
"glob": "^13.0.0",
|
|
80
80
|
"husky": "^9.1.7",
|
|
81
81
|
"iconify-icon": "^3.0.2",
|
|
82
|
-
"jsdom": "^27.
|
|
82
|
+
"jsdom": "^27.4.0",
|
|
83
83
|
"lint-staged": "^16.2.7",
|
|
84
|
-
"lodash-es": "4.17.
|
|
84
|
+
"lodash-es": "4.17.22",
|
|
85
85
|
"make-coverage-badge": "^1.2.0",
|
|
86
86
|
"playwright": "^1.57.0",
|
|
87
87
|
"postcss": "^8.5.6",
|
|
@@ -89,20 +89,20 @@
|
|
|
89
89
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
90
90
|
"resolve-tspaths": "^0.8.23",
|
|
91
91
|
"rimraf": "^6.1.2",
|
|
92
|
-
"sass": "^1.
|
|
92
|
+
"sass": "^1.97.2",
|
|
93
93
|
"semantic-release": "^25.0.2",
|
|
94
|
-
"storybook": "^10.1.
|
|
94
|
+
"storybook": "^10.1.11",
|
|
95
95
|
"svgo": "^4.0.0",
|
|
96
96
|
"tailwindcss": "^3.4.17",
|
|
97
97
|
"typescript": "5.9.3",
|
|
98
|
-
"vite": "^7.
|
|
99
|
-
"vitest": "^4.0.
|
|
100
|
-
"vue": "3.5.
|
|
101
|
-
"vue-currency-input": "3.2.
|
|
102
|
-
"vue-i18n": "^11.2.
|
|
98
|
+
"vite": "^7.3.1",
|
|
99
|
+
"vitest": "^4.0.16",
|
|
100
|
+
"vue": "3.5.26",
|
|
101
|
+
"vue-currency-input": "3.2.2",
|
|
102
|
+
"vue-i18n": "^11.2.8",
|
|
103
103
|
"vue-router": "4.6.4",
|
|
104
104
|
"vue-toastification": "2.0.0-rc.5",
|
|
105
|
-
"vue-tsc": "3.
|
|
105
|
+
"vue-tsc": "3.2.2"
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
108
|
"date-fns": "^4.1.0",
|
|
@@ -94,7 +94,7 @@ describe('PTableTd.vue', () => {
|
|
|
94
94
|
expect(td.classes()).toContain(c);
|
|
95
95
|
});
|
|
96
96
|
|
|
97
|
-
['td-shadow-right', 'flex', 'flex-col', 'h-full', 'justify-center', 'px-
|
|
97
|
+
['td-shadow-right', 'flex', 'flex-col', 'h-full', 'justify-center', 'px-4'].forEach((c) => {
|
|
98
98
|
expect(innerDiv.classes()).toContain(c);
|
|
99
99
|
});
|
|
100
100
|
});
|
|
@@ -118,7 +118,7 @@ describe('PTableTd.vue', () => {
|
|
|
118
118
|
expect(td.classes()).toContain(c);
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
['td-shadow-left', 'flex', 'flex-col', 'h-full', 'justify-center', 'px-
|
|
121
|
+
['td-shadow-left', 'flex', 'flex-col', 'h-full', 'justify-center', 'px-4'].forEach((c) => {
|
|
122
122
|
expect(innerDiv.classes()).toContain(c);
|
|
123
123
|
});
|
|
124
124
|
});
|
|
@@ -107,9 +107,9 @@ const innerDivClass = computed(() => {
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
if (currentColIsFirstColFixed) {
|
|
110
|
-
res.push('td-shadow-right flex flex-col h-full justify-center px-
|
|
110
|
+
res.push('td-shadow-right flex flex-col h-full justify-center px-4');
|
|
111
111
|
} else if (currentColIsLastColFixed) {
|
|
112
|
-
res.push('td-shadow-left flex flex-col h-full justify-center px-
|
|
112
|
+
res.push('td-shadow-left flex flex-col h-full justify-center px-4');
|
|
113
113
|
} else if (isFirstColFixed.value && isSecondCol.value) {
|
|
114
114
|
// Additional padding for the first (non-sticky) column
|
|
115
115
|
res.push('pl-4 pr-2');
|