@nubisco/ui 1.22.0 → 1.23.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.
@@ -10,12 +10,16 @@ declare function onPortMouseUp(data: {
10
10
  type: string;
11
11
  }): void;
12
12
  declare function centerView(): void;
13
+ declare function fitToView(padding?: number): void;
14
+ declare function resetView(): void;
13
15
  declare var __VLS_1: {};
14
16
  type __VLS_Slots = {} & {
15
17
  default?: (props: typeof __VLS_1) => any;
16
18
  };
17
19
  declare const __VLS_base: import("vue").DefineComponent<IBlueprintProps, {
18
20
  centerView: typeof centerView;
21
+ fitToView: typeof fitToView;
22
+ resetView: typeof resetView;
19
23
  onPortMouseDown: typeof onPortMouseDown;
20
24
  onPortMouseUp: typeof onPortMouseUp;
21
25
  panX: import("vue").Ref<number, number>;
@@ -1 +1 @@
1
- {"version":3,"file":"Blueprint.vue.d.ts","sourceRoot":"","sources":["../../src/components/Blueprint.vue"],"names":[],"mappings":"AA4ZA,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAkF1E,iBAAS,eAAe,CAAC,IAAI,EAAE;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACb,QAIA;AA8BD,iBAAS,aAAa,CAAC,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,QAiB5E;AAqDD,iBAAS,UAAU,SA+BlB;AAqID,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,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