@wisemen/vue-core-components 2.2.3 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md ADDED
@@ -0,0 +1,59 @@
1
+ # PolyForm Strict License 1.0.0
2
+
3
+ <https://polyformproject.org/licenses/strict/1.0.0>
4
+
5
+ ## Acceptance
6
+
7
+ In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
8
+
9
+ ## Copyright License
10
+
11
+ The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose, other than distributing the software or making changes or new works based on the software.
12
+
13
+ ## Patent License
14
+
15
+ The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
16
+
17
+ ## Noncommercial Purposes
18
+
19
+ Any noncommercial purpose is a permitted purpose.
20
+
21
+ ## Personal Uses
22
+
23
+ Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
24
+
25
+ ## Noncommercial Organizations
26
+
27
+ Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
28
+
29
+ ## Fair Use
30
+
31
+ You may have "fair use" rights for the software under the law. These terms do not limit them.
32
+
33
+ ## No Other Rights
34
+
35
+ These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
36
+
37
+ ## Patent Defense
38
+
39
+ If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
40
+
41
+ ## Violations
42
+
43
+ The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
44
+
45
+ ## No Liability
46
+
47
+ ***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
48
+
49
+ ## Definitions
50
+
51
+ The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
52
+
53
+ **You** refers to the individual or entity agreeing to these terms.
54
+
55
+ **Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
56
+
57
+ **Your licenses** are all the licenses granted to you for the software under these terms.
58
+
59
+ **Use** means anything you do with the software requiring one of your licenses.
@@ -13,6 +13,11 @@ export interface DateFieldProps extends TestId, InteractableElement, FormElement
13
13
  * @default 'off'
14
14
  */
15
15
  autocomplete?: 'off' | 'on';
16
+ /**
17
+ * Whether the picker should remain open after a selection is made.
18
+ * @default false
19
+ */
20
+ dontCloseOnSelect?: boolean;
16
21
  /**
17
22
  * Hides the date picker dropdown trigger when set to `true`.
18
23
  *
@@ -45,6 +45,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
45
45
  errorMessage: string | null;
46
46
  classConfig: ResolvedClassConfig<"dateField"> | null;
47
47
  autocomplete: "off" | "on";
48
+ dontCloseOnSelect: boolean;
48
49
  hideDatePicker: boolean;
49
50
  maxDate: Temporal.PlainDate | null;
50
51
  minDate: Temporal.PlainDate | null;
@@ -19,6 +19,11 @@ export interface DateRangeFieldProps extends TestId, InteractableElement, FormEl
19
19
  * @default 'off'
20
20
  */
21
21
  autocomplete?: 'off' | 'on';
22
+ /**
23
+ * Whether the picker should remain open after a selection is made.
24
+ * @default false
25
+ */
26
+ dontCloseOnSelect?: boolean;
22
27
  /**
23
28
  * Hides the date picker dropdown trigger when set to `true`.
24
29
  *
@@ -52,6 +52,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
52
52
  errorMessage: string | null;
53
53
  classConfig: ResolvedClassConfig<"dateRangeField"> | null;
54
54
  autocomplete: "off" | "on";
55
+ dontCloseOnSelect: boolean;
55
56
  hideDatePicker: boolean;
56
57
  maxDate: Temporal.PlainDate | null;
57
58
  minDate: Temporal.PlainDate | null;
@@ -26,6 +26,7 @@ export interface FileUploadProps extends InteractableElement {
26
26
  * Confirms the upload of a file. In the case of a image, a blur hash can be provided to
27
27
  * generate a placeholder while the image is being uploaded.
28
28
  *
29
+ * @param uuid - The unique identifier of the file being uploaded.
29
30
  * @param blurHash - The blur hash of the image, or `null` if not applicable.
30
31
  * @returns A promise that resolves when the upload is confirmed.
31
32
  */