@tylertech/forge 2.14.0-dev.1 → 2.14.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.
@@ -12613,29 +12613,6 @@
12613
12613
  }
12614
12614
  ]
12615
12615
  },
12616
- {
12617
- "kind": "javascript-module",
12618
- "path": "button-toggle/index.ts",
12619
- "declarations": [],
12620
- "exports": [
12621
- {
12622
- "kind": "js",
12623
- "name": "*",
12624
- "declaration": {
12625
- "name": "*",
12626
- "package": "./button-toggle"
12627
- }
12628
- },
12629
- {
12630
- "kind": "js",
12631
- "name": "*",
12632
- "declaration": {
12633
- "name": "*",
12634
- "package": "./button-toggle-group"
12635
- }
12636
- }
12637
- ]
12638
- },
12639
12616
  {
12640
12617
  "kind": "javascript-module",
12641
12618
  "path": "button/button-component-delegate.ts",
@@ -13156,6 +13133,29 @@
13156
13133
  }
13157
13134
  ]
13158
13135
  },
13136
+ {
13137
+ "kind": "javascript-module",
13138
+ "path": "button-toggle/index.ts",
13139
+ "declarations": [],
13140
+ "exports": [
13141
+ {
13142
+ "kind": "js",
13143
+ "name": "*",
13144
+ "declaration": {
13145
+ "name": "*",
13146
+ "package": "./button-toggle"
13147
+ }
13148
+ },
13149
+ {
13150
+ "kind": "js",
13151
+ "name": "*",
13152
+ "declaration": {
13153
+ "name": "*",
13154
+ "package": "./button-toggle-group"
13155
+ }
13156
+ }
13157
+ ]
13158
+ },
13159
13159
  {
13160
13160
  "kind": "javascript-module",
13161
13161
  "path": "calendar/calendar-adapter.ts",
@@ -46722,232 +46722,6 @@
46722
46722
  }
46723
46723
  ]
46724
46724
  },
46725
- {
46726
- "kind": "javascript-module",
46727
- "path": "linear-progress/index.ts",
46728
- "declarations": [
46729
- {
46730
- "kind": "function",
46731
- "name": "defineLinearProgressComponent",
46732
- "return": {
46733
- "type": {
46734
- "text": "void"
46735
- }
46736
- }
46737
- }
46738
- ],
46739
- "exports": [
46740
- {
46741
- "kind": "js",
46742
- "name": "*",
46743
- "declaration": {
46744
- "name": "*",
46745
- "package": "./linear-progress-constants"
46746
- }
46747
- },
46748
- {
46749
- "kind": "js",
46750
- "name": "*",
46751
- "declaration": {
46752
- "name": "*",
46753
- "package": "./linear-progress"
46754
- }
46755
- },
46756
- {
46757
- "kind": "js",
46758
- "name": "defineLinearProgressComponent",
46759
- "declaration": {
46760
- "name": "defineLinearProgressComponent",
46761
- "module": "linear-progress/index.ts"
46762
- }
46763
- }
46764
- ]
46765
- },
46766
- {
46767
- "kind": "javascript-module",
46768
- "path": "linear-progress/linear-progress-constants.ts",
46769
- "declarations": [
46770
- {
46771
- "kind": "variable",
46772
- "name": "LINEAR_PROGRESS_CONSTANTS",
46773
- "type": {
46774
- "text": "object"
46775
- },
46776
- "default": "{\n elementName,\n selectors,\n attributes\n}"
46777
- }
46778
- ],
46779
- "exports": [
46780
- {
46781
- "kind": "js",
46782
- "name": "LINEAR_PROGRESS_CONSTANTS",
46783
- "declaration": {
46784
- "name": "LINEAR_PROGRESS_CONSTANTS",
46785
- "module": "linear-progress/linear-progress-constants.ts"
46786
- }
46787
- }
46788
- ]
46789
- },
46790
- {
46791
- "kind": "javascript-module",
46792
- "path": "linear-progress/linear-progress.ts",
46793
- "declarations": [
46794
- {
46795
- "kind": "class",
46796
- "description": "The web component class behind the `<forge-linear-progress>` custom element.",
46797
- "name": "LinearProgressComponent",
46798
- "members": [
46799
- {
46800
- "kind": "field",
46801
- "name": "_mdcLinearProgress",
46802
- "type": {
46803
- "text": "MDCLinearProgress"
46804
- },
46805
- "privacy": "private"
46806
- },
46807
- {
46808
- "kind": "field",
46809
- "name": "_determinate",
46810
- "type": {
46811
- "text": "boolean"
46812
- },
46813
- "privacy": "private",
46814
- "default": "false"
46815
- },
46816
- {
46817
- "kind": "field",
46818
- "name": "_progress",
46819
- "type": {
46820
- "text": "number"
46821
- },
46822
- "privacy": "private",
46823
- "default": "0"
46824
- },
46825
- {
46826
- "kind": "field",
46827
- "name": "_buffer",
46828
- "type": {
46829
- "text": "number"
46830
- },
46831
- "privacy": "private",
46832
- "default": "1"
46833
- },
46834
- {
46835
- "kind": "field",
46836
- "name": "_visible",
46837
- "type": {
46838
- "text": "boolean"
46839
- },
46840
- "privacy": "private",
46841
- "default": "true"
46842
- },
46843
- {
46844
- "kind": "field",
46845
- "name": "_progressbarElement",
46846
- "type": {
46847
- "text": "HTMLElement"
46848
- },
46849
- "privacy": "private"
46850
- },
46851
- {
46852
- "kind": "field",
46853
- "name": "determinate",
46854
- "privacy": "public",
46855
- "type": {
46856
- "text": "boolean"
46857
- }
46858
- },
46859
- {
46860
- "kind": "field",
46861
- "name": "progress",
46862
- "privacy": "public",
46863
- "type": {
46864
- "text": "number"
46865
- }
46866
- },
46867
- {
46868
- "kind": "field",
46869
- "name": "buffer",
46870
- "privacy": "public",
46871
- "type": {
46872
- "text": "number"
46873
- }
46874
- },
46875
- {
46876
- "kind": "field",
46877
- "name": "visible",
46878
- "type": {
46879
- "text": "boolean"
46880
- },
46881
- "privacy": "public"
46882
- },
46883
- {
46884
- "kind": "method",
46885
- "name": "open",
46886
- "privacy": "public",
46887
- "return": {
46888
- "type": {
46889
- "text": "void"
46890
- }
46891
- }
46892
- },
46893
- {
46894
- "kind": "method",
46895
- "name": "close",
46896
- "privacy": "public",
46897
- "return": {
46898
- "type": {
46899
- "text": "void"
46900
- }
46901
- }
46902
- },
46903
- {
46904
- "kind": "method",
46905
- "name": "_initialize",
46906
- "privacy": "private",
46907
- "return": {
46908
- "type": {
46909
- "text": "void"
46910
- }
46911
- }
46912
- },
46913
- {
46914
- "kind": "method",
46915
- "name": "_applyVisibility",
46916
- "privacy": "private",
46917
- "return": {
46918
- "type": {
46919
- "text": "void"
46920
- }
46921
- },
46922
- "parameters": [
46923
- {
46924
- "name": "value",
46925
- "type": {
46926
- "text": "boolean"
46927
- }
46928
- }
46929
- ]
46930
- }
46931
- ],
46932
- "superclass": {
46933
- "name": "BaseComponent",
46934
- "module": "/core/base/base-component"
46935
- },
46936
- "tagName": "forge-linear-progress",
46937
- "customElement": true
46938
- }
46939
- ],
46940
- "exports": [
46941
- {
46942
- "kind": "js",
46943
- "name": "LinearProgressComponent",
46944
- "declaration": {
46945
- "name": "LinearProgressComponent",
46946
- "module": "linear-progress/linear-progress.ts"
46947
- }
46948
- }
46949
- ]
46950
- },
46951
46725
  {
46952
46726
  "kind": "javascript-module",
46953
46727
  "path": "label-value/index.ts",
@@ -48036,6 +47810,232 @@
48036
47810
  }
48037
47811
  ]
48038
47812
  },
47813
+ {
47814
+ "kind": "javascript-module",
47815
+ "path": "linear-progress/index.ts",
47816
+ "declarations": [
47817
+ {
47818
+ "kind": "function",
47819
+ "name": "defineLinearProgressComponent",
47820
+ "return": {
47821
+ "type": {
47822
+ "text": "void"
47823
+ }
47824
+ }
47825
+ }
47826
+ ],
47827
+ "exports": [
47828
+ {
47829
+ "kind": "js",
47830
+ "name": "*",
47831
+ "declaration": {
47832
+ "name": "*",
47833
+ "package": "./linear-progress-constants"
47834
+ }
47835
+ },
47836
+ {
47837
+ "kind": "js",
47838
+ "name": "*",
47839
+ "declaration": {
47840
+ "name": "*",
47841
+ "package": "./linear-progress"
47842
+ }
47843
+ },
47844
+ {
47845
+ "kind": "js",
47846
+ "name": "defineLinearProgressComponent",
47847
+ "declaration": {
47848
+ "name": "defineLinearProgressComponent",
47849
+ "module": "linear-progress/index.ts"
47850
+ }
47851
+ }
47852
+ ]
47853
+ },
47854
+ {
47855
+ "kind": "javascript-module",
47856
+ "path": "linear-progress/linear-progress-constants.ts",
47857
+ "declarations": [
47858
+ {
47859
+ "kind": "variable",
47860
+ "name": "LINEAR_PROGRESS_CONSTANTS",
47861
+ "type": {
47862
+ "text": "object"
47863
+ },
47864
+ "default": "{\n elementName,\n selectors,\n attributes\n}"
47865
+ }
47866
+ ],
47867
+ "exports": [
47868
+ {
47869
+ "kind": "js",
47870
+ "name": "LINEAR_PROGRESS_CONSTANTS",
47871
+ "declaration": {
47872
+ "name": "LINEAR_PROGRESS_CONSTANTS",
47873
+ "module": "linear-progress/linear-progress-constants.ts"
47874
+ }
47875
+ }
47876
+ ]
47877
+ },
47878
+ {
47879
+ "kind": "javascript-module",
47880
+ "path": "linear-progress/linear-progress.ts",
47881
+ "declarations": [
47882
+ {
47883
+ "kind": "class",
47884
+ "description": "The web component class behind the `<forge-linear-progress>` custom element.",
47885
+ "name": "LinearProgressComponent",
47886
+ "members": [
47887
+ {
47888
+ "kind": "field",
47889
+ "name": "_mdcLinearProgress",
47890
+ "type": {
47891
+ "text": "MDCLinearProgress"
47892
+ },
47893
+ "privacy": "private"
47894
+ },
47895
+ {
47896
+ "kind": "field",
47897
+ "name": "_determinate",
47898
+ "type": {
47899
+ "text": "boolean"
47900
+ },
47901
+ "privacy": "private",
47902
+ "default": "false"
47903
+ },
47904
+ {
47905
+ "kind": "field",
47906
+ "name": "_progress",
47907
+ "type": {
47908
+ "text": "number"
47909
+ },
47910
+ "privacy": "private",
47911
+ "default": "0"
47912
+ },
47913
+ {
47914
+ "kind": "field",
47915
+ "name": "_buffer",
47916
+ "type": {
47917
+ "text": "number"
47918
+ },
47919
+ "privacy": "private",
47920
+ "default": "1"
47921
+ },
47922
+ {
47923
+ "kind": "field",
47924
+ "name": "_visible",
47925
+ "type": {
47926
+ "text": "boolean"
47927
+ },
47928
+ "privacy": "private",
47929
+ "default": "true"
47930
+ },
47931
+ {
47932
+ "kind": "field",
47933
+ "name": "_progressbarElement",
47934
+ "type": {
47935
+ "text": "HTMLElement"
47936
+ },
47937
+ "privacy": "private"
47938
+ },
47939
+ {
47940
+ "kind": "field",
47941
+ "name": "determinate",
47942
+ "privacy": "public",
47943
+ "type": {
47944
+ "text": "boolean"
47945
+ }
47946
+ },
47947
+ {
47948
+ "kind": "field",
47949
+ "name": "progress",
47950
+ "privacy": "public",
47951
+ "type": {
47952
+ "text": "number"
47953
+ }
47954
+ },
47955
+ {
47956
+ "kind": "field",
47957
+ "name": "buffer",
47958
+ "privacy": "public",
47959
+ "type": {
47960
+ "text": "number"
47961
+ }
47962
+ },
47963
+ {
47964
+ "kind": "field",
47965
+ "name": "visible",
47966
+ "type": {
47967
+ "text": "boolean"
47968
+ },
47969
+ "privacy": "public"
47970
+ },
47971
+ {
47972
+ "kind": "method",
47973
+ "name": "open",
47974
+ "privacy": "public",
47975
+ "return": {
47976
+ "type": {
47977
+ "text": "void"
47978
+ }
47979
+ }
47980
+ },
47981
+ {
47982
+ "kind": "method",
47983
+ "name": "close",
47984
+ "privacy": "public",
47985
+ "return": {
47986
+ "type": {
47987
+ "text": "void"
47988
+ }
47989
+ }
47990
+ },
47991
+ {
47992
+ "kind": "method",
47993
+ "name": "_initialize",
47994
+ "privacy": "private",
47995
+ "return": {
47996
+ "type": {
47997
+ "text": "void"
47998
+ }
47999
+ }
48000
+ },
48001
+ {
48002
+ "kind": "method",
48003
+ "name": "_applyVisibility",
48004
+ "privacy": "private",
48005
+ "return": {
48006
+ "type": {
48007
+ "text": "void"
48008
+ }
48009
+ },
48010
+ "parameters": [
48011
+ {
48012
+ "name": "value",
48013
+ "type": {
48014
+ "text": "boolean"
48015
+ }
48016
+ }
48017
+ ]
48018
+ }
48019
+ ],
48020
+ "superclass": {
48021
+ "name": "BaseComponent",
48022
+ "module": "/core/base/base-component"
48023
+ },
48024
+ "tagName": "forge-linear-progress",
48025
+ "customElement": true
48026
+ }
48027
+ ],
48028
+ "exports": [
48029
+ {
48030
+ "kind": "js",
48031
+ "name": "LinearProgressComponent",
48032
+ "declaration": {
48033
+ "name": "LinearProgressComponent",
48034
+ "module": "linear-progress/linear-progress.ts"
48035
+ }
48036
+ }
48037
+ ]
48038
+ },
48039
48039
  {
48040
48040
  "kind": "javascript-module",
48041
48041
  "path": "list/index.ts",
@@ -62825,37 +62825,6 @@
62825
62825
  }
62826
62826
  ]
62827
62827
  },
62828
- {
62829
- "kind": "javascript-module",
62830
- "path": "split-view/index.ts",
62831
- "declarations": [],
62832
- "exports": [
62833
- {
62834
- "kind": "js",
62835
- "name": "*",
62836
- "declaration": {
62837
- "name": "*",
62838
- "package": "./core"
62839
- }
62840
- },
62841
- {
62842
- "kind": "js",
62843
- "name": "*",
62844
- "declaration": {
62845
- "name": "*",
62846
- "package": "./split-view-panel"
62847
- }
62848
- },
62849
- {
62850
- "kind": "js",
62851
- "name": "*",
62852
- "declaration": {
62853
- "name": "*",
62854
- "package": "./split-view"
62855
- }
62856
- }
62857
- ]
62858
- },
62859
62828
  {
62860
62829
  "kind": "javascript-module",
62861
62830
  "path": "slider/index.ts",
@@ -63555,6 +63524,37 @@
63555
63524
  }
63556
63525
  ]
63557
63526
  },
63527
+ {
63528
+ "kind": "javascript-module",
63529
+ "path": "split-view/index.ts",
63530
+ "declarations": [],
63531
+ "exports": [
63532
+ {
63533
+ "kind": "js",
63534
+ "name": "*",
63535
+ "declaration": {
63536
+ "name": "*",
63537
+ "package": "./core"
63538
+ }
63539
+ },
63540
+ {
63541
+ "kind": "js",
63542
+ "name": "*",
63543
+ "declaration": {
63544
+ "name": "*",
63545
+ "package": "./split-view-panel"
63546
+ }
63547
+ },
63548
+ {
63549
+ "kind": "js",
63550
+ "name": "*",
63551
+ "declaration": {
63552
+ "name": "*",
63553
+ "package": "./split-view"
63554
+ }
63555
+ }
63556
+ ]
63557
+ },
63558
63558
  {
63559
63559
  "kind": "javascript-module",
63560
63560
  "path": "stack/index.ts",
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a as h,v as i,x as k}from"./chunk.KZO4DT2S.js";import{a as E}from"./chunk.G5MGGEFP.js";import{a as c}from"./chunk.KTGSZEAG.js";import{a as O}from"./chunk.BE7PZANN.js";import{a as C,e as y,g as I,l as L}from"./chunk.Y4GKBJGI.js";import{k as b,l as S,p as w}from"./chunk.J2M2MXP2.js";import{f as d}from"./chunk.MCIQXNKY.js";var r=class{static observe(t,e,l){var o,n;r._targets.has(t)&&((o=r._observer)===null||o===void 0||o.unobserve(t)),r._targets.set(t,e),r._countTargets(),(n=r._observer)===null||n===void 0||n.observe(t,l)}static unobserve(t){var e;r._targets.delete(t),(e=r._observer)===null||e===void 0||e.unobserve(t),r._countTargets()}static _countTargets(){r._observer?r._targets.size<1&&(r._observer=void 0):r._targets.size&&(r._observer=new ResizeObserver(r._handleResize))}};r._targets=new Map;r._handleResize=f=>{f.forEach(t=>{var e;(e=r._targets.get(t.target))===null||e===void 0||e(t)})};var v=class extends E{constructor(e){super(e);this._root=I(e,i.selectors.ROOT)}registerSlotListener(e){this._root.addEventListener("slotchange",e)}registerDidOpenListener(e){this._root.addEventListener(h.events.DID_OPEN,e)}registerDidCloseListener(e){this._root.addEventListener(h.events.DID_CLOSE,e)}observeResize(e){r.observe(this._root,e)}unobserveResize(){r.unobserve(this._root)}getSlottedPanels(){let e=this._component.querySelectorAll(i.selectors.PANEL);return Array.from(e)}refitSlottedPanels(e){let l=e==="horizontal"?this._root.clientWidth:this._root.clientHeight,o=this.getSlottedPanels(),n=o.map(p=>{var m;let s=(m=p.shadowRoot)==null?void 0:m.querySelector(h.selectors.ROOT),u=e==="horizontal"?s==null?void 0:s.clientWidth:s==null?void 0:s.clientHeight;return u!=null?u:0}).reduce((p,s)=>p+s,0);if(n<=l)return;let _=n-l;o.slice().reverse().forEach(p=>{if(_<=0)return;let s=p.getContentSize(),u=p.getCollapsibleSize(),m=Math.min(_,u),T=s-m;p.setContentSize(T),_-=m})}};var g=class{constructor(t){this._adapter=t;this._orientation="horizontal";this._disabled=!1;this._allowClose=!1;this._autoClose=!1;this._autoCloseThreshold=0;this._isInitialized=!1;this._slotListener=e=>this._onSlotChange(e),this._didOpenListener=()=>this._onDidOpen(),this._didCloseListener=()=>this._onDidClose(),this._resizeObserverCallback=w(e=>this._onResize(e),i.numbers.RESIZE_THROTTLE_THRESHOLD)}initialize(){this._adapter.registerSlotListener(this._slotListener),this._adapter.registerDidOpenListener(this._didOpenListener),this._adapter.registerDidCloseListener(this._didCloseListener),this._adapter.observeResize(this._resizeObserverCallback),this._applyOrientation(),this._isInitialized=!0}disconnect(){this._adapter.unobserveResize()}_onSlotChange(t){this._layoutSlottedPanels(),this.update({accessibility:!0,cursor:!0,orientation:this._orientation})}_onDidOpen(){this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0,size:!0})}_onDidClose(){this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0,size:!0})}_onResize(t){this.update({accessibility:!0,cursor:!0,size:!0})}_layoutSlottedPanels(){let t=this._adapter.getSlottedPanels();t.length<2||t.some(e=>e.resizable!=="off")||t.slice(1).forEach(e=>e.resizable="start")}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._applyOrientation())}_applyOrientation(){this._adapter.setHostAttribute(i.attributes.ORIENTATION,this._orientation),this.update({orientation:this._orientation}),this._isInitialized&&this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0})}get disabled(){return this._disabled}set disabled(t){this._disabled!==t&&(this._disabled=t,this._applyDisabled())}_applyDisabled(){this._adapter.toggleHostAttribute(i.attributes.DISABLED,this._disabled),this.update({properties:{disabled:this._disabled}})}get allowClose(){return this._allowClose}set allowClose(t){this._allowClose!==t&&(this._allowClose=t,this._applyAllowClose())}_applyAllowClose(){this._adapter.toggleHostAttribute(i.attributes.ALLOW_CLOSE,this._allowClose),this.update({properties:{allowClose:this._allowClose}})}get autoClose(){return this._autoClose}set autoClose(t){this._autoClose!==t&&(this._autoClose=t,this._applyAutoClose())}_applyAutoClose(){this._adapter.toggleHostAttribute(i.attributes.AUTO_CLOSE,this._autoClose),this.update({properties:{autoClose:this._autoClose}})}get autoCloseThreshold(){return this._autoCloseThreshold}set autoCloseThreshold(t){this._autoCloseThreshold!==t&&(this._autoCloseThreshold=t,this._applyAutoCloseThreshold())}_applyAutoCloseThreshold(){this._adapter.setHostAttribute(i.attributes.AUTO_CLOSE_THRESHOLD,this._autoCloseThreshold.toString()),this.update({properties:{autoCloseThreshold:this._autoCloseThreshold}})}layerSlottedPanels(t){let e=this._adapter.getSlottedPanels(),l=t.resizable==="start"?1:-1,o=t.resizable==="start"?1:3;e.forEach(n=>{(n===t||o===2)&&(o+=l),n.style.setProperty(i.customCssProperties.ANIMATING_LAYER,o.toString())})}unlayerSlottedPanels(){this._adapter.getSlottedPanels().forEach(e=>{e.style.removeProperty(i.customCssProperties.ANIMATING_LAYER)})}update(t){this._adapter.getSlottedPanels().forEach(l=>{l.update(t)})}refitSlottedPanels(){this._adapter.refitSlottedPanels(this._orientation)}};var P='<template><div class="forge-split-view" id="root" part="root"><slot></slot></div></template>',A='@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view{display:-webkit-box;display:flex;width:100%;height:100%}:host{--forge-split-view-handle-width:8px;display:block;height:100%;width:100%;overflow:hidden;contain:paint size}:host([hidden]){display:none}:host([orientation=horizontal]) .forge-split-view{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}:host([orientation=vertical]) .forge-split-view{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}',a=class extends L{constructor(){super();y(this,P,A),this._foundation=new g(new v(this))}static get observedAttributes(){return[i.attributes.ORIENTATION,i.attributes.DISABLED,i.attributes.ALLOW_CLOSE,i.attributes.AUTO_CLOSE,i.attributes.AUTO_CLOSE_THRESHOLD]}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(e,l,o){switch(e){case i.attributes.ORIENTATION:this.orientation=o;break;case i.attributes.DISABLED:this.disabled=b(o);break;case i.attributes.ALLOW_CLOSE:this.allowClose=b(o);break;case i.attributes.AUTO_CLOSE:this.autoClose=b(o);break;case i.attributes.AUTO_CLOSE_THRESHOLD:this.autoCloseThreshold=S(o);break}}layerSlottedPanels(e){this._foundation.layerSlottedPanels(e)}unlayerSlottedPanels(){this._foundation.unlayerSlottedPanels()}update(e){this._foundation.update(e)}refit(){this._foundation.refitSlottedPanels()}};d([c()],a.prototype,"orientation",2),d([c()],a.prototype,"disabled",2),d([c()],a.prototype,"allowClose",2),d([c()],a.prototype,"autoClose",2),d([c()],a.prototype,"autoCloseThreshold",2),a=d([O({name:i.elementName,dependencies:[k]})],a);function de(){C(a)}export{v as a,g as b,a as c,de as d};
7
- //# sourceMappingURL=chunk.OV4QNVJH.js.map
6
+ import{a as h,v as i,x as k}from"./chunk.J6P3GKZM.js";import{a as E}from"./chunk.G5MGGEFP.js";import{a as c}from"./chunk.KTGSZEAG.js";import{a as O}from"./chunk.BE7PZANN.js";import{a as C,e as y,g as I,l as L}from"./chunk.Y4GKBJGI.js";import{k as b,l as S,p as w}from"./chunk.J2M2MXP2.js";import{f as d}from"./chunk.MCIQXNKY.js";var r=class{static observe(t,e,l){var o,n;r._targets.has(t)&&((o=r._observer)===null||o===void 0||o.unobserve(t)),r._targets.set(t,e),r._countTargets(),(n=r._observer)===null||n===void 0||n.observe(t,l)}static unobserve(t){var e;r._targets.delete(t),(e=r._observer)===null||e===void 0||e.unobserve(t),r._countTargets()}static _countTargets(){r._observer?r._targets.size<1&&(r._observer=void 0):r._targets.size&&(r._observer=new ResizeObserver(r._handleResize))}};r._targets=new Map;r._handleResize=f=>{f.forEach(t=>{var e;(e=r._targets.get(t.target))===null||e===void 0||e(t)})};var v=class extends E{constructor(e){super(e);this._root=I(e,i.selectors.ROOT)}registerSlotListener(e){this._root.addEventListener("slotchange",e)}registerDidOpenListener(e){this._root.addEventListener(h.events.DID_OPEN,e)}registerDidCloseListener(e){this._root.addEventListener(h.events.DID_CLOSE,e)}observeResize(e){r.observe(this._root,e)}unobserveResize(){r.unobserve(this._root)}getSlottedPanels(){let e=this._component.querySelectorAll(i.selectors.PANEL);return Array.from(e)}refitSlottedPanels(e){let l=e==="horizontal"?this._root.clientWidth:this._root.clientHeight,o=this.getSlottedPanels(),n=o.map(p=>{var m;let s=(m=p.shadowRoot)==null?void 0:m.querySelector(h.selectors.ROOT),u=e==="horizontal"?s==null?void 0:s.clientWidth:s==null?void 0:s.clientHeight;return u!=null?u:0}).reduce((p,s)=>p+s,0);if(n<=l)return;let _=n-l;o.slice().reverse().forEach(p=>{if(_<=0)return;let s=p.getContentSize(),u=p.getCollapsibleSize(),m=Math.min(_,u),T=s-m;p.setContentSize(T),_-=m})}};var g=class{constructor(t){this._adapter=t;this._orientation="horizontal";this._disabled=!1;this._allowClose=!1;this._autoClose=!1;this._autoCloseThreshold=0;this._isInitialized=!1;this._slotListener=e=>this._onSlotChange(e),this._didOpenListener=()=>this._onDidOpen(),this._didCloseListener=()=>this._onDidClose(),this._resizeObserverCallback=w(e=>this._onResize(e),i.numbers.RESIZE_THROTTLE_THRESHOLD)}initialize(){this._adapter.registerSlotListener(this._slotListener),this._adapter.registerDidOpenListener(this._didOpenListener),this._adapter.registerDidCloseListener(this._didCloseListener),this._adapter.observeResize(this._resizeObserverCallback),this._applyOrientation(),this._isInitialized=!0}disconnect(){this._adapter.unobserveResize()}_onSlotChange(t){this._layoutSlottedPanels(),this.update({accessibility:!0,cursor:!0,orientation:this._orientation})}_onDidOpen(){this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0,size:!0})}_onDidClose(){this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0,size:!0})}_onResize(t){this.update({accessibility:!0,cursor:!0,size:!0})}_layoutSlottedPanels(){let t=this._adapter.getSlottedPanels();t.length<2||t.some(e=>e.resizable!=="off")||t.slice(1).forEach(e=>e.resizable="start")}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._applyOrientation())}_applyOrientation(){this._adapter.setHostAttribute(i.attributes.ORIENTATION,this._orientation),this.update({orientation:this._orientation}),this._isInitialized&&this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0})}get disabled(){return this._disabled}set disabled(t){this._disabled!==t&&(this._disabled=t,this._applyDisabled())}_applyDisabled(){this._adapter.toggleHostAttribute(i.attributes.DISABLED,this._disabled),this.update({properties:{disabled:this._disabled}})}get allowClose(){return this._allowClose}set allowClose(t){this._allowClose!==t&&(this._allowClose=t,this._applyAllowClose())}_applyAllowClose(){this._adapter.toggleHostAttribute(i.attributes.ALLOW_CLOSE,this._allowClose),this.update({properties:{allowClose:this._allowClose}})}get autoClose(){return this._autoClose}set autoClose(t){this._autoClose!==t&&(this._autoClose=t,this._applyAutoClose())}_applyAutoClose(){this._adapter.toggleHostAttribute(i.attributes.AUTO_CLOSE,this._autoClose),this.update({properties:{autoClose:this._autoClose}})}get autoCloseThreshold(){return this._autoCloseThreshold}set autoCloseThreshold(t){this._autoCloseThreshold!==t&&(this._autoCloseThreshold=t,this._applyAutoCloseThreshold())}_applyAutoCloseThreshold(){this._adapter.setHostAttribute(i.attributes.AUTO_CLOSE_THRESHOLD,this._autoCloseThreshold.toString()),this.update({properties:{autoCloseThreshold:this._autoCloseThreshold}})}layerSlottedPanels(t){let e=this._adapter.getSlottedPanels(),l=t.resizable==="start"?1:-1,o=t.resizable==="start"?1:3;e.forEach(n=>{(n===t||o===2)&&(o+=l),n.style.setProperty(i.customCssProperties.ANIMATING_LAYER,o.toString())})}unlayerSlottedPanels(){this._adapter.getSlottedPanels().forEach(e=>{e.style.removeProperty(i.customCssProperties.ANIMATING_LAYER)})}update(t){this._adapter.getSlottedPanels().forEach(l=>{l.update(t)})}refitSlottedPanels(){this._adapter.refitSlottedPanels(this._orientation)}};var P='<template><div class="forge-split-view" id="root" part="root"><slot></slot></div></template>',A='@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view{display:-webkit-box;display:flex;width:100%;height:100%}:host{--forge-split-view-handle-width:8px;display:block;height:100%;width:100%;overflow:hidden;contain:paint size}:host([hidden]){display:none}:host([orientation=horizontal]) .forge-split-view{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}:host([orientation=vertical]) .forge-split-view{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}',a=class extends L{constructor(){super();y(this,P,A),this._foundation=new g(new v(this))}static get observedAttributes(){return[i.attributes.ORIENTATION,i.attributes.DISABLED,i.attributes.ALLOW_CLOSE,i.attributes.AUTO_CLOSE,i.attributes.AUTO_CLOSE_THRESHOLD]}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(e,l,o){switch(e){case i.attributes.ORIENTATION:this.orientation=o;break;case i.attributes.DISABLED:this.disabled=b(o);break;case i.attributes.ALLOW_CLOSE:this.allowClose=b(o);break;case i.attributes.AUTO_CLOSE:this.autoClose=b(o);break;case i.attributes.AUTO_CLOSE_THRESHOLD:this.autoCloseThreshold=S(o);break}}layerSlottedPanels(e){this._foundation.layerSlottedPanels(e)}unlayerSlottedPanels(){this._foundation.unlayerSlottedPanels()}update(e){this._foundation.update(e)}refit(){this._foundation.refitSlottedPanels()}};d([c()],a.prototype,"orientation",2),d([c()],a.prototype,"disabled",2),d([c()],a.prototype,"allowClose",2),d([c()],a.prototype,"autoClose",2),d([c()],a.prototype,"autoCloseThreshold",2),a=d([O({name:i.elementName,dependencies:[k]})],a);function de(){C(a)}export{v as a,g as b,a as c,de as d};
7
+ //# sourceMappingURL=chunk.6RSRYR55.js.map