@pequity/squirrel 11.0.5 → 11.0.7
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/chunks/index.js +2 -2
- package/dist/es/chunks/p-action-bar.js +1 -1
- package/dist/es/chunks/p-alert.js +1 -1
- package/dist/es/chunks/p-avatar.js +1 -1
- package/dist/es/chunks/p-btn.js +1 -1
- package/dist/es/chunks/p-card.js +1 -1
- package/dist/es/chunks/p-dropdown-select.js +1 -1
- package/dist/es/chunks/p-icon.js +1 -1
- package/dist/es/chunks/p-info-icon.js +1 -1
- package/dist/es/chunks/p-inline-date-picker.js +1 -1
- package/dist/es/chunks/p-input-number.js +1 -1
- package/dist/es/chunks/p-input-percent.js +1 -1
- package/dist/es/chunks/p-input.js +1 -1
- package/dist/es/chunks/p-link.js +1 -1
- package/dist/es/chunks/p-pagination-info.js +1 -1
- package/dist/es/chunks/p-pagination.js +1 -1
- package/dist/es/chunks/p-progress-bar.js +1 -1
- package/dist/es/chunks/p-ring-loader.js +1 -1
- package/dist/es/chunks/p-select-btn.js +1 -1
- package/dist/es/chunks/p-select.js +1 -1
- package/dist/es/chunks/p-steps.js +1 -1
- package/dist/es/chunks/p-table-header-cell.js +1 -1
- package/dist/es/chunks/p-table-loader.js +1 -1
- package/dist/es/chunks/p-tabs-pills.js +1 -1
- package/dist/es/chunks/p-tabs.js +1 -1
- package/dist/es/chunks/p-textarea.js +1 -1
- package/dist/es/index.js +4 -4
- package/dist/es/p-checkbox.js +1 -1
- package/dist/es/p-chips.js +1 -1
- package/dist/es/p-close-btn.js +1 -1
- package/dist/es/p-date-picker.js +1 -1
- package/dist/es/p-drawer.js +1 -1
- package/dist/es/p-dropdown.js +1 -1
- package/dist/es/p-input-search.js +1 -1
- package/dist/es/p-loading.js +1 -1
- package/dist/es/p-modal.js +1 -1
- package/dist/es/p-select-pill.js +1 -1
- package/dist/es/p-skeleton-loader.js +1 -1
- package/dist/es/p-table-td.js +4 -4
- package/dist/es/p-table.js +4 -4
- package/dist/es/p-toggle.js +1 -1
- 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 +38 -38
- 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/chunks/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, Teleport, createElementBlock, mergeProps, createElementVNode, createVNode, toDisplayString, unref, Fragment, renderList, withCtx, resolveDynamicComponent, createCommentVNode } from "vue";
|
|
2
2
|
import { _ as _sfc_main$1 } from "./p-btn.js";
|
|
3
3
|
import PCloseBtn from "../p-close-btn.js";
|
|
4
4
|
import PDropdown from "../p-dropdown.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createVNode } from "vue";
|
|
2
2
|
import { _ as _sfc_main$1 } from "./p-icon.js";
|
|
3
3
|
const _hoisted_1 = { class: "flex items-center gap-4" };
|
|
4
4
|
const ALERT_TYPES = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch,
|
|
1
|
+
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, toDisplayString } from "vue";
|
|
2
2
|
const _hoisted_1 = ["src", "alt"];
|
|
3
3
|
const SHAPES = ["rectangle", "circle"];
|
|
4
4
|
const SHAPE_CLASSES = {
|
package/dist/es/chunks/p-btn.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, computed,
|
|
1
|
+
import { defineComponent, useAttrs, computed, openBlock, createBlock, resolveDynamicComponent, mergeProps, withCtx, createElementVNode, normalizeClass, createCommentVNode, renderSlot } from "vue";
|
|
2
2
|
import { S as SIZES } from "./p-btn.types.js";
|
|
3
3
|
import { _ as _sfc_main$1 } from "./p-icon.js";
|
|
4
4
|
import { _ as _sfc_main$2 } from "./p-ring-loader.js";
|
package/dist/es/chunks/p-card.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, renderSlot, normalizeClass, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
const _hoisted_1 = { class: "border border-p-gray-30 bg-surface px-6 pt-6" };
|
|
3
3
|
const titleClass = "text-xl font-medium leading-none text-p-purple-60";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, useAttrs, computed, watch, onMounted, onUnmounted, resolveDirective,
|
|
1
|
+
import { defineComponent, ref, useAttrs, computed, watch, onMounted, onUnmounted, resolveDirective, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, toDisplayString, createCommentVNode, createVNode, mergeProps, withCtx, createElementVNode, renderSlot, Fragment, renderList, withModifiers, isRef, withDirectives, createTextVNode, vShow } from "vue";
|
|
2
2
|
import PDropdown from "../p-dropdown.js";
|
|
3
3
|
import { _ as _sfc_main$1 } from "./p-icon.js";
|
|
4
4
|
import PInputSearch from "../p-input-search.js";
|
package/dist/es/chunks/p-icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createVNode, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { _ as _sfc_main$1 } from "./p-icon.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
...{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, useModel, useAttrs, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, renderSlot, unref, toDisplayString, createCommentVNode, createVNode, mergeProps, withDirectives, createElementVNode, vShow, mergeModels } from "vue";
|
|
2
2
|
import { useInputClasses } from "../useInputClasses.js";
|
|
3
3
|
import { getDateFnsLocale } from "../dateLocale.js";
|
|
4
4
|
import { VueDatePicker } from "@vuepic/vue-datepicker";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useSlots, computed, useAttrs, watch,
|
|
1
|
+
import { defineComponent, useSlots, computed, useAttrs, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, renderSlot, unref, toDisplayString, createCommentVNode, createBlock, mergeProps, withDirectives, vShow } from "vue";
|
|
2
2
|
import { S as SIZES } from "./p-btn.types.js";
|
|
3
3
|
import { _ as _sfc_main$1 } from "./p-info-icon.js";
|
|
4
4
|
import { useInputClasses } from "../useInputClasses.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, withCtx, createElementVNode, normalizeClass } from "vue";
|
|
2
2
|
import { _ as _sfc_main$1 } from "./p-input-number.js";
|
|
3
3
|
import { toNumberOrNull } from "../number.js";
|
|
4
4
|
import { isNumber } from "lodash-es";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useSlots, computed, useAttrs,
|
|
1
|
+
import { defineComponent, useSlots, computed, useAttrs, openBlock, createElementBlock, normalizeStyle, normalizeClass, renderSlot, unref, toDisplayString, createCommentVNode, createElementVNode, mergeProps, withDirectives, vShow } from "vue";
|
|
2
2
|
import { S as SIZES } from "./p-btn.types.js";
|
|
3
3
|
import { useInputClasses } from "../useInputClasses.js";
|
|
4
4
|
const _hoisted_1 = ["data-has-error"];
|
package/dist/es/chunks/p-link.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, unref, openBlock, createElementBlock, renderSlot, createBlock, normalizeProps, mergeProps, withCtx } from "vue";
|
|
2
2
|
import { isExternalLink } from "../link.js";
|
|
3
3
|
import { sanitizeUrl } from "../sanitization.js";
|
|
4
4
|
import { RouterLink } from "vue-router";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, createElementBlock, Fragment, createTextVNode, toDisplayString, renderSlot } from "vue";
|
|
2
2
|
import PSkeletonLoader from "../p-skeleton-loader.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, Fragment, createBlock, createCommentVNode, createElementVNode, normalizeClass, createVNode, renderList, toDisplayString } from "vue";
|
|
2
2
|
import { _ as _sfc_main$1 } from "./p-icon.js";
|
|
3
3
|
import PSkeletonLoader from "../p-skeleton-loader.js";
|
|
4
4
|
import { createPagingRange } from "../pagination.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, resolveDirective,
|
|
1
|
+
import { defineComponent, resolveDirective, openBlock, createElementBlock, Fragment, renderList, withDirectives, normalizeStyle } from "vue";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
class: "flex justify-start overflow-hidden rounded bg-p-blue-20",
|
|
4
4
|
role: "progressbar"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, normalizeStyle } from "vue";
|
|
2
2
|
import { _ as _sfc_main$1 } from "./p-icon.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
...{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, resolveDirective,
|
|
1
|
+
import { defineComponent, resolveDirective, openBlock, createElementBlock, Fragment, renderList, withDirectives, normalizeClass, createVNode, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { _ as _sfc_main$1 } from "./p-btn.js";
|
|
3
3
|
const _hoisted_1 = { class: "flex" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, computed,
|
|
1
|
+
import { defineComponent, useAttrs, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, renderSlot, toDisplayString, createCommentVNode, createElementVNode, mergeProps, Fragment, renderList, withDirectives, vShow } from "vue";
|
|
2
2
|
import { S as SIZES } from "./p-btn.types.js";
|
|
3
3
|
import { useInputClasses } from "../useInputClasses.js";
|
|
4
4
|
const _hoisted_1 = ["data-has-error"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, unref, createVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { _ as _sfc_main$1 } from "./p-icon.js";
|
|
3
3
|
import { startCase } from "lodash-es";
|
|
4
4
|
const _hoisted_1 = { class: "flex items-center gap-2" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, normalizeStyle, normalizeClass, toDisplayString, createBlock, createCommentVNode, renderSlot, createVNode } from "vue";
|
|
2
2
|
import { _ as _sfc_main$2 } from "./p-icon.js";
|
|
3
3
|
import { _ as _sfc_main$1 } from "./p-info-icon.js";
|
|
4
4
|
const _hoisted_1 = { class: "flex items-center gap-x-1 overflow-hidden" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, createVNode, createCommentVNode, normalizeClass } from "vue";
|
|
2
2
|
import PSkeletonLoader from "../p-skeleton-loader.js";
|
|
3
3
|
const _hoisted_1 = { class: "block overflow-hidden rounded-xl border border-p-gray-30 bg-surface" };
|
|
4
4
|
const _hoisted_2 = { class: "mb-0 w-full bg-surface" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString } from "vue";
|
|
2
2
|
const _hoisted_1 = ["aria-label"];
|
|
3
3
|
const _hoisted_2 = ["disabled", "aria-selected", "data-tab", "aria-controls", "onClick"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/dist/es/chunks/p-tabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeStyle, Fragment, renderList, createBlock, resolveDynamicComponent, mergeProps, withCtx, createElementVNode, normalizeClass, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
const _hoisted_1 = { class: "flex items-center gap-2" };
|
|
3
3
|
const _hoisted_2 = { key: 0 };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, useAttrs,
|
|
1
|
+
import { defineComponent, computed, useAttrs, openBlock, createElementBlock, normalizeStyle, normalizeClass, renderSlot, unref, toDisplayString, createCommentVNode, createElementVNode, mergeProps, withDirectives, vShow } from "vue";
|
|
2
2
|
import { S as SIZES } from "./p-btn.types.js";
|
|
3
3
|
import { useInputClasses } from "../useInputClasses.js";
|
|
4
4
|
const _hoisted_1 = ["data-has-error"];
|
package/dist/es/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { default as default6 } from "./p-drawer.js";
|
|
|
11
11
|
import { default as default7 } from "./p-dropdown.js";
|
|
12
12
|
import { _ as _imports_0$1 } from "./chunks/p-dropdown-select.js";
|
|
13
13
|
import { a } from "./chunks/p-dropdown-select.js";
|
|
14
|
-
import { defineComponent, shallowRef, ref, computed, onMounted, resolveComponent,
|
|
14
|
+
import { defineComponent, shallowRef, ref, computed, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, toDisplayString, createCommentVNode, createElementVNode, withModifiers, createVNode, withCtx, Fragment, renderList, withDirectives, vShow, useAttrs, resolveDirective, normalizeStyle, isRef, renderSlot, provide, useTemplateRef, onBeforeUnmount, watch, mergeProps, toHandlers, createBlock, watchEffect, nextTick } from "vue";
|
|
15
15
|
import { formatBytes, getFileExtension } from "./p-file-upload.js";
|
|
16
16
|
import { _ as _sfc_main$4 } from "./chunks/p-icon.js";
|
|
17
17
|
import { useInputClasses } from "./useInputClasses.js";
|
|
@@ -66,7 +66,7 @@ import { toNumberOrNull } from "./number.js";
|
|
|
66
66
|
import { isObject } from "./object.js";
|
|
67
67
|
import { createPagingRange } from "./pagination.js";
|
|
68
68
|
import { sanitizeUrl } from "./sanitization.js";
|
|
69
|
-
import { c, a as a2, b,
|
|
69
|
+
import { c, a as a2, b, d, e, t } from "./chunks/index.js";
|
|
70
70
|
const _hoisted_1$3 = ["data-has-error"];
|
|
71
71
|
const _hoisted_2$3 = ["aria-label"];
|
|
72
72
|
const _hoisted_3$3 = {
|
|
@@ -1152,8 +1152,8 @@ export {
|
|
|
1152
1152
|
colsInjectionKey,
|
|
1153
1153
|
createPagingRange,
|
|
1154
1154
|
b as createTV,
|
|
1155
|
-
|
|
1156
|
-
|
|
1155
|
+
d as cx,
|
|
1156
|
+
e as defaultConfig,
|
|
1157
1157
|
getNextActiveElement,
|
|
1158
1158
|
isColsResizableInjectionKey,
|
|
1159
1159
|
isElement,
|
package/dist/es/p-checkbox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, computed,
|
|
1
|
+
import { defineComponent, useAttrs, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, renderSlot, createElementVNode, mergeProps, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
3
3
|
const _hoisted_1 = ["checked"];
|
|
4
4
|
const _hoisted_2 = {
|
package/dist/es/p-chips.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isObject } from "lodash-es";
|
|
2
|
-
import { defineComponent,
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, withDirectives, vShow } from "vue";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = defineComponent({
|
|
5
5
|
name: "PChips",
|
package/dist/es/p-close-btn.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
...{
|
package/dist/es/p-date-picker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, useModel, useAttrs, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, withKeys, mergeModels } from "vue";
|
|
2
2
|
import { _ as _sfc_main$1 } from "./chunks/p-input.js";
|
|
3
3
|
import { getDateFnsLocale } from "./dateLocale.js";
|
|
4
4
|
import { VueDatePicker } from "@vuepic/vue-datepicker";
|
package/dist/es/p-drawer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _sfc_main } from "./chunks/p-alert.js";
|
|
2
2
|
import PCloseBtn from "./p-close-btn.js";
|
|
3
|
-
import { defineComponent, useCssVars, resolveComponent,
|
|
3
|
+
import { defineComponent, useCssVars, resolveComponent, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeStyle, normalizeClass, vShow, renderSlot, createCommentVNode, createElementBlock, toDisplayString } from "vue";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const __default__ = defineComponent({
|
|
6
6
|
name: "PDrawer",
|
package/dist/es/p-dropdown.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { setupListKeyboardNavigation } from "./listKeyboardNavigation.js";
|
|
2
|
-
import { defineComponent, resolveComponent,
|
|
2
|
+
import { defineComponent, resolveComponent, openBlock, createBlock, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const ESCAPE_KEY = "Escape";
|
|
5
5
|
const nextFrame = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, useTemplateRef, watch, resolveDirective,
|
|
1
|
+
import { defineComponent, ref, useTemplateRef, watch, resolveDirective, openBlock, createBlock, mergeProps, withKeys, withCtx, withDirectives, createElementBlock, normalizeClass, createCommentVNode, createVNode } from "vue";
|
|
2
2
|
import { S as SIZES } from "./chunks/p-btn.types.js";
|
|
3
3
|
import { _ as _sfc_main$2 } from "./chunks/p-icon.js";
|
|
4
4
|
import { _ as _sfc_main$1 } from "./chunks/p-input.js";
|
package/dist/es/p-loading.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode, defineComponent, ref, watch, toValue, onBeforeUnmount, createBlock, Teleport, createVNode, Transition, withCtx, unref, normalizeStyle, resolveDynamicComponent, normalizeProps, mergeProps, normalizeClass, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { usePLoading } from "./usePLoading.js";
|
|
3
3
|
import { isComponent } from "./component.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
package/dist/es/p-modal.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useCssVars, ref, onBeforeMount, onMounted, getCurrentInstance, watch, nextTick, onBeforeUnmount,
|
|
1
|
+
import { defineComponent, useCssVars, ref, onBeforeMount, onMounted, getCurrentInstance, watch, nextTick, onBeforeUnmount, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeStyle, normalizeClass, vShow, renderSlot, createElementBlock, toDisplayString, createCommentVNode, withModifiers, createTextVNode } from "vue";
|
|
2
2
|
import { _ as _sfc_main$1 } from "./chunks/p-alert.js";
|
|
3
3
|
import PCloseBtn from "./p-close-btn.js";
|
|
4
4
|
import { usePModal } from "./usePModal.js";
|
package/dist/es/p-select-pill.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
3
3
|
const SIZES = { sm: "h-7 px-4 text-xs", md: "h-9 px-5 text-sm", lg: "h-11 px-7 text-base" };
|
|
4
4
|
const ACTIVE_CLASS = "text-p-purple-60";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
3
3
|
const LOADER_TYPES = {
|
|
4
4
|
rectangle: "rectangle",
|
package/dist/es/p-table-td.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, inject, ref, computed,
|
|
1
|
+
import { defineComponent, inject, ref, computed, openBlock, createElementBlock, Fragment, createElementVNode, mergeProps, normalizeClass, renderSlot, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { colsInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey, isColsResizableInjectionKey } from "./p-table.js";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const _hoisted_1 = {
|
|
@@ -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 {
|
package/dist/es/p-toggle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, computed,
|
|
1
|
+
import { defineComponent, useAttrs, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, mergeProps, renderSlot, toDisplayString, createCommentVNode, withDirectives, unref, vShow } from "vue";
|
|
2
2
|
import { S as SIZES } from "./chunks/p-btn.types.js";
|
|
3
3
|
import { useInputClasses } from "./useInputClasses.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
@@ -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.7",
|
|
5
|
+
"packageManager": "pnpm@10.29.1",
|
|
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.
|
|
93
|
-
"semantic-release": "^25.0.
|
|
94
|
-
"storybook": "^10.1.
|
|
92
|
+
"sass": "^1.97.2",
|
|
93
|
+
"semantic-release": "^25.0.3",
|
|
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');
|