@pequity/squirrel 6.0.8 → 6.0.10
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/chunks/p-dropdown-select.js +4 -1
- package/dist/cjs/chunks/p-icon.js +24 -4
- package/dist/cjs/chunks/p-ring-loader.js +12 -65
- package/dist/cjs/p-btn.js +13 -21
- package/dist/cjs/p-loading.js +38 -4
- package/dist/es/chunks/p-action-bar.js +1 -1
- package/dist/es/chunks/p-card.js +1 -1
- package/dist/es/chunks/p-date-picker.js +1 -1
- package/dist/es/chunks/p-dropdown-select.js +5 -2
- package/dist/es/chunks/p-icon.js +25 -5
- package/dist/es/chunks/p-inline-date-picker.js +1 -1
- package/dist/es/chunks/p-input-percent.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-ring-loader.js +13 -66
- package/dist/es/chunks/p-select-btn.js +1 -1
- package/dist/es/chunks/p-select.js +1 -1
- package/dist/es/chunks/p-table-loader.js +1 -1
- package/dist/es/chunks/p-tabs.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/inputClassesMixin.js +1 -1
- package/dist/es/listKeyboardNavigation.js +1 -1
- package/dist/es/p-alert.js +1 -1
- package/dist/es/p-avatar.js +1 -1
- package/dist/es/p-btn.js +14 -22
- 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-drawer.js +1 -1
- package/dist/es/p-dropdown.js +1 -1
- package/dist/es/p-info-icon.js +1 -1
- package/dist/es/p-input-number.js +1 -1
- package/dist/es/p-input-search.js +1 -1
- package/dist/es/p-input.js +1 -1
- package/dist/es/p-loading.js +39 -5
- package/dist/es/p-modal.js +1 -1
- package/dist/es/p-progress-bar.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-filter-icon.js +1 -1
- package/dist/es/p-table-header-cell.js +1 -1
- package/dist/es/p-table-td.js +1 -1
- package/dist/es/p-textarea.js +1 -1
- package/dist/es/p-toggle.js +1 -1
- package/dist/es/useSelectList.js +1 -1
- package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +1 -1
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +10 -37
- package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +1 -1
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +7 -7
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +1 -1
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +1 -1
- package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +6 -31
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +2 -2
- package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +1 -1
- package/dist/squirrel.css +6 -6
- package/package.json +28 -28
- package/squirrel/assets/p-loading-spinner.svg +9 -0
- package/squirrel/components/p-btn/p-btn.vue +12 -21
- package/squirrel/components/p-dropdown-select/p-dropdown-select.spec.js +36 -0
- package/squirrel/components/p-dropdown-select/p-dropdown-select.vue +8 -2
- package/squirrel/components/p-loading/p-loading.vue +4 -3
- package/squirrel/components/p-ring-loader/p-ring-loader.spec.js +14 -34
- package/squirrel/components/p-ring-loader/p-ring-loader.stories.js +0 -6
- package/squirrel/components/p-ring-loader/p-ring-loader.vue +13 -56
package/dist/es/p-btn.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { _ as _sfc_main$1 } from "./chunks/p-ring-loader.js";
|
|
2
2
|
import { isExternalLink } from "./link.js";
|
|
3
3
|
import { sanitizeUrl } from "./sanitization.js";
|
|
4
|
-
import {
|
|
5
|
-
import { defineComponent, resolveComponent, openBlock, createElementBlock, mergeProps, renderSlot, createBlock, resolveDynamicComponent, withCtx, createElementVNode, normalizeClass, normalizeStyle, createCommentVNode } from "vue";
|
|
4
|
+
import { defineComponent, resolveComponent, createElementBlock, createBlock, openBlock, mergeProps, renderSlot, resolveDynamicComponent, withCtx, createElementVNode, createCommentVNode, normalizeClass } from "vue";
|
|
6
5
|
import { RouterLink } from "vue-router";
|
|
7
6
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
8
7
|
const BUTTON_TYPES = {
|
|
@@ -42,16 +41,16 @@ const LOADER_SIZES = {
|
|
|
42
41
|
lg: 40
|
|
43
42
|
};
|
|
44
43
|
const LOADER_COLORS = {
|
|
45
|
-
[BUTTON_TYPES.PRIMARY]: "p-blue-15",
|
|
46
|
-
[BUTTON_TYPES.SECONDARY]: "p-purple-60",
|
|
47
|
-
[BUTTON_TYPES.PRIMARY_OUTLINE]: "p-blue-60",
|
|
48
|
-
[BUTTON_TYPES.SECONDARY_OUTLINE]: "p-purple-60",
|
|
49
|
-
[BUTTON_TYPES.SECONDARY_OUTLINE_BLUE]: "p-purple-60",
|
|
50
|
-
[BUTTON_TYPES.ERROR]: "p-blue-15",
|
|
51
|
-
[BUTTON_TYPES.SUCCESS]: "p-blue-15",
|
|
52
|
-
[BUTTON_TYPES.PRIMARY_LINK]: "p-blue-60",
|
|
53
|
-
[BUTTON_TYPES.SECONDARY_GHOST]: "p-purple-60",
|
|
54
|
-
[BUTTON_TYPES.SECONDARY_GHOST_DARK]: "p-blue-15"
|
|
44
|
+
[BUTTON_TYPES.PRIMARY]: "var(--color-p-blue-15)",
|
|
45
|
+
[BUTTON_TYPES.SECONDARY]: "var(--color-p-purple-60)",
|
|
46
|
+
[BUTTON_TYPES.PRIMARY_OUTLINE]: "var(--color-p-blue-60)",
|
|
47
|
+
[BUTTON_TYPES.SECONDARY_OUTLINE]: "var(--color-p-purple-60)",
|
|
48
|
+
[BUTTON_TYPES.SECONDARY_OUTLINE_BLUE]: "var(--color-p-purple-60)",
|
|
49
|
+
[BUTTON_TYPES.ERROR]: "var(--color-p-blue-15)",
|
|
50
|
+
[BUTTON_TYPES.SUCCESS]: "var(--color-p-blue-15)",
|
|
51
|
+
[BUTTON_TYPES.PRIMARY_LINK]: "var(--color-p-blue-60)",
|
|
52
|
+
[BUTTON_TYPES.SECONDARY_GHOST]: "var(--color-p-purple-60)",
|
|
53
|
+
[BUTTON_TYPES.SECONDARY_GHOST_DARK]: "var(--color-p-blue-15)"
|
|
55
54
|
};
|
|
56
55
|
const _sfc_main = defineComponent({
|
|
57
56
|
name: "PBtn",
|
|
@@ -114,11 +113,6 @@ const _sfc_main = defineComponent({
|
|
|
114
113
|
default: ""
|
|
115
114
|
}
|
|
116
115
|
},
|
|
117
|
-
data() {
|
|
118
|
-
return {
|
|
119
|
-
loaderStyle: { position: "absolute" }
|
|
120
|
-
};
|
|
121
|
-
},
|
|
122
116
|
computed: {
|
|
123
117
|
classes() {
|
|
124
118
|
return `${DEFAULT_CLASSES} ${BUTTON_SIZES[this.size]} ${BUTTON_CLASSES[this.type]}`;
|
|
@@ -127,8 +121,7 @@ const _sfc_main = defineComponent({
|
|
|
127
121
|
return Number(`${LOADER_SIZES[this.size]}`);
|
|
128
122
|
},
|
|
129
123
|
loaderColor() {
|
|
130
|
-
|
|
131
|
-
return getColorDeep(type);
|
|
124
|
+
return LOADER_COLORS[this.type];
|
|
132
125
|
}
|
|
133
126
|
},
|
|
134
127
|
methods: {
|
|
@@ -165,11 +158,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
165
158
|
], 2),
|
|
166
159
|
_ctx.loading ? (openBlock(), createBlock(_component_PRingLoader, {
|
|
167
160
|
key: 0,
|
|
168
|
-
style: normalizeStyle(_ctx.loaderStyle),
|
|
169
161
|
color: _ctx.loaderColor,
|
|
170
162
|
size: _ctx.loaderSize,
|
|
171
|
-
class: "left-0 right-0 top-0
|
|
172
|
-
}, null, 8, ["
|
|
163
|
+
class: "absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center"
|
|
164
|
+
}, null, 8, ["color", "size"])) : createCommentVNode("", true)
|
|
173
165
|
]),
|
|
174
166
|
_: 3
|
|
175
167
|
}, 16, ["type", "to", "aria-selected", "class", "disabled", "aria-disabled"]));
|
package/dist/es/p-checkbox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, computed, openBlock,
|
|
1
|
+
import { defineComponent, useAttrs, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, renderSlot, createElementVNode, mergeProps, createCommentVNode, toDisplayString } 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, createElementBlock, openBlock, createElementVNode, renderSlot, withDirectives, Fragment, renderList, toDisplayString, 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, createElementBlock, openBlock, 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
|
__name: "p-close-btn",
|
package/dist/es/p-drawer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PAlert from "./p-alert.js";
|
|
2
2
|
import PCloseBtn from "./p-close-btn.js";
|
|
3
|
-
import { defineComponent, useCssVars, resolveComponent,
|
|
3
|
+
import { defineComponent, useCssVars, resolveComponent, createBlock, createCommentVNode, openBlock, Teleport, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeStyle, normalizeClass, vShow, renderSlot, 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, createBlock, openBlock, 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 = () => {
|
package/dist/es/p-info-icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
1
|
+
import { defineComponent, resolveComponent, createBlock, openBlock, withCtx, createElementVNode, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
...{
|
|
@@ -2,7 +2,7 @@ import PInfoIcon from "./p-info-icon.js";
|
|
|
2
2
|
import inputClassesMixin from "./inputClassesMixin.js";
|
|
3
3
|
import { toNumberOrNull } from "./number.js";
|
|
4
4
|
import { kebabCase } from "lodash-es";
|
|
5
|
-
import { defineComponent, computed, watch, resolveComponent, openBlock,
|
|
5
|
+
import { defineComponent, computed, watch, resolveComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, withDirectives, renderSlot, createBlock, createCommentVNode, toDisplayString, mergeProps, vShow } from "vue";
|
|
6
6
|
import { useCurrencyInput } from "vue-currency-input";
|
|
7
7
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
8
8
|
const ALL_OPTIONS = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PInput from "./p-input.js";
|
|
2
2
|
import { INPUT_SIZES } from "./inputClassesShared.js";
|
|
3
|
-
import { defineComponent, resolveComponent, resolveDirective,
|
|
3
|
+
import { defineComponent, resolveComponent, resolveDirective, createBlock, openBlock, mergeProps, withKeys, withCtx, withDirectives, createCommentVNode, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = defineComponent({
|
|
6
6
|
name: "PInputSearch",
|
package/dist/es/p-input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import inputClassesMixin from "./inputClassesMixin.js";
|
|
2
|
-
import { defineComponent, openBlock,
|
|
2
|
+
import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, renderSlot, createElementVNode, withDirectives, createCommentVNode, toDisplayString, mergeProps, vShow } from "vue";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const INPUT_TYPES = { TEXT: "text", PASSWORD: "password" };
|
|
5
5
|
const _sfc_main = defineComponent({
|
package/dist/es/p-loading.js
CHANGED
|
@@ -1,7 +1,35 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, toValue, onBeforeUnmount,
|
|
1
|
+
import { createElementBlock, openBlock, createElementVNode, defineComponent, ref, watch, toValue, onBeforeUnmount, createBlock, Teleport, createVNode, createCommentVNode, Transition, withCtx, unref, normalizeStyle, resolveDynamicComponent, normalizeProps, mergeProps, normalizeClass, createTextVNode, toDisplayString } 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";
|
|
5
|
+
const _hoisted_1$1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "19",
|
|
8
|
+
height: "19",
|
|
9
|
+
viewBox: "0 0 24 24"
|
|
10
|
+
};
|
|
11
|
+
function render(_ctx, _cache) {
|
|
12
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$1, _cache[0] || (_cache[0] = [
|
|
13
|
+
createElementVNode("path", {
|
|
14
|
+
fill: "currentColor",
|
|
15
|
+
d: "M12 1a11 11 0 1 0 11 11A11 11 0 0 0 12 1m0 19a8 8 0 1 1 8-8 8 8 0 0 1-8 8",
|
|
16
|
+
opacity: ".25"
|
|
17
|
+
}, null, -1),
|
|
18
|
+
createElementVNode("path", {
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
d: "M10.14 1.16a11 11 0 0 0-9 8.92A1.59 1.59 0 0 0 2.46 12a1.52 1.52 0 0 0 1.65-1.3 8 8 0 0 1 6.66-6.61A1.42 1.42 0 0 0 12 2.69a1.57 1.57 0 0 0-1.86-1.53"
|
|
21
|
+
}, [
|
|
22
|
+
createElementVNode("animateTransform", {
|
|
23
|
+
attributeName: "transform",
|
|
24
|
+
dur: "0.75s",
|
|
25
|
+
repeatCount: "indefinite",
|
|
26
|
+
type: "rotate",
|
|
27
|
+
values: "0 12 12;360 12 12"
|
|
28
|
+
})
|
|
29
|
+
], -1)
|
|
30
|
+
]));
|
|
31
|
+
}
|
|
32
|
+
const PLoadingSpinner = { render };
|
|
5
33
|
const _hoisted_1 = {
|
|
6
34
|
key: 0,
|
|
7
35
|
class: "fixed left-0 top-0 z-[9999] flex w-full justify-center",
|
|
@@ -12,7 +40,7 @@ const _hoisted_2 = {
|
|
|
12
40
|
key: 0,
|
|
13
41
|
class: "invisible fixed"
|
|
14
42
|
};
|
|
15
|
-
const textDivClass = `overflow-hidden whitespace-nowrap px-
|
|
43
|
+
const textDivClass = `flex h-8 justify-center gap-x-1.5 overflow-hidden whitespace-nowrap px-6 pt-1 text-sm font-semibold text-p-purple-60`;
|
|
16
44
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
45
|
...{
|
|
18
46
|
name: "PLoading"
|
|
@@ -57,7 +85,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
85
|
unref(isComponent)(unref(content)) ? (openBlock(), createBlock(resolveDynamicComponent(unref(content)), normalizeProps(mergeProps({ key: 0 }, unref(componentProps))), null, 16)) : (openBlock(), createElementBlock("div", {
|
|
58
86
|
key: 1,
|
|
59
87
|
class: normalizeClass(textDivClass)
|
|
60
|
-
},
|
|
88
|
+
}, [
|
|
89
|
+
createVNode(unref(PLoadingSpinner), { class: "pt-0.5" }),
|
|
90
|
+
createTextVNode(" " + toDisplayString(unref(content)), 1)
|
|
91
|
+
]))
|
|
61
92
|
]),
|
|
62
93
|
_: 1
|
|
63
94
|
})
|
|
@@ -74,14 +105,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74
105
|
unref(isComponent)(unref(content)) ? (openBlock(), createBlock(resolveDynamicComponent(unref(content)), normalizeProps(mergeProps({ key: 0 }, unref(componentProps))), null, 16)) : (openBlock(), createElementBlock("div", {
|
|
75
106
|
key: 1,
|
|
76
107
|
class: normalizeClass(textDivClass)
|
|
77
|
-
},
|
|
108
|
+
}, [
|
|
109
|
+
createVNode(unref(PLoadingSpinner), { class: "pt-0.5" }),
|
|
110
|
+
createTextVNode(" " + toDisplayString(unref(content)), 1)
|
|
111
|
+
]))
|
|
78
112
|
], 512)
|
|
79
113
|
])) : createCommentVNode("", true)
|
|
80
114
|
]);
|
|
81
115
|
};
|
|
82
116
|
}
|
|
83
117
|
});
|
|
84
|
-
const pLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
118
|
+
const pLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9ad56d4f"]]);
|
|
85
119
|
export {
|
|
86
120
|
pLoading as default
|
|
87
121
|
};
|
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, createBlock, createCommentVNode, openBlock, Teleport, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeStyle, normalizeClass, vShow, renderSlot, createElementBlock, toDisplayString, withModifiers, createTextVNode } from "vue";
|
|
2
2
|
import PAlert from "./p-alert.js";
|
|
3
3
|
import PCloseBtn from "./p-close-btn.js";
|
|
4
4
|
import { usePModal } from "./usePModal.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, resolveDirective,
|
|
1
|
+
import { defineComponent, resolveDirective, createElementBlock, openBlock, Fragment, renderList, withDirectives, normalizeStyle } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
3
3
|
const _sfc_main = defineComponent({
|
|
4
4
|
name: "PProgressBar",
|
package/dist/es/p-select-pill.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, createElementVNode, Fragment, renderList, normalizeClass, createCommentVNode, toDisplayString } 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, createElementBlock, openBlock, normalizeClass, createElementVNode, renderSlot, normalizeStyle } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
3
3
|
const LOADER_TYPES = {
|
|
4
4
|
rectangle: "rectangle",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, mergeProps } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
3
3
|
const _sfc_main = defineComponent({
|
|
4
4
|
name: "PTableFilterIcon",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PInfoIcon from "./p-info-icon.js";
|
|
2
2
|
import PTableFilterIcon from "./p-table-filter-icon.js";
|
|
3
|
-
import { defineComponent, resolveComponent,
|
|
3
|
+
import { defineComponent, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, normalizeStyle, normalizeClass, toDisplayString, createBlock } from "vue";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const DEFAULT_CLASSES = `text-xs leading-5 font-semibold truncate shrink`;
|
|
6
6
|
const _sfc_main = defineComponent({
|
package/dist/es/p-table-td.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, inject, ref, computed,
|
|
1
|
+
import { defineComponent, inject, ref, computed, createElementBlock, openBlock, Fragment, createElementVNode, createCommentVNode, mergeProps, normalizeClass, renderSlot, unref } 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 = {
|
package/dist/es/p-textarea.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import inputClassesMixin from "./inputClassesMixin.js";
|
|
2
|
-
import { defineComponent, openBlock,
|
|
2
|
+
import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, renderSlot, createElementVNode, withDirectives, createCommentVNode, toDisplayString, mergeProps, 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: "PTextarea",
|
package/dist/es/p-toggle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import inputClassesMixin from "./inputClassesMixin.js";
|
|
2
|
-
import { defineComponent, openBlock,
|
|
2
|
+
import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, withDirectives, renderSlot, mergeProps, createCommentVNode, toDisplayString, vShow } from "vue";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const TOGGLE_SIZES = {
|
|
5
5
|
sm: `w-7 h-4 after:top-[2px] after:left-[2px] after:h-3 after:w-3`,
|
package/dist/es/useSelectList.js
CHANGED
|
@@ -2,7 +2,7 @@ import { isObject } from "./object.js";
|
|
|
2
2
|
import { setupListKeyboardNavigation } from "./listKeyboardNavigation.js";
|
|
3
3
|
import { toString } from "./string.js";
|
|
4
4
|
import { useVirtualizer } from "@tanstack/vue-virtual";
|
|
5
|
-
import { cloneDeep, uniqBy, difference
|
|
5
|
+
import { cloneDeep, intersection, uniqBy, difference } from "lodash-es";
|
|
6
6
|
import { ref, computed, watch, onUnmounted, nextTick } from "vue";
|
|
7
7
|
const createInternalItems = (items) => {
|
|
8
8
|
let arr = Array.isArray(items) ? items.slice() : [];
|
|
@@ -21,6 +21,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
validator(value: keyof typeof ALERT_TYPES): boolean;
|
|
22
22
|
};
|
|
23
23
|
}>> & Readonly<{}>, {
|
|
24
|
-
type: "error" | "
|
|
24
|
+
type: "error" | "success" | "info" | "warning";
|
|
25
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
26
|
export default _default;
|
|
@@ -64,14 +64,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
64
|
type: PropType<RouteLocationRaw>;
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
|
-
}>, {}, {
|
|
68
|
-
loaderStyle: {
|
|
69
|
-
position: string;
|
|
70
|
-
};
|
|
71
|
-
}, {
|
|
67
|
+
}>, {}, {}, {
|
|
72
68
|
classes(): string;
|
|
73
69
|
loaderSize(): number;
|
|
74
|
-
loaderColor():
|
|
70
|
+
loaderColor(): "var(--color-p-blue-60)" | "var(--color-p-blue-15)" | "var(--color-p-purple-60)";
|
|
75
71
|
}, {
|
|
76
72
|
isExternalLink: (url: string) => boolean;
|
|
77
73
|
sanitizeUrl: (url: string) => string;
|
|
@@ -130,39 +126,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
130
126
|
selected: boolean;
|
|
131
127
|
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
132
128
|
}, {}, {
|
|
133
|
-
PRingLoader: import("vue").DefineComponent<
|
|
134
|
-
size
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
color
|
|
139
|
-
|
|
140
|
-
default: undefined;
|
|
141
|
-
};
|
|
142
|
-
duration: {
|
|
143
|
-
type: StringConstructor;
|
|
144
|
-
default: string;
|
|
145
|
-
validator(value: string): boolean;
|
|
146
|
-
};
|
|
147
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
148
|
-
size: {
|
|
149
|
-
type: NumberConstructor;
|
|
150
|
-
default: number;
|
|
151
|
-
};
|
|
152
|
-
color: {
|
|
153
|
-
type: StringConstructor;
|
|
154
|
-
default: undefined;
|
|
155
|
-
};
|
|
156
|
-
duration: {
|
|
157
|
-
type: StringConstructor;
|
|
158
|
-
default: string;
|
|
159
|
-
validator(value: string): boolean;
|
|
160
|
-
};
|
|
161
|
-
}>> & Readonly<{}>, {
|
|
129
|
+
PRingLoader: import("vue").DefineComponent<{
|
|
130
|
+
size?: number;
|
|
131
|
+
color?: string;
|
|
132
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
133
|
+
size?: number;
|
|
134
|
+
color?: string;
|
|
135
|
+
}> & Readonly<{}>, {
|
|
162
136
|
size: number;
|
|
163
137
|
color: string;
|
|
164
|
-
|
|
165
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
138
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
166
139
|
RouterLink: import("vue-router")._RouterLinkI;
|
|
167
140
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
168
141
|
export default _default;
|
|
@@ -13,10 +13,10 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
label: string;
|
|
17
16
|
inline: boolean | {
|
|
18
17
|
input?: boolean;
|
|
19
18
|
};
|
|
19
|
+
label: string;
|
|
20
20
|
required: boolean;
|
|
21
21
|
errorMsg: string;
|
|
22
22
|
enableTimePicker: boolean;
|
|
@@ -154,13 +154,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
154
154
|
"onBefore-close"?: ((...args: any[]) => any) | undefined;
|
|
155
155
|
onClosing?: ((...args: any[]) => any) | undefined;
|
|
156
156
|
}>, {
|
|
157
|
-
zIndex: number;
|
|
158
157
|
width: string;
|
|
159
158
|
title: string;
|
|
160
159
|
disabled: boolean;
|
|
161
|
-
|
|
160
|
+
zIndex: number;
|
|
162
161
|
modelValue: boolean;
|
|
163
162
|
errorMsg: string;
|
|
163
|
+
position: string;
|
|
164
164
|
appendTo: string;
|
|
165
165
|
drawerStyle: Record<string, any>;
|
|
166
166
|
drawerClass: string;
|
|
@@ -173,21 +173,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
173
173
|
}, {}, {
|
|
174
174
|
PAlert: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
175
175
|
type: {
|
|
176
|
-
type: import("vue").PropType<"error" | "
|
|
176
|
+
type: import("vue").PropType<"error" | "success" | "info" | "warning">;
|
|
177
177
|
default: string;
|
|
178
|
-
validator(value: "error" | "
|
|
178
|
+
validator(value: "error" | "success" | "info" | "warning"): boolean;
|
|
179
179
|
};
|
|
180
180
|
}>, {}, {}, {
|
|
181
181
|
classes(): string;
|
|
182
182
|
svgColor(): undefined;
|
|
183
183
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
184
184
|
type: {
|
|
185
|
-
type: import("vue").PropType<"error" | "
|
|
185
|
+
type: import("vue").PropType<"error" | "success" | "info" | "warning">;
|
|
186
186
|
default: string;
|
|
187
|
-
validator(value: "error" | "
|
|
187
|
+
validator(value: "error" | "success" | "info" | "warning"): boolean;
|
|
188
188
|
};
|
|
189
189
|
}>> & Readonly<{}>, {
|
|
190
|
-
type: "error" | "
|
|
190
|
+
type: "error" | "success" | "info" | "warning";
|
|
191
191
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
192
192
|
PCloseBtn: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
193
193
|
variant: {
|
|
@@ -25,10 +25,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
25
25
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
26
|
"onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
|
-
label: string;
|
|
29
28
|
inline: boolean | {
|
|
30
29
|
input?: boolean;
|
|
31
30
|
};
|
|
31
|
+
label: string;
|
|
32
32
|
required: boolean;
|
|
33
33
|
errorMsg: string;
|
|
34
34
|
enableTimePicker: boolean;
|
|
@@ -186,10 +186,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
186
186
|
"onBefore-close"?: ((...args: any[]) => any) | undefined;
|
|
187
187
|
onClosing?: ((...args: any[]) => any) | undefined;
|
|
188
188
|
}>, {
|
|
189
|
-
maxWidth: string;
|
|
190
189
|
name: string;
|
|
191
190
|
title: string;
|
|
192
191
|
disabled: boolean;
|
|
192
|
+
maxWidth: string;
|
|
193
193
|
modelValue: boolean;
|
|
194
194
|
errorMsg: string;
|
|
195
195
|
appendTo: string;
|
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
size
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
color: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: undefined;
|
|
9
|
-
};
|
|
10
|
-
duration: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
validator(value: string): boolean;
|
|
14
|
-
};
|
|
15
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
size: {
|
|
17
|
-
type: NumberConstructor;
|
|
18
|
-
default: number;
|
|
19
|
-
};
|
|
20
|
-
color: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: undefined;
|
|
23
|
-
};
|
|
24
|
-
duration: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
validator(value: string): boolean;
|
|
28
|
-
};
|
|
29
|
-
}>> & Readonly<{}>, {
|
|
1
|
+
type Props = {
|
|
2
|
+
size?: number;
|
|
3
|
+
color?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
30
6
|
size: number;
|
|
31
7
|
color: string;
|
|
32
|
-
|
|
33
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
9
|
export default _default;
|
|
@@ -28,12 +28,12 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
28
28
|
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
29
29
|
tbodyElement: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
30
30
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
31
|
-
"col-resize": (colIndex: number, width: number) => any;
|
|
32
31
|
scroll: (val: Event) => any;
|
|
32
|
+
"col-resize": (colIndex: number, width: number) => any;
|
|
33
33
|
"click-filter-icon": (val: Event, col: any) => any;
|
|
34
34
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
35
|
-
"onCol-resize"?: ((colIndex: number, width: number) => any) | undefined;
|
|
36
35
|
onScroll?: ((val: Event) => any) | undefined;
|
|
36
|
+
"onCol-resize"?: ((colIndex: number, width: number) => any) | undefined;
|
|
37
37
|
"onClick-filter-icon"?: ((val: Event, col: any) => any) | undefined;
|
|
38
38
|
}>, {
|
|
39
39
|
isFirstColFixed: boolean;
|
|
@@ -60,8 +60,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
60
60
|
}>> & Readonly<{
|
|
61
61
|
"onClick-filter-icon"?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
}>, {
|
|
63
|
-
textColor: string;
|
|
64
63
|
text: string;
|
|
64
|
+
textColor: string;
|
|
65
65
|
tooltipText: string;
|
|
66
66
|
textClass: string | Record<string, any> | unknown[];
|
|
67
67
|
filterActive: boolean;
|
package/dist/squirrel.css
CHANGED
|
@@ -339,12 +339,12 @@ to {
|
|
|
339
339
|
.bg-info-circle-icon[data-v-804e74f5] {
|
|
340
340
|
background-image: url("data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4002_33291)'%3e%3cpath%20d='M0.5%206C0.5%207.45869%201.07946%208.85764%202.11091%209.88909C3.14236%2010.9205%204.54131%2011.5%206%2011.5C7.45869%2011.5%208.85764%2010.9205%209.88909%209.88909C10.9205%208.85764%2011.5%207.45869%2011.5%206C11.5%204.54131%2010.9205%203.14236%209.88909%202.11091C8.85764%201.07946%207.45869%200.5%206%200.5C4.54131%200.5%203.14236%201.07946%202.11091%202.11091C1.07946%203.14236%200.5%204.54131%200.5%206Z'%20stroke='%231A123B'%20stroke-miterlimit='10'/%3e%3cpath%20d='M6.5%203.5H5.5V2.5H6.5V3.5Z'%20fill='%231A123B'/%3e%3cpath%20d='M4.5%205H6V9M4.5%208.5H7.5'%20stroke='%231A123B'%20stroke-miterlimit='10'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4002_33291'%3e%3crect%20width='12'%20height='12'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
|
|
341
341
|
}
|
|
342
|
-
.fadeInDown[data-v-
|
|
342
|
+
.fadeInDown[data-v-9ad56d4f] {
|
|
343
343
|
animation-duration: 0.4s;
|
|
344
344
|
animation-fill-mode: both;
|
|
345
|
-
animation-name: fadeInDown-
|
|
345
|
+
animation-name: fadeInDown-9ad56d4f;
|
|
346
346
|
}
|
|
347
|
-
@keyframes fadeInDown-
|
|
347
|
+
@keyframes fadeInDown-9ad56d4f {
|
|
348
348
|
0% {
|
|
349
349
|
opacity: 0;
|
|
350
350
|
transform: translate3d(0, -100%, 0);
|
|
@@ -354,12 +354,12 @@ to {
|
|
|
354
354
|
transform: none;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
.fadeOutUp[data-v-
|
|
357
|
+
.fadeOutUp[data-v-9ad56d4f] {
|
|
358
358
|
animation-duration: 0.25s;
|
|
359
359
|
animation-fill-mode: both;
|
|
360
|
-
animation-name: fadeOutUp-
|
|
360
|
+
animation-name: fadeOutUp-9ad56d4f;
|
|
361
361
|
}
|
|
362
|
-
@keyframes fadeOutUp-
|
|
362
|
+
@keyframes fadeOutUp-9ad56d4f {
|
|
363
363
|
0% {
|
|
364
364
|
opacity: 1;
|
|
365
365
|
}
|