@univerjs/preset-sheets-table 0.25.1 → 1.0.0-alpha.1

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