gd-bs 6.3.3 → 6.3.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.3.3",
3
+ "version": "6.3.4",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -36,7 +36,7 @@
36
36
  "@popperjs/core": "^2.11.8",
37
37
  "bootstrap": "^5.3.2",
38
38
  "bootstrap-icons": "^1.11.1",
39
- "core-js": "^3.32.1",
39
+ "core-js": "^3.33.2",
40
40
  "tippy.js": "^6.3.7"
41
41
  },
42
42
  "devDependencies": {
package/pnpm-lock.yaml CHANGED
@@ -2,7 +2,7 @@ dependencies:
2
2
  '@popperjs/core': 2.11.8
3
3
  bootstrap: 5.3.2_@popperjs+core@2.11.8
4
4
  bootstrap-icons: 1.11.1
5
- core-js: 3.32.1
5
+ core-js: 3.33.2
6
6
  tippy.js: 6.3.7
7
7
  devDependencies:
8
8
  '@babel/core': 7.19.3
@@ -1834,11 +1834,11 @@ packages:
1834
1834
  dev: true
1835
1835
  resolution:
1836
1836
  integrity: sha512-ovcyhs2DEBUIE0MGEKHP4olCUW/XYte3Vroyxuh38rD1wAO4dHohsovUC4eAOuzFxE6b+RXvBU3UZ9o0YhUTkA==
1837
- /core-js/3.32.1:
1837
+ /core-js/3.33.2:
1838
1838
  dev: false
1839
1839
  requiresBuild: true
1840
1840
  resolution:
1841
- integrity: sha512-lqufgNn9NLnESg5mQeYsxQP5w7wrViSj0jr/kv6ECQiByzQkrn1MKvV0L3acttpDqfQrHLwr2KCMgX5b8X+lyQ==
1841
+ integrity: sha512-XeBzWI6QL3nJQiHmdzbAOiMYqjrb7hwU7A39Qhvd/POSa/t9E1AeZyEZx3fNvp/vtM8zXwhoL0FsiS0hD0pruQ==
1842
1842
  /cosmiconfig/8.2.0:
1843
1843
  dependencies:
1844
1844
  import-fresh: 3.3.0
@@ -3284,7 +3284,7 @@ specifiers:
3284
3284
  babel-loader: ^9.1.2
3285
3285
  bootstrap: ^5.3.2
3286
3286
  bootstrap-icons: ^1.11.1
3287
- core-js: ^3.32.1
3287
+ core-js: ^3.33.2
3288
3288
  css-loader: ^6.7.3
3289
3289
  dts-bundle: ^0.7.3
3290
3290
  postcss-loader: ^7.3.3
@@ -131,12 +131,14 @@ export class FormControl implements IFormControl {
131
131
  case FormControlTypes.ColorPicker:
132
132
  // Add the input
133
133
  this._tb = InputGroup({
134
+ appendedLabel: (this.props as IFormControlPropsTextField).appendedLabel,
134
135
  className,
135
136
  id: this._props.id,
136
137
  isDisabled: this._props.isDisabled,
137
138
  isReadonly: this._props.isReadonly,
138
139
  onChange: (this._props as IFormControlPropsTextField).onChange,
139
140
  placeholder: (this._props as IFormControlPropsTextField).placeholder,
141
+ prependedLabel: (this.props as IFormControlPropsTextField).prependedLabel,
140
142
  required: this._props.required,
141
143
  title: this._props.title,
142
144
  type: InputGroupTypes.ColorPicker,
@@ -179,12 +181,14 @@ export class FormControl implements IFormControl {
179
181
  case FormControlTypes.Email:
180
182
  // Add the input
181
183
  this._tb = InputGroup({
184
+ appendedLabel: (this.props as IFormControlPropsTextField).appendedLabel,
182
185
  className,
183
186
  id: this._props.id,
184
187
  isDisabled: this._props.isDisabled,
185
188
  isReadonly: this._props.isReadonly,
186
189
  onChange: (this._props as IFormControlPropsTextField).onChange,
187
190
  placeholder: (this._props as IFormControlPropsTextField).placeholder,
191
+ prependedLabel: (this.props as IFormControlPropsTextField).prependedLabel,
188
192
  required: this._props.required,
189
193
  title: this._props.title,
190
194
  type: InputGroupTypes.Email,
@@ -195,12 +199,14 @@ export class FormControl implements IFormControl {
195
199
  case FormControlTypes.File:
196
200
  // Add the input
197
201
  this._tb = InputGroup({
202
+ appendedLabel: (this.props as IFormControlPropsTextField).appendedLabel,
198
203
  className,
199
204
  id: this._props.id,
200
205
  isDisabled: this._props.isDisabled,
201
206
  isReadonly: this._props.isReadonly,
202
207
  onChange: (this._props as IFormControlPropsTextField).onChange,
203
208
  placeholder: (this._props as IFormControlPropsTextField).placeholder,
209
+ prependedLabel: (this.props as IFormControlPropsTextField).prependedLabel,
204
210
  required: this._props.required,
205
211
  title: this._props.title,
206
212
  type: InputGroupTypes.File,
@@ -312,12 +318,14 @@ export class FormControl implements IFormControl {
312
318
  case FormControlTypes.Password:
313
319
  // Add the input
314
320
  this._tb = InputGroup({
321
+ appendedLabel: (this.props as IFormControlPropsTextField).appendedLabel,
315
322
  className,
316
323
  id: this._props.id,
317
324
  isDisabled: this._props.isDisabled,
318
325
  isReadonly: this._props.isReadonly,
319
326
  onChange: (this._props as IFormControlPropsTextField).onChange,
320
327
  placeholder: (this._props as IFormControlPropsTextField).placeholder,
328
+ prependedLabel: (this.props as IFormControlPropsTextField).prependedLabel,
321
329
  required: this._props.required,
322
330
  title: this._props.title,
323
331
  type: InputGroupTypes.Password,
@@ -364,11 +372,13 @@ export class FormControl implements IFormControl {
364
372
  case FormControlTypes.Readonly:
365
373
  // Add the input
366
374
  this._tb = InputGroup({
375
+ appendedLabel: (this.props as IFormControlPropsTextField).appendedLabel,
367
376
  className,
368
377
  id: this._props.id,
369
378
  isReadonly: true,
370
379
  onChange: (this._props as IFormControlPropsTextField).onChange,
371
380
  placeholder: (this._props as IFormControlPropsTextField).placeholder,
381
+ prependedLabel: (this.props as IFormControlPropsTextField).prependedLabel,
372
382
  required: this._props.required,
373
383
  title: this._props.title,
374
384
  type: InputGroupTypes.TextField,
@@ -396,12 +406,14 @@ export class FormControl implements IFormControl {
396
406
  case FormControlTypes.TextArea:
397
407
  // Add the input
398
408
  this._tb = InputGroup({
409
+ appendedLabel: (this.props as IFormControlPropsTextField).appendedLabel,
399
410
  className,
400
411
  id: this._props.id,
401
412
  isDisabled: this._props.isDisabled,
402
413
  isReadonly: this._props.isReadonly,
403
414
  onChange: (this._props as IFormControlPropsTextField).onChange,
404
415
  placeholder: (this._props as IFormControlPropsTextField).placeholder,
416
+ prependedLabel: (this.props as IFormControlPropsTextField).prependedLabel,
405
417
  required: this._props.required,
406
418
  rows: (this._props as IFormControlPropsTextField).rows,
407
419
  title: this._props.title,
@@ -413,12 +425,14 @@ export class FormControl implements IFormControl {
413
425
  case FormControlTypes.TextField:
414
426
  // Add the input
415
427
  this._tb = InputGroup({
428
+ appendedLabel: (this.props as IFormControlPropsTextField).appendedLabel,
416
429
  className,
417
430
  id: this._props.id,
418
431
  isDisabled: this._props.isDisabled,
419
432
  isReadonly: this._props.isReadonly,
420
433
  onChange: (this._props as IFormControlPropsTextField).onChange,
421
434
  placeholder: (this._props as IFormControlPropsTextField).placeholder,
435
+ prependedLabel: (this.props as IFormControlPropsTextField).prependedLabel,
422
436
  required: this._props.required,
423
437
  title: this._props.title,
424
438
  type: InputGroupTypes.TextField,
@@ -202,12 +202,14 @@ export interface IFormControlPropsSwitch extends IFormControlPropsCheckbox { }
202
202
  * Form Control Properties - TextField
203
203
  */
204
204
  export interface IFormControlPropsTextField extends IFormControlProps {
205
+ appendedLabel?: string;
205
206
  el?: HTMLInputElement;
206
207
  onChange?: (value: string, ev?: Event) => void;
207
208
  onControlRendering?: (control: IFormControlPropsTextField) => void | PromiseLike<IFormControlPropsTextField>;
208
209
  onGetValue?: (control: IFormControlPropsTextField) => any;
209
210
  onValidate?: (control: IFormControlPropsTextField, value: IFormControlValidationResult) => boolean | IFormControlValidationResult;
210
211
  placeholder?: string;
212
+ prependedLabel?: string;
211
213
  rows?: number;
212
214
  }
213
215