@univerjs/preset-sheets-filter 0.25.0 → 1.0.0-alpha.0

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.
Files changed (112) hide show
  1. package/README.md +3 -3
  2. package/lib/cjs/index.js +26 -1
  3. package/lib/cjs/locales/ar-SA.js +11 -1
  4. package/lib/cjs/locales/ca-ES.js +11 -1
  5. package/lib/cjs/locales/de-DE.js +11 -1
  6. package/lib/cjs/locales/en-US.js +11 -1
  7. package/lib/cjs/locales/es-ES.js +11 -1
  8. package/lib/cjs/locales/fa-IR.js +11 -1
  9. package/lib/cjs/locales/fr-FR.js +11 -1
  10. package/lib/cjs/locales/id-ID.js +11 -1
  11. package/lib/cjs/locales/it-IT.js +11 -1
  12. package/lib/cjs/locales/ja-JP.js +11 -1
  13. package/lib/cjs/locales/ko-KR.js +11 -1
  14. package/lib/cjs/locales/pl-PL.js +11 -1
  15. package/lib/cjs/locales/pt-BR.js +11 -1
  16. package/lib/cjs/locales/ru-RU.js +11 -1
  17. package/lib/cjs/locales/sk-SK.js +11 -1
  18. package/lib/cjs/locales/vi-VN.js +11 -1
  19. package/lib/cjs/locales/zh-CN.js +11 -1
  20. package/lib/cjs/locales/zh-HK.js +11 -1
  21. package/lib/cjs/locales/zh-TW.js +11 -1
  22. package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
  23. package/lib/cjs/worker.js +10 -1
  24. package/lib/es/index.js +15 -16
  25. package/lib/es/locales/ar-SA.js +8 -10
  26. package/lib/es/locales/ca-ES.js +8 -10
  27. package/lib/es/locales/de-DE.js +8 -10
  28. package/lib/es/locales/en-US.js +8 -10
  29. package/lib/es/locales/es-ES.js +8 -10
  30. package/lib/es/locales/fa-IR.js +8 -10
  31. package/lib/es/locales/fr-FR.js +8 -10
  32. package/lib/es/locales/id-ID.js +8 -10
  33. package/lib/es/locales/it-IT.js +8 -10
  34. package/lib/es/locales/ja-JP.js +8 -10
  35. package/lib/es/locales/ko-KR.js +8 -10
  36. package/lib/es/locales/pl-PL.js +8 -10
  37. package/lib/es/locales/pt-BR.js +8 -10
  38. package/lib/es/locales/ru-RU.js +8 -10
  39. package/lib/es/locales/sk-SK.js +8 -10
  40. package/lib/es/locales/vi-VN.js +8 -10
  41. package/lib/es/locales/zh-CN.js +8 -10
  42. package/lib/es/locales/zh-HK.js +8 -10
  43. package/lib/es/locales/zh-TW.js +8 -10
  44. package/lib/es/worker.js +8 -10
  45. package/lib/index.css +393 -1
  46. package/lib/index.js +15 -16
  47. package/lib/locales/ar-SA.js +8 -10
  48. package/lib/locales/ca-ES.js +8 -10
  49. package/lib/locales/de-DE.js +8 -10
  50. package/lib/locales/en-US.js +8 -10
  51. package/lib/locales/es-ES.js +8 -10
  52. package/lib/locales/fa-IR.js +8 -10
  53. package/lib/locales/fr-FR.js +8 -10
  54. package/lib/locales/id-ID.js +8 -10
  55. package/lib/locales/it-IT.js +8 -10
  56. package/lib/locales/ja-JP.js +8 -10
  57. package/lib/locales/ko-KR.js +8 -10
  58. package/lib/locales/pl-PL.js +8 -10
  59. package/lib/locales/pt-BR.js +8 -10
  60. package/lib/locales/ru-RU.js +8 -10
  61. package/lib/locales/sk-SK.js +8 -10
  62. package/lib/locales/vi-VN.js +8 -10
  63. package/lib/locales/zh-CN.js +8 -10
  64. package/lib/locales/zh-HK.js +8 -10
  65. package/lib/locales/zh-TW.js +8 -10
  66. package/lib/types/index.d.ts +16 -1
  67. package/lib/types/locales/ar-SA.d.ts +83 -1
  68. package/lib/types/locales/ca-ES.d.ts +83 -1
  69. package/lib/types/locales/de-DE.d.ts +83 -1
  70. package/lib/types/locales/en-US.d.ts +83 -1
  71. package/lib/types/locales/es-ES.d.ts +83 -1
  72. package/lib/types/locales/fa-IR.d.ts +83 -1
  73. package/lib/types/locales/fr-FR.d.ts +83 -1
  74. package/lib/types/locales/id-ID.d.ts +83 -1
  75. package/lib/types/locales/it-IT.d.ts +83 -1
  76. package/lib/types/locales/ja-JP.d.ts +83 -1
  77. package/lib/types/locales/ko-KR.d.ts +83 -1
  78. package/lib/types/locales/pl-PL.d.ts +83 -1
  79. package/lib/types/locales/pt-BR.d.ts +83 -1
  80. package/lib/types/locales/ru-RU.d.ts +83 -1
  81. package/lib/types/locales/sk-SK.d.ts +83 -1
  82. package/lib/types/locales/vi-VN.d.ts +83 -1
  83. package/lib/types/locales/zh-CN.d.ts +83 -1
  84. package/lib/types/locales/zh-HK.d.ts +83 -1
  85. package/lib/types/locales/zh-TW.d.ts +83 -1
  86. package/lib/types/preset.d.ts +22 -0
  87. package/lib/types/worker.d.ts +16 -1
  88. package/lib/worker.js +8 -10
  89. package/package.json +14 -16
  90. package/lib/types/types.d.ts +0 -11
  91. package/lib/types/umd.d.ts +0 -8
  92. package/lib/umd/index.js +0 -17
  93. package/lib/umd/locales/ar-SA.js +0 -8
  94. package/lib/umd/locales/ca-ES.js +0 -8
  95. package/lib/umd/locales/de-DE.js +0 -8
  96. package/lib/umd/locales/en-US.js +0 -8
  97. package/lib/umd/locales/es-ES.js +0 -8
  98. package/lib/umd/locales/fa-IR.js +0 -8
  99. package/lib/umd/locales/fr-FR.js +0 -8
  100. package/lib/umd/locales/id-ID.js +0 -8
  101. package/lib/umd/locales/it-IT.js +0 -8
  102. package/lib/umd/locales/ja-JP.js +0 -8
  103. package/lib/umd/locales/ko-KR.js +0 -8
  104. package/lib/umd/locales/pl-PL.js +0 -8
  105. package/lib/umd/locales/pt-BR.js +0 -8
  106. package/lib/umd/locales/ru-RU.js +0 -8
  107. package/lib/umd/locales/sk-SK.js +0 -8
  108. package/lib/umd/locales/vi-VN.js +0 -8
  109. package/lib/umd/locales/zh-CN.js +0 -8
  110. package/lib/umd/locales/zh-HK.js +0 -8
  111. package/lib/umd/locales/zh-TW.js +0 -8
  112. package/lib/umd/worker.js +0 -1
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/pl-PL";
3
- import t from "@univerjs/sheets-filter-ui/locale/pl-PL";
4
- const m = e(
5
- r,
6
- t
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/pl-PL";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/pl-PL";
3
+
4
+ //#region src/locales/pl-PL.ts
5
+ var pl_PL_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { pl_PL_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/pt-BR";
3
- import t from "@univerjs/sheets-filter-ui/locale/pt-BR";
4
- const m = e(
5
- r,
6
- t
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/pt-BR";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/pt-BR";
3
+
4
+ //#region src/locales/pt-BR.ts
5
+ var pt_BR_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { pt_BR_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/ru-RU";
3
- import t from "@univerjs/sheets-filter-ui/locale/ru-RU";
4
- const m = e(
5
- r,
6
- t
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/ru-RU";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/ru-RU";
3
+
4
+ //#region src/locales/ru-RU.ts
5
+ var ru_RU_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { ru_RU_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/sk-SK";
3
- import s from "@univerjs/sheets-filter-ui/locale/sk-SK";
4
- const m = e(
5
- r,
6
- s
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/sk-SK";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/sk-SK";
3
+
4
+ //#region src/locales/sk-SK.ts
5
+ var sk_SK_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { sk_SK_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/vi-VN";
3
- import t from "@univerjs/sheets-filter-ui/locale/vi-VN";
4
- const m = e(
5
- r,
6
- t
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/vi-VN";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/vi-VN";
3
+
4
+ //#region src/locales/vi-VN.ts
5
+ var vi_VN_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { vi_VN_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/zh-CN";
3
- import t from "@univerjs/sheets-filter-ui/locale/zh-CN";
4
- const m = e(
5
- r,
6
- t
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/zh-CN";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/zh-CN";
3
+
4
+ //#region src/locales/zh-CN.ts
5
+ var zh_CN_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { zh_CN_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/zh-HK";
3
- import t from "@univerjs/sheets-filter-ui/locale/zh-HK";
4
- const m = e(
5
- r,
6
- t
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/zh-HK";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/zh-HK";
3
+
4
+ //#region src/locales/zh-HK.ts
5
+ var zh_HK_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { zh_HK_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/zh-TW";
3
- import t from "@univerjs/sheets-filter-ui/locale/zh-TW";
4
- const m = e(
5
- r,
6
- t
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/zh-TW";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/zh-TW";
3
+
4
+ //#region src/locales/zh-TW.ts
5
+ var zh_TW_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { zh_TW_default as default };
package/lib/es/worker.js CHANGED
@@ -1,11 +1,9 @@
1
- import { UniverSheetsFilterPlugin as e } from "@univerjs/sheets-filter";
2
- function t() {
3
- return {
4
- plugins: [
5
- e
6
- ]
7
- };
1
+ import { UniverSheetsFilterPlugin } from "@univerjs/sheets-filter";
2
+
3
+ //#region src/worker.ts
4
+ function UniverSheetsFilterWorkerPreset() {
5
+ return { plugins: [UniverSheetsFilterPlugin] };
8
6
  }
9
- export {
10
- t as UniverSheetsFilterWorkerPreset
11
- };
7
+
8
+ //#endregion
9
+ export { UniverSheetsFilterWorkerPreset };
package/lib/index.css CHANGED
@@ -1 +1,393 @@
1
- .univer-absolute{position:absolute}.univer-relative{position:relative}.-univer-bottom-0\.5{bottom:-.125rem}.-univer-right-0\.5{right:-.125rem}.univer-mx-1{margin-left:.25rem;margin-right:.25rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-ml-1{margin-left:.25rem}.univer-mt-2{margin-top:.5rem}.univer-mt-4{margin-top:1rem}.univer-box-border{box-sizing:border-box}.univer-block{display:block}.univer-inline-block{display:inline-block}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-hidden{display:none}.univer-size-3{width:.75rem;height:.75rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-size-full{width:100%;height:100%}.univer-h-4{height:1rem}.univer-h-5{height:1.25rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-\[300px\]{height:300px}.univer-h-full{height:100%}.univer-max-h-\[500px\]{max-height:500px}.univer-min-h-\[300px\]{min-height:300px}.univer-w-\[400px\]{width:400px}.univer-w-full{width:100%}.univer-flex-1{flex:1}.univer-flex-shrink{flex-shrink:1}.univer-flex-shrink-0{flex-shrink:0}.univer-flex-grow{flex-grow:1}.univer-flex-grow-0{flex-grow:0}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.univer-flex-col{flex-direction:column}.univer-flex-nowrap{flex-wrap:nowrap}.univer-items-center{align-items:center}.univer-justify-start{justify-content:flex-start}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2{gap:.5rem}.univer-gap-4{gap:1rem}.univer-overflow-auto{overflow:auto}.univer-overflow-hidden{overflow:hidden}.univer-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.univer-whitespace-nowrap{white-space:nowrap}.univer-rounded-full{border-radius:9999px}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-solid{border-style:solid}.univer-border-\[rgba\(13\,13\,13\,0\.06\)\]{border-color:#0d0d0d0f}.univer-border-transparent{border-color:#0000}.univer-bg-gray-300{background-color:var(--univer-gray-300)}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0\.5{padding:.125rem}.univer-p-2{padding:.5rem}.univer-p-4{padding:1rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-py-0{padding-top:0;padding-bottom:0}.univer-py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.univer-py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.univer-pl-5{padding-left:1.25rem}.univer-pr-0\.5{padding-right:.125rem}.univer-pr-2{padding-right:.5rem}.univer-pt-2{padding-top:.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-bold{font-weight:700}.univer-text-\[\#418F1F\]{--univer-tw-text-opacity: 1;color:rgba(65,143,31,var(--univer-tw-text-opacity, 1))}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-primary-500{color:var(--univer-primary-500)}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.univer-transition-shadow{transition-property:box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:univer-bg-gray-50:hover{background-color:var(--univer-gray-50)}.hover\:univer-ring-2:hover{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 #0000)}.hover\:univer-ring-offset-2:hover{--univer-tw-ring-offset-width: 2px}.hover\:univer-ring-offset-white:hover{--univer-tw-ring-offset-color: var(--univer-white)}.dark\:\!univer-border-\[rgba\(255\,255\,255\,0\.06\)\]:where(.univer-dark,.univer-dark *){border-color:#ffffff0f!important}.dark\:\!univer-border-gray-600:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-600)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-gray-500:where(.univer-dark,.univer-dark *){color:var(--univer-gray-500)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-900:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.\[\&\:hover_a\]\:univer-inline-block:hover a{display:inline-block}
1
+ .univer-absolute {
2
+ position: absolute;
3
+ }
4
+
5
+ .univer-relative {
6
+ position: relative;
7
+ }
8
+
9
+ .-univer-bottom-0\.5 {
10
+ bottom: -.125rem;
11
+ }
12
+
13
+ .-univer-right-0\.5 {
14
+ right: -.125rem;
15
+ }
16
+
17
+ .univer-mx-1 {
18
+ margin-left: .25rem;
19
+ margin-right: .25rem;
20
+ }
21
+
22
+ .univer-mb-1 {
23
+ margin-bottom: .25rem;
24
+ }
25
+
26
+ .univer-mb-2 {
27
+ margin-bottom: .5rem;
28
+ }
29
+
30
+ .univer-ml-1 {
31
+ margin-left: .25rem;
32
+ }
33
+
34
+ .univer-mt-2 {
35
+ margin-top: .5rem;
36
+ }
37
+
38
+ .univer-mt-4 {
39
+ margin-top: 1rem;
40
+ }
41
+
42
+ .univer-box-border {
43
+ box-sizing: border-box;
44
+ }
45
+
46
+ .univer-block {
47
+ display: block;
48
+ }
49
+
50
+ .univer-inline-block {
51
+ display: inline-block;
52
+ }
53
+
54
+ .univer-flex {
55
+ display: flex;
56
+ }
57
+
58
+ .univer-inline-flex {
59
+ display: inline-flex;
60
+ }
61
+
62
+ .univer-grid {
63
+ display: grid;
64
+ }
65
+
66
+ .univer-hidden {
67
+ display: none;
68
+ }
69
+
70
+ .univer-size-3 {
71
+ width: .75rem;
72
+ height: .75rem;
73
+ }
74
+
75
+ .univer-size-6 {
76
+ width: 1.5rem;
77
+ height: 1.5rem;
78
+ }
79
+
80
+ .univer-size-full {
81
+ width: 100%;
82
+ height: 100%;
83
+ }
84
+
85
+ .univer-h-4 {
86
+ height: 1rem;
87
+ }
88
+
89
+ .univer-h-5 {
90
+ height: 1.25rem;
91
+ }
92
+
93
+ .univer-h-7 {
94
+ height: 1.75rem;
95
+ }
96
+
97
+ .univer-h-8 {
98
+ height: 2rem;
99
+ }
100
+
101
+ .univer-h-\[300px\] {
102
+ height: 300px;
103
+ }
104
+
105
+ .univer-h-full {
106
+ height: 100%;
107
+ }
108
+
109
+ .univer-max-h-\[500px\] {
110
+ max-height: 500px;
111
+ }
112
+
113
+ .univer-min-h-\[300px\] {
114
+ min-height: 300px;
115
+ }
116
+
117
+ .univer-w-\[400px\] {
118
+ width: 400px;
119
+ }
120
+
121
+ .univer-w-full {
122
+ width: 100%;
123
+ }
124
+
125
+ .univer-flex-1 {
126
+ flex: 1;
127
+ }
128
+
129
+ .univer-flex-shrink {
130
+ flex-shrink: 1;
131
+ }
132
+
133
+ .univer-flex-shrink-0 {
134
+ flex-shrink: 0;
135
+ }
136
+
137
+ .univer-flex-grow {
138
+ flex-grow: 1;
139
+ }
140
+
141
+ .univer-flex-grow-0 {
142
+ flex-grow: 0;
143
+ }
144
+
145
+ .univer-cursor-pointer {
146
+ cursor: pointer;
147
+ }
148
+
149
+ .univer-grid-cols-8 {
150
+ grid-template-columns: repeat(8, minmax(0, 1fr));
151
+ }
152
+
153
+ .univer-flex-col {
154
+ flex-direction: column;
155
+ }
156
+
157
+ .univer-flex-nowrap {
158
+ flex-wrap: nowrap;
159
+ }
160
+
161
+ .univer-items-center {
162
+ align-items: center;
163
+ }
164
+
165
+ .univer-justify-start {
166
+ justify-content: flex-start;
167
+ }
168
+
169
+ .univer-justify-center {
170
+ justify-content: center;
171
+ }
172
+
173
+ .univer-justify-between {
174
+ justify-content: space-between;
175
+ }
176
+
177
+ .univer-gap-1 {
178
+ gap: .25rem;
179
+ }
180
+
181
+ .univer-gap-2 {
182
+ gap: .5rem;
183
+ }
184
+
185
+ .univer-gap-4 {
186
+ gap: 1rem;
187
+ }
188
+
189
+ .univer-overflow-auto {
190
+ overflow: auto;
191
+ }
192
+
193
+ .univer-overflow-hidden {
194
+ overflow: hidden;
195
+ }
196
+
197
+ .univer-truncate {
198
+ text-overflow: ellipsis;
199
+ white-space: nowrap;
200
+ overflow: hidden;
201
+ }
202
+
203
+ .univer-whitespace-nowrap {
204
+ white-space: nowrap;
205
+ }
206
+
207
+ .univer-rounded-full {
208
+ border-radius: 9999px;
209
+ }
210
+
211
+ .univer-rounded-lg {
212
+ border-radius: .5rem;
213
+ }
214
+
215
+ .univer-rounded-md {
216
+ border-radius: .375rem;
217
+ }
218
+
219
+ .univer-border {
220
+ border-width: 1px;
221
+ }
222
+
223
+ .univer-border-solid {
224
+ border-style: solid;
225
+ }
226
+
227
+ .univer-border-\[rgba\(13\,13\,13\,0\.06\)\] {
228
+ border-color: #0d0d0d0f;
229
+ }
230
+
231
+ .univer-border-transparent {
232
+ border-color: #0000;
233
+ }
234
+
235
+ .univer-bg-gray-300 {
236
+ background-color: var(--univer-gray-300);
237
+ }
238
+
239
+ .univer-bg-white {
240
+ background-color: var(--univer-white);
241
+ }
242
+
243
+ .univer-p-0\.5 {
244
+ padding: .125rem;
245
+ }
246
+
247
+ .univer-p-2 {
248
+ padding: .5rem;
249
+ }
250
+
251
+ .univer-p-4 {
252
+ padding: 1rem;
253
+ }
254
+
255
+ .univer-px-1\.5 {
256
+ padding-left: .375rem;
257
+ padding-right: .375rem;
258
+ }
259
+
260
+ .univer-px-2 {
261
+ padding-left: .5rem;
262
+ padding-right: .5rem;
263
+ }
264
+
265
+ .univer-py-0 {
266
+ padding-top: 0;
267
+ padding-bottom: 0;
268
+ }
269
+
270
+ .univer-py-0\.5 {
271
+ padding-top: .125rem;
272
+ padding-bottom: .125rem;
273
+ }
274
+
275
+ .univer-py-2\.5 {
276
+ padding-top: .625rem;
277
+ padding-bottom: .625rem;
278
+ }
279
+
280
+ .univer-pl-5 {
281
+ padding-left: 1.25rem;
282
+ }
283
+
284
+ .univer-pr-0\.5 {
285
+ padding-right: .125rem;
286
+ }
287
+
288
+ .univer-pr-2 {
289
+ padding-right: .5rem;
290
+ }
291
+
292
+ .univer-pt-2 {
293
+ padding-top: .5rem;
294
+ }
295
+
296
+ .univer-text-sm {
297
+ font-size: .875rem;
298
+ line-height: 1.25rem;
299
+ }
300
+
301
+ .univer-text-xs {
302
+ font-size: .75rem;
303
+ line-height: 1rem;
304
+ }
305
+
306
+ .univer-font-bold {
307
+ font-weight: 700;
308
+ }
309
+
310
+ .univer-text-\[\#418F1F\] {
311
+ --univer-tw-text-opacity: 1;
312
+ color: rgba(65, 143, 31, var(--univer-tw-text-opacity, 1));
313
+ }
314
+
315
+ .univer-text-gray-400 {
316
+ color: var(--univer-gray-400);
317
+ }
318
+
319
+ .univer-text-gray-500 {
320
+ color: var(--univer-gray-500);
321
+ }
322
+
323
+ .univer-text-gray-900 {
324
+ color: var(--univer-gray-900);
325
+ }
326
+
327
+ .univer-text-primary-500 {
328
+ color: var(--univer-primary-500);
329
+ }
330
+
331
+ .univer-shadow-lg {
332
+ --univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;
333
+ --univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);
334
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px #1e284d0d, 0 10px 15px -3px #1e284d1a;
335
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
336
+ }
337
+
338
+ .univer-transition-shadow {
339
+ transition-property: box-shadow;
340
+ transition-duration: .15s;
341
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
342
+ }
343
+
344
+ .hover\:univer-bg-gray-50:hover {
345
+ background-color: var(--univer-gray-50);
346
+ }
347
+
348
+ .hover\:univer-ring-2:hover {
349
+ --univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);
350
+ --univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);
351
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
352
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
353
+ }
354
+
355
+ .hover\:univer-ring-offset-2:hover {
356
+ --univer-tw-ring-offset-width: 2px;
357
+ }
358
+
359
+ .hover\:univer-ring-offset-white:hover {
360
+ --univer-tw-ring-offset-color: var(--univer-white);
361
+ }
362
+
363
+ .dark\:\!univer-border-\[rgba\(255\,255\,255\,0\.06\)\]:where(.univer-dark, .univer-dark *) {
364
+ border-color: #ffffff0f !important;
365
+ }
366
+
367
+ .dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
368
+ border-color: var(--univer-gray-600) !important;
369
+ }
370
+
371
+ .dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
372
+ background-color: var(--univer-gray-700) !important;
373
+ }
374
+
375
+ .dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
376
+ color: var(--univer-gray-200) !important;
377
+ }
378
+
379
+ .dark\:\!univer-text-gray-500:where(.univer-dark, .univer-dark *) {
380
+ color: var(--univer-gray-500) !important;
381
+ }
382
+
383
+ .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
384
+ color: var(--univer-white) !important;
385
+ }
386
+
387
+ .dark\:hover\:\!univer-bg-gray-900:hover:where(.univer-dark, .univer-dark *) {
388
+ background-color: var(--univer-gray-900) !important;
389
+ }
390
+
391
+ .\[\&\:hover_a\]\:univer-inline-block:hover a {
392
+ display: inline-block;
393
+ }
package/lib/index.js CHANGED
@@ -1,17 +1,16 @@
1
- import { UniverSheetsFilterPlugin as i } from "@univerjs/sheets-filter";
2
- export * from "@univerjs/sheets-filter";
3
- import { UniverSheetsFilterUIPlugin as n } from "@univerjs/sheets-filter-ui";
4
- export * from "@univerjs/sheets-filter-ui";
5
- import "@univerjs/sheets-filter/lib/facade";
6
- function p(e = {}) {
7
- const { enableSyncSwitch: r } = e;
8
- return {
9
- plugins: [
10
- [i, { enableSyncSwitch: r }],
11
- n
12
- ].filter((t) => !!t)
13
- };
1
+ import { UniverSheetsFilterPlugin } from "@univerjs/sheets-filter";
2
+ import { UniverSheetsFilterUIPlugin } from "@univerjs/sheets-filter-ui";
3
+ import "@univerjs/sheets-filter/facade";
4
+
5
+ export * from "@univerjs/sheets-filter"
6
+
7
+ export * from "@univerjs/sheets-filter-ui"
8
+
9
+ //#region src/preset.ts
10
+ function UniverSheetsFilterPreset(config = {}) {
11
+ const { enableSyncSwitch } = config;
12
+ return { plugins: [[UniverSheetsFilterPlugin, { enableSyncSwitch }], UniverSheetsFilterUIPlugin].filter((v) => !!v) };
14
13
  }
15
- export {
16
- p as UniverSheetsFilterPreset
17
- };
14
+
15
+ //#endregion
16
+ export { UniverSheetsFilterPreset };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/ar-SA";
3
- import t from "@univerjs/sheets-filter-ui/locale/ar-SA";
4
- const m = e(
5
- r,
6
- t
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/ar-SA";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/ar-SA";
3
+
4
+ //#region src/locales/ar-SA.ts
5
+ var ar_SA_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { ar_SA_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/ca-ES";
3
- import t from "@univerjs/sheets-filter-ui/locale/ca-ES";
4
- const m = e(
5
- r,
6
- t
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/ca-ES";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/ca-ES";
3
+
4
+ //#region src/locales/ca-ES.ts
5
+ var ca_ES_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { ca_ES_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import r from "@univerjs/sheets-filter/locale/de-DE";
3
- import t from "@univerjs/sheets-filter-ui/locale/de-DE";
4
- const m = e(
5
- r,
6
- t
7
- );
8
- export {
9
- m as default
10
- };
1
+ import univerjssheetsfilter from "@univerjs/sheets-filter/locale/de-DE";
2
+ import univerjssheetsfilterui from "@univerjs/sheets-filter-ui/locale/de-DE";
3
+
4
+ //#region src/locales/de-DE.ts
5
+ var de_DE_default = Object.assign({}, univerjssheetsfilter, univerjssheetsfilterui);
6
+
7
+ //#endregion
8
+ export { de_DE_default as default };