@devvit/ui-renderer 0.11.2-next-2024-10-22-8d2a6746e.0 → 0.11.2-next-2024-10-24-21d7de2c5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,7 @@ export declare class DevvitFormSelectionDropdown extends InputElement {
12
12
  static get styles(): import("lit").CSSResultGroup[];
13
13
  get value(): string;
14
14
  willUpdate(changedProperties: PropertyValues<this>): void;
15
+ formDisabledCallback(disabled: boolean): void;
15
16
  render(): TemplateResult<1>;
16
17
  }
17
18
  //# sourceMappingURL=devvit-form-selection-dropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"devvit-form-selection-dropdown.d.ts","sourceRoot":"","sources":["../../../../library/src/client/formbuilder/components/devvit-form-selection-dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,4DAA4D,CAAC;AACpE,OAAO,mDAAmD,CAAC;AAC3D,OAAO,2DAA2D,CAAC;AAEnE,OAAO,KAAK,EAA8B,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE5E,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAM/E,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAQ1D,qBAAa,2BAA4B,SAAQ,YAAY;;IAE3D,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAG7B,YAAY,UAAS;IAGrB,cAAc,EAAE,SAAS,MAAM,EAAE,CAAM;IAIvC,WAAoB,MAAM,mCAWzB;IAED,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAoEhD,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;CA4CrC"}
1
+ {"version":3,"file":"devvit-form-selection-dropdown.d.ts","sourceRoot":"","sources":["../../../../library/src/client/formbuilder/components/devvit-form-selection-dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,4DAA4D,CAAC;AACpE,OAAO,mDAAmD,CAAC;AAC3D,OAAO,2DAA2D,CAAC;AAEnE,OAAO,KAAK,EAA8B,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE5E,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAM/E,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAQ1D,qBAAa,2BAA4B,SAAQ,YAAY;;IAE3D,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAG7B,YAAY,UAAS;IAGrB,cAAc,EAAE,SAAS,MAAM,EAAE,CAAM;IAIvC,WAAoB,MAAM,mCAWzB;IAED,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAqEhD,oBAAoB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IA6B7C,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;CA4CrC"}
@@ -18,7 +18,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
18
18
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
19
19
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
20
20
  };
21
- var _DevvitFormSelectionDropdown_instances, _DevvitFormSelectionDropdown_config, _DevvitFormSelectionDropdown_getLabel, _DevvitFormSelectionDropdown_updateSelection, _DevvitFormSelectionDropdown_singleSelectListItem, _DevvitFormSelectionDropdown_multiSelectListItem, _DevvitFormSelectionDropdown_renderEmptyItem;
21
+ var _DevvitFormSelectionDropdown_instances, _DevvitFormSelectionDropdown_config, _DevvitFormSelectionDropdown_getLabel, _DevvitFormSelectionDropdown_updateSelection, _DevvitFormSelectionDropdown_singleSelectListItem, _DevvitFormSelectionDropdown_multiSelectListItem, _DevvitFormSelectionDropdown_renderEmptyItem, _DevvitFormSelectionDropdown_validateFieldValue, _DevvitFormSelectionDropdown_setError;
22
22
  import '@reddit/faceplate-ui/components/faceplate-dropdown-menu.js';
23
23
  import '@reddit/faceplate-ui/components/faceplate-menu.js';
24
24
  import '@reddit/faceplate-ui/components/faceplate-switch-input.js';
@@ -77,6 +77,9 @@ export class DevvitFormSelectionDropdown extends InputElement {
77
77
  this.selectedValues = this.field?.defaultValue?.selectionValue?.values ?? [];
78
78
  }
79
79
  }
80
+ formDisabledCallback(disabled) {
81
+ __classPrivateFieldGet(this, _DevvitFormSelectionDropdown_instances, "m", _DevvitFormSelectionDropdown_validateFieldValue).call(this, disabled);
82
+ }
80
83
  render() {
81
84
  let formField;
82
85
  if (this.field) {
@@ -142,6 +145,7 @@ _DevvitFormSelectionDropdown_config = new WeakMap(), _DevvitFormSelectionDropdow
142
145
  else {
143
146
  this.selectedValues = [option.value];
144
147
  }
148
+ __classPrivateFieldGet(this, _DevvitFormSelectionDropdown_instances, "m", _DevvitFormSelectionDropdown_validateFieldValue).call(this, Boolean(this.field?.disabled));
145
149
  }, _DevvitFormSelectionDropdown_renderEmptyItem = function _DevvitFormSelectionDropdown_renderEmptyItem() {
146
150
  return listItem({
147
151
  label: html `&nbsp;`,
@@ -149,6 +153,21 @@ _DevvitFormSelectionDropdown_config = new WeakMap(), _DevvitFormSelectionDropdow
149
153
  this.selectedValues = [];
150
154
  },
151
155
  });
156
+ }, _DevvitFormSelectionDropdown_validateFieldValue = function _DevvitFormSelectionDropdown_validateFieldValue(disabled) {
157
+ if (disabled || Boolean(this.value?.length)) {
158
+ __classPrivateFieldGet(this, _DevvitFormSelectionDropdown_instances, "m", _DevvitFormSelectionDropdown_setError).call(this, null);
159
+ return;
160
+ }
161
+ if (this.value?.length === 0 && this.field?.required) {
162
+ __classPrivateFieldGet(this, _DevvitFormSelectionDropdown_instances, "m", _DevvitFormSelectionDropdown_setError).call(this, msg('Please select an option', {
163
+ desc: 'Message to user to select an option for a required field',
164
+ }));
165
+ }
166
+ }, _DevvitFormSelectionDropdown_setError = function _DevvitFormSelectionDropdown_setError(error) {
167
+ // @ts-expect-error copied from shreddit.
168
+ this.setCustomValidity(error || '');
169
+ // @ts-expect-error copied from shreddit.
170
+ this.reportValidity();
152
171
  };
153
172
  __decorate([
154
173
  property({ attribute: false }),
@@ -1 +1 @@
1
- {"version":3,"file":"devvit-form-selection-dropdown.js","sourceRoot":"","sources":["../../../../library/src/client/formbuilder/components/devvit-form-selection-dropdown.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,4DAA4D,CAAC;AACpE,OAAO,mDAAmD,CAAC;AAC3D,OAAO,2DAA2D,CAAC;AAGnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAC;AACrG,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAE,GAAG,EAAE,MAAM,wCAAwC,CAAC;AAE7D,OAAO,EAAE,IAAI,EAAE,MAAM,kEAAkE,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,yDAAyD,CAAC;AACzF,OAAO,EAAE,QAAQ,EAAE,MAAM,oDAAoD,CAAC;AAE9E,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,MAAM,OAAO,2BAA4B,SAAQ,YAAY;IAA7D;;;QAKE,iBAAY,GAAG,KAAK,CAAC;QAGrB,mBAAc,GAAsB,EAAE,CAAC;QAEvC,8CAAU,qBAAqB,CAAC,WAAW,CAAC,EAAE,CAAC,EAAC;QA2DhD,4DAAwB,CAAC,MAAkC,EAAkB,EAAE,CAC7E,QAAQ,CAAC;YACP,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,OAAO,EAAE,G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M,CAAC,KAAK,CAAC,CAAC;QAC9E,CAAC;IACH,CAAC;SAAM,CAAC;QACN,IAAI,CAAC,cAAc,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;AACH,CAAC;IAsBC,OAAO,QAAQ,CAAC;QACd,KAAK,EAAE,IAAI,CAAA,QAAQ;QACnB,OAAO,EAAE,GAAG,EAAE;YACZ,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QAC3B,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AA7FD;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;0DACF;AAG7B;IADC,KAAK,EAAE;;iEACa;AAGrB;IADC,KAAK,EAAE;;mEAC+B;AAuIzC,6FAA6F;AAC7F,8DAA8D;AAC9D,cAAc,CAAC,MAAM,CAAC,gCAAgC,EAAE,2BAAkC,CAAC,CAAC"}
1
+ {"version":3,"file":"devvit-form-selection-dropdown.js","sourceRoot":"","sources":["../../../../library/src/client/formbuilder/components/devvit-form-selection-dropdown.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,4DAA4D,CAAC;AACpE,OAAO,mDAAmD,CAAC;AAC3D,OAAO,2DAA2D,CAAC;AAGnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAC;AACrG,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAE,GAAG,EAAE,MAAM,wCAAwC,CAAC;AAE7D,OAAO,EAAE,IAAI,EAAE,MAAM,kEAAkE,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,yDAAyD,CAAC;AACzF,OAAO,EAAE,QAAQ,EAAE,MAAM,oDAAoD,CAAC;AAE9E,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MA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AAQ,EAAE,CAAC;QACrD,uBAAA,IAAI,qFAAU,MAAd,IAAI,EACF,GAAG,CAAC,yBAAyB,EAAE;YAC7B,IAAI,EAAE,0DAA0D;SACjE,CAAC,CACH,CAAC;IACJ,CAAC;AACH,CAAC,yFAKS,KAAoB;IAC5B,yCAAyC;IACzC,IAAI,CAAC,iBAAiB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IACpC,yCAAyC;IACzC,IAAI,CAAC,cAAc,EAAE,CAAC;AACxB,CAAC;AA3HD;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;0DACF;AAG7B;IADC,KAAK,EAAE;;iEACa;AAGrB;IADC,KAAK,EAAE;;mEAC+B;AAqKzC,6FAA6F;AAC7F,8DAA8D;AAC9D,cAAc,CAAC,MAAM,CAAC,gCAAgC,EAAE,2BAAkC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/ui-renderer",
3
- "version": "0.11.2-next-2024-10-22-8d2a6746e.0",
3
+ "version": "0.11.2-next-2024-10-24-21d7de2c5.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -60,9 +60,9 @@
60
60
  "types": "./index.d.ts",
61
61
  "dependencies": {
62
62
  "@devvit/multiplatform": "0.0.1-20241007-2990961f",
63
- "@devvit/protos": "0.11.2-next-2024-10-22-8d2a6746e.0",
64
- "@devvit/runtime-lite": "0.11.2-next-2024-10-22-8d2a6746e.0",
65
- "@devvit/shared-types": "0.11.2-next-2024-10-22-8d2a6746e.0",
63
+ "@devvit/protos": "0.11.2-next-2024-10-24-21d7de2c5.0",
64
+ "@devvit/runtime-lite": "0.11.2-next-2024-10-24-21d7de2c5.0",
65
+ "@devvit/shared-types": "0.11.2-next-2024-10-24-21d7de2c5.0",
66
66
  "nice-grpc-web": "3.3.3",
67
67
  "p-queue": "7.3.4",
68
68
  "rxjs": "7.8.1"
@@ -88,9 +88,9 @@
88
88
  },
89
89
  "devDependencies": {
90
90
  "@ampproject/filesize": "4.3.0",
91
- "@devvit/public-api": "0.11.2-next-2024-10-22-8d2a6746e.0",
92
- "@devvit/repo-tools": "0.11.2-next-2024-10-22-8d2a6746e.0",
93
- "@devvit/tsconfig": "0.11.2-next-2024-10-22-8d2a6746e.0",
91
+ "@devvit/public-api": "0.11.2-next-2024-10-24-21d7de2c5.0",
92
+ "@devvit/repo-tools": "0.11.2-next-2024-10-24-21d7de2c5.0",
93
+ "@devvit/tsconfig": "0.11.2-next-2024-10-24-21d7de2c5.0",
94
94
  "@lit-labs/ssr": "^2.2.3",
95
95
  "@lit/localize": "0.11.4",
96
96
  "@open-wc/testing-helpers": "2.3.0",
@@ -136,5 +136,5 @@
136
136
  }
137
137
  },
138
138
  "source": "./src/index.ts",
139
- "gitHead": "12358307c3d107f5ea0b7e97307fbe7f3a22362f"
139
+ "gitHead": "3bea7507ac49ab58ee178b35db24efd1139824a2"
140
140
  }