@pequity/squirrel 1.2.9 → 1.2.11

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/index.js CHANGED
@@ -8,7 +8,7 @@ const pDropdown = require("./p-dropdown.js");
8
8
  const pAlert = require("./p-alert.js");
9
9
  const pAvatar = require("./p-avatar.js");
10
10
  const pCard_vue_vue_type_script_setup_true_lang = require("./chunks/p-card.js");
11
- const pCheckbox_vue_vue_type_script_setup_true_lang = require("./chunks/p-checkbox.js");
11
+ const pCheckbox = require("./p-checkbox.js");
12
12
  const pChips = require("./p-chips.js");
13
13
  const pDatePicker = require("./p-date-picker.js");
14
14
  const pDrawer = require("./p-drawer.js");
@@ -296,8 +296,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
296
296
  res.push(file);
297
297
  continue;
298
298
  }
299
- if (props.fileTypes.length === 0)
300
- ;
299
+ if (props.fileTypes.length === 0) ;
301
300
  else {
302
301
  const extension = pFileUpload$1.getFileExtension(fileName) ? `.${pFileUpload$1.getFileExtension(fileName)}` : "";
303
302
  const isValidExtension = extension ? props.fileTypes.includes(extension) : false;
@@ -1045,7 +1044,7 @@ exports.PDropdown = pDropdown;
1045
1044
  exports.PAlert = pAlert;
1046
1045
  exports.PAvatar = pAvatar;
1047
1046
  exports.PCard = pCard_vue_vue_type_script_setup_true_lang._sfc_main;
1048
- exports.PCheckbox = pCheckbox_vue_vue_type_script_setup_true_lang._sfc_main;
1047
+ exports.PCheckbox = pCheckbox;
1049
1048
  exports.PChips = pChips;
1050
1049
  exports.PDatePicker = pDatePicker;
1051
1050
  exports.PDrawer = pDrawer;
@@ -74,8 +74,7 @@ const setupListKeyboardNavigation = (options) => {
74
74
  }
75
75
  };
76
76
  const init = () => {
77
- if (activeInstance === instance)
78
- ;
77
+ if (activeInstance === instance) ;
79
78
  else {
80
79
  if (activeInstance) {
81
80
  console.warn("There can only be one instance of list navigation active at a time.");
package/dist/cjs/p-btn.js CHANGED
@@ -21,9 +21,9 @@ const DEFAULT_CLASSES = `relative inline-block outline-none disabled:opacity-50
21
21
  const BUTTON_CLASSES = {
22
22
  [BUTTON_TYPES.PRIMARY]: "text-surface bg-primary hover:bg-accent active:bg-p-blue-80",
23
23
  [BUTTON_TYPES.SECONDARY]: "bg-p-gray-20 hover:bg-p-gray-30 active:bg-p-gray-40",
24
- [BUTTON_TYPES.PRIMARY_OUTLINE]: "text-p-purple-60 bg-p-blue-10 border border-p-purple-60 hover:bg-p-gray-20 focus:ring-1 focus:ring-p-purple-60",
25
- [BUTTON_TYPES.SECONDARY_OUTLINE]: "text-p-purple-60 bg-surface border border-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-10",
26
- [BUTTON_TYPES.SECONDARY_OUTLINE_BLUE]: "text-p-purple-60 bg-surface border border-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-15 aria-selected:text-p-blue-60",
24
+ [BUTTON_TYPES.PRIMARY_OUTLINE]: "text-p-purple-60 bg-p-blue-10 ring-1 ring-inset ring-p-purple-60 hover:bg-p-gray-20",
25
+ [BUTTON_TYPES.SECONDARY_OUTLINE]: "text-p-purple-60 bg-surface ring-1 ring-inset ring-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-10",
26
+ [BUTTON_TYPES.SECONDARY_OUTLINE_BLUE]: "text-p-purple-60 bg-surface ring-1 ring-inset ring-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-15 aria-selected:text-p-blue-60",
27
27
  [BUTTON_TYPES.ERROR]: "text-white bg-p-red-40 hover:bg-p-red-50",
28
28
  [BUTTON_TYPES.SUCCESS]: "text-white bg-p-green-40 hover:bg-p-green-50",
29
29
  [BUTTON_TYPES.PRIMARY_LINK]: "text-primary bg-transparent hover:text-accent underline",
@@ -1,3 +1,46 @@
1
1
  "use strict";
2
- const pCheckbox_vue_vue_type_script_setup_true_lang = require("./chunks/p-checkbox.js");
3
- module.exports = pCheckbox_vue_vue_type_script_setup_true_lang._sfc_main;
2
+ const vue = require("vue");
3
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
4
+ const _hoisted_1 = { class: "inline-flex items-center" };
5
+ const _hoisted_2 = ["checked"];
6
+ const _hoisted_3 = {
7
+ key: 0,
8
+ class: "ml-2 text-sm"
9
+ };
10
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
11
+ ...{
12
+ name: "PCheckbox",
13
+ inheritAttrs: false
14
+ },
15
+ __name: "p-checkbox",
16
+ props: {
17
+ modelValue: {
18
+ type: Boolean,
19
+ default: false
20
+ },
21
+ label: {
22
+ type: String,
23
+ default: ""
24
+ }
25
+ },
26
+ emits: ["update:modelValue"],
27
+ setup(__props) {
28
+ return (_ctx, _cache) => {
29
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1, [
30
+ vue.renderSlot(_ctx.$slots, "label-before", {}, void 0, true),
31
+ vue.createElementVNode("input", vue.mergeProps({
32
+ type: "checkbox",
33
+ class: "h-4 w-4 shrink-0 appearance-none rounded border border-p-gray-30 bg-surface duration-100 ease-in-out checked:border-none checked:bg-primary disabled:opacity-50",
34
+ checked: __props.modelValue
35
+ }, _ctx.$attrs, {
36
+ onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked))
37
+ }), null, 16, _hoisted_2),
38
+ vue.renderSlot(_ctx.$slots, "label", {}, () => [
39
+ __props.label ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, vue.toDisplayString(__props.label), 1)) : vue.createCommentVNode("", true)
40
+ ], true)
41
+ ]);
42
+ };
43
+ }
44
+ });
45
+ const pCheckbox = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-6729bf3b"]]);
46
+ module.exports = pCheckbox;
@@ -5,8 +5,7 @@ const createPagingRange = (currentPage, totalPageNumber, offset = 2, separator =
5
5
  const offsetNumber = currentPageNumber <= offset || currentPageNumber > totalPageNumber - offset ? offset : offset - 1;
6
6
  const numbersList = [];
7
7
  const numbersListWithDots = [];
8
- if (totalPageNumber <= 1 || totalPageNumber === void 0)
9
- return [1];
8
+ if (totalPageNumber <= 1 || totalPageNumber === void 0) return [1];
10
9
  numbersList.push(1);
11
10
  for (let i = currentPageNumber - offsetNumber; i <= currentPageNumber + offsetNumber; i++) {
12
11
  if (i < totalPageNumber && i > 1) {
package/dist/es/index.js CHANGED
@@ -6,52 +6,52 @@ import PDropdown from "./p-dropdown.js";
6
6
  import { default as default2 } from "./p-alert.js";
7
7
  import { default as default3 } from "./p-avatar.js";
8
8
  import { _ } from "./chunks/p-card.js";
9
- import { _ as _2 } from "./chunks/p-checkbox.js";
10
- import { default as default4 } from "./p-chips.js";
11
- import { default as default5 } from "./p-date-picker.js";
12
- import { default as default6 } from "./p-drawer.js";
9
+ import { default as default4 } from "./p-checkbox.js";
10
+ import { default as default5 } from "./p-chips.js";
11
+ import { default as default6 } from "./p-date-picker.js";
12
+ import { default as default7 } from "./p-drawer.js";
13
13
  import { a as _imports_0$2 } from "./chunks/p-dropdown-select.js";
14
- import { _ as _3 } from "./chunks/p-dropdown-select.js";
14
+ import { _ as _2 } from "./chunks/p-dropdown-select.js";
15
15
  import { formatBytes, getFileExtension } from "./p-file-upload.js";
16
16
  import { uniq, kebabCase } from "lodash-es";
17
17
  import { useInputClasses } from "./useInputClasses.js";
18
18
  import { useToast } from "vue-toastification";
19
19
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
20
- import { default as default7 } from "./p-table-filter-icon.js";
21
- import { default as default8 } from "./p-info-icon.js";
22
- import { default as default9 } from "./p-inline-date-picker.js";
23
- import { default as default10 } from "./p-input.js";
24
- import { default as default11 } from "./p-input-number.js";
25
- import { _ as _4 } from "./chunks/p-input-percent.js";
20
+ import { default as default8 } from "./p-table-filter-icon.js";
21
+ import { default as default9 } from "./p-info-icon.js";
22
+ import { default as default10 } from "./p-inline-date-picker.js";
23
+ import { default as default11 } from "./p-input.js";
24
+ import { default as default12 } from "./p-input-number.js";
25
+ import { _ as _3 } from "./chunks/p-input-percent.js";
26
26
  import PInputSearch from "./p-input-search.js";
27
- import { default as default12 } from "./p-loading.js";
28
- import { default as default13 } from "./p-modal.js";
29
- import { _ as _5 } from "./chunks/p-pagination.js";
30
- import { _ as _6 } from "./chunks/p-pagination-info.js";
31
- import { default as default14 } from "./p-progress-bar.js";
32
- import { _ as _7 } from "./chunks/p-ring-loader.js";
33
- import { _ as _8 } from "./chunks/p-select.js";
34
- import { _ as _9 } from "./chunks/p-select-btn.js";
27
+ import { default as default13 } from "./p-loading.js";
28
+ import { default as default14 } from "./p-modal.js";
29
+ import { _ as _4 } from "./chunks/p-pagination.js";
30
+ import { _ as _5 } from "./chunks/p-pagination-info.js";
31
+ import { default as default15 } from "./p-progress-bar.js";
32
+ import { _ as _6 } from "./chunks/p-ring-loader.js";
33
+ import { _ as _7 } from "./chunks/p-select.js";
34
+ import { _ as _8 } from "./chunks/p-select-btn.js";
35
35
  import { SIZES } from "./p-select-list.js";
36
36
  import { splitStringForHighlight } from "./text.js";
37
37
  import { toString } from "./string.js";
38
38
  import { useSelectList } from "./useSelectList.js";
39
- import { default as default15 } from "./p-select-pill.js";
40
- import { default as default16 } from "./p-skeleton-loader.js";
39
+ import { default as default16 } from "./p-select-pill.js";
40
+ import { default as default17 } from "./p-skeleton-loader.js";
41
41
  import PTableHeaderCell from "./p-table-header-cell.js";
42
42
  import { colsInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey, isColsResizableInjectionKey } from "./p-table.js";
43
43
  import { MIN_WIDTH_COL_RESIZE } from "./p-table.js";
44
44
  import { usePTableColResize } from "./usePTableColResize.js";
45
- import { _ as _10 } from "./chunks/p-table-loader.js";
45
+ import { _ as _9 } from "./chunks/p-table-loader.js";
46
46
  import { SORTING_TYPES } from "./p-table-sort.js";
47
- import { default as default17 } from "./p-table-td.js";
48
- import { _ as _11 } from "./chunks/p-tabs.js";
49
- import { default as default18 } from "./p-textarea.js";
50
- import { default as default19 } from "./p-toggle.js";
47
+ import { default as default18 } from "./p-table-td.js";
48
+ import { _ as _10 } from "./chunks/p-tabs.js";
49
+ import { default as default19 } from "./p-textarea.js";
50
+ import { default as default20 } from "./p-toggle.js";
51
51
  import { usePLoading } from "./usePLoading.js";
52
52
  import { usePModal } from "./usePModal.js";
53
53
  import { usePTableRowVirtualizer } from "./usePTableRowVirtualizer.js";
54
- import { default as default20 } from "./inputClassesMixin.js";
54
+ import { default as default21 } from "./inputClassesMixin.js";
55
55
  import { CURRENCY_INPUT_DEFAULTS } from "./currency.js";
56
56
  import { getColor, getColorDeep, getScreen } from "./tailwind.js";
57
57
  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";
@@ -296,8 +296,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
296
296
  res.push(file);
297
297
  continue;
298
298
  }
299
- if (props.fileTypes.length === 0)
300
- ;
299
+ if (props.fileTypes.length === 0) ;
301
300
  else {
302
301
  const extension = getFileExtension(fileName) ? `.${getFileExtension(fileName)}` : "";
303
302
  const isValidExtension = extension ? props.fileTypes.includes(extension) : false;
@@ -1054,40 +1053,40 @@ export {
1054
1053
  default3 as PAvatar,
1055
1054
  PBtn,
1056
1055
  _ as PCard,
1057
- _2 as PCheckbox,
1058
- default4 as PChips,
1056
+ default4 as PCheckbox,
1057
+ default5 as PChips,
1059
1058
  PCloseBtn,
1060
- default5 as PDatePicker,
1061
- default6 as PDrawer,
1059
+ default6 as PDatePicker,
1060
+ default7 as PDrawer,
1062
1061
  PDropdown,
1063
- _3 as PDropdownSelect,
1062
+ _2 as PDropdownSelect,
1064
1063
  pFileUpload as PFileUpload,
1065
- default7 as PFilterIcon,
1066
- default8 as PInfoIcon,
1067
- default9 as PInlineDatePicker,
1068
- default10 as PInput,
1069
- default11 as PInputNumber,
1070
- _4 as PInputPercent,
1064
+ default8 as PFilterIcon,
1065
+ default9 as PInfoIcon,
1066
+ default10 as PInlineDatePicker,
1067
+ default11 as PInput,
1068
+ default12 as PInputNumber,
1069
+ _3 as PInputPercent,
1071
1070
  PInputSearch,
1072
- default12 as PLoading,
1073
- default13 as PModal,
1074
- _5 as PPagination,
1075
- _6 as PPaginationInfo,
1076
- default14 as PProgressBar,
1077
- _7 as PRingLoader,
1078
- _8 as PSelect,
1079
- _9 as PSelectBtn,
1071
+ default13 as PLoading,
1072
+ default14 as PModal,
1073
+ _4 as PPagination,
1074
+ _5 as PPaginationInfo,
1075
+ default15 as PProgressBar,
1076
+ _6 as PRingLoader,
1077
+ _7 as PSelect,
1078
+ _8 as PSelectBtn,
1080
1079
  _sfc_main$2 as PSelectList,
1081
- default15 as PSelectPill,
1082
- default16 as PSkeletonLoader,
1080
+ default16 as PSelectPill,
1081
+ default17 as PSkeletonLoader,
1083
1082
  pTable as PTable,
1084
1083
  PTableHeaderCell,
1085
- _10 as PTableLoader,
1084
+ _9 as PTableLoader,
1086
1085
  pTableSort as PTableSort,
1087
- default17 as PTableTd,
1088
- _11 as PTabs,
1089
- default18 as PTextarea,
1090
- default19 as PToggle,
1086
+ default18 as PTableTd,
1087
+ _10 as PTabs,
1088
+ default19 as PTextarea,
1089
+ default20 as PToggle,
1091
1090
  SELECT_ARROW,
1092
1091
  SELECT_BASE,
1093
1092
  SELECT_SIZES,
@@ -1104,7 +1103,7 @@ export {
1104
1103
  getColorDeep,
1105
1104
  getNextActiveElement,
1106
1105
  getScreen,
1107
- default20 as inputClassesMixin,
1106
+ default21 as inputClassesMixin,
1108
1107
  isColsResizableInjectionKey,
1109
1108
  isElement,
1110
1109
  isFirstColFixedInjectionKey,
@@ -72,8 +72,7 @@ const setupListKeyboardNavigation = (options) => {
72
72
  }
73
73
  };
74
74
  const init = () => {
75
- if (activeInstance === instance)
76
- ;
75
+ if (activeInstance === instance) ;
77
76
  else {
78
77
  if (activeInstance) {
79
78
  console.warn("There can only be one instance of list navigation active at a time.");
package/dist/es/p-btn.js CHANGED
@@ -20,9 +20,9 @@ const DEFAULT_CLASSES = `relative inline-block outline-none disabled:opacity-50
20
20
  const BUTTON_CLASSES = {
21
21
  [BUTTON_TYPES.PRIMARY]: "text-surface bg-primary hover:bg-accent active:bg-p-blue-80",
22
22
  [BUTTON_TYPES.SECONDARY]: "bg-p-gray-20 hover:bg-p-gray-30 active:bg-p-gray-40",
23
- [BUTTON_TYPES.PRIMARY_OUTLINE]: "text-p-purple-60 bg-p-blue-10 border border-p-purple-60 hover:bg-p-gray-20 focus:ring-1 focus:ring-p-purple-60",
24
- [BUTTON_TYPES.SECONDARY_OUTLINE]: "text-p-purple-60 bg-surface border border-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-10",
25
- [BUTTON_TYPES.SECONDARY_OUTLINE_BLUE]: "text-p-purple-60 bg-surface border border-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-15 aria-selected:text-p-blue-60",
23
+ [BUTTON_TYPES.PRIMARY_OUTLINE]: "text-p-purple-60 bg-p-blue-10 ring-1 ring-inset ring-p-purple-60 hover:bg-p-gray-20",
24
+ [BUTTON_TYPES.SECONDARY_OUTLINE]: "text-p-purple-60 bg-surface ring-1 ring-inset ring-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-10",
25
+ [BUTTON_TYPES.SECONDARY_OUTLINE_BLUE]: "text-p-purple-60 bg-surface ring-1 ring-inset ring-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-15 aria-selected:text-p-blue-60",
26
26
  [BUTTON_TYPES.ERROR]: "text-white bg-p-red-40 hover:bg-p-red-50",
27
27
  [BUTTON_TYPES.SUCCESS]: "text-white bg-p-green-40 hover:bg-p-green-50",
28
28
  [BUTTON_TYPES.PRIMARY_LINK]: "text-primary bg-transparent hover:text-accent underline",
@@ -1,4 +1,47 @@
1
- import { _ as _sfc_main } from "./chunks/p-checkbox.js";
1
+ import { defineComponent, openBlock, createElementBlock, renderSlot, createElementVNode, mergeProps, toDisplayString, createCommentVNode } from "vue";
2
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
3
+ const _hoisted_1 = { class: "inline-flex items-center" };
4
+ const _hoisted_2 = ["checked"];
5
+ const _hoisted_3 = {
6
+ key: 0,
7
+ class: "ml-2 text-sm"
8
+ };
9
+ const _sfc_main = /* @__PURE__ */ defineComponent({
10
+ ...{
11
+ name: "PCheckbox",
12
+ inheritAttrs: false
13
+ },
14
+ __name: "p-checkbox",
15
+ props: {
16
+ modelValue: {
17
+ type: Boolean,
18
+ default: false
19
+ },
20
+ label: {
21
+ type: String,
22
+ default: ""
23
+ }
24
+ },
25
+ emits: ["update:modelValue"],
26
+ setup(__props) {
27
+ return (_ctx, _cache) => {
28
+ return openBlock(), createElementBlock("label", _hoisted_1, [
29
+ renderSlot(_ctx.$slots, "label-before", {}, void 0, true),
30
+ createElementVNode("input", mergeProps({
31
+ type: "checkbox",
32
+ class: "h-4 w-4 shrink-0 appearance-none rounded border border-p-gray-30 bg-surface duration-100 ease-in-out checked:border-none checked:bg-primary disabled:opacity-50",
33
+ checked: __props.modelValue
34
+ }, _ctx.$attrs, {
35
+ onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked))
36
+ }), null, 16, _hoisted_2),
37
+ renderSlot(_ctx.$slots, "label", {}, () => [
38
+ __props.label ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(__props.label), 1)) : createCommentVNode("", true)
39
+ ], true)
40
+ ]);
41
+ };
42
+ }
43
+ });
44
+ const pCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6729bf3b"]]);
2
45
  export {
3
- _sfc_main as default
46
+ pCheckbox as default
4
47
  };
@@ -3,8 +3,7 @@ const createPagingRange = (currentPage, totalPageNumber, offset = 2, separator =
3
3
  const offsetNumber = currentPageNumber <= offset || currentPageNumber > totalPageNumber - offset ? offset : offset - 1;
4
4
  const numbersList = [];
5
5
  const numbersListWithDots = [];
6
- if (totalPageNumber <= 1 || totalPageNumber === void 0)
7
- return [1];
6
+ if (totalPageNumber <= 1 || totalPageNumber === void 0) return [1];
8
7
  numbersList.push(1);
9
8
  for (let i = currentPageNumber - offsetNumber; i <= currentPageNumber + offsetNumber; i++) {
10
9
  if (i < totalPageNumber && i > 1) {
@@ -1,5 +1,4 @@
1
1
  import { type PropType } from 'vue';
2
- import { type RouteLocationRaw } from 'vue-router';
3
2
  import { type Size } from './p-btn.types';
4
3
  declare const BUTTON_TYPES: {
5
4
  readonly PRIMARY: "primary";
@@ -61,7 +60,7 @@ declare const _default: import("vue").DefineComponent<{
61
60
  * See https://router.vuejs.org/api/#RouteLocationRaw
62
61
  */
63
62
  to: {
64
- type: PropType<RouteLocationRaw>;
63
+ type: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
65
64
  default: string;
66
65
  };
67
66
  }, unknown, {
@@ -117,7 +116,7 @@ declare const _default: import("vue").DefineComponent<{
117
116
  * See https://router.vuejs.org/api/#RouteLocationRaw
118
117
  */
119
118
  to: {
120
- type: PropType<RouteLocationRaw>;
119
+ type: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
121
120
  default: string;
122
121
  };
123
122
  }>>, {
@@ -126,6 +125,6 @@ declare const _default: import("vue").DefineComponent<{
126
125
  nativeType: "button" | "submit" | "reset";
127
126
  loading: boolean;
128
127
  selected: boolean;
129
- to: RouteLocationRaw;
128
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
130
129
  }, {}>;
131
130
  export default _default;
@@ -1,8 +1,12 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
2
  modelValue: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
+ label: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
6
10
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
11
  "update:modelValue": (...args: any[]) => void;
8
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -10,9 +14,22 @@ declare const _default: import("vue").DefineComponent<{
10
14
  type: BooleanConstructor;
11
15
  default: boolean;
12
16
  };
17
+ label: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
13
21
  }>> & {
14
22
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
23
  }, {
24
+ label: string;
16
25
  modelValue: boolean;
17
- }, {}>;
26
+ }, {}>, {
27
+ "label-before"?(_: {}): any;
28
+ label?(_: {}): any;
29
+ }>;
18
30
  export default _default;
31
+ type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -17,7 +17,7 @@ export declare const usePTableRowVirtualizer: (options: Options) => {
17
17
  measureElement: () => Ref<undefined>;
18
18
  } | {
19
19
  virtualizer: Ref<import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element>>;
20
- virtualRows: ComputedRef<import("@tanstack/vue-virtual").VirtualItem[]>;
20
+ virtualRows: ComputedRef<import("@tanstack/vue-virtual").VirtualItem<Element>[]>;
21
21
  paddingTop: ComputedRef<number>;
22
22
  paddingBottom: ComputedRef<number>;
23
23
  measureElement: (cmp: ComponentPublicInstance | Ref<HTMLElement>) => undefined;
package/dist/style.css CHANGED
@@ -1,160 +1,16 @@
1
-
2
- .shadow-inner-toggle[data-v-3a6de4eb]::after {
3
- box-shadow:
4
- rgba(0, 0, 0, 0.3) 0px 1px 2px 0px,
5
- rgba(0, 0, 0, 0.05) 0px 0px 1px 0px inset;
6
- }
7
- .td-shadow-right[data-v-09e6d191] {
8
- box-shadow: -1px 1px 5px 4px rgba(0, 0, 0, 0.15);
9
- clip-path: inset(0px -12px 0px 0px);
10
- }
11
- .td-shadow-left[data-v-09e6d191] {
12
- box-shadow: -2px 1px 8px rgba(0, 0, 0, 0.15);
13
- clip-path: inset(0px 0px 0px -12px);
14
- }
15
- .td-col-fixed-border-b[data-v-09e6d191]::after {
16
- position: absolute;
17
- bottom: 0px;
18
- left: 0px;
19
- height: 1px;
20
- width: 100%;
21
- background-color: var(--color-p-gray-30);
22
- --tw-content: "";
23
- content: var(--tw-content);
24
- }.filter[data-v-cbac2434] {
25
- background: url("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='M15.5%206.73H4.5C4.36739%206.73%204.24021%206.67732%204.14645%206.58355C4.05268%206.48978%204%206.3626%204%206.23C4%206.09739%204.05268%205.97021%204.14645%205.87644C4.24021%205.78267%204.36739%205.73%204.5%205.73H15.5C15.6326%205.73%2015.7598%205.78267%2015.8536%205.87644C15.9473%205.97021%2016%206.09739%2016%206.23C16%206.3626%2015.9473%206.48978%2015.8536%206.58355C15.7598%206.67732%2015.6326%206.73%2015.5%206.73Z'%20fill='%23424E6E'/%3e%3cpath%20d='M14.33%209.245H5.67C5.53739%209.245%205.41021%209.19232%205.31644%209.09855C5.22268%209.00478%205.17%208.8776%205.17%208.745C5.17%208.61239%205.22268%208.48521%205.31644%208.39144C5.41021%208.29767%205.53739%208.245%205.67%208.245H14.33C14.4626%208.245%2014.5898%208.29767%2014.6836%208.39144C14.7773%208.48521%2014.83%208.61239%2014.83%208.745C14.83%208.8776%2014.7773%209.00478%2014.6836%209.09855C14.5898%209.19232%2014.4626%209.245%2014.33%209.245Z'%20fill='%23424E6E'/%3e%3cpath%20d='M11.605%2014.27H8.395C8.2624%2014.27%208.13522%2014.2173%208.04145%2014.1235C7.94768%2014.0298%207.895%2013.9026%207.895%2013.77C7.895%2013.6374%207.94768%2013.5102%208.04145%2013.4164C8.13522%2013.3227%208.2624%2013.27%208.395%2013.27H11.605C11.7376%2013.27%2011.8648%2013.3227%2011.9586%2013.4164C12.0523%2013.5102%2012.105%2013.6374%2012.105%2013.77C12.105%2013.9026%2012.0523%2014.0298%2011.9586%2014.1235C11.8648%2014.2173%2011.7376%2014.27%2011.605%2014.27Z'%20fill='%23424E6E'/%3e%3cpath%20d='M13.155%2011.755H6.845C6.71239%2011.755%206.58522%2011.7023%206.49145%2011.6085C6.39768%2011.5148%206.345%2011.3876%206.345%2011.255C6.345%2011.1224%206.39768%2010.9952%206.49145%2010.9014C6.58522%2010.8077%206.71239%2010.755%206.845%2010.755H13.155C13.2876%2010.755%2013.4148%2010.8077%2013.5086%2010.9014C13.6023%2010.9952%2013.655%2011.1224%2013.655%2011.255C13.655%2011.3876%2013.6023%2011.5148%2013.5086%2011.6085C13.4148%2011.7023%2013.2876%2011.755%2013.155%2011.755Z'%20fill='%23424E6E'/%3e%3c/svg%3e") no-repeat;
26
- }
27
- .filter[data-v-cbac2434]:hover {
28
- background: url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20fill='black'%20fill-opacity='0.05'/%3e%3cpath%20d='M15.5%206.73001H4.5C4.36739%206.73001%204.24021%206.67733%204.14645%206.58356C4.05268%206.4898%204%206.36262%204%206.23001C4%206.0974%204.05268%205.97023%204.14645%205.87646C4.24021%205.78269%204.36739%205.73001%204.5%205.73001H15.5C15.6326%205.73001%2015.7598%205.78269%2015.8536%205.87646C15.9473%205.97023%2016%206.0974%2016%206.23001C16%206.36262%2015.9473%206.4898%2015.8536%206.58356C15.7598%206.67733%2015.6326%206.73001%2015.5%206.73001Z'%20fill='%23424E6E'/%3e%3cpath%20d='M14.33%209.24503H5.67C5.53739%209.24503%205.41021%209.19235%205.31644%209.09858C5.22268%209.00481%205.17%208.87763%205.17%208.74503C5.17%208.61242%205.22268%208.48524%205.31644%208.39147C5.41021%208.2977%205.53739%208.24503%205.67%208.24503H14.33C14.4626%208.24503%2014.5898%208.2977%2014.6836%208.39147C14.7773%208.48524%2014.83%208.61242%2014.83%208.74503C14.83%208.87763%2014.7773%209.00481%2014.6836%209.09858C14.5898%209.19235%2014.4626%209.24503%2014.33%209.24503Z'%20fill='%23424E6E'/%3e%3cpath%20d='M11.605%2014.27H8.395C8.2624%2014.27%208.13522%2014.2173%208.04145%2014.1236C7.94768%2014.0298%207.895%2013.9026%207.895%2013.77C7.895%2013.6374%207.94768%2013.5102%208.04145%2013.4165C8.13522%2013.3227%208.2624%2013.27%208.395%2013.27H11.605C11.7376%2013.27%2011.8648%2013.3227%2011.9586%2013.4165C12.0523%2013.5102%2012.105%2013.6374%2012.105%2013.77C12.105%2013.9026%2012.0523%2014.0298%2011.9586%2014.1236C11.8648%2014.2173%2011.7376%2014.27%2011.605%2014.27Z'%20fill='%23424E6E'/%3e%3cpath%20d='M13.155%2011.755H6.845C6.71239%2011.755%206.58522%2011.7023%206.49145%2011.6086C6.39768%2011.5148%206.345%2011.3876%206.345%2011.255C6.345%2011.1224%206.39768%2010.9952%206.49145%2010.9015C6.58522%2010.8077%206.71239%2010.755%206.845%2010.755H13.155C13.2876%2010.755%2013.4148%2010.8077%2013.5086%2010.9015C13.6023%2010.9952%2013.655%2011.1224%2013.655%2011.255C13.655%2011.3876%2013.6023%2011.5148%2013.5086%2011.6086C13.4148%2011.7023%2013.2876%2011.755%2013.155%2011.755Z'%20fill='%23424E6E'/%3e%3c/svg%3e") no-repeat;
29
- }
30
- .filter.active[data-v-cbac2434] {
31
- background: url("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='M15.5%206.72998H4.5C4.36739%206.72998%204.24021%206.6773%204.14645%206.58353C4.05268%206.48977%204%206.36259%204%206.22998C4%206.09737%204.05268%205.9702%204.14645%205.87643C4.24021%205.78266%204.36739%205.72998%204.5%205.72998H15.5C15.6326%205.72998%2015.7598%205.78266%2015.8536%205.87643C15.9473%205.9702%2016%206.09737%2016%206.22998C16%206.36259%2015.9473%206.48977%2015.8536%206.58353C15.7598%206.6773%2015.6326%206.72998%2015.5%206.72998Z'%20fill='%230F45AF'/%3e%3cpath%20d='M14.33%209.245H5.67C5.53739%209.245%205.41021%209.19232%205.31644%209.09855C5.22268%209.00478%205.17%208.8776%205.17%208.745C5.17%208.61239%205.22268%208.48521%205.31644%208.39144C5.41021%208.29767%205.53739%208.245%205.67%208.245H14.33C14.4626%208.245%2014.5898%208.29767%2014.6836%208.39144C14.7773%208.48521%2014.83%208.61239%2014.83%208.745C14.83%208.8776%2014.7773%209.00478%2014.6836%209.09855C14.5898%209.19232%2014.4626%209.245%2014.33%209.245Z'%20fill='%230F45AF'/%3e%3cpath%20d='M11.605%2014.27H8.395C8.2624%2014.27%208.13522%2014.2173%208.04145%2014.1235C7.94768%2014.0297%207.895%2013.9026%207.895%2013.77C7.895%2013.6374%207.94768%2013.5102%208.04145%2013.4164C8.13522%2013.3226%208.2624%2013.27%208.395%2013.27H11.605C11.7376%2013.27%2011.8648%2013.3226%2011.9586%2013.4164C12.0523%2013.5102%2012.105%2013.6374%2012.105%2013.77C12.105%2013.9026%2012.0523%2014.0297%2011.9586%2014.1235C11.8648%2014.2173%2011.7376%2014.27%2011.605%2014.27Z'%20fill='%230F45AF'/%3e%3cpath%20d='M13.155%2011.755H6.845C6.71239%2011.755%206.58522%2011.7023%206.49145%2011.6086C6.39768%2011.5148%206.345%2011.3876%206.345%2011.255C6.345%2011.1224%206.39768%2010.9952%206.49145%2010.9015C6.58522%2010.8077%206.71239%2010.755%206.845%2010.755H13.155C13.2876%2010.755%2013.4148%2010.8077%2013.5086%2010.9015C13.6023%2010.9952%2013.655%2011.1224%2013.655%2011.255C13.655%2011.3876%2013.6023%2011.5148%2013.5086%2011.6086C13.4148%2011.7023%2013.2876%2011.755%2013.155%2011.755Z'%20fill='%230F45AF'/%3e%3c/svg%3e") no-repeat;
32
- }
33
- .filter.active[data-v-cbac2434]:hover {
34
- background: url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20fill='black'%20fill-opacity='0.05'/%3e%3cpath%20d='M15.5%206.72998H4.5C4.36739%206.72998%204.24021%206.6773%204.14645%206.58353C4.05268%206.48977%204%206.36259%204%206.22998C4%206.09737%204.05268%205.9702%204.14645%205.87643C4.24021%205.78266%204.36739%205.72998%204.5%205.72998H15.5C15.6326%205.72998%2015.7598%205.78266%2015.8536%205.87643C15.9473%205.9702%2016%206.09737%2016%206.22998C16%206.36259%2015.9473%206.48977%2015.8536%206.58353C15.7598%206.6773%2015.6326%206.72998%2015.5%206.72998Z'%20fill='%230F45AF'/%3e%3cpath%20d='M14.33%209.245H5.67C5.53739%209.245%205.41021%209.19232%205.31644%209.09855C5.22268%209.00478%205.17%208.8776%205.17%208.745C5.17%208.61239%205.22268%208.48521%205.31644%208.39144C5.41021%208.29767%205.53739%208.245%205.67%208.245H14.33C14.4626%208.245%2014.5898%208.29767%2014.6836%208.39144C14.7773%208.48521%2014.83%208.61239%2014.83%208.745C14.83%208.8776%2014.7773%209.00478%2014.6836%209.09855C14.5898%209.19232%2014.4626%209.245%2014.33%209.245Z'%20fill='%230F45AF'/%3e%3cpath%20d='M11.605%2014.27H8.395C8.2624%2014.27%208.13522%2014.2173%208.04145%2014.1235C7.94768%2014.0297%207.895%2013.9026%207.895%2013.77C7.895%2013.6374%207.94768%2013.5102%208.04145%2013.4164C8.13522%2013.3226%208.2624%2013.27%208.395%2013.27H11.605C11.7376%2013.27%2011.8648%2013.3226%2011.9586%2013.4164C12.0523%2013.5102%2012.105%2013.6374%2012.105%2013.77C12.105%2013.9026%2012.0523%2014.0297%2011.9586%2014.1235C11.8648%2014.2173%2011.7376%2014.27%2011.605%2014.27Z'%20fill='%230F45AF'/%3e%3cpath%20d='M13.155%2011.755H6.845C6.71239%2011.755%206.58522%2011.7023%206.49145%2011.6086C6.39768%2011.5148%206.345%2011.3876%206.345%2011.255C6.345%2011.1224%206.39768%2010.9952%206.49145%2010.9015C6.58522%2010.8077%206.71239%2010.755%206.845%2010.755H13.155C13.2876%2010.755%2013.4148%2010.8077%2013.5086%2010.9015C13.6023%2010.9952%2013.655%2011.1224%2013.655%2011.255C13.655%2011.3876%2013.6023%2011.5148%2013.5086%2011.6086C13.4148%2011.7023%2013.2876%2011.755%2013.155%2011.755Z'%20fill='%230F45AF'/%3e%3c/svg%3e") no-repeat;
35
- }
36
- .bg-cross[data-v-cb511035] {
37
- background-image: url("data:image/svg+xml,%3csvg%20width='6'%20height='6'%20viewBox='0%200%206%206'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2511_8629)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203.51667L5.42083%205.9375L5.9375%205.42083L3.51667%203L5.9375%200.57917L5.42083%200.0625L3%202.48333L0.57917%200.0625L0.0625%200.57917L2.48333%203L0.0625%205.42083L0.57917%205.9375L3%203.51667Z'%20fill='%231A123B'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2511_8629'%3e%3crect%20width='6'%20height='6'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
38
- }
39
-
40
- .x-black-icon[data-v-f61993bb] {
41
- 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%20id='Remove'%20clip-path='url(%23clip0_3453_5756)'%3e%3cpath%20id='Vector'%20d='M0.219996%2010.72C0.149851%2010.7893%200.0941591%2010.8718%200.0561487%2010.9628C0.0181382%2011.0537%20-0.00143433%2011.1514%20-0.00143433%2011.25C-0.00143433%2011.3486%200.0181382%2011.4462%200.0561487%2011.5372C0.0941591%2011.6281%200.149851%2011.7107%200.219996%2011.78C0.360622%2011.9204%200.551246%2011.9993%200.749996%2011.9993C0.948747%2011.9993%201.13937%2011.9204%201.28%2011.78L5.91%207.14997C5.92166%207.13787%205.93564%207.12825%205.9511%207.12168C5.96656%207.1151%205.98319%207.11172%206%207.11172C6.0168%207.11172%206.03343%207.1151%206.04889%207.12168C6.06436%207.12825%206.07834%207.13787%206.09%207.14997L10.72%2011.78C10.8606%2011.9204%2011.0512%2011.9993%2011.25%2011.9993C11.4487%2011.9993%2011.6394%2011.9204%2011.78%2011.78C11.8501%2011.7107%2011.9058%2011.6281%2011.9438%2011.5372C11.9819%2011.4462%2012.0014%2011.3486%2012.0014%2011.25C12.0014%2011.1514%2011.9819%2011.0537%2011.9438%2010.9628C11.9058%2010.8718%2011.8501%2010.7893%2011.78%2010.72L7.15%206.08997C7.1379%206.07831%207.12828%206.06433%207.1217%206.04886C7.11513%206.0334%207.11174%206.01677%207.11174%205.99997C7.11174%205.98317%207.11513%205.96654%207.1217%205.95107C7.12828%205.93561%207.1379%205.92163%207.15%205.90997L11.78%201.27997C11.9125%201.13779%2011.9846%200.949747%2011.9812%200.755446C11.9777%200.561145%2011.899%200.37576%2011.7616%200.238347C11.6242%200.100934%2011.4388%200.0222218%2011.2445%200.0187936C11.0502%200.0153654%2010.8622%200.0874886%2010.72%200.219969L6.09%204.84997C6.07834%204.86207%206.06436%204.87169%206.04889%204.87826C6.03343%204.88483%206.0168%204.88822%206%204.88822C5.98319%204.88822%205.96656%204.88483%205.9511%204.87826C5.93564%204.87169%205.92166%204.86207%205.91%204.84997L1.28%200.219969C1.13782%200.0874886%200.949775%200.0153654%200.755474%200.0187936C0.561173%200.0222218%200.375787%200.100934%200.238374%200.238347C0.100961%200.37576%200.0222494%200.561145%200.0188212%200.755446C0.015393%200.949747%200.0875162%201.13779%200.219996%201.27997L4.85%205.90997C4.86209%205.92163%204.87172%205.93561%204.87829%205.95107C4.88486%205.96654%204.88825%205.98317%204.88825%205.99997C4.88825%206.01677%204.88486%206.0334%204.87829%206.04886C4.87172%206.06433%204.86209%206.07831%204.85%206.08997L0.219996%2010.72Z'%20fill='%231A123B'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3453_5756'%3e%3crect%20width='12'%20height='12'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
42
- }
43
- .x-white-icon[data-v-f61993bb] {
44
- 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%20id='Remove'%20clip-path='url(%23clip0_3453_5756)'%3e%3cpath%20id='Vector'%20d='M0.219996%2010.72C0.149851%2010.7893%200.0941591%2010.8718%200.0561487%2010.9628C0.0181382%2011.0537%20-0.00143433%2011.1514%20-0.00143433%2011.25C-0.00143433%2011.3486%200.0181382%2011.4462%200.0561487%2011.5372C0.0941591%2011.6281%200.149851%2011.7107%200.219996%2011.78C0.360622%2011.9204%200.551246%2011.9993%200.749996%2011.9993C0.948747%2011.9993%201.13937%2011.9204%201.28%2011.78L5.91%207.14997C5.92166%207.13787%205.93564%207.12825%205.9511%207.12168C5.96656%207.1151%205.98319%207.11172%206%207.11172C6.0168%207.11172%206.03343%207.1151%206.04889%207.12168C6.06436%207.12825%206.07834%207.13787%206.09%207.14997L10.72%2011.78C10.8606%2011.9204%2011.0512%2011.9993%2011.25%2011.9993C11.4487%2011.9993%2011.6394%2011.9204%2011.78%2011.78C11.8501%2011.7107%2011.9058%2011.6281%2011.9438%2011.5372C11.9819%2011.4462%2012.0014%2011.3486%2012.0014%2011.25C12.0014%2011.1514%2011.9819%2011.0537%2011.9438%2010.9628C11.9058%2010.8718%2011.8501%2010.7893%2011.78%2010.72L7.15%206.08997C7.1379%206.07831%207.12828%206.06433%207.1217%206.04886C7.11513%206.0334%207.11174%206.01677%207.11174%205.99997C7.11174%205.98317%207.11513%205.96654%207.1217%205.95107C7.12828%205.93561%207.1379%205.92163%207.15%205.90997L11.78%201.27997C11.9125%201.13779%2011.9846%200.949747%2011.9812%200.755446C11.9777%200.561145%2011.899%200.37576%2011.7616%200.238347C11.6242%200.100934%2011.4388%200.0222218%2011.2445%200.0187936C11.0502%200.0153654%2010.8622%200.0874886%2010.72%200.219969L6.09%204.84997C6.07834%204.86207%206.06436%204.87169%206.04889%204.87826C6.03343%204.88483%206.0168%204.88822%206%204.88822C5.98319%204.88822%205.96656%204.88483%205.9511%204.87826C5.93564%204.87169%205.92166%204.86207%205.91%204.84997L1.28%200.219969C1.13782%200.0874886%200.949775%200.0153654%200.755474%200.0187936C0.561173%200.0222218%200.375787%200.100934%200.238374%200.238347C0.100961%200.37576%200.0222494%200.561145%200.0188212%200.755446C0.015393%200.949747%200.0875162%201.13779%200.219996%201.27997L4.85%205.90997C4.86209%205.92163%204.87172%205.93561%204.87829%205.95107C4.88486%205.96654%204.88825%205.98317%204.88825%205.99997C4.88825%206.01677%204.88486%206.0334%204.87829%206.04886C4.87172%206.06433%204.86209%206.07831%204.85%206.08997L0.219996%2010.72Z'%20fill='%23FFFFFF'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3453_5756'%3e%3crect%20width='12'%20height='12'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
45
- }
46
- .drawer[data-v-f474eec2] {
47
- position: fixed;
48
- bottom: 0px;
49
- top: 0px;
50
- display: flex;
51
- flex-direction: column;
52
- background-color: var(--color-surface);
53
- --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
54
- --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
55
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
56
- outline: 2px solid transparent;
57
- outline-offset: 2px;
58
- max-width: var(--4c0aead4);
59
- width: 100%;
60
- }
61
- .drawer.drawer-left[data-v-f474eec2] {
62
- left: 0px;
63
- }
64
- .drawer.drawer-right[data-v-f474eec2] {
65
- right: 0px;
66
- }
67
-
68
- /* Slide from right animations */
69
- @keyframes slideInRight-f474eec2 {
70
- 0% {
71
- transform: translate3d(100%, 0, 0);
72
- visibility: visible;
73
- }
74
- 100% {
75
- transform: translate3d(0, 0, 0);
76
- }
77
- }
78
- .slideInRight[data-v-f474eec2] {
79
- animation-duration: var(--59cfae08);
80
- animation-fill-mode: both;
81
- animation-name: slideInRight-f474eec2;
82
- }
83
- @keyframes slideOutRight-f474eec2 {
84
- 0% {
85
- transform: translate3d(0, 0, 0);
86
- }
87
- 100% {
88
- visibility: hidden;
89
- transform: translate3d(100%, 0, 0);
90
- }
91
- }
92
- .slideOutRight[data-v-f474eec2] {
93
- animation-duration: var(--59cfae08);
94
- animation-fill-mode: both;
95
- animation-name: slideOutRight-f474eec2;
96
- }
97
-
98
- /* Slide from left animations */
99
- @keyframes slideInLeft-f474eec2 {
100
- 0% {
101
- transform: translate3d(-100%, 0, 0);
102
- visibility: visible;
103
- }
104
- 100% {
105
- transform: translate3d(0, 0, 0);
106
- }
107
- }
108
- .slideInLeft[data-v-f474eec2] {
109
- animation-duration: var(--59cfae08);
110
- animation-fill-mode: both;
111
- animation-name: slideInLeft-f474eec2;
112
- }
113
- @keyframes slideOutLeft-f474eec2 {
114
- 0% {
115
- transform: translate3d(0, 0, 0);
1
+ .shimmer[data-v-53e537dc] {
2
+ transform: translateX(-100%);
3
+ animation: shimmer-53e537dc 1.4s infinite;
116
4
  }
5
+ @keyframes shimmer-53e537dc {
117
6
  100% {
118
- visibility: hidden;
119
- transform: translate3d(-100%, 0, 0);
120
- }
121
- }
122
- .slideOutLeft[data-v-f474eec2] {
123
- animation-duration: var(--59cfae08);
124
- animation-fill-mode: both;
125
- animation-name: slideOutLeft-f474eec2;
126
- }
127
-
128
- /* Backdrop */
129
- .fadeIn[data-v-f474eec2] {
130
- animation-name: fadeInFrames-f474eec2;
131
- }
132
- .fadeOut[data-v-f474eec2] {
133
- animation-name: fadeOutFrames-f474eec2;
134
- }
135
- .fadeIn[data-v-f474eec2],
136
- .fadeOut[data-v-f474eec2] {
137
- animation-duration: 0.25s;
138
- animation-fill-mode: both;
139
- }
140
- @keyframes fadeInFrames-f474eec2 {
141
- from {
142
- opacity: 0;
143
- animation-timing-function: cubic-bezier(0, 0, 1, 1);
144
- }
145
- to {
146
- opacity: 1;
147
- }
7
+ transform: translateX(100%);
148
8
  }
149
- @keyframes fadeOutFrames-f474eec2 {
150
- from {
151
- opacity: 1;
152
- animation-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
153
9
  }
154
- to {
155
- opacity: 0;
10
+ .bg-info-circle-icon[data-v-189b159e] {
11
+ 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");
156
12
  }
157
- }div[id^=popper_].dropdown {
13
+ div[id^=popper_].dropdown {
158
14
 
159
15
  outline: 2px solid transparent;
160
16
 
@@ -289,11 +145,7 @@ div[id^=popper_].dropdown .v-popper__inner .dropdown-menu .dropdown-divider {
289
145
  border-color: var(--color-p-gray-30);
290
146
 
291
147
  opacity: 1
292
- }
293
- .bg-info-circle-icon[data-v-189b159e] {
294
- 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");
295
- }
296
- .icon.clear[data-v-7a1e1e82] {
148
+ }.icon.clear[data-v-7a1e1e82] {
297
149
  background-image: url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1634_880)'%3e%3cpath%20d='M16%208C16%206.41775%2015.5308%204.87104%2014.6518%203.55544C13.7727%202.23985%2012.5233%201.21447%2011.0615%200.608967C9.59966%200.00346629%207.99113%20-0.15496%206.43928%200.153721C4.88743%200.462403%203.46197%201.22433%202.34315%202.34315C1.22433%203.46197%200.462403%204.88743%200.153721%206.43928C-0.15496%207.99113%200.00346629%209.59966%200.608967%2011.0615C1.21447%2012.5233%202.23985%2013.7727%203.55544%2014.6518C4.87104%2015.5308%206.41775%2016%208%2016C10.1217%2016%2012.1566%2015.1571%2013.6569%2013.6569C15.1571%2012.1566%2016%2010.1217%2016%208ZM11.14%2010.1867C11.2642%2010.3116%2011.3339%2010.4805%2011.3339%2010.6567C11.3339%2010.8328%2011.2642%2011.0018%2011.14%2011.1267C11.078%2011.1892%2011.0043%2011.2388%2010.9231%2011.2726C10.8418%2011.3064%2010.7547%2011.3239%2010.6667%2011.3239C10.5787%2011.3239%2010.4915%2011.3064%2010.4103%2011.2726C10.329%2011.2388%2010.2553%2011.1892%2010.1933%2011.1267L8.12%209.05334C8.08809%209.02429%208.04649%209.0082%208.00334%209.0082C7.96019%209.0082%207.91858%209.02429%207.88667%209.05334L5.81334%2011.1267C5.6858%2011.2359%205.52175%2011.293%205.35397%2011.2865C5.18618%2011.28%205.02702%2011.2104%204.90829%2011.0917C4.78957%2010.973%204.72001%2010.8138%204.71353%2010.646C4.70705%2010.4783%204.76412%2010.3142%204.87334%2010.1867L6.94667%208.11334C6.97572%208.08142%206.99181%208.03982%206.99181%207.99667C6.99181%207.95352%206.97572%207.91192%206.94667%207.88L4.87334%205.80667C4.81085%205.7447%204.76126%205.67096%204.72741%205.58972C4.69356%205.50848%204.67614%205.42135%204.67614%205.33334C4.67614%205.24533%204.69356%205.15819%204.72741%205.07695C4.76126%204.99571%204.81085%204.92198%204.87334%204.86C4.99825%204.73584%205.16721%204.66614%205.34334%204.66614C5.51946%204.66614%205.68843%204.73584%205.81334%204.86L7.88667%206.93334C7.90163%206.94928%207.91971%206.96199%207.93977%206.97068C7.95984%206.97936%207.98147%206.98384%208.00334%206.98384C8.0252%206.98384%208.04684%206.97936%208.0669%206.97068C8.08697%206.96199%208.10504%206.94928%208.12%206.93334L10.1933%204.86C10.2555%204.79784%2010.3293%204.74854%2010.4105%204.7149C10.4917%204.68126%2010.5788%204.66394%2010.6667%204.66394C10.7546%204.66394%2010.8416%204.68126%2010.9228%204.7149C11.0041%204.74854%2011.0778%204.79784%2011.14%204.86C11.2022%204.92216%2011.2515%204.99596%2011.2851%205.07717C11.3188%205.15839%2011.3361%205.24543%2011.3361%205.33334C11.3361%205.42124%2011.3188%205.50829%2011.2851%205.5895C11.2515%205.67072%2011.2022%205.74451%2011.14%205.80667L9.06667%207.88C9.05073%207.89497%209.03802%207.91304%209.02933%207.93311C9.02065%207.95317%209.01616%207.97481%209.01616%207.99667C9.01616%208.01854%209.02065%208.04017%209.02933%208.06024C9.03802%208.0803%209.05073%208.09837%209.06667%208.11334L11.14%2010.1867Z'%20fill='%23A0AEC0'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1634_880'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
298
150
  background-position: center center;
299
151
  transition: background-image 0.4s;
@@ -369,6 +221,166 @@ div[id^=popper_].dropdown .v-popper__inner .dropdown-menu .dropdown-divider {
369
221
  height: 1.5rem;
370
222
  right: 2.5rem;
371
223
  bottom: 0.75rem;
224
+ }.filter[data-v-cbac2434] {
225
+ background: url("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='M15.5%206.73H4.5C4.36739%206.73%204.24021%206.67732%204.14645%206.58355C4.05268%206.48978%204%206.3626%204%206.23C4%206.09739%204.05268%205.97021%204.14645%205.87644C4.24021%205.78267%204.36739%205.73%204.5%205.73H15.5C15.6326%205.73%2015.7598%205.78267%2015.8536%205.87644C15.9473%205.97021%2016%206.09739%2016%206.23C16%206.3626%2015.9473%206.48978%2015.8536%206.58355C15.7598%206.67732%2015.6326%206.73%2015.5%206.73Z'%20fill='%23424E6E'/%3e%3cpath%20d='M14.33%209.245H5.67C5.53739%209.245%205.41021%209.19232%205.31644%209.09855C5.22268%209.00478%205.17%208.8776%205.17%208.745C5.17%208.61239%205.22268%208.48521%205.31644%208.39144C5.41021%208.29767%205.53739%208.245%205.67%208.245H14.33C14.4626%208.245%2014.5898%208.29767%2014.6836%208.39144C14.7773%208.48521%2014.83%208.61239%2014.83%208.745C14.83%208.8776%2014.7773%209.00478%2014.6836%209.09855C14.5898%209.19232%2014.4626%209.245%2014.33%209.245Z'%20fill='%23424E6E'/%3e%3cpath%20d='M11.605%2014.27H8.395C8.2624%2014.27%208.13522%2014.2173%208.04145%2014.1235C7.94768%2014.0298%207.895%2013.9026%207.895%2013.77C7.895%2013.6374%207.94768%2013.5102%208.04145%2013.4164C8.13522%2013.3227%208.2624%2013.27%208.395%2013.27H11.605C11.7376%2013.27%2011.8648%2013.3227%2011.9586%2013.4164C12.0523%2013.5102%2012.105%2013.6374%2012.105%2013.77C12.105%2013.9026%2012.0523%2014.0298%2011.9586%2014.1235C11.8648%2014.2173%2011.7376%2014.27%2011.605%2014.27Z'%20fill='%23424E6E'/%3e%3cpath%20d='M13.155%2011.755H6.845C6.71239%2011.755%206.58522%2011.7023%206.49145%2011.6085C6.39768%2011.5148%206.345%2011.3876%206.345%2011.255C6.345%2011.1224%206.39768%2010.9952%206.49145%2010.9014C6.58522%2010.8077%206.71239%2010.755%206.845%2010.755H13.155C13.2876%2010.755%2013.4148%2010.8077%2013.5086%2010.9014C13.6023%2010.9952%2013.655%2011.1224%2013.655%2011.255C13.655%2011.3876%2013.6023%2011.5148%2013.5086%2011.6085C13.4148%2011.7023%2013.2876%2011.755%2013.155%2011.755Z'%20fill='%23424E6E'/%3e%3c/svg%3e") no-repeat;
226
+ }
227
+ .filter[data-v-cbac2434]:hover {
228
+ background: url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20fill='black'%20fill-opacity='0.05'/%3e%3cpath%20d='M15.5%206.73001H4.5C4.36739%206.73001%204.24021%206.67733%204.14645%206.58356C4.05268%206.4898%204%206.36262%204%206.23001C4%206.0974%204.05268%205.97023%204.14645%205.87646C4.24021%205.78269%204.36739%205.73001%204.5%205.73001H15.5C15.6326%205.73001%2015.7598%205.78269%2015.8536%205.87646C15.9473%205.97023%2016%206.0974%2016%206.23001C16%206.36262%2015.9473%206.4898%2015.8536%206.58356C15.7598%206.67733%2015.6326%206.73001%2015.5%206.73001Z'%20fill='%23424E6E'/%3e%3cpath%20d='M14.33%209.24503H5.67C5.53739%209.24503%205.41021%209.19235%205.31644%209.09858C5.22268%209.00481%205.17%208.87763%205.17%208.74503C5.17%208.61242%205.22268%208.48524%205.31644%208.39147C5.41021%208.2977%205.53739%208.24503%205.67%208.24503H14.33C14.4626%208.24503%2014.5898%208.2977%2014.6836%208.39147C14.7773%208.48524%2014.83%208.61242%2014.83%208.74503C14.83%208.87763%2014.7773%209.00481%2014.6836%209.09858C14.5898%209.19235%2014.4626%209.24503%2014.33%209.24503Z'%20fill='%23424E6E'/%3e%3cpath%20d='M11.605%2014.27H8.395C8.2624%2014.27%208.13522%2014.2173%208.04145%2014.1236C7.94768%2014.0298%207.895%2013.9026%207.895%2013.77C7.895%2013.6374%207.94768%2013.5102%208.04145%2013.4165C8.13522%2013.3227%208.2624%2013.27%208.395%2013.27H11.605C11.7376%2013.27%2011.8648%2013.3227%2011.9586%2013.4165C12.0523%2013.5102%2012.105%2013.6374%2012.105%2013.77C12.105%2013.9026%2012.0523%2014.0298%2011.9586%2014.1236C11.8648%2014.2173%2011.7376%2014.27%2011.605%2014.27Z'%20fill='%23424E6E'/%3e%3cpath%20d='M13.155%2011.755H6.845C6.71239%2011.755%206.58522%2011.7023%206.49145%2011.6086C6.39768%2011.5148%206.345%2011.3876%206.345%2011.255C6.345%2011.1224%206.39768%2010.9952%206.49145%2010.9015C6.58522%2010.8077%206.71239%2010.755%206.845%2010.755H13.155C13.2876%2010.755%2013.4148%2010.8077%2013.5086%2010.9015C13.6023%2010.9952%2013.655%2011.1224%2013.655%2011.255C13.655%2011.3876%2013.6023%2011.5148%2013.5086%2011.6086C13.4148%2011.7023%2013.2876%2011.755%2013.155%2011.755Z'%20fill='%23424E6E'/%3e%3c/svg%3e") no-repeat;
229
+ }
230
+ .filter.active[data-v-cbac2434] {
231
+ background: url("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='M15.5%206.72998H4.5C4.36739%206.72998%204.24021%206.6773%204.14645%206.58353C4.05268%206.48977%204%206.36259%204%206.22998C4%206.09737%204.05268%205.9702%204.14645%205.87643C4.24021%205.78266%204.36739%205.72998%204.5%205.72998H15.5C15.6326%205.72998%2015.7598%205.78266%2015.8536%205.87643C15.9473%205.9702%2016%206.09737%2016%206.22998C16%206.36259%2015.9473%206.48977%2015.8536%206.58353C15.7598%206.6773%2015.6326%206.72998%2015.5%206.72998Z'%20fill='%230F45AF'/%3e%3cpath%20d='M14.33%209.245H5.67C5.53739%209.245%205.41021%209.19232%205.31644%209.09855C5.22268%209.00478%205.17%208.8776%205.17%208.745C5.17%208.61239%205.22268%208.48521%205.31644%208.39144C5.41021%208.29767%205.53739%208.245%205.67%208.245H14.33C14.4626%208.245%2014.5898%208.29767%2014.6836%208.39144C14.7773%208.48521%2014.83%208.61239%2014.83%208.745C14.83%208.8776%2014.7773%209.00478%2014.6836%209.09855C14.5898%209.19232%2014.4626%209.245%2014.33%209.245Z'%20fill='%230F45AF'/%3e%3cpath%20d='M11.605%2014.27H8.395C8.2624%2014.27%208.13522%2014.2173%208.04145%2014.1235C7.94768%2014.0297%207.895%2013.9026%207.895%2013.77C7.895%2013.6374%207.94768%2013.5102%208.04145%2013.4164C8.13522%2013.3226%208.2624%2013.27%208.395%2013.27H11.605C11.7376%2013.27%2011.8648%2013.3226%2011.9586%2013.4164C12.0523%2013.5102%2012.105%2013.6374%2012.105%2013.77C12.105%2013.9026%2012.0523%2014.0297%2011.9586%2014.1235C11.8648%2014.2173%2011.7376%2014.27%2011.605%2014.27Z'%20fill='%230F45AF'/%3e%3cpath%20d='M13.155%2011.755H6.845C6.71239%2011.755%206.58522%2011.7023%206.49145%2011.6086C6.39768%2011.5148%206.345%2011.3876%206.345%2011.255C6.345%2011.1224%206.39768%2010.9952%206.49145%2010.9015C6.58522%2010.8077%206.71239%2010.755%206.845%2010.755H13.155C13.2876%2010.755%2013.4148%2010.8077%2013.5086%2010.9015C13.6023%2010.9952%2013.655%2011.1224%2013.655%2011.255C13.655%2011.3876%2013.6023%2011.5148%2013.5086%2011.6086C13.4148%2011.7023%2013.2876%2011.755%2013.155%2011.755Z'%20fill='%230F45AF'/%3e%3c/svg%3e") no-repeat;
232
+ }
233
+ .filter.active[data-v-cbac2434]:hover {
234
+ background: url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20fill='black'%20fill-opacity='0.05'/%3e%3cpath%20d='M15.5%206.72998H4.5C4.36739%206.72998%204.24021%206.6773%204.14645%206.58353C4.05268%206.48977%204%206.36259%204%206.22998C4%206.09737%204.05268%205.9702%204.14645%205.87643C4.24021%205.78266%204.36739%205.72998%204.5%205.72998H15.5C15.6326%205.72998%2015.7598%205.78266%2015.8536%205.87643C15.9473%205.9702%2016%206.09737%2016%206.22998C16%206.36259%2015.9473%206.48977%2015.8536%206.58353C15.7598%206.6773%2015.6326%206.72998%2015.5%206.72998Z'%20fill='%230F45AF'/%3e%3cpath%20d='M14.33%209.245H5.67C5.53739%209.245%205.41021%209.19232%205.31644%209.09855C5.22268%209.00478%205.17%208.8776%205.17%208.745C5.17%208.61239%205.22268%208.48521%205.31644%208.39144C5.41021%208.29767%205.53739%208.245%205.67%208.245H14.33C14.4626%208.245%2014.5898%208.29767%2014.6836%208.39144C14.7773%208.48521%2014.83%208.61239%2014.83%208.745C14.83%208.8776%2014.7773%209.00478%2014.6836%209.09855C14.5898%209.19232%2014.4626%209.245%2014.33%209.245Z'%20fill='%230F45AF'/%3e%3cpath%20d='M11.605%2014.27H8.395C8.2624%2014.27%208.13522%2014.2173%208.04145%2014.1235C7.94768%2014.0297%207.895%2013.9026%207.895%2013.77C7.895%2013.6374%207.94768%2013.5102%208.04145%2013.4164C8.13522%2013.3226%208.2624%2013.27%208.395%2013.27H11.605C11.7376%2013.27%2011.8648%2013.3226%2011.9586%2013.4164C12.0523%2013.5102%2012.105%2013.6374%2012.105%2013.77C12.105%2013.9026%2012.0523%2014.0297%2011.9586%2014.1235C11.8648%2014.2173%2011.7376%2014.27%2011.605%2014.27Z'%20fill='%230F45AF'/%3e%3cpath%20d='M13.155%2011.755H6.845C6.71239%2011.755%206.58522%2011.7023%206.49145%2011.6086C6.39768%2011.5148%206.345%2011.3876%206.345%2011.255C6.345%2011.1224%206.39768%2010.9952%206.49145%2010.9015C6.58522%2010.8077%206.71239%2010.755%206.845%2010.755H13.155C13.2876%2010.755%2013.4148%2010.8077%2013.5086%2010.9015C13.6023%2010.9952%2013.655%2011.1224%2013.655%2011.255C13.655%2011.3876%2013.6023%2011.5148%2013.5086%2011.6086C13.4148%2011.7023%2013.2876%2011.755%2013.155%2011.755Z'%20fill='%230F45AF'/%3e%3c/svg%3e") no-repeat;
235
+ }
236
+ .shadow-inner-toggle[data-v-3a6de4eb]::after {
237
+ box-shadow:
238
+ rgba(0, 0, 0, 0.3) 0px 1px 2px 0px,
239
+ rgba(0, 0, 0, 0.05) 0px 0px 1px 0px inset;
240
+ }
241
+ .td-shadow-right[data-v-09e6d191] {
242
+ box-shadow: -1px 1px 5px 4px rgba(0, 0, 0, 0.15);
243
+ clip-path: inset(0px -12px 0px 0px);
244
+ }
245
+ .td-shadow-left[data-v-09e6d191] {
246
+ box-shadow: -2px 1px 8px rgba(0, 0, 0, 0.15);
247
+ clip-path: inset(0px 0px 0px -12px);
248
+ }
249
+ .td-col-fixed-border-b[data-v-09e6d191]::after {
250
+ position: absolute;
251
+ bottom: 0px;
252
+ left: 0px;
253
+ height: 1px;
254
+ width: 100%;
255
+ background-color: var(--color-p-gray-30);
256
+ --tw-content: "";
257
+ content: var(--tw-content);
258
+ }
259
+ input[type='checkbox'][data-v-6729bf3b]:checked {
260
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
261
+ }
262
+
263
+ .bg-cross[data-v-cb511035] {
264
+ background-image: url("data:image/svg+xml,%3csvg%20width='6'%20height='6'%20viewBox='0%200%206%206'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2511_8629)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203.51667L5.42083%205.9375L5.9375%205.42083L3.51667%203L5.9375%200.57917L5.42083%200.0625L3%202.48333L0.57917%200.0625L0.0625%200.57917L2.48333%203L0.0625%205.42083L0.57917%205.9375L3%203.51667Z'%20fill='%231A123B'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2511_8629'%3e%3crect%20width='6'%20height='6'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
265
+ }
266
+
267
+ .x-black-icon[data-v-f61993bb] {
268
+ 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%20id='Remove'%20clip-path='url(%23clip0_3453_5756)'%3e%3cpath%20id='Vector'%20d='M0.219996%2010.72C0.149851%2010.7893%200.0941591%2010.8718%200.0561487%2010.9628C0.0181382%2011.0537%20-0.00143433%2011.1514%20-0.00143433%2011.25C-0.00143433%2011.3486%200.0181382%2011.4462%200.0561487%2011.5372C0.0941591%2011.6281%200.149851%2011.7107%200.219996%2011.78C0.360622%2011.9204%200.551246%2011.9993%200.749996%2011.9993C0.948747%2011.9993%201.13937%2011.9204%201.28%2011.78L5.91%207.14997C5.92166%207.13787%205.93564%207.12825%205.9511%207.12168C5.96656%207.1151%205.98319%207.11172%206%207.11172C6.0168%207.11172%206.03343%207.1151%206.04889%207.12168C6.06436%207.12825%206.07834%207.13787%206.09%207.14997L10.72%2011.78C10.8606%2011.9204%2011.0512%2011.9993%2011.25%2011.9993C11.4487%2011.9993%2011.6394%2011.9204%2011.78%2011.78C11.8501%2011.7107%2011.9058%2011.6281%2011.9438%2011.5372C11.9819%2011.4462%2012.0014%2011.3486%2012.0014%2011.25C12.0014%2011.1514%2011.9819%2011.0537%2011.9438%2010.9628C11.9058%2010.8718%2011.8501%2010.7893%2011.78%2010.72L7.15%206.08997C7.1379%206.07831%207.12828%206.06433%207.1217%206.04886C7.11513%206.0334%207.11174%206.01677%207.11174%205.99997C7.11174%205.98317%207.11513%205.96654%207.1217%205.95107C7.12828%205.93561%207.1379%205.92163%207.15%205.90997L11.78%201.27997C11.9125%201.13779%2011.9846%200.949747%2011.9812%200.755446C11.9777%200.561145%2011.899%200.37576%2011.7616%200.238347C11.6242%200.100934%2011.4388%200.0222218%2011.2445%200.0187936C11.0502%200.0153654%2010.8622%200.0874886%2010.72%200.219969L6.09%204.84997C6.07834%204.86207%206.06436%204.87169%206.04889%204.87826C6.03343%204.88483%206.0168%204.88822%206%204.88822C5.98319%204.88822%205.96656%204.88483%205.9511%204.87826C5.93564%204.87169%205.92166%204.86207%205.91%204.84997L1.28%200.219969C1.13782%200.0874886%200.949775%200.0153654%200.755474%200.0187936C0.561173%200.0222218%200.375787%200.100934%200.238374%200.238347C0.100961%200.37576%200.0222494%200.561145%200.0188212%200.755446C0.015393%200.949747%200.0875162%201.13779%200.219996%201.27997L4.85%205.90997C4.86209%205.92163%204.87172%205.93561%204.87829%205.95107C4.88486%205.96654%204.88825%205.98317%204.88825%205.99997C4.88825%206.01677%204.88486%206.0334%204.87829%206.04886C4.87172%206.06433%204.86209%206.07831%204.85%206.08997L0.219996%2010.72Z'%20fill='%231A123B'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3453_5756'%3e%3crect%20width='12'%20height='12'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
269
+ }
270
+ .x-white-icon[data-v-f61993bb] {
271
+ 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%20id='Remove'%20clip-path='url(%23clip0_3453_5756)'%3e%3cpath%20id='Vector'%20d='M0.219996%2010.72C0.149851%2010.7893%200.0941591%2010.8718%200.0561487%2010.9628C0.0181382%2011.0537%20-0.00143433%2011.1514%20-0.00143433%2011.25C-0.00143433%2011.3486%200.0181382%2011.4462%200.0561487%2011.5372C0.0941591%2011.6281%200.149851%2011.7107%200.219996%2011.78C0.360622%2011.9204%200.551246%2011.9993%200.749996%2011.9993C0.948747%2011.9993%201.13937%2011.9204%201.28%2011.78L5.91%207.14997C5.92166%207.13787%205.93564%207.12825%205.9511%207.12168C5.96656%207.1151%205.98319%207.11172%206%207.11172C6.0168%207.11172%206.03343%207.1151%206.04889%207.12168C6.06436%207.12825%206.07834%207.13787%206.09%207.14997L10.72%2011.78C10.8606%2011.9204%2011.0512%2011.9993%2011.25%2011.9993C11.4487%2011.9993%2011.6394%2011.9204%2011.78%2011.78C11.8501%2011.7107%2011.9058%2011.6281%2011.9438%2011.5372C11.9819%2011.4462%2012.0014%2011.3486%2012.0014%2011.25C12.0014%2011.1514%2011.9819%2011.0537%2011.9438%2010.9628C11.9058%2010.8718%2011.8501%2010.7893%2011.78%2010.72L7.15%206.08997C7.1379%206.07831%207.12828%206.06433%207.1217%206.04886C7.11513%206.0334%207.11174%206.01677%207.11174%205.99997C7.11174%205.98317%207.11513%205.96654%207.1217%205.95107C7.12828%205.93561%207.1379%205.92163%207.15%205.90997L11.78%201.27997C11.9125%201.13779%2011.9846%200.949747%2011.9812%200.755446C11.9777%200.561145%2011.899%200.37576%2011.7616%200.238347C11.6242%200.100934%2011.4388%200.0222218%2011.2445%200.0187936C11.0502%200.0153654%2010.8622%200.0874886%2010.72%200.219969L6.09%204.84997C6.07834%204.86207%206.06436%204.87169%206.04889%204.87826C6.03343%204.88483%206.0168%204.88822%206%204.88822C5.98319%204.88822%205.96656%204.88483%205.9511%204.87826C5.93564%204.87169%205.92166%204.86207%205.91%204.84997L1.28%200.219969C1.13782%200.0874886%200.949775%200.0153654%200.755474%200.0187936C0.561173%200.0222218%200.375787%200.100934%200.238374%200.238347C0.100961%200.37576%200.0222494%200.561145%200.0188212%200.755446C0.015393%200.949747%200.0875162%201.13779%200.219996%201.27997L4.85%205.90997C4.86209%205.92163%204.87172%205.93561%204.87829%205.95107C4.88486%205.96654%204.88825%205.98317%204.88825%205.99997C4.88825%206.01677%204.88486%206.0334%204.87829%206.04886C4.87172%206.06433%204.86209%206.07831%204.85%206.08997L0.219996%2010.72Z'%20fill='%23FFFFFF'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3453_5756'%3e%3crect%20width='12'%20height='12'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
272
+ }
273
+ .drawer[data-v-f474eec2] {
274
+ position: fixed;
275
+ bottom: 0px;
276
+ top: 0px;
277
+ display: flex;
278
+ flex-direction: column;
279
+ background-color: var(--color-surface);
280
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
281
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
282
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
283
+ outline: 2px solid transparent;
284
+ outline-offset: 2px;
285
+ max-width: var(--4c0aead4);
286
+ width: 100%;
287
+ }
288
+ .drawer.drawer-left[data-v-f474eec2] {
289
+ left: 0px;
290
+ }
291
+ .drawer.drawer-right[data-v-f474eec2] {
292
+ right: 0px;
293
+ }
294
+
295
+ /* Slide from right animations */
296
+ @keyframes slideInRight-f474eec2 {
297
+ 0% {
298
+ transform: translate3d(100%, 0, 0);
299
+ visibility: visible;
300
+ }
301
+ 100% {
302
+ transform: translate3d(0, 0, 0);
303
+ }
304
+ }
305
+ .slideInRight[data-v-f474eec2] {
306
+ animation-duration: var(--59cfae08);
307
+ animation-fill-mode: both;
308
+ animation-name: slideInRight-f474eec2;
309
+ }
310
+ @keyframes slideOutRight-f474eec2 {
311
+ 0% {
312
+ transform: translate3d(0, 0, 0);
313
+ }
314
+ 100% {
315
+ visibility: hidden;
316
+ transform: translate3d(100%, 0, 0);
317
+ }
318
+ }
319
+ .slideOutRight[data-v-f474eec2] {
320
+ animation-duration: var(--59cfae08);
321
+ animation-fill-mode: both;
322
+ animation-name: slideOutRight-f474eec2;
323
+ }
324
+
325
+ /* Slide from left animations */
326
+ @keyframes slideInLeft-f474eec2 {
327
+ 0% {
328
+ transform: translate3d(-100%, 0, 0);
329
+ visibility: visible;
330
+ }
331
+ 100% {
332
+ transform: translate3d(0, 0, 0);
333
+ }
334
+ }
335
+ .slideInLeft[data-v-f474eec2] {
336
+ animation-duration: var(--59cfae08);
337
+ animation-fill-mode: both;
338
+ animation-name: slideInLeft-f474eec2;
339
+ }
340
+ @keyframes slideOutLeft-f474eec2 {
341
+ 0% {
342
+ transform: translate3d(0, 0, 0);
343
+ }
344
+ 100% {
345
+ visibility: hidden;
346
+ transform: translate3d(-100%, 0, 0);
347
+ }
348
+ }
349
+ .slideOutLeft[data-v-f474eec2] {
350
+ animation-duration: var(--59cfae08);
351
+ animation-fill-mode: both;
352
+ animation-name: slideOutLeft-f474eec2;
353
+ }
354
+
355
+ /* Backdrop */
356
+ .fadeIn[data-v-f474eec2] {
357
+ animation-name: fadeInFrames-f474eec2;
358
+ }
359
+ .fadeOut[data-v-f474eec2] {
360
+ animation-name: fadeOutFrames-f474eec2;
361
+ }
362
+ .fadeIn[data-v-f474eec2],
363
+ .fadeOut[data-v-f474eec2] {
364
+ animation-duration: 0.25s;
365
+ animation-fill-mode: both;
366
+ }
367
+ @keyframes fadeInFrames-f474eec2 {
368
+ from {
369
+ opacity: 0;
370
+ animation-timing-function: cubic-bezier(0, 0, 1, 1);
371
+ }
372
+ to {
373
+ opacity: 1;
374
+ }
375
+ }
376
+ @keyframes fadeOutFrames-f474eec2 {
377
+ from {
378
+ opacity: 1;
379
+ animation-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
380
+ }
381
+ to {
382
+ opacity: 0;
383
+ }
372
384
  }.fadeInDown[data-v-122d5e30] {
373
385
  animation-duration: 0.4s;
374
386
  animation-fill-mode: both;
@@ -458,14 +470,6 @@ from {
458
470
  to {
459
471
  opacity: 0;
460
472
  }
461
- }.shimmer[data-v-53e537dc] {
462
- transform: translateX(-100%);
463
- animation: shimmer-53e537dc 1.4s infinite;
464
- }
465
- @keyframes shimmer-53e537dc {
466
- 100% {
467
- transform: translateX(100%);
468
- }
469
473
  }.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:rgba(0,0,0,.8);color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}/* sass-plugin-1:/Users/maronato/Developer/vue-toastification/src/scss/index.scss */.Vue-Toastification__container {
470
474
  z-index: 9999;
471
475
  position: fixed;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pequity/squirrel",
3
3
  "description": "Squirrel component library",
4
- "version": "1.2.9",
4
+ "version": "1.2.11",
5
5
  "packageManager": "pnpm@8.9.2",
6
6
  "type": "module",
7
7
  "scripts": {
@@ -58,26 +58,26 @@
58
58
  "@popperjs/core": "2.11.8",
59
59
  "@semantic-release/changelog": "^6.0.3",
60
60
  "@semantic-release/git": "^10.0.1",
61
- "@storybook/addon-a11y": "^8.1.8",
62
- "@storybook/addon-actions": "^8.1.8",
63
- "@storybook/addon-essentials": "^8.1.8",
64
- "@storybook/addon-interactions": "^8.1.8",
65
- "@storybook/addon-links": "^8.1.8",
66
- "@storybook/blocks": "^8.1.8",
61
+ "@storybook/addon-a11y": "^8.1.10",
62
+ "@storybook/addon-actions": "^8.1.10",
63
+ "@storybook/addon-essentials": "^8.1.10",
64
+ "@storybook/addon-interactions": "^8.1.10",
65
+ "@storybook/addon-links": "^8.1.10",
66
+ "@storybook/blocks": "^8.1.10",
67
67
  "@storybook/jest": "^0.2.3",
68
- "@storybook/manager-api": "^8.1.8",
69
- "@storybook/test-runner": "^0.18.2",
68
+ "@storybook/manager-api": "^8.1.10",
69
+ "@storybook/test-runner": "^0.19.0",
70
70
  "@storybook/testing-library": "^0.2.2",
71
- "@storybook/theming": "^8.1.8",
72
- "@storybook/vue3": "^8.1.8",
73
- "@storybook/vue3-vite": "^8.1.8",
74
- "@tanstack/vue-virtual": "3.5.1",
71
+ "@storybook/theming": "^8.1.10",
72
+ "@storybook/vue3": "^8.1.10",
73
+ "@storybook/vue3-vite": "^8.1.10",
74
+ "@tanstack/vue-virtual": "3.7.0",
75
75
  "@types/jest": "^29.5.12",
76
76
  "@types/jsdom": "^21.1.7",
77
77
  "@types/lodash-es": "^4.17.12",
78
- "@types/node": "^20.14.2",
78
+ "@types/node": "^20.14.8",
79
79
  "@vitejs/plugin-vue": "^5.0.5",
80
- "@vue/compiler-sfc": "3.4.27",
80
+ "@vue/compiler-sfc": "3.4.30",
81
81
  "@vue/test-utils": "^2.4.6",
82
82
  "@vue/vue3-jest": "^29.2.6",
83
83
  "autoprefixer": "^10.4.19",
@@ -86,7 +86,7 @@
86
86
  "eslint": "^8.57.0",
87
87
  "eslint-plugin-storybook": "^0.8.0",
88
88
  "floating-vue": "5.2.2",
89
- "glob": "^10.4.1",
89
+ "glob": "^10.4.2",
90
90
  "husky": "^9.0.11",
91
91
  "jest": "^29.7.0",
92
92
  "jest-environment-jsdom": "^29.7.0",
@@ -95,22 +95,22 @@
95
95
  "make-coverage-badge": "^1.2.0",
96
96
  "postcss": "^8.4.38",
97
97
  "prettier": "^3.3.2",
98
- "prettier-plugin-tailwindcss": "^0.6.4",
98
+ "prettier-plugin-tailwindcss": "^0.6.5",
99
99
  "resolve-tspaths": "^0.8.19",
100
100
  "rimraf": "^5.0.7",
101
- "sass": "^1.77.5",
101
+ "sass": "^1.77.6",
102
102
  "semantic-release": "^24.0.0",
103
- "storybook": "^8.1.8",
103
+ "storybook": "^8.1.10",
104
104
  "svgo": "^3.3.2",
105
105
  "tailwindcss": "^3.4.4",
106
- "ts-jest": "^29.1.4",
106
+ "ts-jest": "^29.1.5",
107
107
  "typescript": "5.4.5",
108
108
  "v-calendar": "3.1.2",
109
- "vite": "^5.2.13",
110
- "vue": "3.4.27",
109
+ "vite": "^5.3.1",
110
+ "vue": "3.4.30",
111
111
  "vue-currency-input": "3.1.0",
112
- "vue-router": "4.3.3",
112
+ "vue-router": "4.4.0",
113
113
  "vue-toastification": "2.0.0-rc.5",
114
- "vue-tsc": "2.0.21"
114
+ "vue-tsc": "2.0.22"
115
115
  }
116
116
  }
@@ -16,23 +16,16 @@ describe('PBtn.vue', () => {
16
16
  ['secondary', ['bg-p-gray-20', 'hover:bg-p-gray-30', 'active:bg-p-gray-40']],
17
17
  [
18
18
  'primary-outline',
19
- [
20
- 'text-p-purple-60',
21
- 'bg-p-blue-10',
22
- 'border',
23
- 'border-p-purple-60',
24
- 'hover:bg-p-gray-20',
25
- 'focus:ring-1',
26
- 'focus:ring-p-purple-60',
27
- ],
19
+ ['text-p-purple-60', 'bg-p-blue-10', 'ring-1', 'ring-inset', 'ring-p-purple-60', 'hover:bg-p-gray-20'],
28
20
  ],
29
21
  [
30
22
  'secondary-outline',
31
23
  [
32
24
  'text-p-purple-60',
33
25
  'bg-surface',
34
- 'border',
35
- 'border-p-gray-30',
26
+ 'ring-1',
27
+ 'ring-inset',
28
+ 'ring-p-gray-30',
36
29
  'hover:bg-p-blue-10',
37
30
  'aria-selected:bg-p-blue-10',
38
31
  ],
@@ -42,8 +35,9 @@ describe('PBtn.vue', () => {
42
35
  [
43
36
  'text-p-purple-60',
44
37
  'bg-surface',
45
- 'border',
46
- 'border-p-gray-30',
38
+ 'ring-1',
39
+ 'ring-inset',
40
+ 'ring-p-gray-30',
47
41
  'hover:bg-p-blue-10',
48
42
  'aria-selected:bg-p-blue-15',
49
43
  'aria-selected:text-p-blue-60',
@@ -58,12 +58,11 @@ type ButtonClass = {
58
58
  const BUTTON_CLASSES: ButtonClass = {
59
59
  [BUTTON_TYPES.PRIMARY]: 'text-surface bg-primary hover:bg-accent active:bg-p-blue-80',
60
60
  [BUTTON_TYPES.SECONDARY]: 'bg-p-gray-20 hover:bg-p-gray-30 active:bg-p-gray-40',
61
- [BUTTON_TYPES.PRIMARY_OUTLINE]:
62
- 'text-p-purple-60 bg-p-blue-10 border border-p-purple-60 hover:bg-p-gray-20 focus:ring-1 focus:ring-p-purple-60',
61
+ [BUTTON_TYPES.PRIMARY_OUTLINE]: 'text-p-purple-60 bg-p-blue-10 ring-1 ring-inset ring-p-purple-60 hover:bg-p-gray-20',
63
62
  [BUTTON_TYPES.SECONDARY_OUTLINE]:
64
- 'text-p-purple-60 bg-surface border border-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-10',
63
+ 'text-p-purple-60 bg-surface ring-1 ring-inset ring-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-10',
65
64
  [BUTTON_TYPES.SECONDARY_OUTLINE_BLUE]:
66
- 'text-p-purple-60 bg-surface border border-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-15 aria-selected:text-p-blue-60',
65
+ 'text-p-purple-60 bg-surface ring-1 ring-inset ring-p-gray-30 hover:bg-p-blue-10 aria-selected:bg-p-blue-15 aria-selected:text-p-blue-60',
67
66
  [BUTTON_TYPES.ERROR]: 'text-white bg-p-red-40 hover:bg-p-red-50',
68
67
  [BUTTON_TYPES.SUCCESS]: 'text-white bg-p-green-40 hover:bg-p-green-50',
69
68
  [BUTTON_TYPES.PRIMARY_LINK]: 'text-primary bg-transparent hover:text-accent underline',
@@ -1,6 +1,22 @@
1
1
  import PCheckbox from '@squirrel/components/p-checkbox/p-checkbox.vue';
2
2
  import { createWrapperFor } from '@tests/jest.helpers';
3
3
 
4
+ const checkboxClasses = [
5
+ 'h-4',
6
+ 'w-4',
7
+ 'shrink-0',
8
+ 'appearance-none',
9
+ 'rounded',
10
+ 'border',
11
+ 'border-p-gray-30',
12
+ 'bg-surface',
13
+ 'duration-100',
14
+ 'ease-in-out',
15
+ 'checked:border-none',
16
+ 'checked:bg-primary',
17
+ 'disabled:opacity-50',
18
+ ];
19
+
4
20
  describe('PCheckbox.vue', () => {
5
21
  it('renders correctly', async () => {
6
22
  const wrapper = createWrapperFor(PCheckbox);
@@ -9,7 +25,7 @@ describe('PCheckbox.vue', () => {
9
25
 
10
26
  expect(input.exists()).toBe(true);
11
27
  expect(input.attributes().type).toBe('checkbox');
12
- expect(input.classes()).toEqual(['cursor-pointer', 'accent-p-blue-50']);
28
+ expect(input.classes()).toEqual(checkboxClasses);
13
29
  expect(input.attributes().disabled).toBeUndefined();
14
30
  });
15
31
 
@@ -20,7 +36,7 @@ describe('PCheckbox.vue', () => {
20
36
 
21
37
  expect(input.exists()).toBe(true);
22
38
  expect(input.attributes().type).toBe('checkbox');
23
- expect(input.classes()).toEqual(['cursor-pointer', 'accent-p-blue-50']);
39
+ expect(input.classes()).toEqual(checkboxClasses);
24
40
  expect(input.attributes().disabled).toBeDefined();
25
41
  });
26
42
  });
@@ -8,7 +8,7 @@ export default {
8
8
  parameters: {
9
9
  docs: {
10
10
  description: {
11
- component: 'Checkbox Component',
11
+ component: 'Checkboxes allow the user to select multiple options from a set.',
12
12
  },
13
13
  },
14
14
  },
@@ -25,7 +25,39 @@ export const Default = {
25
25
  template: `<PCheckbox v-bind="args" @click="onClick" />`,
26
26
  }),
27
27
  args: {
28
- checked: false,
28
+ modelValue: false,
29
29
  disabled: false,
30
30
  },
31
31
  };
32
+
33
+ export const WithLabel = {
34
+ args: {
35
+ ...Default.args,
36
+ label: 'Checkbox label',
37
+ },
38
+ };
39
+
40
+ export const WithLabelBefore = {
41
+ render: (args) => {
42
+ const { default: defaultSlot, labelBefore, ...argsWithoutSlots } = args;
43
+
44
+ return {
45
+ components: { PCheckbox },
46
+ setup() {
47
+ return { argsWithoutSlots };
48
+ },
49
+ template: `
50
+ <PCheckbox v-bind="argsWithoutSlots">
51
+ <template #label-before>
52
+ <div class="text-sm mr-2">${args.labelBefore}</div>
53
+ </template>
54
+ </PCheckbox>
55
+ `,
56
+ };
57
+ },
58
+ args: {
59
+ modelValue: false,
60
+ disabled: false,
61
+ labelBefore: 'Test label',
62
+ },
63
+ };
@@ -1,13 +1,27 @@
1
1
  <template>
2
- <input
3
- type="checkbox"
4
- class="cursor-pointer accent-p-blue-50"
5
- :checked="modelValue"
6
- @change="$emit('update:modelValue', ($event.target as HTMLInputElement).checked)"
7
- />
2
+ <label class="inline-flex items-center">
3
+ <slot name="label-before"></slot>
4
+ <input
5
+ type="checkbox"
6
+ class="h-4 w-4 shrink-0 appearance-none rounded border border-p-gray-30 bg-surface duration-100 ease-in-out checked:border-none checked:bg-primary disabled:opacity-50"
7
+ :checked="modelValue"
8
+ v-bind="$attrs"
9
+ @change="$emit('update:modelValue', ($event.target as HTMLInputElement).checked)"
10
+ />
11
+ <slot name="label">
12
+ <div v-if="label" class="ml-2 text-sm">
13
+ {{ label }}
14
+ </div>
15
+ </slot>
16
+ </label>
8
17
  </template>
9
18
 
10
19
  <script setup lang="ts">
20
+ defineOptions({
21
+ name: 'PCheckbox',
22
+ inheritAttrs: false,
23
+ });
24
+
11
25
  defineEmits(['update:modelValue']);
12
26
 
13
27
  defineProps({
@@ -15,5 +29,15 @@ defineProps({
15
29
  type: Boolean,
16
30
  default: false,
17
31
  },
32
+ label: {
33
+ type: String,
34
+ default: '',
35
+ },
18
36
  });
19
37
  </script>
38
+
39
+ <style lang="css" scoped>
40
+ input[type='checkbox']:checked {
41
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
42
+ }
43
+ </style>
@@ -1,24 +0,0 @@
1
- "use strict";
2
- const vue = require("vue");
3
- const _hoisted_1 = ["checked"];
4
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
5
- __name: "p-checkbox",
6
- props: {
7
- modelValue: {
8
- type: Boolean,
9
- default: false
10
- }
11
- },
12
- emits: ["update:modelValue"],
13
- setup(__props) {
14
- return (_ctx, _cache) => {
15
- return vue.openBlock(), vue.createElementBlock("input", {
16
- type: "checkbox",
17
- class: "cursor-pointer accent-p-blue-50",
18
- checked: __props.modelValue,
19
- onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked))
20
- }, null, 40, _hoisted_1);
21
- };
22
- }
23
- });
24
- exports._sfc_main = _sfc_main;
@@ -1,25 +0,0 @@
1
- import { defineComponent, openBlock, createElementBlock } from "vue";
2
- const _hoisted_1 = ["checked"];
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "p-checkbox",
5
- props: {
6
- modelValue: {
7
- type: Boolean,
8
- default: false
9
- }
10
- },
11
- emits: ["update:modelValue"],
12
- setup(__props) {
13
- return (_ctx, _cache) => {
14
- return openBlock(), createElementBlock("input", {
15
- type: "checkbox",
16
- class: "cursor-pointer accent-p-blue-50",
17
- checked: __props.modelValue,
18
- onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked))
19
- }, null, 40, _hoisted_1);
20
- };
21
- }
22
- });
23
- export {
24
- _sfc_main as _
25
- };