A template stack, stacked and validated whole (spec/06 §2.4): what
Macaw.Template.stack/2 answers.
template, the template's name, andlayers, the layers' names in stacking order;regions, the regions by name, each a%Macaw.Region{}, andorder, their DOM order;layout,:stackor{:areas, options};params, the template's params' values, defaults filled;disclosures,:defaultor:open;ownandprint, whether the page's own layer and print are stacked;warnings, each{path, {:undoes, layer}}, a layer setting the template's value back over a lower layer's, at the higher layer's path.
Macaw.Template.explain/1 reads its provenance.
Summary
Types
@type t() :: %Macaw.Template.Stacked{ disclosures: :default | :open, fragments: [{String.t() | atom(), map()}], layers: [String.t() | :own | :print], layout: :stack | {:areas, map()}, masks: [map()], order: [String.t()], own: boolean(), params: %{required(String.t()) => term()}, print: boolean(), regions: %{required(String.t()) => Macaw.Region.t()}, template: String.t(), warnings: [Macaw.Base.Fault.t()] }