@pequity/squirrel 5.4.7 → 5.4.9
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/README.md +1 -1
- package/dist/cjs/chunks/p-date-picker.js +143 -85
- package/dist/cjs/chunks/p-dropdown-select.js +4 -4
- package/dist/cjs/chunks/p-inline-date-picker.js +117 -67
- package/dist/cjs/chunks/p-link.js +1 -1
- package/dist/cjs/chunks/p-select.js +1 -1
- package/dist/cjs/index.js +37 -37
- package/dist/cjs/p-btn.js +2 -2
- package/dist/cjs/p-checkbox.js +1 -1
- package/dist/cjs/p-chips.js +2 -2
- package/dist/cjs/p-input-number.js +3 -3
- package/dist/cjs/p-input-search.js +1 -1
- package/dist/cjs/p-loading.js +2 -2
- package/dist/cjs/p-modal.js +2 -2
- package/dist/cjs/p-skeleton-loader.js +1 -1
- package/dist/cjs/p-table-td.js +1 -1
- package/dist/cjs/p-toggle.js +1 -1
- package/dist/cjs/tailwind.js +2 -2
- package/dist/cjs/usePTableRowVirtualizer.js +1 -1
- package/dist/cjs/useSelectList.js +3 -3
- package/dist/es/chunks/p-date-picker.js +144 -86
- package/dist/es/chunks/p-dropdown-select.js +4 -4
- package/dist/es/chunks/p-inline-date-picker.js +118 -68
- package/dist/es/chunks/p-link.js +1 -1
- package/dist/es/chunks/p-select.js +1 -1
- package/dist/es/index.js +35 -35
- package/dist/es/p-btn.js +2 -2
- package/dist/es/p-checkbox.js +1 -1
- package/dist/es/p-chips.js +2 -2
- package/dist/es/p-input-number.js +3 -3
- package/dist/es/p-input-search.js +1 -1
- package/dist/es/p-loading.js +2 -2
- package/dist/es/p-modal.js +2 -2
- package/dist/es/p-skeleton-loader.js +1 -1
- package/dist/es/p-table-td.js +1 -1
- package/dist/es/p-toggle.js +1 -1
- package/dist/es/tailwind.js +2 -2
- package/dist/es/usePTableRowVirtualizer.js +1 -1
- package/dist/es/useSelectList.js +3 -3
- package/dist/squirrel/components/index.d.ts +13 -13
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +2 -2
- package/dist/squirrel/components/p-card/p-card.vue.d.ts +3 -2
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +2 -1
- package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +1 -1
- package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +27 -30
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +3 -3
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +8 -7
- package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +1 -1
- package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +2 -2
- package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +2 -1
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +46 -0
- package/dist/squirrel/components/p-input/p-input.vue.d.ts +1 -1
- package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +1 -1
- package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +1 -1
- package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +2 -2
- package/dist/squirrel/components/p-link/p-link.vue.d.ts +2 -1
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +5 -4
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +2 -1
- package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +1 -1
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +3 -2
- package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +3 -2
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +6 -5
- package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +1 -1
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +3 -2
- package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +1 -1
- package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +1 -1
- package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +2 -1
- package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +2 -2
- package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +1 -1
- package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +1 -1
- package/dist/squirrel/index.d.ts +1 -1
- package/dist/squirrel/utils/index.d.ts +8 -8
- package/dist/squirrel/utils/inputClassesMixin.d.ts +1 -1
- package/dist/style.css +98 -989
- package/package.json +30 -32
- package/squirrel/assets/squirrel.css +45 -6
- package/squirrel/components/index.ts +37 -37
- package/squirrel/components/p-action-bar/p-action-bar.spec.ts +1 -1
- package/squirrel/components/p-action-bar/p-action-bar.stories.js +2 -2
- package/squirrel/components/p-action-bar/p-action-bar.vue +1 -1
- package/squirrel/components/p-alert/p-alert.vue +1 -1
- package/squirrel/components/p-btn/p-btn.spec.js +2 -2
- package/squirrel/components/p-btn/p-btn.vue +4 -4
- package/squirrel/components/p-checkbox/p-checkbox.vue +1 -1
- package/squirrel/components/p-chips/p-chips.vue +1 -1
- package/squirrel/components/p-date-picker/p-date-picker.spec.js +292 -0
- package/squirrel/components/p-date-picker/p-date-picker.stories.js +3 -3
- package/squirrel/components/p-date-picker/p-date-picker.vue +45 -90
- package/squirrel/components/p-dropdown/p-dropdown.spec.js +1 -1
- package/squirrel/components/p-dropdown/p-dropdown.vue +1 -1
- package/squirrel/components/p-dropdown-select/p-dropdown-select.spec.js +4 -4
- package/squirrel/components/p-dropdown-select/p-dropdown-select.stories.js +2 -2
- package/squirrel/components/p-dropdown-select/p-dropdown-select.vue +8 -8
- package/squirrel/components/p-file-upload/p-file-upload.vue +2 -2
- package/squirrel/components/p-icon/p-icon.spec.js +1 -1
- package/squirrel/components/p-icon/p-icon.stories.js +1 -1
- package/squirrel/components/p-icon/p-icon.vue +2 -2
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +21 -45
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.stories.js +3 -3
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +16 -85
- package/squirrel/components/p-input/p-input.stories.js +1 -1
- package/squirrel/components/p-input/p-input.vue +1 -1
- package/squirrel/components/p-input-number/p-input-number.stories.js +1 -1
- package/squirrel/components/p-input-number/p-input-number.vue +3 -3
- package/squirrel/components/p-input-percent/p-input-percent.stories.js +1 -1
- package/squirrel/components/p-input-percent/p-input-percent.vue +1 -1
- package/squirrel/components/p-input-search/p-input-search.stories.js +1 -1
- package/squirrel/components/p-input-search/p-input-search.vue +1 -1
- package/squirrel/components/p-link/p-link.spec.js +1 -1
- package/squirrel/components/p-link/p-link.vue +1 -1
- package/squirrel/components/p-loading/p-loading.spec.js +2 -2
- package/squirrel/components/p-loading/p-loading.stories.js +2 -2
- package/squirrel/components/p-loading/p-loading.vue +1 -1
- package/squirrel/components/p-loading/usePLoading.ts +1 -1
- package/squirrel/components/p-modal/p-modal-basic.spec.js +1 -1
- package/squirrel/components/p-modal/p-modal-events.spec.js +1 -1
- package/squirrel/components/p-modal/p-modal-features.spec.js +1 -1
- package/squirrel/components/p-modal/p-modal.vue +3 -3
- package/squirrel/components/p-pagination/p-pagination.vue +1 -1
- package/squirrel/components/p-progress-bar/p-progess-bar.spec.js +1 -1
- package/squirrel/components/p-progress-bar/p-progress-bar.vue +1 -1
- package/squirrel/components/p-select/p-select.spec.js +1 -1
- package/squirrel/components/p-select/p-select.stories.js +1 -1
- package/squirrel/components/p-select/p-select.vue +1 -1
- package/squirrel/components/p-select-btn/p-select-btn.spec.js +1 -1
- package/squirrel/components/p-select-btn/p-select-btn.stories.js +1 -1
- package/squirrel/components/p-select-btn/p-select-btn.vue +1 -1
- package/squirrel/components/p-select-list/p-select-list.spec.js +4 -4
- package/squirrel/components/p-select-list/p-select-list.vue +5 -5
- package/squirrel/components/p-select-list/useSelectList.ts +3 -3
- package/squirrel/components/p-select-pill/p-select-pill.spec.js +1 -1
- package/squirrel/components/p-select-pill/p-select-pill.stories.js +2 -2
- package/squirrel/components/p-select-pill/p-select-pill.vue +1 -1
- package/squirrel/components/p-skeleton-loader/p-skeleton-loader.vue +1 -1
- package/squirrel/components/p-table/p-table.spec.js +2 -2
- package/squirrel/components/p-table/p-table.vue +4 -4
- package/squirrel/components/p-table/usePTableColResize.spec.js +1 -1
- package/squirrel/components/p-table/usePTableColResize.ts +1 -1
- package/squirrel/components/p-table/usePTableRowVirtualizer.ts +1 -1
- package/squirrel/components/p-table-sort/p-table-sort.spec.js +1 -1
- package/squirrel/components/p-table-sort/p-table-sort.stories.js +1 -1
- package/squirrel/components/p-table-sort/p-table-sort.vue +1 -1
- package/squirrel/components/p-table-td/p-table-td.spec.js +3 -3
- package/squirrel/components/p-table-td/p-table-td.stories.js +1 -1
- package/squirrel/components/p-table-td/p-table-td.vue +2 -2
- package/squirrel/components/p-tabs/p-tabs.vue +1 -1
- package/squirrel/components/p-textarea/p-textarea.stories.js +1 -1
- package/squirrel/components/p-textarea/p-textarea.vue +1 -1
- package/squirrel/components/p-toggle/p-toggle.stories.js +1 -1
- package/squirrel/components/p-toggle/p-toggle.vue +1 -1
- package/squirrel/composables/useInputClasses.spec.js +1 -1
- package/squirrel/index.ts +1 -1
- package/squirrel/utils/component.ts +1 -1
- package/squirrel/utils/index.ts +18 -18
- package/squirrel/utils/inputClassesMixin.ts +1 -1
- package/squirrel/utils/pagination.spec.js +2 -2
- package/squirrel/utils/sanitization.spec.js +1 -1
- package/squirrel/utils/tailwind.ts +3 -2
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import dayjs from "dayjs";
|
|
3
|
-
import { DatePicker } from "v-calendar";
|
|
1
|
+
import { defineComponent, mergeModels, useModel, useAttrs, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, unref, toDisplayString, createCommentVNode, createVNode, mergeProps, withDirectives, createElementVNode, vShow } from "vue";
|
|
4
2
|
import { useInputClasses } from "../useInputClasses.js";
|
|
3
|
+
import VueDatePicker from "@vuepic/vue-datepicker";
|
|
5
4
|
const _hoisted_1 = ["data-has-error"];
|
|
6
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
6
|
...{
|
|
@@ -9,69 +8,128 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
8
|
inheritAttrs: false
|
|
10
9
|
},
|
|
11
10
|
__name: "p-inline-date-picker",
|
|
12
|
-
props: {
|
|
13
|
-
modelValue: { default: "" },
|
|
11
|
+
props: /* @__PURE__ */ mergeModels({
|
|
14
12
|
label: { default: "" },
|
|
15
13
|
errorMsg: { default: "" },
|
|
16
14
|
required: { type: Boolean, default: false },
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
uid: {},
|
|
16
|
+
name: {},
|
|
17
|
+
is24: { type: Boolean },
|
|
18
|
+
enableTimePicker: { type: Boolean, default: false },
|
|
19
|
+
range: { type: [Boolean, Object] },
|
|
20
|
+
multiCalendars: { type: [Boolean, Number, String, Object] },
|
|
21
|
+
modelValue: {},
|
|
22
|
+
locale: {},
|
|
23
|
+
position: {},
|
|
24
|
+
dark: { type: Boolean },
|
|
25
|
+
placeholder: {},
|
|
26
|
+
weekNumbers: {},
|
|
27
|
+
hoursIncrement: {},
|
|
28
|
+
hoursGridIncrement: {},
|
|
29
|
+
secondsGridIncrement: {},
|
|
30
|
+
minutesGridIncrement: {},
|
|
31
|
+
minutesIncrement: {},
|
|
32
|
+
secondsIncrement: {},
|
|
33
|
+
minDate: {},
|
|
34
|
+
maxDate: {},
|
|
35
|
+
minTime: {},
|
|
36
|
+
maxTime: {},
|
|
37
|
+
weekStart: { default: 0 },
|
|
38
|
+
disabled: { type: Boolean },
|
|
39
|
+
readonly: { type: Boolean },
|
|
40
|
+
format: {},
|
|
41
|
+
previewFormat: {},
|
|
42
|
+
hideInputIcon: { type: Boolean },
|
|
43
|
+
state: { type: Boolean },
|
|
44
|
+
clearable: { type: Boolean },
|
|
45
|
+
autoApply: { type: Boolean, default: true },
|
|
46
|
+
filters: {},
|
|
47
|
+
disableMonthYearSelect: { type: Boolean },
|
|
48
|
+
yearRange: {},
|
|
49
|
+
disabledDates: {},
|
|
50
|
+
inline: { type: [Boolean, Object], default: true },
|
|
51
|
+
selectText: {},
|
|
52
|
+
cancelText: {},
|
|
53
|
+
weekNumName: {},
|
|
54
|
+
autoPosition: { type: [Boolean, String] },
|
|
55
|
+
monthPicker: { type: Boolean },
|
|
56
|
+
timePicker: { type: Boolean },
|
|
57
|
+
textInput: { type: [Boolean, Object] },
|
|
58
|
+
monthNameFormat: {},
|
|
59
|
+
startDate: {},
|
|
60
|
+
startTime: {},
|
|
61
|
+
hideOffsetDates: { type: Boolean, default: true },
|
|
62
|
+
noToday: { type: Boolean },
|
|
63
|
+
noHoursOverlay: { type: Boolean },
|
|
64
|
+
noMinutesOverlay: { type: Boolean },
|
|
65
|
+
noSecondsOverlay: { type: Boolean },
|
|
66
|
+
altPosition: {},
|
|
67
|
+
disabledWeekDays: {},
|
|
68
|
+
allowedDates: {},
|
|
69
|
+
nowButtonLabel: {},
|
|
70
|
+
monthChangeOnScroll: { type: [Boolean, String] },
|
|
71
|
+
markers: {},
|
|
72
|
+
transitions: { type: [Boolean, Object] },
|
|
73
|
+
enableSeconds: { type: Boolean },
|
|
74
|
+
escClose: { type: Boolean },
|
|
75
|
+
spaceConfirm: { type: Boolean },
|
|
76
|
+
monthChangeOnArrows: { type: Boolean },
|
|
77
|
+
formatLocale: {},
|
|
78
|
+
autocomplete: {},
|
|
79
|
+
multiDates: { type: [Boolean, Object] },
|
|
80
|
+
presetDates: {},
|
|
81
|
+
flow: {},
|
|
82
|
+
partialFlow: { type: Boolean },
|
|
83
|
+
preventMinMaxNavigation: { type: Boolean },
|
|
84
|
+
utc: { type: [Boolean, String] },
|
|
85
|
+
reverseYears: { type: Boolean },
|
|
86
|
+
weekPicker: { type: Boolean },
|
|
87
|
+
vertical: { type: Boolean },
|
|
88
|
+
ariaLabels: {},
|
|
89
|
+
arrowNavigation: { type: Boolean },
|
|
90
|
+
yearPicker: { type: Boolean },
|
|
91
|
+
dayNames: {},
|
|
92
|
+
modelType: { default: "yyyy-MM-dd" },
|
|
93
|
+
modelAuto: { type: Boolean },
|
|
94
|
+
highlight: {},
|
|
95
|
+
offset: {},
|
|
96
|
+
teleportCenter: { type: Boolean },
|
|
97
|
+
teleport: { type: [Boolean, String] },
|
|
98
|
+
ignoreTimeValidation: { type: Boolean },
|
|
99
|
+
dayClass: {},
|
|
100
|
+
hideNavigation: {},
|
|
101
|
+
sixWeeks: { type: [Boolean, String] },
|
|
102
|
+
timezone: {},
|
|
103
|
+
disableYearSelect: { type: Boolean },
|
|
104
|
+
focusStartDate: { type: Boolean },
|
|
105
|
+
disabledTimes: {},
|
|
106
|
+
timePickerInline: { type: Boolean },
|
|
107
|
+
calendar: {},
|
|
108
|
+
config: {},
|
|
109
|
+
quarterPicker: { type: Boolean },
|
|
110
|
+
yearFirst: { type: Boolean },
|
|
111
|
+
loading: { type: Boolean },
|
|
112
|
+
onInternalModelChange: {},
|
|
113
|
+
enableMinutes: { type: Boolean },
|
|
114
|
+
ui: {}
|
|
115
|
+
}, {
|
|
116
|
+
"modelValue": { default: "" },
|
|
117
|
+
"modelModifiers": {}
|
|
118
|
+
}),
|
|
21
119
|
emits: ["update:modelValue"],
|
|
22
|
-
setup(__props
|
|
23
|
-
const selectAttribute = {
|
|
24
|
-
highlight: { class: "bg-primary", contentClass: "text-white" }
|
|
25
|
-
};
|
|
26
|
-
const DEFAULT_MASKS = {
|
|
27
|
-
// The mask for the input
|
|
28
|
-
input: "DD-MMM-YYYY",
|
|
29
|
-
// The mask for the model value
|
|
30
|
-
data: "YYYY-MM-DD"
|
|
31
|
-
};
|
|
120
|
+
setup(__props) {
|
|
32
121
|
const props = __props;
|
|
33
|
-
const
|
|
34
|
-
const { labelClasses, errorMsgClasses } = useInputClasses(props);
|
|
122
|
+
const model = useModel(__props, "modelValue");
|
|
35
123
|
const attrs = useAttrs();
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
const listeners = computed(() => {
|
|
42
|
-
return Object.keys(attrs).reduce((acc, curr) => {
|
|
43
|
-
if (curr.startsWith("on")) {
|
|
44
|
-
return { ...acc, [curr]: attrs[curr] };
|
|
45
|
-
} else {
|
|
46
|
-
return acc;
|
|
47
|
-
}
|
|
48
|
-
}, {});
|
|
124
|
+
const { labelClasses, errorMsgClasses } = useInputClasses(props);
|
|
125
|
+
const datePickerProps = computed(() => {
|
|
126
|
+
const { modelValue: _, ...propsWithoutModelValue } = props;
|
|
127
|
+
const { class: classes, style: style2, ...attrsWithoutClassAndStyle } = attrs;
|
|
128
|
+
return { ...propsWithoutModelValue, ...attrsWithoutClassAndStyle };
|
|
49
129
|
});
|
|
50
130
|
const style = computed(() => {
|
|
51
131
|
return attrs.style;
|
|
52
132
|
});
|
|
53
|
-
const styleDatepicker = computed(() => {
|
|
54
|
-
return props.errorMsg ? { border: "1px solid #f0453c" } : {};
|
|
55
|
-
});
|
|
56
|
-
const dayclick = (e) => {
|
|
57
|
-
emit("update:modelValue", e.id);
|
|
58
|
-
};
|
|
59
|
-
watch(
|
|
60
|
-
() => props.modelValue,
|
|
61
|
-
async (nV) => {
|
|
62
|
-
const date = dayjs(nV, masks.value.data).toDate();
|
|
63
|
-
if (nV && date.toString() === "Invalid Date") {
|
|
64
|
-
emit("update:modelValue", null);
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
innerValue.value = nV ? dayjs(nV, masks.value.data).toDate() : null;
|
|
68
|
-
const datepicker = datepickerRef.value;
|
|
69
|
-
if (datepicker && typeof datepicker.move === "function" && innerValue.value) {
|
|
70
|
-
await datepicker.move(innerValue.value);
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
{ immediate: true }
|
|
74
|
-
);
|
|
75
133
|
return (_ctx, _cache) => {
|
|
76
134
|
return openBlock(), createElementBlock("div", {
|
|
77
135
|
class: normalizeClass([{ hidden: _ctx.$attrs.hidden }, _ctx.$attrs.class]),
|
|
@@ -87,18 +145,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
145
|
class: normalizeClass(unref(labelClasses))
|
|
88
146
|
}, toDisplayString(_ctx.label), 3)) : createCommentVNode("", true)
|
|
89
147
|
]),
|
|
90
|
-
createVNode(unref(
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"model-value": innerValue.value,
|
|
95
|
-
"select-attribute": selectAttribute,
|
|
96
|
-
"min-date": _ctx.minDate || null,
|
|
97
|
-
"max-date": _ctx.maxDate || null,
|
|
98
|
-
masks: masks.value,
|
|
99
|
-
style: styleDatepicker.value,
|
|
100
|
-
timezone: _ctx.timezone
|
|
101
|
-
}, listeners.value, { onDayclick: dayclick }), null, 16, ["class", "model-value", "min-date", "max-date", "masks", "style", "timezone"]),
|
|
148
|
+
createVNode(unref(VueDatePicker), mergeProps({
|
|
149
|
+
modelValue: model.value,
|
|
150
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => model.value = $event)
|
|
151
|
+
}, datePickerProps.value), null, 16, ["modelValue"]),
|
|
102
152
|
withDirectives(createElementVNode("div", {
|
|
103
153
|
class: normalizeClass(unref(errorMsgClasses))
|
|
104
154
|
}, toDisplayString(_ctx.errorMsg), 3), [
|
package/dist/es/chunks/p-link.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, unref, openBlock, createElementBlock, renderSlot, createBlock, normalizeProps, mergeProps, withCtx } from "vue";
|
|
2
|
-
import { RouterLink } from "vue-router";
|
|
3
2
|
import { isExternalLink } from "../link.js";
|
|
4
3
|
import { sanitizeUrl } from "../sanitization.js";
|
|
4
|
+
import { RouterLink } from "vue-router";
|
|
5
5
|
const _hoisted_1 = ["href"];
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
...{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot, toDisplayString, createCommentVNode, createElementVNode, mergeProps, Fragment, renderList, withDirectives, vShow } from "vue";
|
|
2
|
-
import { INPUT_SIZES } from "../inputClassesShared.js";
|
|
3
2
|
import { useInputClasses } from "../useInputClasses.js";
|
|
3
|
+
import { INPUT_SIZES } from "../inputClassesShared.js";
|
|
4
4
|
const _hoisted_1 = ["data-has-error"];
|
|
5
5
|
const _hoisted_2 = ["value"];
|
|
6
6
|
const _hoisted_3 = ["value"];
|
package/dist/es/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { config } from "./config.js";
|
|
2
1
|
import { _ } from "./chunks/p-action-bar.js";
|
|
3
2
|
import { default as default2 } from "./p-alert.js";
|
|
4
3
|
import { default as default3 } from "./p-avatar.js";
|
|
@@ -14,57 +13,58 @@ import { _ as _imports_0$2 } from "./chunks/p-dropdown-select.js";
|
|
|
14
13
|
import { a } from "./chunks/p-dropdown-select.js";
|
|
15
14
|
import { defineComponent, shallowRef, ref, computed, onMounted, openBlock, createElementBlock, normalizeClass, unref, toDisplayString, createCommentVNode, createElementVNode, withModifiers, createTextVNode, Fragment, renderList, withDirectives, vShow, useAttrs, resolveDirective, normalizeStyle, createVNode, isRef, renderSlot, provide, onBeforeUnmount, watch, mergeProps, toHandlers } from "vue";
|
|
16
15
|
import { formatBytes, getFileExtension } from "./p-file-upload.js";
|
|
17
|
-
import { uniq, kebabCase } from "lodash-es";
|
|
18
16
|
import { useInputClasses } from "./useInputClasses.js";
|
|
17
|
+
import { uniq, kebabCase } from "lodash-es";
|
|
19
18
|
import { useToast } from "vue-toastification";
|
|
20
19
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
21
|
-
import {
|
|
20
|
+
import { P_ICON_ALIASES } from "./p-icon.js";
|
|
22
21
|
import { _ as _4 } from "./chunks/p-icon.js";
|
|
23
|
-
import { default as
|
|
22
|
+
import { default as default10 } from "./p-info-icon.js";
|
|
24
23
|
import { _ as _5 } from "./chunks/p-inline-date-picker.js";
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
24
|
+
import { default as default11 } from "./p-input.js";
|
|
25
|
+
import { default as default12 } from "./p-input-number.js";
|
|
27
26
|
import { _ as _6 } from "./chunks/p-input-percent.js";
|
|
28
27
|
import PInputSearch from "./p-input-search.js";
|
|
29
28
|
import { _ as _7 } from "./chunks/p-link.js";
|
|
30
|
-
import { default as
|
|
31
|
-
import {
|
|
29
|
+
import { default as default13 } from "./p-loading.js";
|
|
30
|
+
import { usePLoading } from "./usePLoading.js";
|
|
31
|
+
import { default as default14 } from "./p-modal.js";
|
|
32
|
+
import { usePModal } from "./usePModal.js";
|
|
32
33
|
import { _ as _8 } from "./chunks/p-pagination.js";
|
|
33
34
|
import { _ as _9 } from "./chunks/p-pagination-info.js";
|
|
34
|
-
import { default as
|
|
35
|
+
import { default as default15 } from "./p-progress-bar.js";
|
|
35
36
|
import { _ as _10 } from "./chunks/p-ring-loader.js";
|
|
36
37
|
import { _ as _11 } from "./chunks/p-select.js";
|
|
37
38
|
import { _ as _12 } from "./chunks/p-select-btn.js";
|
|
38
39
|
import { SIZES } from "./p-select-list.js";
|
|
39
|
-
import { splitStringForHighlight } from "./text.js";
|
|
40
|
-
import { toString } from "./string.js";
|
|
41
40
|
import { useSelectList } from "./useSelectList.js";
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import
|
|
41
|
+
import { toString } from "./string.js";
|
|
42
|
+
import { splitStringForHighlight } from "./text.js";
|
|
43
|
+
import { default as default16 } from "./p-select-pill.js";
|
|
44
|
+
import { default as default17 } from "./p-skeleton-loader.js";
|
|
45
45
|
import { colsInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey, isColsResizableInjectionKey } from "./p-table.js";
|
|
46
46
|
import { MIN_WIDTH_COL_RESIZE } from "./p-table.js";
|
|
47
47
|
import { usePTableColResize } from "./usePTableColResize.js";
|
|
48
|
+
import PTableHeaderCell from "./p-table-header-cell.js";
|
|
49
|
+
import { usePTableRowVirtualizer } from "./usePTableRowVirtualizer.js";
|
|
50
|
+
import { default as default18 } from "./p-table-filter-icon.js";
|
|
48
51
|
import { _ as _13 } from "./chunks/p-table-loader.js";
|
|
49
52
|
import { SORTING_TYPES } from "./p-table-sort.js";
|
|
50
53
|
import { default as default19 } from "./p-table-td.js";
|
|
51
54
|
import { _ as _14 } from "./chunks/p-tabs.js";
|
|
52
55
|
import { default as default20 } from "./p-textarea.js";
|
|
53
56
|
import { default as default21 } from "./p-toggle.js";
|
|
54
|
-
import {
|
|
55
|
-
import { usePLoading } from "./usePLoading.js";
|
|
56
|
-
import { usePModal } from "./usePModal.js";
|
|
57
|
-
import { usePTableRowVirtualizer } from "./usePTableRowVirtualizer.js";
|
|
58
|
-
import { default as default22 } from "./inputClassesMixin.js";
|
|
57
|
+
import { config } from "./config.js";
|
|
59
58
|
import { CURRENCY_INPUT_DEFAULTS } from "./currency.js";
|
|
60
|
-
import { getColor, getColorDeep, getScreen } from "./tailwind.js";
|
|
61
|
-
import { ERROR_MSG, INPUT_BASE, INPUT_ERROR, INPUT_NORMAL, INPUT_SIZES, LABEL_BASE, LABEL_REQUIRED, LABEL_SIZES, SELECT_ARROW, SELECT_BASE, SELECT_SIZES, SPACING_LEFT, SPACING_PREFIX, SPACING_RIGHT, SPACING_SUFFIX, TEXTAREA_BASE } from "./inputClassesShared.js";
|
|
62
|
-
import { createPagingRange } from "./pagination.js";
|
|
63
59
|
import { getNextActiveElement, isElement, isVisible } from "./dom.js";
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
60
|
+
import { default as default22 } from "./inputClassesMixin.js";
|
|
61
|
+
import { ERROR_MSG, INPUT_BASE, INPUT_ERROR, INPUT_NORMAL, INPUT_SIZES, LABEL_BASE, LABEL_REQUIRED, LABEL_SIZES, SELECT_ARROW, SELECT_BASE, SELECT_SIZES, SPACING_LEFT, SPACING_PREFIX, SPACING_RIGHT, SPACING_SUFFIX, TEXTAREA_BASE } from "./inputClassesShared.js";
|
|
66
62
|
import { setupListKeyboardNavigation } from "./listKeyboardNavigation.js";
|
|
67
63
|
import { toNumberOrNull } from "./number.js";
|
|
64
|
+
import { isObject } from "./object.js";
|
|
65
|
+
import { createPagingRange } from "./pagination.js";
|
|
66
|
+
import { sanitizeUrl } from "./sanitization.js";
|
|
67
|
+
import { getColor, getColorDeep, getScreen } from "./tailwind.js";
|
|
68
68
|
const _imports_0$1 = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.8335%206.25016L10.0002%202.0835L14.1668%206.25016'%20stroke='%23767189'%20stroke-width='1.25'%20/%3e%3cpath%20d='M10%202.0835V13.7502'%20stroke='%23767189'%20stroke-width='1.25'%20/%3e%3cpath%20d='M2.91675%2015V18.3333H17.0834V15'%20stroke='%23767189'%20stroke-width='1.25'%20/%3e%3c/svg%3e";
|
|
69
69
|
const _imports_1$1 = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M33%2012H14V44H42V21L33%2012Z'%20stroke='%231A123B'%20stroke-width='3'%20/%3e%3cpath%20d='M9%2036H6V4H25L28%207'%20stroke='%231A123B'%20stroke-width='3'%20/%3e%3cpath%20d='M37%2030H19M28%2021V39'%20stroke='%231A123B'%20stroke-width='3'%20/%3e%3c/svg%3e";
|
|
70
70
|
const _hoisted_1$3 = ["data-has-error"];
|
|
@@ -320,7 +320,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
320
320
|
};
|
|
321
321
|
}
|
|
322
322
|
});
|
|
323
|
-
const pFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
323
|
+
const pFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-216025be"]]);
|
|
324
324
|
const _hoisted_1$2 = ["data-has-error"];
|
|
325
325
|
const _hoisted_2$2 = { class: "text-p-purple-60" };
|
|
326
326
|
const _hoisted_3$2 = { class: "flex flex-row" };
|
|
@@ -873,7 +873,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
875
|
});
|
|
876
|
-
const pTable = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
876
|
+
const pTable = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-8560a8de"]]);
|
|
877
877
|
const _sfc_main = defineComponent({
|
|
878
878
|
name: "PTableSort",
|
|
879
879
|
props: {
|
|
@@ -977,26 +977,26 @@ export {
|
|
|
977
977
|
default9 as PDropdown,
|
|
978
978
|
a as PDropdownSelect,
|
|
979
979
|
pFileUpload as PFileUpload,
|
|
980
|
-
|
|
980
|
+
default18 as PFilterIcon,
|
|
981
981
|
_4 as PIcon,
|
|
982
|
-
|
|
982
|
+
default10 as PInfoIcon,
|
|
983
983
|
_5 as PInlineDatePicker,
|
|
984
|
-
|
|
985
|
-
|
|
984
|
+
default11 as PInput,
|
|
985
|
+
default12 as PInputNumber,
|
|
986
986
|
_6 as PInputPercent,
|
|
987
987
|
PInputSearch,
|
|
988
988
|
_7 as PLink,
|
|
989
|
-
|
|
990
|
-
|
|
989
|
+
default13 as PLoading,
|
|
990
|
+
default14 as PModal,
|
|
991
991
|
_8 as PPagination,
|
|
992
992
|
_9 as PPaginationInfo,
|
|
993
|
-
|
|
993
|
+
default15 as PProgressBar,
|
|
994
994
|
_10 as PRingLoader,
|
|
995
995
|
_11 as PSelect,
|
|
996
996
|
_12 as PSelectBtn,
|
|
997
997
|
_sfc_main$2 as PSelectList,
|
|
998
|
-
|
|
999
|
-
|
|
998
|
+
default16 as PSelectPill,
|
|
999
|
+
default17 as PSkeletonLoader,
|
|
1000
1000
|
pTable as PTable,
|
|
1001
1001
|
PTableHeaderCell,
|
|
1002
1002
|
_13 as PTableLoader,
|
package/dist/es/p-btn.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as _sfc_main$1 } from "./chunks/p-ring-loader.js";
|
|
2
|
+
import { isExternalLink } from "./link.js";
|
|
3
|
+
import { sanitizeUrl } from "./sanitization.js";
|
|
2
4
|
import { getColorDeep } from "./tailwind.js";
|
|
3
5
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, mergeProps, renderSlot, createBlock, resolveDynamicComponent, withCtx, createElementVNode, normalizeClass, normalizeStyle, createCommentVNode } from "vue";
|
|
4
6
|
import { RouterLink } from "vue-router";
|
|
5
|
-
import { isExternalLink } from "./link.js";
|
|
6
|
-
import { sanitizeUrl } from "./sanitization.js";
|
|
7
7
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
8
8
|
const BUTTON_TYPES = {
|
|
9
9
|
PRIMARY: "primary",
|
package/dist/es/p-checkbox.js
CHANGED
|
@@ -51,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
const pCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
54
|
+
const pCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-81cd6154"]]);
|
|
55
55
|
export {
|
|
56
56
|
pCheckbox as default
|
|
57
57
|
};
|
package/dist/es/p-chips.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, withDirectives, vShow } from "vue";
|
|
2
1
|
import { isObject } from "lodash-es";
|
|
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",
|
|
@@ -103,7 +103,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
103
103
|
], 512)
|
|
104
104
|
], 512);
|
|
105
105
|
}
|
|
106
|
-
const pChips = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
106
|
+
const pChips = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-c4e84a46"]]);
|
|
107
107
|
export {
|
|
108
108
|
pChips as default
|
|
109
109
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import PInfoIcon from "./p-info-icon.js";
|
|
2
2
|
import inputClassesMixin from "./inputClassesMixin.js";
|
|
3
|
-
import { useCurrencyInput } from "vue-currency-input";
|
|
4
|
-
import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createBlock, mergeProps, withDirectives, vShow } from "vue";
|
|
5
|
-
import { kebabCase } from "lodash-es";
|
|
6
3
|
import { toNumberOrNull } from "./number.js";
|
|
4
|
+
import { kebabCase } from "lodash-es";
|
|
5
|
+
import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createBlock, mergeProps, withDirectives, vShow } from "vue";
|
|
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 = [
|
|
9
9
|
"locale",
|
|
@@ -107,7 +107,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
107
107
|
_: 1
|
|
108
108
|
}, 16, ["modelValue", "size", "onKeydown"]);
|
|
109
109
|
}
|
|
110
|
-
const PInputSearch = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
110
|
+
const PInputSearch = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2674242c"]]);
|
|
111
111
|
export {
|
|
112
112
|
PInputSearch as default
|
|
113
113
|
};
|
package/dist/es/p-loading.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, toValue, onBeforeUnmount, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, unref, createElementBlock, createElementVNode, normalizeStyle, resolveDynamicComponent, normalizeProps, mergeProps, normalizeClass, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { isComponent } from "./component.js";
|
|
3
2
|
import { usePLoading } from "./usePLoading.js";
|
|
3
|
+
import { isComponent } from "./component.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
key: 0,
|
|
@@ -81,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
|
-
const pLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
84
|
+
const pLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b4ee3729"]]);
|
|
85
85
|
export {
|
|
86
86
|
pLoading as default
|
|
87
87
|
};
|
package/dist/es/p-modal.js
CHANGED
|
@@ -110,7 +110,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
110
110
|
],
|
|
111
111
|
setup(__props, { emit: __emit }) {
|
|
112
112
|
useCssVars((_ctx) => ({
|
|
113
|
-
"
|
|
113
|
+
"8621f24e": __props.maxWidth
|
|
114
114
|
}));
|
|
115
115
|
let animatingZIndex = 0;
|
|
116
116
|
const emit = __emit;
|
|
@@ -367,7 +367,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
});
|
|
370
|
-
const pModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
370
|
+
const pModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7a8f90b4"]]);
|
|
371
371
|
export {
|
|
372
372
|
pModal as default
|
|
373
373
|
};
|
|
@@ -68,7 +68,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
68
68
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
69
69
|
], 2);
|
|
70
70
|
}
|
|
71
|
-
const PSkeletonLoader = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
71
|
+
const PSkeletonLoader = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3d77f34f"]]);
|
|
72
72
|
export {
|
|
73
73
|
PSkeletonLoader as default
|
|
74
74
|
};
|
package/dist/es/p-table-td.js
CHANGED
|
@@ -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-c9978e26"]]);
|
|
85
85
|
export {
|
|
86
86
|
pTableTd as default
|
|
87
87
|
};
|
package/dist/es/p-toggle.js
CHANGED
|
@@ -110,7 +110,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
110
110
|
])
|
|
111
111
|
], 14, _hoisted_1);
|
|
112
112
|
}
|
|
113
|
-
const pToggle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
113
|
+
const pToggle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-152f5bf8"]]);
|
|
114
114
|
export {
|
|
115
115
|
pToggle as default
|
|
116
116
|
};
|
package/dist/es/tailwind.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import resolveConfig from "tailwindcss/resolveConfig";
|
|
3
|
-
import { get } from "lodash-es";
|
|
4
2
|
import { config as config$1 } from "./config.js";
|
|
3
|
+
import { get } from "lodash-es";
|
|
4
|
+
import resolveConfig from "tailwindcss/resolveConfig";
|
|
5
5
|
const config = resolveConfig(config$1);
|
|
6
6
|
const theme = config.theme;
|
|
7
7
|
const colors = theme == null ? void 0 : theme.colors;
|
package/dist/es/useSelectList.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref, computed, watch, onUnmounted, nextTick } from "vue";
|
|
2
|
-
import { setupListKeyboardNavigation } from "./listKeyboardNavigation.js";
|
|
3
|
-
import { cloneDeep, uniqBy } from "lodash-es";
|
|
4
1
|
import { isObject } from "./object.js";
|
|
2
|
+
import { setupListKeyboardNavigation } from "./listKeyboardNavigation.js";
|
|
5
3
|
import { toString } from "./string.js";
|
|
6
4
|
import { useVirtualizer } from "@tanstack/vue-virtual";
|
|
5
|
+
import { cloneDeep, uniqBy } from "lodash-es";
|
|
6
|
+
import { ref, computed, watch, onUnmounted, nextTick } from "vue";
|
|
7
7
|
const createInternalItems = (items) => {
|
|
8
8
|
let arr = Array.isArray(items) ? items.slice() : [];
|
|
9
9
|
if (arr.length && !isObject(arr[0])) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { type PActionBarAction } from './p-action-bar/p-action-bar.types';
|
|
1
2
|
import PActionBar from './p-action-bar/p-action-bar.vue';
|
|
2
3
|
import PAlert from './p-alert/p-alert.vue';
|
|
3
4
|
import PAvatar from './p-avatar/p-avatar.vue';
|
|
5
|
+
import { type Size } from './p-btn/p-btn.types';
|
|
4
6
|
import PBtn from './p-btn/p-btn.vue';
|
|
5
7
|
import PCard from './p-card/p-card.vue';
|
|
6
8
|
import PCheckbox from './p-checkbox/p-checkbox.vue';
|
|
@@ -10,8 +12,9 @@ import PDatePicker from './p-date-picker/p-date-picker.vue';
|
|
|
10
12
|
import PDrawer from './p-drawer/p-drawer.vue';
|
|
11
13
|
import PDropdown from './p-dropdown/p-dropdown.vue';
|
|
12
14
|
import PDropdownSelect from './p-dropdown-select/p-dropdown-select.vue';
|
|
15
|
+
import { type FileUploadFile } from './p-file-upload/p-file-upload.types';
|
|
13
16
|
import PFileUpload from './p-file-upload/p-file-upload.vue';
|
|
14
|
-
import
|
|
17
|
+
import { P_ICON_ALIASES, type PIconAlias } from './p-icon/p-icon.types';
|
|
15
18
|
import PIcon from './p-icon/p-icon.vue';
|
|
16
19
|
import PInfoIcon from './p-info-icon/p-info-icon.vue';
|
|
17
20
|
import PInlineDatePicker from './p-inline-date-picker/p-inline-date-picker.vue';
|
|
@@ -21,7 +24,9 @@ import PInputPercent from './p-input-percent/p-input-percent.vue';
|
|
|
21
24
|
import PInputSearch from './p-input-search/p-input-search.vue';
|
|
22
25
|
import PLink from './p-link/p-link.vue';
|
|
23
26
|
import PLoading from './p-loading/p-loading.vue';
|
|
27
|
+
import { usePLoading } from './p-loading/usePLoading';
|
|
24
28
|
import PModal from './p-modal/p-modal.vue';
|
|
29
|
+
import { usePModal } from './p-modal/usePModal';
|
|
25
30
|
import PPagination from './p-pagination/p-pagination.vue';
|
|
26
31
|
import PPaginationInfo from './p-pagination-info/p-pagination-info.vue';
|
|
27
32
|
import PProgressBar from './p-progress-bar/p-progress-bar.vue';
|
|
@@ -29,25 +34,20 @@ import PRingLoader from './p-ring-loader/p-ring-loader.vue';
|
|
|
29
34
|
import PSelect from './p-select/p-select.vue';
|
|
30
35
|
import PSelectBtn from './p-select-btn/p-select-btn.vue';
|
|
31
36
|
import PSelectList from './p-select-list/p-select-list.vue';
|
|
37
|
+
import { useSelectList } from './p-select-list/useSelectList';
|
|
32
38
|
import PSelectPill from './p-select-pill/p-select-pill.vue';
|
|
33
39
|
import PSkeletonLoader from './p-skeleton-loader/p-skeleton-loader.vue';
|
|
40
|
+
import { colsInjectionKey, type HeaderCellAttrs, isColsResizableInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey, MIN_WIDTH_COL_RESIZE, type TableCol, type ThAttrs } from './p-table/p-table.types';
|
|
34
41
|
import PTable from './p-table/p-table.vue';
|
|
42
|
+
import { usePTableColResize } from './p-table/usePTableColResize';
|
|
43
|
+
import { usePTableRowVirtualizer } from './p-table/usePTableRowVirtualizer';
|
|
44
|
+
import PFilterIcon from './p-table-header-cell/p-table-filter-icon.vue';
|
|
35
45
|
import PTableHeaderCell from './p-table-header-cell/p-table-header-cell.vue';
|
|
36
46
|
import PTableLoader from './p-table-loader/p-table-loader.vue';
|
|
47
|
+
import { SORTING_TYPES, type SortingType, type SortingTypeWithoutNoSorting } from './p-table-sort/p-table-sort.config';
|
|
37
48
|
import PTableSort from './p-table-sort/p-table-sort.vue';
|
|
38
49
|
import PTableTd from './p-table-td/p-table-td.vue';
|
|
39
50
|
import PTabs from './p-tabs/p-tabs.vue';
|
|
40
51
|
import PTextarea from './p-textarea/p-textarea.vue';
|
|
41
52
|
import PToggle from './p-toggle/p-toggle.vue';
|
|
42
|
-
|
|
43
|
-
import { type HeaderCellAttrs, MIN_WIDTH_COL_RESIZE, type TableCol, type ThAttrs, colsInjectionKey, isColsResizableInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey } from './p-table/p-table.types';
|
|
44
|
-
import { type PActionBarAction } from './p-action-bar/p-action-bar.types';
|
|
45
|
-
import { type PIconAlias, P_ICON_ALIASES } from './p-icon/p-icon.types';
|
|
46
|
-
import { SORTING_TYPES, type SortingType, type SortingTypeWithoutNoSorting } from './p-table-sort/p-table-sort.config';
|
|
47
|
-
import { type Size } from './p-btn/p-btn.types';
|
|
48
|
-
import { usePLoading } from './p-loading/usePLoading';
|
|
49
|
-
import { usePModal } from './p-modal/usePModal';
|
|
50
|
-
import { usePTableColResize } from './p-table/usePTableColResize';
|
|
51
|
-
import { usePTableRowVirtualizer } from './p-table/usePTableRowVirtualizer';
|
|
52
|
-
import { useSelectList } from './p-select-list/useSelectList';
|
|
53
|
-
export { PActionBar, PActionBarAction, PAlert, PAvatar, PBtn, PCard, PCheckbox, PChips, PCloseBtn, PDatePicker, PDrawer, PDropdown, PDropdownSelect, PFileUpload, PFilterIcon, PIcon, PInfoIcon, PInlineDatePicker, PInput, PInputNumber, PInputPercent, PInputSearch, PLink, PLoading, PModal, PPagination, PPaginationInfo, PProgressBar, PRingLoader, PSelect, PSelectBtn, PSelectList, PSelectPill, PSkeletonLoader, PTable, PTableHeaderCell, PTableLoader, PTableSort, PTableTd, PTabs, PTextarea, PToggle, SORTING_TYPES, MIN_WIDTH_COL_RESIZE, P_ICON_ALIASES, colsInjectionKey, isColsResizableInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey, usePModal, usePTableColResize, usePTableRowVirtualizer, useSelectList, usePLoading, SortingType, SortingTypeWithoutNoSorting, Size, FileUploadFile, HeaderCellAttrs, TableCol, ThAttrs, PIconAlias, };
|
|
53
|
+
export { colsInjectionKey, FileUploadFile, HeaderCellAttrs, isColsResizableInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey, MIN_WIDTH_COL_RESIZE, P_ICON_ALIASES, PActionBar, PActionBarAction, PAlert, PAvatar, PBtn, PCard, PCheckbox, PChips, PCloseBtn, PDatePicker, PDrawer, PDropdown, PDropdownSelect, PFileUpload, PFilterIcon, PIcon, PIconAlias, PInfoIcon, PInlineDatePicker, PInput, PInputNumber, PInputPercent, PInputSearch, PLink, PLoading, PModal, PPagination, PPaginationInfo, PProgressBar, PRingLoader, PSelect, PSelectBtn, PSelectList, PSelectPill, PSkeletonLoader, PTable, PTableHeaderCell, PTableLoader, PTableSort, PTableTd, PTabs, PTextarea, PToggle, Size, SORTING_TYPES, SortingType, SortingTypeWithoutNoSorting, TableCol, ThAttrs, usePLoading, usePModal, usePTableColResize, usePTableRowVirtualizer, useSelectList, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { type Size } from './p-btn.types';
|
|
1
2
|
import { type PropType } from 'vue';
|
|
2
3
|
import { type RouteLocationRaw } from 'vue-router';
|
|
3
|
-
import { type Size } from './p-btn.types';
|
|
4
4
|
declare const BUTTON_TYPES: {
|
|
5
5
|
readonly PRIMARY: "primary";
|
|
6
6
|
readonly SECONDARY: "secondary";
|
|
@@ -162,7 +162,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
162
162
|
size: number;
|
|
163
163
|
color: string;
|
|
164
164
|
duration: string;
|
|
165
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
165
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
166
166
|
RouterLink: import("vue-router")._RouterLinkI;
|
|
167
167
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
168
168
|
export default _default;
|