@verdocs/web-sdk 4.0.6 → 4.0.8

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 (95) hide show
  1. package/dist/cjs/verdocs-button-panel.cjs.entry.js +2 -2
  2. package/dist/cjs/verdocs-button_3.cjs.entry.js +2 -2
  3. package/dist/cjs/verdocs-checkbox_5.cjs.entry.js +17 -8
  4. package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
  5. package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +2 -2
  6. package/dist/cjs/verdocs-floating-menu.cjs.entry.js +1 -1
  7. package/dist/cjs/verdocs-loader.cjs.entry.js +1 -1
  8. package/dist/cjs/verdocs-organization-card.cjs.entry.js +1 -1
  9. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
  10. package/dist/collection/components/controls/verdocs-button/verdocs-button.js +1 -20
  11. package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +2 -12
  12. package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +1 -17
  13. package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js +1 -5
  14. package/dist/collection/components/controls/verdocs-floating-menu/verdocs-floating-menu.js +1 -6
  15. package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js +1 -4
  16. package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +1 -4
  17. package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +1 -4
  18. package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +1 -4
  19. package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +1 -9
  20. package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js +1 -4
  21. package/dist/collection/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.js +16 -3
  22. package/dist/components/verdocs-button-panel.js +2 -2
  23. package/dist/components/verdocs-button2.js +1 -1
  24. package/dist/components/verdocs-dropdown2.js +1 -1
  25. package/dist/components/verdocs-file-chooser2.js +1 -1
  26. package/dist/components/verdocs-floating-menu.js +1 -1
  27. package/dist/components/verdocs-help-icon2.js +1 -1
  28. package/dist/components/verdocs-loader2.js +1 -1
  29. package/dist/components/verdocs-organization-card.js +1 -1
  30. package/dist/components/verdocs-pagination2.js +1 -1
  31. package/dist/components/verdocs-portal2.js +1 -1
  32. package/dist/components/verdocs-progress-bar2.js +1 -1
  33. package/dist/components/verdocs-template-field-properties2.js +16 -3
  34. package/dist/custom-elements.json +2134 -0
  35. package/dist/docs.json +13 -18
  36. package/dist/esm/verdocs-button-panel.entry.js +2 -2
  37. package/dist/esm/verdocs-button_3.entry.js +2 -2
  38. package/dist/esm/verdocs-checkbox_5.entry.js +17 -4
  39. package/dist/esm/verdocs-dropdown.entry.js +1 -1
  40. package/dist/esm/verdocs-file-chooser_2.entry.js +2 -2
  41. package/dist/esm/verdocs-floating-menu.entry.js +1 -1
  42. package/dist/esm/verdocs-loader.entry.js +1 -1
  43. package/dist/esm/verdocs-organization-card.entry.js +1 -1
  44. package/dist/esm/verdocs-pagination_2.entry.js +1 -1
  45. package/dist/esm-es5/verdocs-button-panel.entry.js +1 -1
  46. package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
  47. package/dist/esm-es5/verdocs-checkbox_5.entry.js +1 -1
  48. package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
  49. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  50. package/dist/esm-es5/verdocs-floating-menu.entry.js +1 -1
  51. package/dist/esm-es5/verdocs-loader.entry.js +1 -1
  52. package/dist/esm-es5/verdocs-organization-card.entry.js +1 -1
  53. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  54. package/dist/types/components/controls/verdocs-button/verdocs-button.d.ts +0 -19
  55. package/dist/types/components/controls/verdocs-button-panel/verdocs-button-panel.d.ts +0 -10
  56. package/dist/types/components/controls/verdocs-dropdown/verdocs-dropdown.d.ts +0 -16
  57. package/dist/types/components/controls/verdocs-file-chooser/verdocs-file-chooser.d.ts +0 -4
  58. package/dist/types/components/controls/verdocs-floating-menu/verdocs-floating-menu.d.ts +0 -5
  59. package/dist/types/components/controls/verdocs-help-icon/verdocs-help-icon.d.ts +0 -3
  60. package/dist/types/components/controls/verdocs-loader/verdocs-loader.d.ts +0 -3
  61. package/dist/types/components/controls/verdocs-organization-card/verdocs-organization-card.d.ts +0 -3
  62. package/dist/types/components/controls/verdocs-pagination/verdocs-pagination.d.ts +0 -3
  63. package/dist/types/components/controls/verdocs-portal/verdocs-portal.d.ts +0 -8
  64. package/dist/types/components/controls/verdocs-progress-bar/verdocs-progress-bar.d.ts +0 -3
  65. package/dist/types/components.d.ts +0 -284
  66. package/dist/verdocs-web-sdk/{p-5b9c0b5d.system.entry.js → p-0e44d592.system.entry.js} +1 -1
  67. package/dist/verdocs-web-sdk/p-14fe476a.entry.js +1 -0
  68. package/dist/verdocs-web-sdk/{p-7adbe456.entry.js → p-3102c8fb.entry.js} +1 -1
  69. package/dist/verdocs-web-sdk/p-322fa613.system.js +1 -1
  70. package/dist/verdocs-web-sdk/{p-7d035035.system.entry.js → p-3999bace.system.entry.js} +1 -1
  71. package/dist/verdocs-web-sdk/{p-0bd91b17.entry.js → p-3ae988e6.entry.js} +1 -1
  72. package/dist/verdocs-web-sdk/{p-943c7b8f.system.entry.js → p-3d9d0c2e.system.entry.js} +1 -1
  73. package/dist/verdocs-web-sdk/{p-7c1030dc.system.entry.js → p-44acae9e.system.entry.js} +1 -1
  74. package/dist/verdocs-web-sdk/{p-fd064f80.entry.js → p-4ae82766.entry.js} +1 -1
  75. package/dist/verdocs-web-sdk/{p-6fe0d270.entry.js → p-6d52b500.entry.js} +1 -1
  76. package/dist/verdocs-web-sdk/{p-c22eccdd.entry.js → p-7aacdd81.entry.js} +1 -1
  77. package/dist/verdocs-web-sdk/{p-208ba4e2.system.entry.js → p-7db995b0.system.entry.js} +1 -1
  78. package/dist/verdocs-web-sdk/p-8164d8bf.system.entry.js +1 -0
  79. package/dist/verdocs-web-sdk/{p-69ea5cb9.system.entry.js → p-8bb229dd.system.entry.js} +1 -1
  80. package/dist/verdocs-web-sdk/{p-6890fe65.system.entry.js → p-91483dea.system.entry.js} +1 -1
  81. package/dist/verdocs-web-sdk/{p-1a5cdf1a.entry.js → p-9e86a14a.entry.js} +1 -1
  82. package/dist/verdocs-web-sdk/{p-c3abfbb5.system.entry.js → p-ac9b5e3f.system.entry.js} +1 -1
  83. package/dist/verdocs-web-sdk/{p-5cc3dcb2.entry.js → p-c81bc939.entry.js} +1 -1
  84. package/dist/verdocs-web-sdk/{p-48d9efa4.entry.js → p-e504ebcd.entry.js} +1 -1
  85. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  86. package/package.json +1 -3
  87. package/dist/collection/components/controls/verdocs-button/test/verdocs-button.e2e.js +0 -8
  88. package/dist/collection/components/controls/verdocs-button/test/verdocs-button.spec.js +0 -36
  89. package/dist/collection/components/controls/verdocs-organization-card/test/org-popup.e2e.js +0 -34
  90. package/dist/collection/components/controls/verdocs-organization-card/test/org-popup.spec.js +0 -64
  91. package/dist/collection/components/controls/verdocs-text-input/test/verdocs-text-input.js +0 -8
  92. package/dist/collection/components/controls/verdocs-text-input/test/verdocs-text-input.spec.js +0 -36
  93. package/dist/types/components/controls/verdocs-text-input/test/verdocs-text-input.d.ts +0 -1
  94. package/dist/verdocs-web-sdk/p-383de7ca.entry.js +0 -1
  95. package/dist/verdocs-web-sdk/p-c0d1020a.system.entry.js +0 -1
@@ -117,21 +117,6 @@ export namespace Components {
117
117
  */
118
118
  "templateId": string | null;
119
119
  }
120
- /**
121
- * Display a simple button.
122
- * Three variants are supported. `standard` and `outline` buttons look like traditional form buttons and are ideal candidates for 'Ok' and
123
- * 'Cancel' options in most cases. `text` buttons are intended to be used inline in content blocks or for more subtle button options.
124
- * (Auth uses text buttons for the Forgot Password and Sign Up options.)
125
- * Four sizes are also supported. Most use cases will call for the `normal` size, but a `small` size is ideal for more subtle controls, such
126
- * as pagination or other secondary functions. `medium` buttons are slightly larger to provide balance in forms where other items are also
127
- * bigger, and `large` buttons are for cases where the page has mostly white-space and the buttons need to fill more space.
128
- * Icons may be placed either before ("start") or after ("end") the button label. Icons should be SVG objects passed as strings and will
129
- * be rendered as HTML inside the button label area. It is important that the root <SVG> tag contains a default `fill="#ffffff"` setting
130
- * for the base color, and that child elements below it do not. This allows the button color to carry into the icon properly.
131
- * ```html
132
- * <verdocs-button label="OK" onClick={() => (console.log('OK clicked'))} />
133
- * ```
134
- */
135
120
  interface VerdocsButton {
136
121
  /**
137
122
  * Whether the button should be disabled.
@@ -162,15 +147,6 @@ export namespace Components {
162
147
  */
163
148
  "variant": 'standard' | 'text' | 'outline';
164
149
  }
165
- /**
166
- * Displays a clickable icon suitable for display in a toolbar. When clicked, a customizable drop-down panel will be
167
- * displayed.
168
- * ```html
169
- * <verdocs-button-panel icon="<svg.../>">
170
- * <div class="content">...</div>
171
- * </verdocs-button-panel>
172
- * ```
173
- */
174
150
  interface VerdocsButtonPanel {
175
151
  "hidePanel": () => Promise<void>;
176
152
  /**
@@ -257,21 +233,6 @@ export namespace Components {
257
233
  */
258
234
  interface VerdocsDialog {
259
235
  }
260
- /**
261
- * Display a drop-down menu button. A menu of the specified options will be displayed when the button is pressed. The menu will be hidden
262
- * when the button is pressed again, or an option is selected. Separators may be created by supplying an entry with an empty label.
263
- * ```html
264
- * <verdocs-dropdown
265
- * options={[
266
- * {label: 'Option 1', disabled: true},
267
- * {label: 'Option 2', id: '2'}
268
- * {label: ''}
269
- * {label: 'Option 3', id: '2'}
270
- * ]}
271
- * label="OK" onClick={() => (console.log('OK clicked'))}
272
- * />
273
- * ```
274
- */
275
236
  interface VerdocsDropdown {
276
237
  /**
277
238
  * The menu options to display.
@@ -926,30 +887,18 @@ export namespace Components {
926
887
  */
927
888
  "yscale"?: number;
928
889
  }
929
- /**
930
- * Displays a file picker to upload an attachment. This component is just the picker - the host application or component should
931
- * provide the actual upload functionality.
932
- */
933
890
  interface VerdocsFileChooser {
934
891
  /**
935
892
  * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
936
893
  */
937
894
  "endpoint": VerdocsEndpoint;
938
895
  }
939
- /**
940
- * Floating Action Button style menu. For proper placement, this should be added to the DOM inside a container that is set to
941
- * `overflow-y: scroll;`. The component will detect that placement and position itself in the bottom-right corner on top of the
942
- * container. It will be absolutely positioned so it will be unaffected by scrolling the container.
943
- */
944
896
  interface VerdocsFloatingMenu {
945
897
  /**
946
898
  * The role that this contact will be assigned to.
947
899
  */
948
900
  "options": IOption[];
949
901
  }
950
- /**
951
- * Displays a simple help icon. Upon hover or focus, a tooltip will be displayed with help text.
952
- */
953
902
  interface VerdocsHelpIcon {
954
903
  /**
955
904
  * Optional icon to display. If not supplied, a standard help icon will be shown.
@@ -1009,9 +958,6 @@ export namespace Components {
1009
958
  */
1010
959
  "steps": number;
1011
960
  }
1012
- /**
1013
- * Animated loader placeholder. There are currently no configuration options for this control.
1014
- */
1015
961
  interface VerdocsLoader {
1016
962
  }
1017
963
  /**
@@ -1037,18 +983,12 @@ export namespace Components {
1037
983
  */
1038
984
  "showCancel": boolean;
1039
985
  }
1040
- /**
1041
- * Display a small summary card describing an organization
1042
- */
1043
986
  interface VerdocsOrganizationCard {
1044
987
  /**
1045
988
  * The organization to display
1046
989
  */
1047
990
  "organization": IOrganization;
1048
991
  }
1049
- /**
1050
- * Display a drop-down menu of quick filter options.
1051
- */
1052
992
  interface VerdocsPagination {
1053
993
  /**
1054
994
  * The total number of items.
@@ -1063,14 +1003,6 @@ export namespace Components {
1063
1003
  */
1064
1004
  "selectedPage": number;
1065
1005
  }
1066
- /**
1067
- * Display a child component in a "portal", popping it out of the main DOM tree
1068
- * to allow it to escape the bounds set by its parent.
1069
- * @credit https://github.com/tomas-teston/stencil-portal for the basic
1070
- * technique. This has been altered in a few ways to make it more friendly
1071
- * to cases where there may be multiple portals on the page and provide more
1072
- * alignment options for the child to be displayed.
1073
- */
1074
1006
  interface VerdocsPortal {
1075
1007
  /**
1076
1008
  * Horizontal alignment.
@@ -1100,9 +1032,6 @@ export namespace Components {
1100
1032
  */
1101
1033
  "templateId": string | null;
1102
1034
  }
1103
- /**
1104
- * Displays a summary of a template
1105
- */
1106
1035
  interface VerdocsProgressBar {
1107
1036
  /**
1108
1037
  * Optional label to display above the bar
@@ -2146,36 +2075,12 @@ declare global {
2146
2075
  prototype: HTMLVerdocsBuildElement;
2147
2076
  new (): HTMLVerdocsBuildElement;
2148
2077
  };
2149
- /**
2150
- * Display a simple button.
2151
- * Three variants are supported. `standard` and `outline` buttons look like traditional form buttons and are ideal candidates for 'Ok' and
2152
- * 'Cancel' options in most cases. `text` buttons are intended to be used inline in content blocks or for more subtle button options.
2153
- * (Auth uses text buttons for the Forgot Password and Sign Up options.)
2154
- * Four sizes are also supported. Most use cases will call for the `normal` size, but a `small` size is ideal for more subtle controls, such
2155
- * as pagination or other secondary functions. `medium` buttons are slightly larger to provide balance in forms where other items are also
2156
- * bigger, and `large` buttons are for cases where the page has mostly white-space and the buttons need to fill more space.
2157
- * Icons may be placed either before ("start") or after ("end") the button label. Icons should be SVG objects passed as strings and will
2158
- * be rendered as HTML inside the button label area. It is important that the root <SVG> tag contains a default `fill="#ffffff"` setting
2159
- * for the base color, and that child elements below it do not. This allows the button color to carry into the icon properly.
2160
- * ```html
2161
- * <verdocs-button label="OK" onClick={() => (console.log('OK clicked'))} />
2162
- * ```
2163
- */
2164
2078
  interface HTMLVerdocsButtonElement extends Components.VerdocsButton, HTMLStencilElement {
2165
2079
  }
2166
2080
  var HTMLVerdocsButtonElement: {
2167
2081
  prototype: HTMLVerdocsButtonElement;
2168
2082
  new (): HTMLVerdocsButtonElement;
2169
2083
  };
2170
- /**
2171
- * Displays a clickable icon suitable for display in a toolbar. When clicked, a customizable drop-down panel will be
2172
- * displayed.
2173
- * ```html
2174
- * <verdocs-button-panel icon="<svg.../>">
2175
- * <div class="content">...</div>
2176
- * </verdocs-button-panel>
2177
- * ```
2178
- */
2179
2084
  interface HTMLVerdocsButtonPanelElement extends Components.VerdocsButtonPanel, HTMLStencilElement {
2180
2085
  }
2181
2086
  var HTMLVerdocsButtonPanelElement: {
@@ -2262,21 +2167,6 @@ declare global {
2262
2167
  interface HTMLVerdocsDropdownElementEventMap {
2263
2168
  "optionSelected": IMenuOption;
2264
2169
  }
2265
- /**
2266
- * Display a drop-down menu button. A menu of the specified options will be displayed when the button is pressed. The menu will be hidden
2267
- * when the button is pressed again, or an option is selected. Separators may be created by supplying an entry with an empty label.
2268
- * ```html
2269
- * <verdocs-dropdown
2270
- * options={[
2271
- * {label: 'Option 1', disabled: true},
2272
- * {label: 'Option 2', id: '2'}
2273
- * {label: ''}
2274
- * {label: 'Option 3', id: '2'}
2275
- * ]}
2276
- * label="OK" onClick={() => (console.log('OK clicked'))}
2277
- * />
2278
- * ```
2279
- */
2280
2170
  interface HTMLVerdocsDropdownElement extends Components.VerdocsDropdown, HTMLStencilElement {
2281
2171
  addEventListener<K extends keyof HTMLVerdocsDropdownElementEventMap>(type: K, listener: (this: HTMLVerdocsDropdownElement, ev: VerdocsDropdownCustomEvent<HTMLVerdocsDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2282
2172
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -2657,10 +2547,6 @@ declare global {
2657
2547
  interface HTMLVerdocsFileChooserElementEventMap {
2658
2548
  "fileSelected": {file: File | null};
2659
2549
  }
2660
- /**
2661
- * Displays a file picker to upload an attachment. This component is just the picker - the host application or component should
2662
- * provide the actual upload functionality.
2663
- */
2664
2550
  interface HTMLVerdocsFileChooserElement extends Components.VerdocsFileChooser, HTMLStencilElement {
2665
2551
  addEventListener<K extends keyof HTMLVerdocsFileChooserElementEventMap>(type: K, listener: (this: HTMLVerdocsFileChooserElement, ev: VerdocsFileChooserCustomEvent<HTMLVerdocsFileChooserElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2666
2552
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -2678,11 +2564,6 @@ declare global {
2678
2564
  interface HTMLVerdocsFloatingMenuElementEventMap {
2679
2565
  "optionSelected": IOption;
2680
2566
  }
2681
- /**
2682
- * Floating Action Button style menu. For proper placement, this should be added to the DOM inside a container that is set to
2683
- * `overflow-y: scroll;`. The component will detect that placement and position itself in the bottom-right corner on top of the
2684
- * container. It will be absolutely positioned so it will be unaffected by scrolling the container.
2685
- */
2686
2567
  interface HTMLVerdocsFloatingMenuElement extends Components.VerdocsFloatingMenu, HTMLStencilElement {
2687
2568
  addEventListener<K extends keyof HTMLVerdocsFloatingMenuElementEventMap>(type: K, listener: (this: HTMLVerdocsFloatingMenuElement, ev: VerdocsFloatingMenuCustomEvent<HTMLVerdocsFloatingMenuElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2688
2569
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -2697,9 +2578,6 @@ declare global {
2697
2578
  prototype: HTMLVerdocsFloatingMenuElement;
2698
2579
  new (): HTMLVerdocsFloatingMenuElement;
2699
2580
  };
2700
- /**
2701
- * Displays a simple help icon. Upon hover or focus, a tooltip will be displayed with help text.
2702
- */
2703
2581
  interface HTMLVerdocsHelpIconElement extends Components.VerdocsHelpIcon, HTMLStencilElement {
2704
2582
  }
2705
2583
  var HTMLVerdocsHelpIconElement: {
@@ -2751,9 +2629,6 @@ declare global {
2751
2629
  prototype: HTMLVerdocsKbaDialogElement;
2752
2630
  new (): HTMLVerdocsKbaDialogElement;
2753
2631
  };
2754
- /**
2755
- * Animated loader placeholder. There are currently no configuration options for this control.
2756
- */
2757
2632
  interface HTMLVerdocsLoaderElement extends Components.VerdocsLoader, HTMLStencilElement {
2758
2633
  }
2759
2634
  var HTMLVerdocsLoaderElement: {
@@ -2783,9 +2658,6 @@ declare global {
2783
2658
  prototype: HTMLVerdocsOkDialogElement;
2784
2659
  new (): HTMLVerdocsOkDialogElement;
2785
2660
  };
2786
- /**
2787
- * Display a small summary card describing an organization
2788
- */
2789
2661
  interface HTMLVerdocsOrganizationCardElement extends Components.VerdocsOrganizationCard, HTMLStencilElement {
2790
2662
  }
2791
2663
  var HTMLVerdocsOrganizationCardElement: {
@@ -2795,9 +2667,6 @@ declare global {
2795
2667
  interface HTMLVerdocsPaginationElementEventMap {
2796
2668
  "selectPage": {selectedPage: number};
2797
2669
  }
2798
- /**
2799
- * Display a drop-down menu of quick filter options.
2800
- */
2801
2670
  interface HTMLVerdocsPaginationElement extends Components.VerdocsPagination, HTMLStencilElement {
2802
2671
  addEventListener<K extends keyof HTMLVerdocsPaginationElementEventMap>(type: K, listener: (this: HTMLVerdocsPaginationElement, ev: VerdocsPaginationCustomEvent<HTMLVerdocsPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2803
2672
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -2815,14 +2684,6 @@ declare global {
2815
2684
  interface HTMLVerdocsPortalElementEventMap {
2816
2685
  "clickAway": void;
2817
2686
  }
2818
- /**
2819
- * Display a child component in a "portal", popping it out of the main DOM tree
2820
- * to allow it to escape the bounds set by its parent.
2821
- * @credit https://github.com/tomas-teston/stencil-portal for the basic
2822
- * technique. This has been altered in a few ways to make it more friendly
2823
- * to cases where there may be multiple portals on the page and provide more
2824
- * alignment options for the child to be displayed.
2825
- */
2826
2687
  interface HTMLVerdocsPortalElement extends Components.VerdocsPortal, HTMLStencilElement {
2827
2688
  addEventListener<K extends keyof HTMLVerdocsPortalElementEventMap>(type: K, listener: (this: HTMLVerdocsPortalElement, ev: VerdocsPortalCustomEvent<HTMLVerdocsPortalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2828
2689
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -2859,9 +2720,6 @@ declare global {
2859
2720
  prototype: HTMLVerdocsPreviewElement;
2860
2721
  new (): HTMLVerdocsPreviewElement;
2861
2722
  };
2862
- /**
2863
- * Displays a summary of a template
2864
- */
2865
2723
  interface HTMLVerdocsProgressBarElement extends Components.VerdocsProgressBar, HTMLStencilElement {
2866
2724
  }
2867
2725
  var HTMLVerdocsProgressBarElement: {
@@ -3877,21 +3735,6 @@ declare namespace LocalJSX {
3877
3735
  */
3878
3736
  "templateId"?: string | null;
3879
3737
  }
3880
- /**
3881
- * Display a simple button.
3882
- * Three variants are supported. `standard` and `outline` buttons look like traditional form buttons and are ideal candidates for 'Ok' and
3883
- * 'Cancel' options in most cases. `text` buttons are intended to be used inline in content blocks or for more subtle button options.
3884
- * (Auth uses text buttons for the Forgot Password and Sign Up options.)
3885
- * Four sizes are also supported. Most use cases will call for the `normal` size, but a `small` size is ideal for more subtle controls, such
3886
- * as pagination or other secondary functions. `medium` buttons are slightly larger to provide balance in forms where other items are also
3887
- * bigger, and `large` buttons are for cases where the page has mostly white-space and the buttons need to fill more space.
3888
- * Icons may be placed either before ("start") or after ("end") the button label. Icons should be SVG objects passed as strings and will
3889
- * be rendered as HTML inside the button label area. It is important that the root <SVG> tag contains a default `fill="#ffffff"` setting
3890
- * for the base color, and that child elements below it do not. This allows the button color to carry into the icon properly.
3891
- * ```html
3892
- * <verdocs-button label="OK" onClick={() => (console.log('OK clicked'))} />
3893
- * ```
3894
- */
3895
3738
  interface VerdocsButton {
3896
3739
  /**
3897
3740
  * Whether the button should be disabled.
@@ -3922,15 +3765,6 @@ declare namespace LocalJSX {
3922
3765
  */
3923
3766
  "variant"?: 'standard' | 'text' | 'outline';
3924
3767
  }
3925
- /**
3926
- * Displays a clickable icon suitable for display in a toolbar. When clicked, a customizable drop-down panel will be
3927
- * displayed.
3928
- * ```html
3929
- * <verdocs-button-panel icon="<svg.../>">
3930
- * <div class="content">...</div>
3931
- * </verdocs-button-panel>
3932
- * ```
3933
- */
3934
3768
  interface VerdocsButtonPanel {
3935
3769
  /**
3936
3770
  * SVG icon to display
@@ -4030,21 +3864,6 @@ declare namespace LocalJSX {
4030
3864
  */
4031
3865
  "onExit"?: (event: VerdocsDialogCustomEvent<any>) => void;
4032
3866
  }
4033
- /**
4034
- * Display a drop-down menu button. A menu of the specified options will be displayed when the button is pressed. The menu will be hidden
4035
- * when the button is pressed again, or an option is selected. Separators may be created by supplying an entry with an empty label.
4036
- * ```html
4037
- * <verdocs-dropdown
4038
- * options={[
4039
- * {label: 'Option 1', disabled: true},
4040
- * {label: 'Option 2', id: '2'}
4041
- * {label: ''}
4042
- * {label: 'Option 3', id: '2'}
4043
- * ]}
4044
- * label="OK" onClick={() => (console.log('OK clicked'))}
4045
- * />
4046
- * ```
4047
- */
4048
3867
  interface VerdocsDropdown {
4049
3868
  /**
4050
3869
  * Event fired when a menu option is clicked. Web Component events need to be "composed" to cross the Shadow DOM and be received by parent frameworks.
@@ -4868,10 +4687,6 @@ declare namespace LocalJSX {
4868
4687
  */
4869
4688
  "yscale"?: number;
4870
4689
  }
4871
- /**
4872
- * Displays a file picker to upload an attachment. This component is just the picker - the host application or component should
4873
- * provide the actual upload functionality.
4874
- */
4875
4690
  interface VerdocsFileChooser {
4876
4691
  /**
4877
4692
  * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
@@ -4882,11 +4697,6 @@ declare namespace LocalJSX {
4882
4697
  */
4883
4698
  "onFileSelected"?: (event: VerdocsFileChooserCustomEvent<{file: File | null}>) => void;
4884
4699
  }
4885
- /**
4886
- * Floating Action Button style menu. For proper placement, this should be added to the DOM inside a container that is set to
4887
- * `overflow-y: scroll;`. The component will detect that placement and position itself in the bottom-right corner on top of the
4888
- * container. It will be absolutely positioned so it will be unaffected by scrolling the container.
4889
- */
4890
4700
  interface VerdocsFloatingMenu {
4891
4701
  /**
4892
4702
  * Event fired when a menu option is clicked. Web Component events need to be "composed" to cross the Shadow DOM and be received by parent frameworks.
@@ -4897,9 +4707,6 @@ declare namespace LocalJSX {
4897
4707
  */
4898
4708
  "options"?: IOption[];
4899
4709
  }
4900
- /**
4901
- * Displays a simple help icon. Upon hover or focus, a tooltip will be displayed with help text.
4902
- */
4903
4710
  interface VerdocsHelpIcon {
4904
4711
  /**
4905
4712
  * Optional icon to display. If not supplied, a standard help icon will be shown.
@@ -4975,9 +4782,6 @@ declare namespace LocalJSX {
4975
4782
  */
4976
4783
  "steps"?: number;
4977
4784
  }
4978
- /**
4979
- * Animated loader placeholder. There are currently no configuration options for this control.
4980
- */
4981
4785
  interface VerdocsLoader {
4982
4786
  }
4983
4787
  /**
@@ -5011,18 +4815,12 @@ declare namespace LocalJSX {
5011
4815
  */
5012
4816
  "showCancel"?: boolean;
5013
4817
  }
5014
- /**
5015
- * Display a small summary card describing an organization
5016
- */
5017
4818
  interface VerdocsOrganizationCard {
5018
4819
  /**
5019
4820
  * The organization to display
5020
4821
  */
5021
4822
  "organization"?: IOrganization;
5022
4823
  }
5023
- /**
5024
- * Display a drop-down menu of quick filter options.
5025
- */
5026
4824
  interface VerdocsPagination {
5027
4825
  /**
5028
4826
  * The total number of items.
@@ -5041,14 +4839,6 @@ declare namespace LocalJSX {
5041
4839
  */
5042
4840
  "selectedPage"?: number;
5043
4841
  }
5044
- /**
5045
- * Display a child component in a "portal", popping it out of the main DOM tree
5046
- * to allow it to escape the bounds set by its parent.
5047
- * @credit https://github.com/tomas-teston/stencil-portal for the basic
5048
- * technique. This has been altered in a few ways to make it more friendly
5049
- * to cases where there may be multiple portals on the page and provide more
5050
- * alignment options for the child to be displayed.
5051
- */
5052
4842
  interface VerdocsPortal {
5053
4843
  /**
5054
4844
  * Horizontal alignment.
@@ -5083,9 +4873,6 @@ declare namespace LocalJSX {
5083
4873
  */
5084
4874
  "templateId"?: string | null;
5085
4875
  }
5086
- /**
5087
- * Displays a summary of a template
5088
- */
5089
4876
  interface VerdocsProgressBar {
5090
4877
  /**
5091
4878
  * Optional label to display above the bar
@@ -6264,31 +6051,7 @@ declare module "@stencil/core" {
6264
6051
  * Display a template building experience.
6265
6052
  */
6266
6053
  "verdocs-build": LocalJSX.VerdocsBuild & JSXBase.HTMLAttributes<HTMLVerdocsBuildElement>;
6267
- /**
6268
- * Display a simple button.
6269
- * Three variants are supported. `standard` and `outline` buttons look like traditional form buttons and are ideal candidates for 'Ok' and
6270
- * 'Cancel' options in most cases. `text` buttons are intended to be used inline in content blocks or for more subtle button options.
6271
- * (Auth uses text buttons for the Forgot Password and Sign Up options.)
6272
- * Four sizes are also supported. Most use cases will call for the `normal` size, but a `small` size is ideal for more subtle controls, such
6273
- * as pagination or other secondary functions. `medium` buttons are slightly larger to provide balance in forms where other items are also
6274
- * bigger, and `large` buttons are for cases where the page has mostly white-space and the buttons need to fill more space.
6275
- * Icons may be placed either before ("start") or after ("end") the button label. Icons should be SVG objects passed as strings and will
6276
- * be rendered as HTML inside the button label area. It is important that the root <SVG> tag contains a default `fill="#ffffff"` setting
6277
- * for the base color, and that child elements below it do not. This allows the button color to carry into the icon properly.
6278
- * ```html
6279
- * <verdocs-button label="OK" onClick={() => (console.log('OK clicked'))} />
6280
- * ```
6281
- */
6282
6054
  "verdocs-button": LocalJSX.VerdocsButton & JSXBase.HTMLAttributes<HTMLVerdocsButtonElement>;
6283
- /**
6284
- * Displays a clickable icon suitable for display in a toolbar. When clicked, a customizable drop-down panel will be
6285
- * displayed.
6286
- * ```html
6287
- * <verdocs-button-panel icon="<svg.../>">
6288
- * <div class="content">...</div>
6289
- * </verdocs-button-panel>
6290
- * ```
6291
- */
6292
6055
  "verdocs-button-panel": LocalJSX.VerdocsButtonPanel & JSXBase.HTMLAttributes<HTMLVerdocsButtonPanelElement>;
6293
6056
  /**
6294
6057
  * Displays a check box. Note that this is different from the `verdocs-field-checkbox` component, which is designed
@@ -6323,21 +6086,6 @@ declare module "@stencil/core" {
6323
6086
  * Display a simple dialog where the contents are provided via slots.
6324
6087
  */
6325
6088
  "verdocs-dialog": LocalJSX.VerdocsDialog & JSXBase.HTMLAttributes<HTMLVerdocsDialogElement>;
6326
- /**
6327
- * Display a drop-down menu button. A menu of the specified options will be displayed when the button is pressed. The menu will be hidden
6328
- * when the button is pressed again, or an option is selected. Separators may be created by supplying an entry with an empty label.
6329
- * ```html
6330
- * <verdocs-dropdown
6331
- * options={[
6332
- * {label: 'Option 1', disabled: true},
6333
- * {label: 'Option 2', id: '2'}
6334
- * {label: ''}
6335
- * {label: 'Option 3', id: '2'}
6336
- * ]}
6337
- * label="OK" onClick={() => (console.log('OK clicked'))}
6338
- * />
6339
- * ```
6340
- */
6341
6089
  "verdocs-dropdown": LocalJSX.VerdocsDropdown & JSXBase.HTMLAttributes<HTMLVerdocsDropdownElement>;
6342
6090
  /**
6343
6091
  * Represents one document page. This is primarily a layout container used to coordinate positions of
@@ -6411,20 +6159,8 @@ declare module "@stencil/core" {
6411
6159
  * Display a timestamp field.
6412
6160
  */
6413
6161
  "verdocs-field-timestamp": LocalJSX.VerdocsFieldTimestamp & JSXBase.HTMLAttributes<HTMLVerdocsFieldTimestampElement>;
6414
- /**
6415
- * Displays a file picker to upload an attachment. This component is just the picker - the host application or component should
6416
- * provide the actual upload functionality.
6417
- */
6418
6162
  "verdocs-file-chooser": LocalJSX.VerdocsFileChooser & JSXBase.HTMLAttributes<HTMLVerdocsFileChooserElement>;
6419
- /**
6420
- * Floating Action Button style menu. For proper placement, this should be added to the DOM inside a container that is set to
6421
- * `overflow-y: scroll;`. The component will detect that placement and position itself in the bottom-right corner on top of the
6422
- * container. It will be absolutely positioned so it will be unaffected by scrolling the container.
6423
- */
6424
6163
  "verdocs-floating-menu": LocalJSX.VerdocsFloatingMenu & JSXBase.HTMLAttributes<HTMLVerdocsFloatingMenuElement>;
6425
- /**
6426
- * Displays a simple help icon. Upon hover or focus, a tooltip will be displayed with help text.
6427
- */
6428
6164
  "verdocs-help-icon": LocalJSX.VerdocsHelpIcon & JSXBase.HTMLAttributes<HTMLVerdocsHelpIconElement>;
6429
6165
  /**
6430
6166
  * Display a dialog that allows the user to specify an initials image, either by using a signature-font-generated image
@@ -6437,9 +6173,6 @@ declare module "@stencil/core" {
6437
6173
  * It can also be dismissed by clicking the background overlay.
6438
6174
  */
6439
6175
  "verdocs-kba-dialog": LocalJSX.VerdocsKbaDialog & JSXBase.HTMLAttributes<HTMLVerdocsKbaDialogElement>;
6440
- /**
6441
- * Animated loader placeholder. There are currently no configuration options for this control.
6442
- */
6443
6176
  "verdocs-loader": LocalJSX.VerdocsLoader & JSXBase.HTMLAttributes<HTMLVerdocsLoaderElement>;
6444
6177
  /**
6445
6178
  * Display a simple text dialog box with an Ok button. This adds a partially-transparent overlay and screen-centered dialog
@@ -6447,22 +6180,8 @@ declare module "@stencil/core" {
6447
6180
  * It can also be dismissed by clicking the background overlay.
6448
6181
  */
6449
6182
  "verdocs-ok-dialog": LocalJSX.VerdocsOkDialog & JSXBase.HTMLAttributes<HTMLVerdocsOkDialogElement>;
6450
- /**
6451
- * Display a small summary card describing an organization
6452
- */
6453
6183
  "verdocs-organization-card": LocalJSX.VerdocsOrganizationCard & JSXBase.HTMLAttributes<HTMLVerdocsOrganizationCardElement>;
6454
- /**
6455
- * Display a drop-down menu of quick filter options.
6456
- */
6457
6184
  "verdocs-pagination": LocalJSX.VerdocsPagination & JSXBase.HTMLAttributes<HTMLVerdocsPaginationElement>;
6458
- /**
6459
- * Display a child component in a "portal", popping it out of the main DOM tree
6460
- * to allow it to escape the bounds set by its parent.
6461
- * @credit https://github.com/tomas-teston/stencil-portal for the basic
6462
- * technique. This has been altered in a few ways to make it more friendly
6463
- * to cases where there may be multiple portals on the page and provide more
6464
- * alignment options for the child to be displayed.
6465
- */
6466
6185
  "verdocs-portal": LocalJSX.VerdocsPortal & JSXBase.HTMLAttributes<HTMLVerdocsPortalElement>;
6467
6186
  /**
6468
6187
  * Display a template preview experience. This will display the template's attached
@@ -6470,9 +6189,6 @@ declare module "@stencil/core" {
6470
6189
  * by recipient, and will be read-only (cannot be filled, moved, or altered).
6471
6190
  */
6472
6191
  "verdocs-preview": LocalJSX.VerdocsPreview & JSXBase.HTMLAttributes<HTMLVerdocsPreviewElement>;
6473
- /**
6474
- * Displays a summary of a template
6475
- */
6476
6192
  "verdocs-progress-bar": LocalJSX.VerdocsProgressBar & JSXBase.HTMLAttributes<HTMLVerdocsProgressBarElement>;
6477
6193
  /**
6478
6194
  * Display a drop-down menu of quick filter options.
@@ -1 +1 @@
1
- System.register(["./p-e748b2d2.system.js"],(function(t){"use strict";var o,e,n,i,r;return{setters:[function(t){o=t.r;e=t.c;n=t.h;i=t.g;r=t.H}],execute:function(){var a="@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-floating-menu{display:none}#verdocs-floating-menu{position:absolute;width:56px;height:56px;display:-ms-flexbox;display:flex;-ms-flex:0 0 fit-content;flex:0 0 fit-content}#verdocs-floating-menu:not(.force-closed):hover{height:500px}#verdocs-floating-menu:not(.force-closed):hover .trigger{-webkit-box-shadow:0 10px 25px #4c56cb;box-shadow:0 10px 25px #4c56cb;-webkit-transform:translatey(2px);transform:translatey(2px);-webkit-transition:all 0.3s;transition:all 0.3s}#verdocs-floating-menu:not(.force-closed):hover .options{display:-ms-flexbox;display:flex}#verdocs-floating-menu:not(.force-closed):hover .options .option{-webkit-animation:vfm-appear 0.1s forwards 0.2s;animation:vfm-appear 0.1s forwards 0.2s}#verdocs-floating-menu .trigger{position:absolute;width:56px;height:56px;background:#654dcb;bottom:0;border-radius:50%;left:0;right:0;margin:auto;color:white;line-height:52px;text-align:center;font-size:44px;z-index:100;-webkit-box-shadow:0 10px 25px -5px #4c56cb;box-shadow:0 10px 25px -5px #4c56cb;cursor:pointer;-webkit-transition:all 0.3s;transition:all 0.3s}#verdocs-floating-menu .options{width:56px;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 0 fit-content;flex:0 0 fit-content;position:absolute;bottom:70px;display:none}#verdocs-floating-menu .option{background:#654dcb;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;width:36px;height:36px;margin:5px auto;color:white;font-weight:500;text-align:center;line-height:36px;opacity:0}#verdocs-floating-menu verdocs-toolbar-icon .icon{display:-ms-flexbox;display:flex}#verdocs-floating-menu verdocs-toolbar-icon .icon svg{fill:#ffffff}@-webkit-keyframes vfm-appear{0%{opacity:0}30%{-webkit-transform:scale(0.4);transform:scale(0.4);opacity:0.3}70%{-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0.6}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes vfm-appear{0%{opacity:0}30%{-webkit-transform:scale(0.4);transform:scale(0.4);opacity:0.3}70%{-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0.6}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}";var s=a;var c=function(t){var o=/(auto|scroll)/;var e=function(t,o){if(t.parentNode===null){return o}return e(t.parentNode,o.concat([t]))};var n=function(t,o){return getComputedStyle(t,null).getPropertyValue(o)};var i=function(t){return n(t,"overflow")+n(t,"overflow-y")+n(t,"overflow-x")};var r=function(t){return o.test(i(t))};var a=function(t){if(!(t instanceof HTMLElement||t instanceof SVGElement)){return}var o=e(t.parentNode,[]);for(var n=0;n<o.length;n+=1){if(r(o[n])){return o[n]}}return document.scrollingElement||document.documentElement};return a(t)};var l=t("verdocs_floating_menu",function(){function t(t){o(this,t);this.optionSelected=e(this,"optionSelected",7);this.menuContainer=null;this.scrollParent=null;this.scrollParentParent=null;this.options=[]}t.prototype.componentDidLoad=function(){this.menuContainer=document.createElement("div");this.menuContainer.id="verdocs-floating-menu";var t=document.createElement("div");t.className="trigger";t.innerText="+";this.menuContainer.append(t);t=document.createElement("div");t.className="options";this.menuContainer.append(t);var o=this.handleSelect.bind(this);this.options.forEach((function(e){var n=document.createElement("div");n.className="option";n.addEventListener("click",(function(){return o(e)}));t.append(n);var i=document.createElement("verdocs-toolbar-icon");i.setAttribute("icon",e.icon);i.setAttribute("text",e.tooltip);i.setAttribute("placement","left");n.append(i)}));document.body.append(this.menuContainer);this.scrollParent=c(this.el);if(this.scrollParent){this.scrollParentParent=this.scrollParent.parentElement;this.repositionTrigger(this.scrollParent)}};t.prototype.disconnectedCallback=function(){var t;(t=this.menuContainer)===null||t===void 0?void 0:t.remove()};t.prototype.handleSelect=function(t){var o;(o=this.optionSelected)===null||o===void 0?void 0:o.emit(t);var e=document.getElementById("verdocs-floating-menu");if(e){e.className="force-closed";setTimeout((function(){e.className=""}),100)}};t.prototype.repositionTrigger=function(t){var o=t.parentElement;if(o){var e=o.getBoundingClientRect();var n=document.getElementById("verdocs-floating-menu");if(n){n.style.bottom="".concat(document.documentElement.clientHeight-(document.documentElement.scrollTop+e.bottom)+10,"px");n.style.left="".concat(e.right-80,"px")}}};t.prototype.render=function(){return n(r,{key:"f86d62b15f087709d2f167a3c24cc769fb191c26"})};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());l.style=s}}}));
1
+ System.register(["./p-e748b2d2.system.js"],(function(t){"use strict";var o,e,n,i,r;return{setters:[function(t){o=t.r;e=t.c;n=t.h;i=t.g;r=t.H}],execute:function(){var a="@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-floating-menu{display:none}#verdocs-floating-menu{position:absolute;width:56px;height:56px;display:-ms-flexbox;display:flex;-ms-flex:0 0 fit-content;flex:0 0 fit-content}#verdocs-floating-menu:not(.force-closed):hover{height:500px}#verdocs-floating-menu:not(.force-closed):hover .trigger{-webkit-box-shadow:0 10px 25px #4c56cb;box-shadow:0 10px 25px #4c56cb;-webkit-transform:translatey(2px);transform:translatey(2px);-webkit-transition:all 0.3s;transition:all 0.3s}#verdocs-floating-menu:not(.force-closed):hover .options{display:-ms-flexbox;display:flex}#verdocs-floating-menu:not(.force-closed):hover .options .option{-webkit-animation:vfm-appear 0.1s forwards 0.2s;animation:vfm-appear 0.1s forwards 0.2s}#verdocs-floating-menu .trigger{position:absolute;width:56px;height:56px;background:#654dcb;bottom:0;border-radius:50%;left:0;right:0;margin:auto;color:white;line-height:52px;text-align:center;font-size:44px;z-index:100;-webkit-box-shadow:0 10px 25px -5px #4c56cb;box-shadow:0 10px 25px -5px #4c56cb;cursor:pointer;-webkit-transition:all 0.3s;transition:all 0.3s}#verdocs-floating-menu .options{width:56px;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 0 fit-content;flex:0 0 fit-content;position:absolute;bottom:70px;display:none}#verdocs-floating-menu .option{background:#654dcb;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;width:36px;height:36px;margin:5px auto;color:white;font-weight:500;text-align:center;line-height:36px;opacity:0}#verdocs-floating-menu verdocs-toolbar-icon .icon{display:-ms-flexbox;display:flex}#verdocs-floating-menu verdocs-toolbar-icon .icon svg{fill:#ffffff}@-webkit-keyframes vfm-appear{0%{opacity:0}30%{-webkit-transform:scale(0.4);transform:scale(0.4);opacity:0.3}70%{-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0.6}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes vfm-appear{0%{opacity:0}30%{-webkit-transform:scale(0.4);transform:scale(0.4);opacity:0.3}70%{-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0.6}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}";var s=a;var c=function(t){var o=/(auto|scroll)/;var e=function(t,o){if(t.parentNode===null){return o}return e(t.parentNode,o.concat([t]))};var n=function(t,o){return getComputedStyle(t,null).getPropertyValue(o)};var i=function(t){return n(t,"overflow")+n(t,"overflow-y")+n(t,"overflow-x")};var r=function(t){return o.test(i(t))};var a=function(t){if(!(t instanceof HTMLElement||t instanceof SVGElement)){return}var o=e(t.parentNode,[]);for(var n=0;n<o.length;n+=1){if(r(o[n])){return o[n]}}return document.scrollingElement||document.documentElement};return a(t)};var l=t("verdocs_floating_menu",function(){function t(t){o(this,t);this.optionSelected=e(this,"optionSelected",7);this.menuContainer=null;this.scrollParent=null;this.scrollParentParent=null;this.options=[]}t.prototype.componentDidLoad=function(){this.menuContainer=document.createElement("div");this.menuContainer.id="verdocs-floating-menu";var t=document.createElement("div");t.className="trigger";t.innerText="+";this.menuContainer.append(t);t=document.createElement("div");t.className="options";this.menuContainer.append(t);var o=this.handleSelect.bind(this);this.options.forEach((function(e){var n=document.createElement("div");n.className="option";n.addEventListener("click",(function(){return o(e)}));t.append(n);var i=document.createElement("verdocs-toolbar-icon");i.setAttribute("icon",e.icon);i.setAttribute("text",e.tooltip);i.setAttribute("placement","left");n.append(i)}));document.body.append(this.menuContainer);this.scrollParent=c(this.el);if(this.scrollParent){this.scrollParentParent=this.scrollParent.parentElement;this.repositionTrigger(this.scrollParent)}};t.prototype.disconnectedCallback=function(){var t;(t=this.menuContainer)===null||t===void 0?void 0:t.remove()};t.prototype.handleSelect=function(t){var o;(o=this.optionSelected)===null||o===void 0?void 0:o.emit(t);var e=document.getElementById("verdocs-floating-menu");if(e){e.className="force-closed";setTimeout((function(){e.className=""}),100)}};t.prototype.repositionTrigger=function(t){var o=t.parentElement;if(o){var e=o.getBoundingClientRect();var n=document.getElementById("verdocs-floating-menu");if(n){n.style.bottom="".concat(document.documentElement.clientHeight-(document.documentElement.scrollTop+e.bottom)+10,"px");n.style.left="".concat(e.right-80,"px")}}};t.prototype.render=function(){return n(r,{key:"5a96af4115dc0383751e35ac6b889689fc5256d0"})};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());l.style=s}}}));
@@ -0,0 +1 @@
1
+ import{r as e,h as t,H as i,c as o,g as s}from"./p-73a6f972.js";import{VerdocsEndpoint as r,updateField as l,deleteField as a}from"@verdocs/js-sdk";import{g as d,u as c}from"./p-05cfdd58.js";import{g as n}from"./p-17801797.js";import{g as p}from"./p-f070e923.js";import{S as h}from"./p-fd97809c.js";import"./p-00b37c9a.js";import"./p-f3b47dfc.js";const f=class{constructor(t){e(this,t),this.checked=!1,this.name="",this.label="",this.value="",this.theme="light",this.disabled=!1}render(){return t(i,{key:"419474760206bae27e0ad8f578a0fb0d97702791",class:{disabled:this.disabled,[this.theme]:!0}},t("label",{key:"4cb5190cdc28bec1528637bfeeb130d392ce4347"},t("input",{key:"f032febf516c10b0540094f058a59031ce2c706b",type:"checkbox",value:this.value,name:this.name,checked:this.checked,disabled:this.disabled}),t("span",{key:"c089f80a6a1060d775c1a13d8cbe8a577287f329"},this.label)))}};f.style='@charset "UTF-8";@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-checkbox{line-height:18px;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-checkbox label>input[type=checkbox]{display:none}verdocs-checkbox label>input[type=checkbox]+*::before{content:"";width:20px;height:20px;-ms-flex-negative:0;flex-shrink:0;margin-right:8px;line-height:20px;border-radius:2px;border-style:solid;border-width:0.1rem;display:inline-block;vertical-align:bottom;border-color:#aeb4bf}verdocs-checkbox label>input[type=checkbox]:checked+*{color:#55bc81}verdocs-checkbox label>input[type=checkbox]:checked+*::before{content:"✓";color:white;text-align:center;background:#55bc81;border-color:#55bc81}verdocs-checkbox.dark label>input[type=checkbox]+*::before{border-color:#ffffff}verdocs-checkbox.dark label>input[type=checkbox]:checked+*::before{background:#55bc81;border-color:#55bc81}';const u=class{constructor(t){e(this,t),this.message=""}render(){return t(i,{key:"af86792a4a2d09d2242645a1a8db657c5cd984bf"},t("div",{key:"52096cd84877537d50bea3e0e7a424e5d352c566",class:"inner"},this.message))}};u.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-component-error{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;display:-ms-flexbox;display:flex;padding:15px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-component-error .inner{-ms-flex:1;flex:1;height:300px;display:-ms-flexbox;display:flex;font-size:18px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 20px;background:#ffffff;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}';const b=class{constructor(t){e(this,t),this.clickAway=o(this,"clickAway",7),this.moved=!1,this.anchor=void 0,this.voffset=0,this.align="left"}handleScroll(){this.calculatePosition()}handleResize(){this.calculatePosition()}handleClick(e){var t;this.element.contains(e.target)||null===(t=this.clickAway)||void 0===t||t.emit()}calculateLeft(){const e=document.getElementById(this.anchor);if(!e)return 0;const t=e.getBoundingClientRect();return"left"===this.align?Math.max(t.left,0):"right"===this.align?Math.max(t.left+t.width-this.portal.offsetWidth,0):Math.max(t.left-this.portal.offsetWidth/2+t.width/2,0)}calculateTop(){const e=document.getElementById(this.anchor);return e?e.getBoundingClientRect().bottom+this.voffset:0}calculatePosition(){this.portal.style.top=`${this.calculateTop()}px`,this.portal.style.left=`${this.calculateLeft()}px`}componentWillLoad(){var e;const t=`${this.anchor}-portal`;null===(e=document.getElementById(t))||void 0===e||e.remove(),this.portal=document.createElement("div"),this.portal.setAttribute("id",t),this.portal.style.zIndex="10001",this.portal.style.position="absolute",document.body.append(this.portal)}componentDidLoad(){this.portal.appendChild(this.element),this.calculatePosition()}disconnectedCallback(){this.moved?this.portal.remove():this.moved=!0}render(){return t(i,{key:"fe50082da1b3228d1492330d3cea3536af919794",ref:e=>this.element=e},t("slot",{key:"6b5dcf7d19c5de30eed63bb6e568bf0054930a0f"}))}};b.style="@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}";const m=class{constructor(t){e(this,t),this.value="",this.label="",this.options=void 0,this.disabled=!1}render(){return t(i,{key:"a353e008560aed3f922fc52d5c091d88cbe099a3",class:"input-field"},t("label",{key:"90a9b8244853fa2083f0d7fb1672ed204ed22a4c"},this.label?t("div",{class:"input-label"},this.label+":"):t("div",null),t("select",{key:"a68e1ea7b9f9b6f375b2d6c1df859708acc79bea",class:"input-element",disabled:this.disabled},this.options.map((e=>t("option",{value:e.value,selected:e.value===this.value},e.label))))))}};m.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-select-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-select-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;background:#ffffff;border:1px solid #cccccc;border-radius:4px;background:#ffffff;color:#092c4c;width:100%;font-size:16px;height:28px;padding:2px 8px}verdocs-select-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-select-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-select-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-select-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-select-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-select-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}';const v=e=>e.charAt(0).toUpperCase()+e.slice(1),x='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#a50021"><path stroke-linecap="round" stroke-linejoin="round" d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" /></svg>',g='<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24"><path d="M11.925 18q.55 0 .938-.387.387-.388.387-.938 0-.55-.387-.925-.388-.375-.938-.375-.55 0-.925.375t-.375.925q0 .55.375.938.375.387.925.387Zm-.95-3.85h1.95q0-.8.2-1.287.2-.488 1.025-1.288.65-.625 1.025-1.213.375-.587.375-1.437 0-1.425-1.025-2.175Q13.5 6 12.1 6q-1.425 0-2.35.775t-1.275 1.85l1.775.7q.125-.45.55-.975.425-.525 1.275-.525.725 0 1.1.412.375.413.375.888 0 .475-.287.9-.288.425-.713.775-1.075.95-1.325 1.475-.25.525-.25 1.875ZM12 22.2q-2.125 0-3.988-.8-1.862-.8-3.237-2.175Q3.4 17.85 2.6 15.988 1.8 14.125 1.8 12t.8-3.988q.8-1.862 2.175-3.237Q6.15 3.4 8.012 2.6 9.875 1.8 12 1.8t3.988.8q1.862.8 3.237 2.175Q20.6 6.15 21.4 8.012q.8 1.863.8 3.988t-.8 3.988q-.8 1.862-2.175 3.237Q17.85 20.6 15.988 21.4q-1.863.8-3.988.8Zm0-2.275q3.325 0 5.625-2.3t2.3-5.625q0-3.325-2.3-5.625T12 4.075q-3.325 0-5.625 2.3T4.075 12q0 3.325 2.3 5.625t5.625 2.3ZM12 12Z"/></svg>';function k(){const e=()=>Math.floor(65536*(1+Math.random())).toString(16).substring(1);return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}const y=class{constructor(t){e(this,t),this.close=o(this,"close",7),this.delete=o(this,"delete",7),this.settingsChanged=o(this,"settingsChanged",7),this.sdkError=o(this,"sdkError",7),this.templateStore=null,this.fieldStore=null,this.roleStore=null,this.endpoint=r.getDefault(),this.templateId="",this.fieldName="",this.helpText="",this.dirty=!1,this.loading=!0,this.setting=null,this.label="",this.type="textbox",this.name="",this.required=!1,this.roleName="",this.group="",this.fieldType="",this.options=[],this.placeholder="",this.value="",this.leading=0,this.showingHelp=!1}async componentWillLoad(){var e,t,i,o,s,r,l;try{if(this.endpoint.loadSession(),!this.templateId)return void console.log(`[FIELD PROPERTIES] Missing required template ID ${this.templateId}`);if(!this.fieldName)return void console.error("[FIELD PROPERTIES] Missing required field name");if(!this.endpoint.session)return void console.log("[FIELD PROPERTIES] Unable to start builder session, must be authenticated");this.templateStore=await p(this.endpoint,this.templateId),this.fieldStore=await d(this.templateId),this.roleStore=await n(this.templateId);const s=this.fieldStore.get("fields").find((e=>e.name===this.fieldName));s?console.log("props",s):console.log(`[FIELD PROPERTIES] Unable to find field "${this.fieldName}" in fields`),this.type=s.type,this.name=s.name,this.label=s.label,this.group=s.name,this.roleName=s.role_name,this.required=s.required,this.fieldType=s.type,this.placeholder=(null===(e=s.settings)||void 0===e?void 0:e.placeholder)||"",this.value=(null===(t=s.settings)||void 0===t?void 0:t.result)||"",this.leading=(null===(i=s.settings)||void 0===i?void 0:i.leading)||0,this.setting=s.settings||{},this.options=(null===(o=s.settings)||void 0===o?void 0:o.options)||[],this.dirty=!1,this.loading=!1,console.log("Displaying settings for",this.setting)}catch(e){console.log("[FIELD PROPERTIES] Error loading template",e),this.loading=!1,null===(s=this.sdkError)||void 0===s||s.emit(new h(e.message,null===(r=e.response)||void 0===r?void 0:r.status,null===(l=e.response)||void 0===l?void 0:l.data))}}handleCancel(e){var t,i,o,s,r;e.stopPropagation();const l=this.fieldStore.get("fields").find((e=>e.name===this.fieldName));l&&(this.name=l.name,this.label=l.label,this.roleName=l.role_name,this.required=l.required,this.placeholder=(null===(t=l.settings)||void 0===t?void 0:t.placeholder)||"",this.value=(null===(i=l.settings)||void 0===i?void 0:i.result)||"",this.leading=(null===(o=l.settings)||void 0===o?void 0:o.leading)||0),this.dirty=!1,null===(s=this.close)||void 0===s||s.emit(),null===(r=document.getElementById("verdocs-template-field-properties"))||void 0===r||r.remove()}handleSave(e){e.stopPropagation();const t={name:this.name,label:this.label||null,required:this.required,role_name:this.roleName};"checkbox_group"===this.type||"radio_button_group"===this.type?(t.settings=this.setting,t.settings.options=this.options):"textarea"===this.type||"textbox"===this.type?(t.settings={...this.setting},t.settings.result=(this.value||"").trim()):"dropdown"===this.type&&(t.settings={x:this.setting.x,y:this.setting.y,options:this.options}),console.log("FP: Will update",this.fieldName,t),l(this.endpoint,this.templateId,this.fieldName,t).then((e=>{var i,o,s;this.dirty=!1,c(this.fieldStore,this.fieldName,e),null===(i=this.settingsChanged)||void 0===i||i.emit({fieldName:this.fieldName,settings:t,field:e}),null===(o=this.close)||void 0===o||o.emit(),null===(s=document.getElementById("verdocs-template-field-properties"))||void 0===s||s.remove()})).catch((()=>{console.log("Field update failed",e)}))}handleAddOption(e){e.stopPropagation();const t={name:this.name,required:this.required,role_name:this.roleName};this.options.push("radio_button_group"===this.type?{id:k(),value:`Option ${this.options.length+1}`,selected:!1,x:this.options.length>0?this.options[this.options.length-1].x:20,y:this.options.length>0?this.options[this.options.length-1].y-25:20}:{id:k(),value:`Option ${this.options.length+1}`,checked:!1,x:this.options.length>0?this.options[this.options.length-1].x:20,y:this.options.length>0?this.options[this.options.length-1].y-25:20}),t.settings={...this.setting},delete t.settings.result,t.settings.options=[...this.options],l(this.endpoint,this.templateId,this.fieldName,t).then((e=>{var i,o,s;this.dirty=!1,c(this.fieldStore,this.fieldName,e),this.fieldName=e.name,null===(i=this.settingsChanged)||void 0===i||i.emit({fieldName:this.fieldName,settings:t,field:e}),null===(o=this.close)||void 0===o||o.emit(),null===(s=document.getElementById("verdocs-template-field-properties"))||void 0===s||s.remove()})).catch((()=>{console.log("Field update failed",e)}))}async handleDelete(e){e.stopPropagation(),window.confirm("Are you sure you wish to remove this field? This action cannot be undone.")&&a(this.endpoint,this.templateId,this.fieldName).then((()=>{var e,t;this.fieldStore.set("fields",this.fieldStore.get("fields").filter((e=>e.name!==this.fieldName))),null===(e=this.delete)||void 0===e||e.emit({templateId:this.templateId,roleName:this.roleName}),null===(t=document.getElementById("verdocs-template-field-properties"))||void 0===t||t.remove()})).catch((e=>{console.log("[FIELD PROPERTIES] Deletion error",e)}))}render(){var e;return this.endpoint.session?this.endpoint.session&&this.fieldStore.get("fields").some((e=>e.name===this.fieldName))?this.helpText&&this.showingHelp?t(i,null,t("h6",null,v(this.fieldType)," Settings ",t("div",{style:{flex:"1"}}),t("div",{class:"help-icon",innerHTML:g,onClick:()=>this.showingHelp=!1})),t("p",{class:"instructions",innerHTML:this.helpText})):t(i,{id:"verdocs-template-field-properties"},t("h6",null,v(this.fieldType.replace(/_/g," "))," Settings ",t("div",{style:{flex:"1"}}),this.helpText&&t("div",{class:"help-icon",innerHTML:g,onClick:()=>this.showingHelp=!0})),t("form",{onSubmit:e=>e.preventDefault(),onClick:e=>e.stopPropagation(),autocomplete:"off"},t("div",{class:"row"},t("verdocs-text-input",{id:"verdocs-field-name",label:"Field Name",value:this.name,autocomplete:"off",placeholder:"Field Name...",onInput:e=>{this.name=e.target.value,this.dirty=!0}})),t("div",{class:"row"},t("verdocs-text-input",{id:"verdocs-field-label",label:"Optional Label",value:this.label,autocomplete:"off",placeholder:"Optional Label...",onInput:e=>{this.label=e.target.value,this.dirty=!0}})),t("div",{class:"row"},t("div",{class:"input-label"},"Role:"),t("verdocs-select-input",{value:this.roleName,options:null===(e=this.roleStore.state)||void 0===e?void 0:e.roles.map((e=>({label:e.name,value:e.name}))),onInput:e=>{this.roleName=e.target.value,this.dirty=!0}})),["textbox","textarea"].includes(this.type)&&t("div",{class:"row",style:{marginTop:"10px",marginBottom:"10px"}},t("verdocs-text-input",{id:"verdocs-field-value",label:"Value",value:this.value,autocomplete:"off",placeholder:"Pre-defined value...",onInput:e=>{this.value=e.target.value,this.dirty=!0}})),["textbox","textarea"].includes(this.type)&&t("div",{class:"row",style:{marginTop:"10px",marginBottom:"10px"}},t("verdocs-text-input",{id:"verdocs-field-placeholder",label:"Placeholder",value:this.placeholder,autocomplete:"off",placeholder:"Placeholder...",onInput:e=>{this.placeholder=e.target.value,this.dirty=!0}})),t("div",{class:"row",style:{marginTop:"15px",marginBottom:"15px"}},t("label",{htmlFor:"verdocs-is-required",class:"input-label"},"Required"),t("verdocs-checkbox",{id:"verdocs-is-required",name:"is-required",checked:this.required,value:"on",onInput:e=>{this.required=e.target.checked,this.dirty=!0}})),["checkbox_group","radio_button_group"].includes(this.type)&&t("verdocs-button",{size:"small",onClick:e=>this.handleAddOption(e),label:"Add Option"}),["dropdown"].includes(this.type)&&t("div",{class:"options"},t("div",{class:"row",style:{marginTop:"15px",marginBottom:"15px",textAlign:"center",fontWeight:"700",fontSize:"14px",justifyContent:"center",backgroundColor:"#333333",padding:"5px 8px",color:"#ffffff"}},"Options"),t("div",{class:"row-header"},t("h6",null,"ID"),t("h6",null,"Label"),t("div",{style:{width:"34px"}})),this.options.map(((e,i)=>t("div",{class:"row option-row",key:i},t("verdocs-text-input",{id:`verdocs-option-id-${e.id}`,value:e.id,placeholder:"Unique ID",onInput:e=>{this.options[i].id=e.target.value,this.dirty=!0}}),t("verdocs-text-input",{id:`verdocs-option-value-${e.id}`,value:e.value,placeholder:"Display value",onInput:e=>{this.options[i].value=e.target.value,this.dirty=!0}}),t("button",{innerHTML:x,class:"remove-button",onClick:()=>{this.options=this.options.filter((t=>t.id!==e.id)),this.dirty=!0}})))),t("div",{class:"row-header"},t("button",{class:"add-option-button",onClick:()=>{this.options=[...this.options,{id:`option-${this.options.length+1}`,value:`Option ${this.options.length+1}`}],this.dirty=!0}},"Add Option"))),t("div",{class:"buttons"},t("button",{class:"delete-button",disabled:this.dirty,onClick:e=>this.handleDelete(e),innerHTML:x}),t("div",{style:{flex:"1"}}),t("verdocs-button",{size:"small",variant:"outline",label:"Cancel",disabled:!this.dirty,onClick:e=>this.handleCancel(e)}),t("verdocs-button",{size:"small",label:"Save",disabled:!this.dirty,onClick:e=>this.handleSave(e)})))):t(i,{class:"empty"}):t(i,null,t("verdocs-component-error",{message:"You must be authenticated to use this module."}))}get el(){return s(this)}};y.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-template-field-properties{padding:20px;display:block;border-radius:4px;background:#ffffff;border:1px solid #ccc;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;-webkit-box-shadow:2px 2px 10px 0px rgba(0, 0, 0, 0.1215686275);box-shadow:2px 2px 10px 0px rgba(0, 0, 0, 0.1215686275)}verdocs-template-field-properties .buttons{display:-ms-flexbox;display:flex;margin-top:30px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-template-field-properties .buttons verdocs-button{margin-left:16px}verdocs-template-field-properties form .row{display:-ms-flexbox;display:flex;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;margin:0 0 10px 0;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-template-field-properties form .row .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0;-ms-flex:0 0 100px;flex:0 0 100px}verdocs-template-field-properties verdocs-select-input{-ms-flex:1;flex:1;margin:0}verdocs-template-field-properties verdocs-text-input{margin:0;-ms-flex:1;flex:1}verdocs-template-field-properties verdocs-text-input label{margin:0;display:-ms-flexbox;display:flex;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-template-field-properties verdocs-text-input .input-label{-ms-flex:0 0 100px;flex:0 0 100px}verdocs-template-field-properties verdocs-text-input input{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-field-properties .checkbox-wrapper{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-field-properties .delete-button{height:34px;display:-ms-flexbox;display:flex;cursor:pointer;background:none;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #999;-ms-flex-pack:center;justify-content:center}verdocs-template-field-properties .delete-button:active{background:#f3f3f3}verdocs-template-field-properties .delete-button svg{width:24px;height:24px}verdocs-template-field-properties h6{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;font-size:16px;font-weight:bold;margin:0 0 8px 0;-ms-flex-direction:row;flex-direction:row;color:#092c4c}verdocs-template-field-properties h6 .help-icon{opacity:0.5}verdocs-template-field-properties h6 .help-icon:hover{opacity:1;cursor:pointer}verdocs-template-field-properties .row-header{gap:15px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-template-field-properties .row-header h6{margin-bottom:0}verdocs-template-field-properties .row-header verdocs-help-icon{-webkit-transform:scale(0.85);transform:scale(0.85)}verdocs-template-field-properties .row-header verdocs-help-icon svg{margin-bottom:-5px}verdocs-template-field-properties .row-header .add-button{margin:0;padding:0;border:none;opacity:0.5;cursor:pointer;background:none}verdocs-template-field-properties .row-header .add-button:hover{opacity:1}verdocs-template-field-properties .row-header .add-button svg{width:32px;height:32px}verdocs-template-field-properties .option-row{margin:15px 0}verdocs-template-field-properties .option-row .remove-button{height:28px;display:-ms-flexbox;display:flex;cursor:pointer;background:none;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #999;-ms-flex-pack:center;justify-content:center}verdocs-template-field-properties .option-row .remove-button:active{background:#f3f3f3}verdocs-template-field-properties .option-row .remove-button:hover svg{stroke:rgb(165, 0, 33)}verdocs-template-field-properties .option-row .remove-button svg{width:20px;height:20px;stroke:#333333}verdocs-template-field-properties .options{background:#f3f3f3;padding:0 0 10px 0}verdocs-template-field-properties .options .row-header,verdocs-template-field-properties .options .option-row{padding:0 10px}verdocs-template-field-properties .options .add-option-button{border-radius:5px;border:1px solid #cccccc;background:#46497d;color:#ffffff;padding:3px 8px}verdocs-template-field-properties .options .option-row .input-element{font-size:14px}verdocs-template-field-properties .options verdocs-help-icon{opacity:1;-webkit-transform:scale(0.8);transform:scale(0.8)}verdocs-template-field-properties .options verdocs-help-icon svg{fill:#ffffff}';export{f as verdocs_checkbox,u as verdocs_component_error,b as verdocs_portal,m as verdocs_select_input,y as verdocs_template_field_properties}