@univerjs/sheets-sort-ui 0.2.15 → 0.3.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.
package/lib/es/index.js CHANGED
@@ -2,15 +2,15 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value;
3
3
  var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key != "symbol" ? key + "" : key, value);
5
- import { useDependency, LocaleService, Disposable, UniverInstanceType, OnLifecycle, LifecycleStages, Inject, Tools, LocaleType, IUniverInstanceService, ILogService, ICommandService, CommandType, throttle, RxDisposable, connectInjector, Injector, Plugin, DependentOn, IConfigService } from "@univerjs/core";
6
- import { SortType, SheetsSortService, SortRangeCommand, UniverSheetsSortPlugin } from "@univerjs/sheets-sort";
7
- import { getPrimaryForRange, SetSelectionsOperation, expandToContinuousRange, SheetsSelectionsService, getSheetCommandTarget, WorkbookEditablePermission, WorksheetSortPermission, WorksheetEditPermission, RangeProtectionPermissionEditPoint } from "@univerjs/sheets";
5
+ import { useDependency, LocaleService, OnLifecycle, LifecycleStages, Inject, Disposable, UniverInstanceType, IUniverInstanceService, ILogService, ICommandService, Tools, LocaleType, CommandType, throttle, Injector, RxDisposable, connectInjector, DependentOn, Plugin, IConfigService } from "@univerjs/core";
6
+ import { SheetsSortService, SortType, SortRangeCommand, UniverSheetsSortPlugin } from "@univerjs/sheets-sort";
7
+ import { SheetsSelectionsService, getPrimaryForRange, SetSelectionsOperation, expandToContinuousRange, getSheetCommandTarget, WorkbookEditablePermission, WorksheetSortPermission, WorksheetEditPermission, RangeProtectionPermissionEditPoint } from "@univerjs/sheets";
8
8
  import React, { useState, forwardRef, useRef, createElement, useCallback, useEffect } from "react";
9
9
  import { IConfirmService, MenuItemType, getMenuHiddenObservable, RibbonStartGroup, ContextMenuPosition, ContextMenuGroup, ComponentManager, IMenuManagerService, IDialogService, ILayoutService, IUIPartsService } from "@univerjs/ui";
10
10
  import { BehaviorSubject, takeUntil } from "rxjs";
11
11
  import { RadioGroup, Radio, Checkbox, DraggableList, Button, Dropdown } from "@univerjs/design";
12
12
  import { serializeRange } from "@univerjs/engine-formula";
13
- import { getCurrentRangeDisable$, getCurrentExclusiveRangeInterest$, SheetsUIPart, SheetsRenderService } from "@univerjs/sheets-ui";
13
+ import { getCurrentRangeDisable$, getCurrentExclusiveRangeInterest$, SheetsRenderService, SheetsUIPart } from "@univerjs/sheets-ui";
14
14
  const extendConfirmContent = "univer-extend-confirm-content", extendConfirmRadioGroup = "univer-extend-confirm-radio-group", customSortPanelContainer = "univer-custom-sort-panel-container", customSortPanelExt = "univer-custom-sort-panel-ext", addCondition = "univer-add-condition", addConditionText = "univer-add-condition-text", addConditionDisable = "univer-add-condition-disable", customSortPanelFooter = "univer-custom-sort-panel-footer", customSortPanelFooterBtn = "univer-custom-sort-panel-footer-btn", customSortPanelItem = "univer-custom-sort-panel-item", customSortPanelItemHead = "univer-custom-sort-panel-item-head", customSortPanelItemHandler = "univer-custom-sort-panel-item-handler", customSortPanelItemRemove = "univer-custom-sort-panel-item-remove", customSortPanelItemColumnInput = "univer-custom-sort-panel-item-column-input", customSortPanelItemColumnInputDropdown = "univer-custom-sort-panel-item-column-input-dropdown", customSortPanelItemColumnInputText = "univer-custom-sort-panel-item-column-input-text", customSortPanelItemOrderRadio = "univer-custom-sort-panel-item-order-radio", customSortPanelItemOrderRadioCn = "univer-custom-sort-panel-item-order-radio-cn", conditionList = "univer-condition-list", embedSortBtnContainer = "univer-embed-sort-btn-container", embedSortBtn = "univer-embed-sort-btn", embedSortBtnAsc = "univer-embed-sort-btn-asc", embedSortBtnDesc = "univer-embed-sort-btn-desc", embedSortBtnIcon = "univer-embed-sort-btn-icon", customSortColMenu = "univer-custom-sort-col-menu", customSortColMenuItem = "univer-custom-sort-col-menu-item", customSortColMenuItemDesc = "univer-custom-sort-col-menu-item-desc", styles = {
15
15
  extendConfirmContent,
16
16
  extendConfirmRadioGroup,
@@ -14,4 +14,4 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export { UniverSheetsSortUIPlugin } from './plugin';
17
- export { SortRangeAscCommand, SortRangeAscExtCommand, SortRangeDescCommand, SortRangeDescExtCommand, SortRangeCustomCommand, SortRangeAscInCtxMenuCommand, SortRangeAscExtInCtxMenuCommand, SortRangeDescInCtxMenuCommand, SortRangeDescExtInCtxMenuCommand, SortRangeCustomInCtxMenuCommand, } from './commands/commands/sheets-sort.command';
17
+ export { SortRangeAscCommand, SortRangeAscExtCommand, SortRangeAscExtInCtxMenuCommand, SortRangeAscInCtxMenuCommand, SortRangeCustomCommand, SortRangeCustomInCtxMenuCommand, SortRangeDescCommand, SortRangeDescExtCommand, SortRangeDescExtInCtxMenuCommand, SortRangeDescInCtxMenuCommand, } from './commands/commands/sheets-sort.command';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/sheets-sort-ui",
3
- "version": "0.2.15",
3
+ "version": "0.3.0-alpha.0",
4
4
  "private": false,
5
5
  "description": "Univer Sheets Sort UI",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -18,9 +18,6 @@
18
18
  "url": "https://github.com/dream-num/univer/issues"
19
19
  },
20
20
  "keywords": [],
21
- "sideEffects": [
22
- "**/*.css"
23
- ],
24
21
  "exports": {
25
22
  ".": {
26
23
  "import": "./lib/es/index.js",
@@ -50,34 +47,34 @@
50
47
  "peerDependencies": {
51
48
  "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
52
49
  "rxjs": ">=7.0.0",
53
- "@univerjs/design": "0.2.15",
54
- "@univerjs/core": "0.2.15",
55
- "@univerjs/engine-formula": "0.2.15",
56
- "@univerjs/sheets": "0.2.15",
57
- "@univerjs/sheets-sort": "0.2.15",
58
- "@univerjs/ui": "0.2.15",
59
- "@univerjs/sheets-ui": "0.2.15"
50
+ "@univerjs/core": "0.3.0-alpha.0",
51
+ "@univerjs/engine-formula": "0.3.0-alpha.0",
52
+ "@univerjs/sheets": "0.3.0-alpha.0",
53
+ "@univerjs/design": "0.3.0-alpha.0",
54
+ "@univerjs/sheets-sort": "0.3.0-alpha.0",
55
+ "@univerjs/ui": "0.3.0-alpha.0",
56
+ "@univerjs/sheets-ui": "0.3.0-alpha.0"
60
57
  },
61
58
  "dependencies": {
62
59
  "@univerjs/icons": "^0.1.78",
63
60
  "clsx": "^2.1.1",
64
61
  "rc-virtual-list": "^3.14.5",
65
- "@univerjs/core": "0.2.15",
66
- "@univerjs/sheets": "0.2.15",
67
- "@univerjs/sheets-sort": "0.2.15",
68
- "@univerjs/sheets-ui": "0.2.15",
69
- "@univerjs/ui": "0.2.15",
70
- "@univerjs/design": "0.2.15",
71
- "@univerjs/engine-render": "0.2.15"
62
+ "@univerjs/core": "0.3.0-alpha.0",
63
+ "@univerjs/design": "0.3.0-alpha.0",
64
+ "@univerjs/sheets": "0.3.0-alpha.0",
65
+ "@univerjs/engine-render": "0.3.0-alpha.0",
66
+ "@univerjs/sheets-ui": "0.3.0-alpha.0",
67
+ "@univerjs/ui": "0.3.0-alpha.0",
68
+ "@univerjs/sheets-sort": "0.3.0-alpha.0"
72
69
  },
73
70
  "devDependencies": {
74
71
  "less": "^4.2.0",
75
72
  "react": "18.3.1",
76
73
  "rxjs": "^7.8.1",
77
74
  "typescript": "^5.6.2",
78
- "vite": "^5.4.4",
79
- "vitest": "^2.0.5",
80
- "@univerjs-infra/shared": "0.2.15"
75
+ "vite": "^5.4.8",
76
+ "vitest": "^2.1.1",
77
+ "@univerjs-infra/shared": "0.3.0-alpha.0"
81
78
  },
82
79
  "univerSpace": {
83
80
  ".": {