agilebuilder-ui 1.1.65-tmp22 → 1.1.65-tmp24

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 (81) hide show
  1. package/dist/index.full.min.js +462 -281
  2. package/dist/style.css +181 -175
  3. package/es/chat-embed/src/chat-sender.vue.mjs +1 -1
  4. package/es/chat-embed/src/chat-sender.vue2.mjs +26 -28
  5. package/es/chat-embed/src/index.vue.mjs +1 -1
  6. package/es/chat-embed/src/index.vue2.mjs +29 -29
  7. package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +68 -68
  8. package/es/department-tree-mobile/src/department-tree-service.mjs +20 -18
  9. package/es/department-tree-mobile/src/dept-result.vue.mjs +12 -11
  10. package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +3 -3
  11. package/es/department-user-tree-inline/src/department-user-tree-inline.vue.mjs +6 -6
  12. package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +1 -1
  13. package/es/fs-preview/src/fs-preview.vue.mjs +26 -18
  14. package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +1 -1
  15. package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.mjs +1 -1
  16. package/es/index.mjs +7 -5
  17. package/es/src/components/Card/index.mjs +34 -31
  18. package/es/src/components/Scrollbar/index.vue.mjs +6 -6
  19. package/es/src/i18n/langs/cn.mjs +1 -1
  20. package/es/src/i18n/langs/en.mjs +1 -1
  21. package/es/src/utils/common-util.mjs +47 -39
  22. package/es/style.css +879 -873
  23. package/es/super-grid/src/apis.mjs +199 -173
  24. package/es/super-grid/src/components/mobile-table-card.mjs +53 -53
  25. package/es/super-grid/src/normal-column-content.vue.mjs +12 -12
  26. package/es/super-grid/src/normal-column.vue.mjs +4 -5
  27. package/es/super-grid/src/search-button.vue.mjs +4 -2
  28. package/es/super-grid/src/search-form-dialog.vue.mjs +22 -11
  29. package/es/super-grid/src/search-form-item.vue.mjs +5 -5
  30. package/es/super-grid/src/search-form-mobile.vue.mjs +19 -19
  31. package/es/super-grid/src/search-form-open.vue.mjs +5 -3
  32. package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +3 -1
  33. package/es/super-grid/src/search-form.vue.mjs +19 -13
  34. package/es/super-grid/src/super-grid.vue.mjs +271 -209
  35. package/es/super-grid/src/utils.mjs +346 -300
  36. package/es/utils/organization.mjs +24 -11
  37. package/lib/chat-embed/src/chat-sender.vue.cjs +1 -1
  38. package/lib/chat-embed/src/chat-sender.vue2.cjs +44 -46
  39. package/lib/chat-embed/src/index.vue.cjs +1 -1
  40. package/lib/chat-embed/src/index.vue2.cjs +14 -14
  41. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +58 -58
  42. package/lib/department-tree-mobile/src/department-tree-service.cjs +10 -8
  43. package/lib/department-tree-mobile/src/dept-result.vue.cjs +10 -10
  44. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +16 -16
  45. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +5 -5
  46. package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +1 -1
  47. package/lib/fs-preview/src/fs-preview.vue.cjs +13 -5
  48. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +1 -1
  49. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +13 -13
  50. package/lib/index.cjs +7 -7
  51. package/lib/src/components/Card/index.cjs +14 -11
  52. package/lib/src/components/Scrollbar/index.vue.cjs +2 -2
  53. package/lib/src/i18n/langs/cn.cjs +1 -1
  54. package/lib/src/i18n/langs/en.cjs +1 -1
  55. package/lib/src/utils/common-util.cjs +24 -17
  56. package/lib/style.css +915 -909
  57. package/lib/super-grid/src/apis.cjs +190 -164
  58. package/lib/super-grid/src/components/mobile-table-card.cjs +37 -37
  59. package/lib/super-grid/src/normal-column-content.vue.cjs +2 -2
  60. package/lib/super-grid/src/normal-column.vue.cjs +10 -11
  61. package/lib/super-grid/src/search-button.vue.cjs +3 -1
  62. package/lib/super-grid/src/search-form-dialog.vue.cjs +19 -8
  63. package/lib/super-grid/src/search-form-item.vue.cjs +2 -2
  64. package/lib/super-grid/src/search-form-mobile.vue.cjs +7 -7
  65. package/lib/super-grid/src/search-form-open.vue.cjs +7 -5
  66. package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +3 -1
  67. package/lib/super-grid/src/search-form.vue.cjs +15 -10
  68. package/lib/super-grid/src/super-grid.vue.cjs +220 -158
  69. package/lib/super-grid/src/utils.cjs +349 -274
  70. package/lib/utils/organization.cjs +35 -24
  71. package/package.json +1 -1
  72. package/src/components/Card/index.jsx +12 -2
  73. package/src/components/Scrollbar/index.vue +165 -154
  74. package/src/i18n/langs/cn.js +10 -2
  75. package/src/i18n/langs/en.js +10 -2
  76. package/src/styles/index.scss +9 -2
  77. package/src/styles/theme/default.scss +18 -13
  78. package/src/styles/theme/tiffany-blue-mobile/home.scss +44 -1
  79. package/src/utils/auth-api.js +1 -0
  80. package/src/utils/common-util.js +13 -0
  81. package/vite.config.js +0 -45
@@ -2,7 +2,8 @@
2
2
 
3
3
  // 版心
4
4
  .type_center {
5
- padding: 0 10px
5
+ // padding: 0 20px;
6
+ background: #FFFFFF;
6
7
  }
7
8
 
8
9
  .bg_circle {
@@ -208,4 +209,46 @@
208
209
  color: #fff;
209
210
  }
210
211
  }
212
+
213
+ .mobile-home-box {
214
+ z-index: 1;
215
+
216
+ /* WebKit 浏览器 */
217
+ &::-webkit-scrollbar {
218
+ width: 8px;
219
+ /* 垂直滚动条宽度 */
220
+ height: 8px;
221
+ /* 水平滚动条高度 */
222
+ }
223
+
224
+ &::-webkit-scrollbar-thumb {
225
+ background: rgba(0, 0, 0, 0.2);
226
+ border-radius: 4px;
227
+ }
228
+
229
+ &::-webkit-scrollbar-track {
230
+ background: transparent;
231
+ }
232
+
233
+ /* Firefox */
234
+ scrollbar-width: thin;
235
+ /* 可选值:auto | thin | none */
236
+ scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
237
+ }
238
+
239
+ .mobile-function-box {
240
+ position: relative;
241
+ background: #FFFFFF;
242
+ box-shadow: 0px 4px 10px 0px rgba(204, 204, 204, 0.25);
243
+ border-radius: 10px 10px 10px 10px;
244
+ }
245
+ }
246
+
247
+ /* 平台优先级样式 */
248
+ body.platform-ios .tiffany-blue-mobile .type_center {
249
+ padding: 0 10pt;
250
+ }
251
+
252
+ body.platform-android .tiffany-blue-mobile .type_center {
253
+ padding: 0 10px;
211
254
  }
@@ -217,6 +217,7 @@ function getSystemCacheFrontendUrlByCode(systemCode) {
217
217
  }
218
218
  }
219
219
 
220
+
220
221
  function getSystemCacheUrl() {
221
222
  // let systemUrlJson = getCookieCache(currentSystemUrlKey)
222
223
  // if (!systemUrlJson) {
@@ -830,6 +830,19 @@ export function cacheSystemUrl() {
830
830
  }
831
831
  })
832
832
  }
833
+
834
+ export function getCacheSystemUrlWithSystemCode(systemCode) {
835
+ return new Promise((resolve, reject) => {
836
+ const systemUrls = window.$authApi.getSystemCacheUrl()
837
+ if (!systemUrls) {
838
+ cacheSystemUrl().then(()=>{
839
+ resolve(window.$authApi.getSystemCacheFrontendUrlByCode(systemCode))
840
+ })
841
+ } else {
842
+ resolve(window.$authApi.getSystemCacheFrontendUrlByCode(systemCode))
843
+ }
844
+ })
845
+ }
833
846
  /**
834
847
  * 登录源是哪种方式,例如:portal、dingtalk、weixin、mobile等
835
848
  */
package/vite.config.js CHANGED
@@ -99,50 +99,5 @@ export default defineConfig(({ mode }) => ({
99
99
  '@': fileURLToPath(new URL('./src', import.meta.url))
100
100
  }
101
101
  }
102
-
103
- // plugins: [
104
- // vue(),
105
- // vueJsx(),
106
- // terser({
107
- // compress: {
108
- // drop_debugger: ['production'].includes(mode),
109
- // pure_funcs: ['production'].includes(mode) ? ['console.log', 'console.info', 'console.warn', 'console.debug'] : [],
110
- // },
111
- // output: {
112
- // // 对于console.error,不做任何处理
113
- // comments: (node, comment) => comment.type === 'error'
114
- // }
115
- // })
116
- // ],
117
- // build: {
118
- // outDir: "lib", //输出文件名称
119
- // lib: {
120
- // entry: path.resolve(__dirname, "./packages/index.js"), //指定组件编译入口文件
121
- // name: "super-ui", // 打包js 名称
122
- // fileName: "super-ui",
123
- // }, //库编译模式配置
124
- // rollupOptions: {
125
- // // 确保外部化处理那些你不想打包进库的依赖
126
- // external: ["vue", "jsx"],
127
- // output: {
128
- // // 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量
129
- // globals: {
130
- // vue: "Vue",
131
- // },
132
- // // 定义生成css的名称
133
- // assetFileNames: (assetInfo) => {
134
- // if (assetInfo.name == 'style.css')
135
- // return 'super-ui.css'; // 打包的css名称
136
- // return assetInfo.name;
137
- // },
138
- // },
139
- // }, // rollup打包配置
140
- // sourcemap: mode === 'development'
141
- // },
142
- // // ...其他配置项
143
- // resolve: {
144
- // // 忽略后缀名的配置选项, 添加 .vue 选项时要记得原本默认忽略的选项也要手动写入
145
- // extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
146
- // }
147
102
  }));
148
103