@usssa/component-library 1.0.0-alpha.150 → 1.0.0-alpha.151

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Component Library v1.0.0-alpha.149
1
+ # Component Library v1.0.0-alpha.150
2
2
 
3
3
  **This library provides custom UI components for USSSA applications.**
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usssa/component-library",
3
- "version": "1.0.0-alpha.150",
3
+ "version": "1.0.0-alpha.151",
4
4
  "description": "A Quasar component library project",
5
5
  "productName": "Quasar component library App",
6
6
  "author": "Troy Moreland <troy.moreland@usssa.com>",
@@ -20,17 +20,9 @@ const props = defineProps({
20
20
  datePickerClass: { type: String, default: null },
21
21
  datePickerOptions: { type: [Array, Function] },
22
22
  disable: { type: Boolean, default: false },
23
- errorMessage: {
24
- type: String,
25
- default: null,
26
- },
27
23
  hintIcon: { type: String, default: null },
28
24
  hintText: { type: String, default: null },
29
25
  inputClass: { type: String, default: null },
30
- isError: {
31
- type: Boolean,
32
- default: false,
33
- },
34
26
  isRequired: { type: Boolean, default: false },
35
27
  label: {
36
28
  type: String,
@@ -96,19 +88,19 @@ const handleClose = () => {
96
88
  closeDialog()
97
89
  }
98
90
 
99
- const onUpdateValue = (value) => {
91
+ const onUpdateSheet = (value) => {
100
92
  if (value.search('-') > -1) {
101
- date.value = { from: value.split('-')[0], to: value.split('-')[1] }
93
+ dialogDate.value = { from: value.split('-')[0], to: value.split('-')[1] }
102
94
  } else {
103
- date.value = value
95
+ dialogDate.value = value
104
96
  }
105
97
  }
106
98
 
107
- const onUpdateSheet = (value) => {
99
+ const onUpdateValue = (value) => {
108
100
  if (value.search('-') > -1) {
109
- dialogDate.value = { from: value.split('-')[0], to: value.split('-')[1] }
101
+ date.value = { from: value.split('-')[0], to: value.split('-')[1] }
110
102
  } else {
111
- dialogDate.value = value
103
+ date.value = value
112
104
  }
113
105
  }
114
106
 
@@ -172,8 +164,6 @@ watch(
172
164
  :borderless="borderless"
173
165
  :dataTestId="dataTestId"
174
166
  :disable="disable"
175
- :error="isError"
176
- :error-message="errorMessage"
177
167
  :hint-icon="hintIcon"
178
168
  :hint-text="hintText"
179
169
  :is-required="isRequired"
@@ -263,7 +253,6 @@ watch(
263
253
  </UBtnStd>
264
254
  </template>
265
255
  </UInputTextStd>
266
- <!-- <div style="background-color: red; height: 200px"></div> -->
267
256
  <div>
268
257
  <q-date
269
258
  v-model="dialogDate"
@@ -288,7 +277,7 @@ watch(
288
277
  outline
289
278
  size="md"
290
279
  @on-click="handleClose"
291
- ></UBtnStd>
280
+ />
292
281
  </template>
293
282
  <template #action_primary_two>
294
283
  <UBtnStd
@@ -296,7 +285,7 @@ watch(
296
285
  label="Apply"
297
286
  size="md"
298
287
  @on-click="handleApply"
299
- ></UBtnStd>
288
+ />
300
289
  </template>
301
290
  </USheet>
302
291
  </template>